2023-04-05.log

- mjw (QUIT: Ping timeout: 250 seconds) (~mjw@gnu.wildebeest.org)00:15
- Gooberpatrol66 (QUIT: Remote host closed the connection) (~Gooberpat@user/gooberpatrol66)01:40
- mtm (QUIT: Ping timeout: 240 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)02:04
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)02:09
- ajr (QUIT: Quit: WeeChat 3.8) (~ajr@user/ajr)03:16
- nsc (QUIT: Ping timeout: 248 seconds) (~nicolas@22-49-142-46.pool.kielnet.net)03:29
+ nsc (~nicolas@236-49-142-46.pool.kielnet.net)03:31
+ Nulo_ (~Nulo@user/nulo)03:42
- Nulo (QUIT: Ping timeout: 248 seconds) (~Nulo@user/nulo)03:43
* Nulo_ -> Nulo03:43
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)04:09
joschhi, is somebody here with an encrypted nvme setup and latest Debian unstable on sysimage-v3 and knowledge about how to use cryptsetup and chroot from a rescue-system ssd here who can help me try reproduce an upgrade bug?04:53
joschessentially, i fixed a bug in how we build our patched debian kernel. Installing it and rebooting it works well and fixes the problem (dkms modules like reform2_lpc are now rebuilt). The problem arises, once one removes the old faulty linux-image package. Once one does that, the system becomes unbootable and doesn't find the luks device on boot04:55
joschi still do not know what the problem is but it is fixed by not just removing but by purging the old faulty linux-image-6.1.0-reform2-arm64 package04:56
joschbut for that you need to boot the system from a rescue ssd, run cryptsetup, mount and chroot04:56
joschwould somebody be willing to try that out to see whether this is a problem in my setup or a general issue?04:56
joschif it's the latter, i'll make a forum post04:57
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)05:50
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)05:51
- Boostisbetter (QUIT: Ping timeout: 248 seconds) (4a410829d7@irc.cheogram.com)06:26
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)06:46
joschvagrantc: do you have some time to test my fixed kernel? there is a bug and you know enough to try the fix without destroying your setup :D07:02
vagrantcjosch: maybe tomorrow?07:08
vagrantcjosch: is it in the regular repositories? am i building it myself?07:10
joschvagrantc: just apt update && apt upgrade07:10
joschvagrantc: this will not break your system but "apt-get remove linux-image-6.1.0-reform2-arm64" (the old kernel) might07:11
joschhttps://mntre.com/reform-irc-logs/2023-04-05.log.html#t04:53:1407:11
vagrantcah, i haven't yet set up encryption on the NVMe07:12
vagrantcmy wild guess would be something different in the installed /etc/* hooks or something07:13
vagrantcsuch as /etc/kernel/*.d or /etc/initramfs-tools/*.d or /usr/share/initramfs-tools/*07:14
joschvagrantc: the fix is to "apt-get remove --purge linux-image-6.1.0-reform2-arm64"07:16
joschthe only difference between a normal remove and a purge is the removal of /lib/modules/6.1.0-7-reform2-arm64/07:18
joschso maybe mkinitramfs picks up the wrong module directory in error?07:18
vagrantcthey have their own kernel modules in /lib/modules? e.g. different ABI ?07:18
joschyes07:19
vagrantcthat is ... perplexing how that could happen, yeah.07:19
joschsorry, i mean the removal of /lib/modules/6.1.0-reform2-arm64/07:19
josch(my earlier examle *did* include the abiname)07:19
joschi do not know what is going on and i'd like somebody to reproduce the problem to see *if* it's a problem and *if* this fixes it07:20
vagrantci mean the difference between the old and new package ...07:20
joschvagrantc: the difference between the old and new package is only the abiname07:20
vagrantchuh. will see about trying to reproduce tomorrow07:21
joschmaybe the problem is that "6.1.0-reform2-arm64" sorts as *newer* than "6.1.0-7-reform2-arm64"07:21
vagrantci forget if i have a u-boot with display on there or not ... i tested some upstream patches a while back but then reverted to the mnt.re u-boot i think07:22
vagrantcjosch: yeah, that is likely07:22
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)07:23
vagrantclinux-version compare 6.1.0-7-reform2-arm64 gt 6.1.0-reform2-arm6407:24
vagrantcerrors out ... so yeah, sort order may be the issue if the old version is still booting but has no modules or something?07:24
vagrantclinux-version compare 6.1.0-7-reform2-arm64 lt 6.1.0-reform2-arm64 ... returns true07:25
joschfor me, it didn't find the luks partition -- no idea whether the problem only shows with luks or on your unencrypted system as well07:25
vagrantcbut ... i would think the kernel + initrd would still have all the right modules07:27
vagrantce.g. even removing it should remove the entry from the boot menu07:27
joschyes, i did not manage to find something that looks odd07:27
vagrantcif somehow the one version got booted with the wrong initrd?07:28
joschi just don't understand how because the abiname should make it unique07:28
vagrantcright07:28
vagrantcit *sounds* like missing kernel modules to me ... but hard to imagine how it got to that state07:29
vagrantcbut many things are hard to imagine until you figure it out :)07:30
vagrantcunless an initrd was only partially generated? i have seen that sort of thing now and then07:33
vagrantclike with a power failure or media failure or something07:33
+ Boostisbetter (4a410829d7@irc.cheogram.com)07:36
+ mjw (~mjw@gnu.wildebeest.org)09:00
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)09:21
- mlarkin (QUIT: Ping timeout: 268 seconds) (~mlarkin@047-036-074-225.res.spectrum.com)09:21
vkoskivI've been apt searching wrong all this time.09:37
vkoskivYou have to specify --names-only for it to do what you want, which is search packages by name09:37
vkoskivOtherwise tons of packages that have nothing to do with your search term come up.09:37
vkoskivWhich begs the question - Why is --names-only not the default? :D09:38
vkoskivI've always just done something like: apt search python | grep python09:38
+ mlarkin (~mlarkin@047-036-074-225.res.spectrum.com)09:38
joschvkoskiv: apt developers believe that the default should be to search for strings in the package description as well by default09:46
- mjw (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)10:02
* mark_ -> mjw10:03
joschyes, something is wrong due to "6.1.0-reform2-arm64" sorting *newer* than "6.1.0-7-reform2-arm64"10:07
joschafter installing linux-image-6.1.0-7-reform2-arm64 and rebooting, the system will boot linux-image-6.1.0-reform2-arm64 instead...10:08
joschapt remove linux-image-6.1.0-reform2-arm64 will then of course throw a warning (because you remove the kernel you are currently running) but rebooting will get you into 6.1.0-7-reform2-arm6410:09
joschcan somebody else reproduce this?10:10
Boostisbetterjosch, sorry josch I can't help.10:23
BoostisbetterOn a seperate note, if I installed a experimental kernel but want to get back on normal apt routines 10:24
Boostisbetterhow do I do that? 10:24
minutejosch: i can try it later today10:34
joschBoostisbetter: what is an "experimental kernel" and "normal apt routines"?10:39
joschminute: that would be cool, thanks! Have a second machine ready in case your reform becomes unbootable after removing linux-image-6.1.0-reform2-arm64 -- but this only happened on my encrypted system and not on my unencrypted rescue system on sd-card10:40
minuteyep10:40
Boostisbetterjosch, basically if I installed a self compiled kernel, but want to go back to mainline11:09
Boostisbettersay the self compiled is a 6.2 kernel but I want to go back to 6.111:10
joschBoostisbetter: you just built yourself a uImage and copied that into your /boot?11:10
joschor did you rebuild a Debian kernel?11:11
joschdid you build from upstream kernel.org?11:11
BoostisbetterDebian11:11
Boostisbetterbasically I'm on a 6.2 and I want to get back on the 6.1 based kernel11:11
joschBoostisbetter: where did you get a 6.2 Debian kernel from?11:13
joschif you indeed just built a Debian Linux kernel, you can just apt-get remove it11:14
joschif you built it yourself, you need to undo the steps you carried out to install it (but i don't know yet what exactly you did)11:14
Boostisbetteryeah I installed it as a deb11:19
joschBoostisbetter: from where? not even experimental has 6.211:20
joschor did you use make bindeb-pkg?11:21
Boostisbetterhonestly, I got it from someone, I had been talking with. It was supposed to handle suspend slightly better. It did not. 11:24
BoostisbetterI'm back on stock. 11:24
joschIf you don't know how the *.deb was created I don't think I can give you reliable advice.11:30
joschIn theory it should just be removing the kernel you don't want while making sure that there is still at least one other kernel package remaining (apt will complain loudly otherwise).11:30
Boostisbetteryep, it did not complain and a restart worked without an issue. 11:45
joschnice :)11:45
Boostisbetterindeed. I love Linux. 11:45
+ chomwitt (~chomwitt@ppp-94-69-24-223.home.otenet.gr)13:24
- mtm (QUIT: Ping timeout: 250 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)14:03
+ jryans (~jryans@2001:470:69fc:105::1d)14:41
+ mark_ (~mjw@gnu.wildebeest.org)14:52
- mark_ (QUIT: Ping timeout: 255 seconds) (~mjw@gnu.wildebeest.org)15:19
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@ppp-94-69-24-223.home.otenet.gr)15:50
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)16:09
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)16:10
+ chomwitt (~chomwitt@2a02:587:7a16:e500:1ac0:4dff:fedb:a3f1)16:41
- chomwitt (QUIT: Ping timeout: 260 seconds) (~chomwitt@2a02:587:7a16:e500:1ac0:4dff:fedb:a3f1)17:04
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)17:10
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)18:15
+ mark_ (~mjw@gnu.wildebeest.org)18:48
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mjw@gnu.wildebeest.org))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:48
* mark_ -> mjw18:48
+ mark_ (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:49
- bluerise (QUIT: Ping timeout: 255 seconds) (~bluerise@user/bluerise)18:49
+ bluerise (~bluerise@p5b0ac727.dip0.t-ipconnect.de)18:51
+ bluerise_ (~bluerise@p5b0ac73d.dip0.t-ipconnect.de)19:05
- bluerise (QUIT: Ping timeout: 265 seconds) (~bluerise@p5b0ac727.dip0.t-ipconnect.de)19:05
vagrantcjosch: i didn't have any trouble with the new kernel ... although i did manually run flash-kernel --force 6.1.0-7-reform2-arm64 and rebooted ...19:45
vagrantcjosch: using boot.scr ? or extlinux.conf ?19:45
+ ajr (~ajr@user/ajr)20:25
joschvagrantc: i tried both with the same results20:31
joschvagrantc: both boot.scr as well as extlinux.conf decide that the kernel without abiname (the old one) has to be sorted as more recent20:32
vagrantcoh definitely, but neither should have the "newer" kernel version once you remove it20:38
vagrantcremove but not purge ... should still be missing /boot/vmlinuz-ABI and /boot-initrd.img-ABI and such20:39
vagrantcand extlinux.conf and boot.scr *should* get regenerated ... but maybe there is a bug where they do not20:40
joschvagrantc: the "it doesn't boot if only remove but not purge" problem only happened for me on my encrypted system, so it's very hard to reproduce as i only have this SSD and would have to back it up and restore it later if i wanted to try this again20:41
joschmaybe this was even my setup only20:41
joschbut then you also are not using an encrypted system either and i was also able to confirm that there are no problems (other than the sorting) when installing on an unencrypted system20:42
vagrantchmm.20:43
vagrantcnot sure i want to go trhough the trouble of setting up an encrypted system just to try and break it :/20:44
joschnono, don't worry about it :)20:45
joschyou having confirmed that it also doesn't make your system unbootable on an unencrypted setup is already helpful :)20:46
+ MajorBiscuit (~MajorBisc@2001:1c00:2408:a400:7f99:b6d8:c8b8:dc05)21:39
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)22:16
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)22:17
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)22:49
+ dozens (~dozens@tilde.town)23:30
dozensi just pre-ordered a purple pocket!23:54
bluerise_nice, congrats!23:57

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