libera/#devuan-arm/ Thursday, 2024-05-23

agnelinomia: did you manage to solve your problem?06:41
nomia): no09:32
nomiaidk where to find a devuan image that works09:33
nomiaall the old images have systemd and don't give any useful info in logs09:33
nomiaand they are too old to apt-get install debootstrap09:34
nomiai tried to build a freebsd image with crochet but it doesn't work09:35
gnarfacewhen you boot it with devaun and it reaches the black screen, have you tried pinging it at that point? i forget if i asked09:42
nomiait doesn't do anything at all09:56
nomiai don't think it even boots a kernel09:56
nomiaold armbian will boot to single user if i edit the systemd links by hand but multi user goes into a reboot loop and doesn't write any logs09:58
nomiahttps://www.bleepingcomputer.com/news/microsoft/microsoft-outage-affects-bing-copilot-duckduckgo-and-chatgpt-internet-search/14:34
nomia(: also affects me14:34
nomiai was trying to apt-get update but can't get to packages.microsoft.com or cli.github.com14:35
nomiacan i apt-get install a devuan debootstrap for armhf?14:47
nomiaor download with wget14:47
gnarfaceyes14:50
nomiawhere can i wget the packages?15:21
rrqit appears gnarface spoke too fast, or perhaps the arm64 variant will cater for armhf as well ... https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=debootstrap&x=submit15:25
rrqmy armhf daedalus does have debootstrap=1.0.134devuan2 installed15:28
rrqthe deb is named debootstrap_1.0.134devuan2_all.deb15:29
rrqhttps://pkgmaster.devuan.org/devuan/pool/main/d/debootstrap/debootstrap_1.0.134devuan2_all.deb15:30
nomia(: thx15:34
rrqso gnarface was right (of course :) since debootstrap is pure scripting; I'm not sure why it's not included in the armhf packages15:35
nomiahm armbian uses ubuntu pkgs and debootstrap depends on distro-info15:38
nomiabut devuan debootstrap only depends on wget15:38
rrqits a forked package, yes15:39
nomiahm http worked but https was 40415:44
nomiaold version?15:46
nomiahttps://pkgmaster.devuan.org/devuan/pool/main/d/debootstrap/debootstrap_1.0.134devuan3_all.deb15:46
rrqmd5sum is 2d7f6ed0ff55d4e952da2b3d0a920a8215:46
nomiadevuan3 not devuan215:46
rrqdevuan3 has 78fab1a8d8c0ed9877b65689bc8ac07915:48
rrqnot sure why https failed for you15:48
nomiai did it 3 more times and it worked15:49
nomiamaybe round robin dns?15:49
rrqnot pkgmaster15:49
rrqif you tried deb.devuan.org then yes15:50
nomiai got it from https://deb.devuan.org/merged/pool/DEVUAN/main/d/debootstrap/debootstrap_1.0.134devuan3_all.deb15:51
nomiathat link is from https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=debootstrap=1.0.134devuan315:52
rrq? does pkginfo have https links?15:53
rrqno, it has http links to deb.devuan.org which has DNS-rr resolving to many different hosts15:55
rrqonl pkgmaster has the credential to serve https in the name of deb.devuan.org15:56
rrqand also in the name of pkgmaster15:57
nomia(: i typed in the url16:00
nomiamy banana is at single user mode rn16:00
rrqfair enough :) ... debootstrap does have some undeclared deps though, e.g. on gpgv16:01
c0rneliusyou all trying to make a base rootfs tarball or something?16:01
nomiatrying to get devuan on a banana pi16:03
c0rneliuswhich one?16:04
nomiam316:04
c0rneliusnever used that one but its in mainline uboot and linux. should be fairly easy to create an img. unless there is some craziness I'm not aware of going on with it.16:10
nomiawell the devuan images don't do anything16:13
nomianot even turn on the monitor16:13
nomiaso i have to use a 6 year old armbian image and boot single user16:14
nomiabut the devuan debootstrap pkg doesn't know how to deal with armbian very well16:14
nomiai have to override the mirror url or it goes to deb.debian.org and fails16:15
nomiaso now i told it to use pkgmaster.devuan.org/devuan and it gets farther before failing16:15
nomiacouldn't find these debs: ca-certificates16:16
nomiamaybe i need devuan keyring deb?16:17
rrqsomething is badly wrong with the network16:23
nomiadid u see my bleepingcomputer link?16:24
rrqdebootstrap saves a file var/lib/apt/lists/deb.devan.org_merged_dists_daedalus_Release.gpg16:24
rrqand what I got was a bogus16:25
rrqfile16:25
nomiao ok not the internet16:25
rrqso STOP trying for the moment! this looks bad/odd16:25
nomiai installed devuan-keyring latest and it is working now i think16:26
nomiadebootstrap is building dep tree16:26
nomiadid u find smth with a bad checksum?16:26
rrqI got something that looks like a MITM injection16:27
nomia):16:27
nomiascary16:28
nomiai will learn how to add pkgs to debootstrap before i try again16:28
rrqseems to be my ISP16:33
nomiatry thru tor?16:34
rrqor it might be one of the mirrors16:39
rrqno.. seems to be my ISP16:46
c0rneliusyou using a vpn?16:47
rrqoh even worse :( it's my misspelling! (embarrasing)16:47
nomiaawww16:48
nomia(:16:48
rrqdon't go to deb.devan.org16:49
nomiatypo squatter16:52
nomiahow do we report them?16:52
nomia(: squee17:13
nomiait's working17:14
nomia(: it failed at zfs-initramfs but i think i can get it to work18:19
nomiai did --components="main,contrib" and --include="zfsutils-linux,zfs-dmks,zfs-zed,zfs-initramfs"18:19
nomiabut i didn't mount /proc and stuff18:20
nomiathe man page says that comes later18:20
APic18:21
nomiais it ok to run debootstrap over again or do i have to rm -rf /target?18:27
nomia(: looks like no18:31
nomiacool --cache-dir will save time18:39
nomia): debootstrap can't run in single user mode19:09
nomiaor can't finish19:09
nomiahee20:30
nomia(: debootstrap completed successfully and /target/boot is empty20:30
nomia--second-stage fails20:34
nomiacat: /usr/share/debootstrap/suite: no such file or directory20:35
agnelithen you probably did not install everything needed in the first step21:16
agneliboot should be empty imho21:16
agneliyou would need to compile kernel later21:16
nomiawhat do i need to do?22:27
nomiai followed the instructions in the man page22:27
nomiai'm trying again without extra pkgs or contrib22:32
nomia--second-stage still fails22:39
nomiado i even need it?22:42
rrqnomia: a 2-stage debootstrap is useful if one want to set up the filesystem for a different target architecture; i.e. debootstrap for an armhf on an amd64 machine.23:20
rrqin that case, the first stage is run on the amd64 host with arguments --foreign and --arch=armhf, and then run --second-stage with the created filesystem as root (eg with chroot and armhf emulation)23:22
rrq2) debootstrap does not include the kernel+modules packages or a boot setup. And that's also rather special for different armhf machines.23:24
rrqI used armbian to get a boot setup for my armhf machine (a CS968 TV box with rk3188 cpu/mainboard).23:26
rrqthen I replaced the root filesystem with a devuan chroot, plus built a matching kernel so as to have all modules. However I have to reuse the actual kernel image (armbian's build seems to have included something that I don't have and my kernel builds fail to run well.)23:29
rrqthe boot sequence starts with the special purpose uboot setup which uses an extlinux.conf file for kernel parameters and identifications of DTB and initrd.23:32
rrqthe kernel image itself is (must be) in the zImage format, and the DTB is a near-miss from a different CS968/rk3188 machine so esp the wifi and HDMI are dysfunctional23:36
rrqin short: you may need to combine the working armbian bootup with a devuan root filesystem23:37
rrqthat bootup includes kernel and initrd, although you should ideally pack a new initrd using the devuan filesystem augmented with (only) the modules and firmware from the original initrd23:40
rrqnomia: ^^^23:40

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!