2024-03-29.log

- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)00:00
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-159-4.tukw.qwest.net)00:06
+ colinsane (~colinunin@97-113-159-4.tukw.qwest.net)00:09
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)00:11
minutei wonder if it is workable to somehow disable forced "manual fsck" interventions in initramfs00:25
joschminute: do you want to disable it forever?00:26
minutehaha forever and ever00:27
joschthat can be done by just removing the fsck binary itself from the initramfs00:27
minutei don't know much about it yet, is there an option to always fsck automatically without breaking into initramfs?00:27
minuteoh wow ok00:27
minutebooting read-only could also be better maybe00:27
joschminute: in which situations do you see the manual fsck?00:28
joschis this about the problem that ls1028a somehow seems to corrupt the rootfs on the sd-card00:28
minutei spent a few hours debugging why imx8mp hangs on boot when booting from emmc00:28
minuteand i went down a really deep rabbithole with blk controls, device trees and everything, but in the end it was just hiding the initramfs console from me on uart  because of the console=tty1 stuff. even with no display active in devicetree (i don't really get how?)00:29
minutea custom uboot.scr let me finally see:00:29
minute> reformsdroot: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.00:30
minutebecause of > Unattached inode 8796500:30
joschis this during first boot or after a reboot?00:30
joschare you dd-ing the sd-card image to emmc or are you creating a new partition and filesystem?00:30
minuteafter a later boot... it was working once or so00:30
minutejosch: i dd'd it and then resized the rootfs00:30
joschyou only resized or you converted to ext4 as well?00:31
minutehmm oh it's not ext4?00:32
joschit's ext2 so that it is possible to have the image bit-by-bit reproducible00:33
minuteaha!00:33
joschthis is possible with ext4 as well but requires this patch: https://github.com/tytso/e2fsprogs/pull/11800:33
+ mesaoptimizer (~mesaoptim@user/PapuaHardyNet)00:33
joschyou can convert ext2 to ext4 by running this after resize2fs:00:34
joschtune2fs -O dir_index,dir_nlink,extents,extra_isize,flex_bg,has_journal,huge_file /dev/sda1 && resize2fs -b /dev/sda1 && fsck.ext4 -fDp /dev/sda100:36
joschalternatively, i can quickly whip up a patch which replaces ext2 with ext4 in the system image itself00:36
joschthen no conversion is needed of course00:36
minuteand this would improve the resize or fsck situation?00:37
joschi'd expect it to improve the fsck situation00:37
minutecool00:38
joschat least i think this is something you should try before the sledgehammer approach of disabling fsck00:38
minuteok!00:38
minutethanks, i somehow wasn't aware of this. we certainly don't want to ship with ext2 rootfs00:38
joschthat's why my firstboot MR was doing the conversion :)00:39
minuteoh :300:39
minuteok now the boot from emmc works :000:40
minute(after the fsck)00:40
minuteso another thing that bothers me, is why can the console be switched from uart even if there's no display online00:40
minutevia console=tty100:40
joschi got bitten by this when i had trouble with not being shown the LUKS pass prompt00:41
joschi had wished that the prompt would show up on more than one tty00:41
minuteyeah, that's kind of the opposite problem? yep00:42
minutemaybe a better solution could be to not set any console=00:42
minutei.e. no serial by default00:43
minutethen it could simply be overriden in the debug case in the uboot console by setting bootargs to the correct serial port00:43
minutejosch: in any case the ext4 patch for system image would be most appreciated00:44
joschthe code exists and is tested as part of the debvm utility which creates qemu disk images with mmdebstrap00:46
joschwe are doing something that is essentially the same except that our images are booted by real hardware and not qemu00:46
joschso i can have something ready tomorrow i think00:46
minuteugh, i'm booting from sd card now and now it has / mounted on both emmc and sd00:46
minutelike, / shows up two times in lsblk00:46
joschminute: because you just dd-ed the image, right?00:46
minutei guess something gets confused by 2x reformsdroot in the system00:46
joschminute: reform-flash-rescue changes that label00:47
minuteohh i should have called it reformemmcroot00:47
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@utdpat241106.utdallas.edu)00:47
joschor anything other than reformsdroot really :)00:47
joschsomething else that would help would be if the reform-setup-wizard changes the label00:49
joschand replaces the /etc/fstab entry to something that uses UUID00:49
joschwhich of course also means, that a new UUID needs to get generated00:49
joschbecause all images otherwise have the same00:49
minute:000:51
joschanother thing the first-boot-wizard should change is the ext4 hash_seed00:57
joschusually the hash_seed is secret to prevent potential denial of service attacks on the htree directories.00:57
joschbut since you are distributing images, the hash_seed will be the same for many users00:57
minuteok?00:59
joschyou do that with tune2fs -E hash_seed=0b7f9cfd-0113-486c-a453-4f5483bd486b00:59
josch(random seed example)00:59
minutehm > marex>minute: shouldn't that be console=ttymxc.. console=tty0 to get console output ?00:59
minutehm https://unix.stackexchange.com/a/6064901:01
- mtm (QUIT: Ping timeout: 255 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)01:04
+ jacobk (~quassel@utdpat242024.utdallas.edu)01:05
minutejosch: do you have your patch(es) for qcacld2-dkms somewhere?01:06
joschminute: do you mean the packaging itself? Everything is here: https://salsa.debian.org/debian/ezurio-qcacld-2.0-dkms/01:07
minutejosch: ah neat! so i can try installing a deb from here on the device, yeah? https://salsa.debian.org/debian/ezurio-qcacld-2.0-dkms/-/jobs/5511321/artifacts/browse/debian/output/01:08
joschminute: probably, yes01:09
minutecool01:09
joschbecause the customization for your kernel happens on your device01:09
minutein any case, i'm happy that imx8mp pocket is healthy again and i was able to understand what was going on in the end. this has been a rather long day. i'm gonna head home and tomorrow i'll try to move the system image for pocket a bit closer to first release state01:18
joschminute: and i have a first patch to switch from genext2fs to mkfs.ext4: https://paste.debian.net/hidden/7c95b6f5/01:39
joschsince running mkimage.sh takes a while, i'll to sleep now and will fix bugs tomorrow :)01:39
minuteawesome, good night!01:44
- mjw (QUIT: Ping timeout: 256 seconds) (~mjw@gnu.wildebeest.org)02:40
- cobra (QUIT: Ping timeout: 268 seconds) (~cobra@user/Cobra)02:47
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)03:09
+ cobra (~cobra@user/Cobra)03:20
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)04:08
+ cobra (~cobra@user/Cobra)04:13
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat242024.utdallas.edu)04:14
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)04:59
+ cobra (~cobra@user/Cobra)05:00
- [tj] (QUIT: Ping timeout: 256 seconds) (sid609767@id-609767.lymington.irccloud.com)05:00
+ [tj] (sid609767@id-609767.lymington.irccloud.com)05:03
+ jacobk (~quassel@utdpat242068.utdallas.edu)06:43
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)07:29
- chomwitt (QUIT: Ping timeout: 240 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)08:11
digitalraynebluerise, just looping back to the imxspi on OpenBSD thing, its works perfectly - i just had to align the lengths of the send and receive buffers, and it's all good08:22
digitalrayne(this was tested on reform)08:22
digitalraynethe other good news, is that i've got a few value scaling things to fix up, but i've now got a mostly working lpc driver for reform on OpenBSD which supports automatic power-down on halt -p, and exposes a bunch of apm and sensors info about battery charge state, etc08:23
digitalrayneit's been a fun project for sure, obviously really nice being able to refer to the firmware source code whilst working on it08:24
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)08:50
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)09:24
- klardotsh (QUIT: Ping timeout: 256 seconds) (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)09:35
joschminute: please test the images produced by the associated pipeline on real hardware: https://source.mnt.re/reform/reform-system-image/-/merge_requests/9309:50
- chomwitt (QUIT: Ping timeout: 260 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)10:22
+ f_ (~AUGESOUND@fases/developer/funderscore)10:28
- f_ (QUIT: Remote host closed the connection) (~AUGESOUND@fases/developer/funderscore)10:30
+ f_ (~AUGESOUND@fases/developer/funderscore)10:31
minutedigitalrayne: cool!10:32
- f_ (QUIT: Remote host closed the connection) (~AUGESOUND@fases/developer/funderscore)10:33
+ f_ (~AUGESOUND@fases/developer/funderscore)10:36
joschminute: i cleaned up the commits in MR 93. Once you are happy with it, feel free to merge. I'll now (and possibly more than not over the next few days) be afk. I hope that MR works!11:27
minutejosch: cool! i am a bit later at work today but will check it out for sure!!11:28
joschthey don't allow us to work today down here in bavaria XD11:29
joschor sing, or dance for that matter :P11:31
minuteoh yeah here it's also a holiday :D11:31
joschi hope you are not under too much pressure and can allow yourself some rest as well :)11:33
+ MajorBiscuit (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)11:54
+ mjw (~mjw@gnu.wildebeest.org)12:14
vkoskivApparently shops are closed in germany today?12:19
vkoskivI'm at the airport, going to Frankfurt and then Saarbrücken from there12:20
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat242068.utdallas.edu)12:21
joschvkoskiv: yes12:25
joschvkoskiv: things should be open in train stations for example12:25
vkoskivRevision has some nice food service at the event, but I'd like to source some snacks too.12:27
vkoskivHelsinki airport security took a close look at my ifixit screwdriver set :D12:27
vkoskivConclusion was "eeeh, it's okay..."12:27
- MajorBiscuit (QUIT: Ping timeout: 256 seconds) (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)12:28
+ MajorBiscuit (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)12:37
+ jacobk (~quassel@utdpat242053.utdallas.edu)12:37
- mtm (QUIT: Ping timeout: 264 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)13:04
- jn (QUIT: Ping timeout: 255 seconds) (~quassel@user/jn/x-3390946)13:10
+ jn (~quassel@2001-4dd4-a3bb-0-20d-b9ff-fe49-15fc.ipv6dyn.netcologne.de)13:10
- jn (QUIT: Changing host) (~quassel@2001-4dd4-a3bb-0-20d-b9ff-fe49-15fc.ipv6dyn.netcologne.de)13:10
+ jn (~quassel@user/jn/x-3390946)13:10
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat242053.utdallas.edu)13:11
+ jacobk (~quassel@utdpat242053.utdallas.edu)13:15
joschwell... turns out that i'll not be afk for the next couple of days after all, so if something is wrong with the ext4 stuff (or anything else) just let me know :D13:16
- MajorBiscuit (QUIT: Ping timeout: 255 seconds) (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)13:35
minutejosch: nice! i will try it in a few minutes14:00
joschi didn't mean to imply any rush, just in case i came across like that :)14:12
joschjust wanted to redact my earlier message14:12
+ MajorBiscuit (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)14:18
minutejosch: nono, you're doing good14:39
minutemy huge challenge for me today would be: how to build system images that have those changes, but also the changes from https://source.mnt.re/reform/reform-system-image/-/merge_requests/92 and possibly https://source.mnt.re/reform/reform-debian-packages/-/tree/pocket-imx8mp-release?ref_type=heads14:42
minutethe interconnects are probably a red herring, but we need at least CONFIG_IMX2_WDT=y14:42
joschminute: i'd say the order is: verify that MR 93 with ext4 produces working images, then merge that. Then rebase MR 92 on top of main. Then run the pipeline of MR 92 with REFORM_DEBIAN_PACKAGES_BRANCH=pocket-imx8mp-release14:46
minutejosch: ok, the last step i can only do if i fork the repo first, right?14:48
minuteor if i find an alternative way of how to link to latest main system images?14:48
joschminute: yes, i implemented a check which disallows doing custom runs of reform-debian-packages and reform-system-images in the "reform" namespace14:50
joschminute: in your current case, you would not get any tainting of the repo or of the sysimage-v3 link because your top commit is different from main though14:51
minuteoh ah.14:51
joschso theoretically, the current check could be refined to somehow retrieve the top main commit and allow custom runs if it differs...14:51
joschyes, another "solution" would be to link the sysimage differently and to adjust the repo downloader script to inspect variables.sh for the branch name14:52
- MajorBiscuit (QUIT: Ping timeout: 255 seconds) (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)14:58
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)14:59
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)15:10
+ MajorBiscuit (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)15:20
- mjw (QUIT: Ping timeout: 268 seconds) (~mjw@gnu.wildebeest.org)15:26
- chomwitt (QUIT: Ping timeout: 255 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)15:28
* Guest5307 -> mjw15:34
minutejosch: the first of the images i'm trying from your ext4 patch is pocket-reform-system-imx8mp.img 15:35
- MajorBiscuit (QUIT: Ping timeout: 260 seconds) (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)15:39
minutejosch: it boots fine! it just has an outdated dtb for pocket15:48
josch\o/15:49
minutei will now dd it to emmc and resize it and boot a few times15:58
minuteand will also dd the a311d version15:58
minutejosch: resize2fs + the following fsck appear to be _much_ much faster on ext4 than on ext2, is that possible?16:06
minutethe resizing to 116GB happened almost instantly this time16:07
joschminute: yes, ext4 can resize without copy16:08
minutenice16:08
minuteok, and boot from emmc works fine16:09
minutebig relief16:09
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat242053.utdallas.edu)16:09
minuteso the process of bootstrapping the software on imx8mp pocket reform is validated now, so i just need to complete the system image16:11
+ jacobk (~quassel@utdpat242053.utdallas.edu)16:19
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat242053.utdallas.edu)16:25
minutejosch: image works fine on a311d reform16:26
+ MajorBiscuit (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)16:26
minutei am compelled to merge, but will also do a test on imx8mq16:27
joschminute: once booted, run "fsck.ext4 -f" just to make sure that everything checks out16:29
minuteok16:30
joschthe way how the filesystem size is specified differs between genext2fs and mkfs.ext4 and i could imagine that by getting the sizes wrong, i might overwrite parts of the FS when assembling it into the final image16:30
minute:016:31
joschbut if you resized it, you ran fsck.ext4 afterwards anyways i guess?16:33
minutei did that on the pocket yes16:33
minutethere were no problems16:33
josch(or before? i think resize2fs enforces that)16:33
minutei did both16:33
minutebefore and after16:33
joschokay, then everything is probably okay :)16:33
minuteyeah, works fine on imx8mq reform as well16:38
minutethe only thing i noticed, unrelated, is that the battery icon is broken (shows a utf8 glyph). probably my fault, will look into it for a future reform-debian-packages fix16:38
minuteutf8 hex box i mean16:39
joschin the meantime i tried adjusting the ext4 hash_seed value but failed -- i wrote to the maintainer about it16:40
minutejosch: i'd like to merge !93 because it is a clear improvement. ok?16:49
joschminute: since you tested it, i marked it as ready -- feel free to press the merge button any time!16:52
minuteyay16:53
minuteok, now for !92: "To merge this request, first rebase locally.". last time i tried this, things went horribly wrong.16:54
minuteweird, when i pulled in the setup-and-login branch locally now (of reform-system-image), i got a forced update and had to merge the branch into itself16:55
joschminute: i rebased successfully over here16:58
joschminute: i can force-push it if you like16:58
minutejosch: oh yeah thanks16:58
joschdone16:59
minutethanks, i will cancel that pipeline and try to run with REFORM_DEBIAN_PACKAGES_BRANCH=pocket-imx8mp-release17:01
joschnice! :)17:01
minutehave to wait for the ext4 pipeline though17:02
joschwell, you could just cancel that one :)17:03
+ jacobk (~quassel@utdpat242053.utdallas.edu)17:10
- MajorBiscuit (QUIT: Quit: WeeChat 4.2.1) (~MajorBisc@2001:1c00:31c:8400:3d3d:8874:417f:fbf3)17:13
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat242053.utdallas.edu)17:27
+ jacobk (~quassel@utdpat242053.utdallas.edu)17:40
joschPSA: since many people here are running Debian unstable, you should upgrade your version of liblzma5 to the latest version from unstable17:54
joschsummary: there is a backdoor in upstream xz-utils https://www.openwall.com/lists/oss-security/2024/03/29/417:54
+ mark_ (~mjw@gnu.wildebeest.org)17:56
minuteugh17:58
minute> These conditions include targeting only x86-64 linux18:00
- jacobk (QUIT: Ping timeout: 268 seconds) (~quassel@utdpat242053.utdallas.edu)18:00
minutemy x86-64 desktop has liblzma.so.5.4.118:02
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)18:04
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)18:08
+ jacobk (~quassel@utdpat241106.utdallas.edu)18:18
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)18:23
joschthen you should be fine :)18:23
minutejosch: this didn't work btw https://source.mnt.re/reform/reform-system-image/-/jobs/3878#L3118:26
joschminute: try forking the repo and running the pipeline there with REFORM_DEBIAN_PACKAGES_BRANCH=pocket-imx8mp-release18:28
joschminute: the failed job you linked to is from the "reform" namespace which disallowes custom pipelines18:29
minuteok18:29
joschminute: alternatively, run "git revert 55cff233b578d1354edbb24479533694e640e635" in that branch to disable the protection18:30
josch(or manually remove the code block in .gitlab-ci.yml) 18:32
minuteok, so here's a new idea: i will change the short url to point to https://source.mnt.re/reform/reform-system-image/-/jobs/3875/artifacts/browse18:34
minuteand when we have a new image that we like, we change it... and later this can be automated by a script in CI that updates a HTML somewhere18:35
joschyes, if you manually pick a job that you declara as "known good" and upgrade that every once in a while the problem also goes away18:35
minuteok18:39
minutechanged it18:40
minute(the url redirect)18:40
joschthen you can probably merge this: https://source.mnt.re/reform/reform-system-image/-/merge_requests/9418:40
minutejosch: ok thanks. i would like to cancel its pipeline though and test everything together on my branch incl the variable18:42
minuteok, here we go https://source.mnt.re/reform/reform-system-image/-/jobs/388218:47
- jacobk (QUIT: Ping timeout: 268 seconds) (~quassel@utdpat241106.utdallas.edu)18:51
joschseems to work! :)18:58
* mjw -> Guest952919:00
- Guest9529 (QUIT: Killed (molybdenum.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:00
* mark_ -> mjw19:00
+ Guest9529 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)19:00
- Sario (QUIT: Quit: WeeChat 4.1.1) (sario@libera/staff/owl/sario)19:01
+ klardotsh (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)19:06
+ jacobk (~quassel@utdpat242060.utdallas.edu)19:08
- jacobk (QUIT: Ping timeout: 268 seconds) (~quassel@utdpat242060.utdallas.edu)19:14
+ jacobk (~quassel@utdpat242053.utdallas.edu)19:45
- jacobk (QUIT: Ping timeout: 268 seconds) (~quassel@utdpat242053.utdallas.edu)19:55
+ xktr (~xktr@user/xktr)21:22
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)22:34
+ jacobk (~quassel@utdpat241106.utdallas.edu)23:08
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat241106.utdallas.edu)23:36
vkoskivDid the patch for the a311d gpu power timeout make it in yet? Might tak e a while with upstream23:49

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