2024-04-03.log

- klardotsh (QUIT: Ping timeout: 260 seconds) (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)00:07
minutejosch: any idea what went wrong here? https://source.mnt.re/reform/reform-system-image/-/jobs/391400:37
minuteah i see00:37
minuteuboot blob url00:37
minuterunning once again :300:47
+ klardotsh (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)00:57
- klardotsh (QUIT: Quit: zzz) (~klardotsh@c-67-170-115-80.hsd1.wa.comcast.net)01:12
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)01:26
- mtm (QUIT: Ping timeout: 255 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)02:04
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)02:14
+ cobra (~cobra@user/Cobra)03:01
- colinsane (QUIT: Read error: Connection reset by peer) (~colinunin@97-113-159-4.tukw.qwest.net)03:29
+ colinsane (~colinunin@97-113-159-4.tukw.qwest.net)03:30
- nsc (QUIT: Ping timeout: 260 seconds) (~nicolas@117-97-142-46.pool.kielnet.net)03:32
- colinsane (QUIT: Client Quit) (~colinunin@97-113-159-4.tukw.qwest.net)03:32
+ nsc (~nicolas@24-48-142-46.pool.kielnet.net)03:33
+ colinsane (~colinunin@97-113-159-4.tukw.qwest.net)03:35
- mjw (QUIT: Ping timeout: 255 seconds) (~mjw@gnu.wildebeest.org)03:37
- aperezdc (QUIT: Ping timeout: 255 seconds) (~aperezdc@2a03:6000:6e61:633::43)03:40
+ aperezdc (~aperezdc@46.23.89.43)03:41
- mesaoptimizer (QUIT: Read error: Connection reset by peer) (~mesaoptim@user/PapuaHardyNet)03:58
- cmahns (QUIT: Ping timeout: 260 seconds) (8fe824803c@2a03:6000:1812:100::10cd)03:59
+ cmahns (8fe824803c@2a03:6000:1812:100::10cd)04:02
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)04:09
- Gooberpatrol66 (QUIT: Remote host closed the connection) (~Gooberpat@user/gooberpatrol66)04:56
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)06:44
- Gooberpatrol66 (QUIT: Remote host closed the connection) (~Gooberpat@user/gooberpatrol66)07:43
- kuno (QUIT: Ping timeout: 268 seconds) (sid299442@id-299442.helmsley.irccloud.com)07:46
+ kuno (sid299442@id-299442.helmsley.irccloud.com)07:49
- hairu (QUIT: Remote host closed the connection) (m-uotkmd@user/hairu)08:16
+ hairu (m-uotkmd@user/hairu)08:18
* Guest2704 -> mjw10:12
+ mesaoptimizer (~mesaoptim@user/PapuaHardyNet)10:56
- amk (QUIT: Ping timeout: 272 seconds) (~amk@user/amk)11:57
+ amk (~amk@user/amk)11:59
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)12:31
- chomwitt (QUIT: Ping timeout: 255 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)13:18
minutedoes anyone have time to test this image version on a LS1028A (on another SD card)? https://source.mnt.re/reform/reform-system-image/-/jobs/3919/artifacts/browse13:39
joschyes13:41
joschon it13:41
joschwhat do you expect to break/fail?13:42
joschanything i should specifically test?13:42
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)13:49
minutejosch: does it boot into the setup wizard? does the wizard do the job? does it then go to tuigreet? can you login with the account you created? (select sway desktop in the wizard, wayfire currently has no window decorations)13:54
minutefor me all of these work fine on pocket reform with imx8mp, which is great, display is rotated correctly everywhere too13:54
minutei will test on imx8mq + a311d13:54
joschminute: sorry, i don't have a second display so i cannot test gui stuff13:56
joschand my PCIe gpus never worked with wayland13:57
minutejosch: oh ok13:57
minutejosch: so you can test if you can still login normally then :D13:57
minutesetup wizard should not fire on serial console, only on tty113:57
joschthat i can do but that's not as useful :)13:57
joschi can see whether the process exists13:58
josch*check13:58
minuteprocess won't exist i thinki13:58
joschshould it not auto-boot into sway with setup wizard?13:58
joscheven without a display attached13:58
joschor does it notice that13:58
joschminute: in the past you said that your ls1028a + pcie-gfx worked with an nvidia kelper gpu. If you can find out the exact card you have, maybe i'm able to reproduce your setup.14:01
minutejosch: zotac gt710 1gb 64bit ddr314:02
minutehttps://www.zotac.com/de/product/graphics_card/geforce%C2%AE-gt-710-1gb14:03
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)14:03
joschperfect, thank you!14:03
joschit's kinda scary that right now on serial, you one only gets14:04
joschStarting kernel ...14:04
joschand then long silence until the login prompt comes up14:04
minuteah, you can change that by doing setenv bootargs loglevel=714:04
joschbut yes, i'm able to log in via serial with that image14:04
minuteon the display you should get systemd messages (if you have a display)14:05
joschah right yes, that's useful14:05
minutejosch: ok cool14:05
minutejosch: thanks for testing!14:05
minuteso now the system image for pocket has reached what i would call beta state14:05
Sario\o/14:05
minutethere are some critical fixes i need to still do before release:14:05
minute- initial sound config for the tlv chip/card on pocket (right now it starts with some alsa stuff turned off, so silent)14:07
minute- fix weird display init glitch (driver hacking)14:07
minute- implement lpc spi compatible interface for turning it off in rp2040 (or alternatively bring back usb kbd turnoff as a fallback)14:07
joschminute: nice, i found that exact card on kleinanzeigen for 20 bucks -- lets see if i can make it work with that one :)14:16
minutejosch: great!14:16
minutejosch: system image works fine on 8mq and setup wizard is snappy! but lpc poweroff doesn't work (unrelated, but needs to be addressed in general)14:16
joschyeah i've seen the issue on the forum but i don't spot anything weird in the command output the user has sent14:17
joschi hope it's not a kernel regression... :(14:17
minuteimage also works great on a311d14:20
minutefont awesome is still missing!14:20
minutejosch: can you add fonts-font-awesome as a recommended to reform-tools?14:21
minuteand i will add it to system-image 14:21
joschminute: both is done14:21
minuteoh ok thanks14:22
joschminute: you can check "apt-cache show reform-tools"14:22
minuteabout lpc turnoff: this thing bugs me in general, because as we know it used to cut power too early14:22
joschit should be version 1.38 and have fonts-font-awesome in the Recommends14:22
joschyes14:22
minuteand i don't like that one can not reliably turn off the system without a special driver14:22
josch+114:23
minutejosch: hmm how come fonts-font-awesome is not preinstalled on the image? did i run the image creation too early (last midnight)? different branch?14:23
joschminute: can you confirm that you have reform-tools 1.38 installed and that it has the Recommends on fonts-font-awesome?14:24
minutejosch: my suggestion: we remove poweroff stuff from lpc driver and we bring back ye olde systemd poweroff hook, and just send the hid message to all hid usb devices in the system. and in the keyboard firmware i'll implement a delay that turns off after a few seconds of delay14:25
minutejosch: ok checking14:25
joschminute: your choice how you solve it :)14:26
minuteok14:26
joschmaybe there is a magic number of seconds which allows all writes to be finished14:26
- chomwitt (QUIT: Ping timeout: 255 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)14:27
minutejosch: reform-tools 1.38 is installed and does recommend the font14:27
joschminute: your problem is "The source branch is 1 commit behind the target branch." in https://source.mnt.re/reform/reform-system-image/-/merge_requests/9214:27
minutejosch: hmm, a "sync" before sending the command might also help14:27
joschthe missing commit is the one installing fonts-font-awesome in reform-system-image main14:27
minutejosch: ah thanks! because i'm always unlucky with rebasing i'll merge main into that branch... unless you object14:28
joschgo ahead :)14:29
joschwhatever is easier for you14:29
minuteok done14:30
joschminute: what i did locally to do the rebase was to just run "git rebase main" while being in the setup-and-login branch and that succeeded without problems14:46
joschi'm now investigating how we can make the created disk images "sparse" -- I posted my question on superuser.com here in case anybody knows the answer: https://superuser.com/questions/1837708/is-there-a-tool-like-dd-but-respect-sparse-ness-of-input-file14:47
+ mark_ (~mjw@gnu.wildebeest.org)15:43
minutejosch: ok so i just tested poweroff on a311d with the same family of system images, and there it works via lpc16:03
minuteso maybe it's only an issue on imx8mq?16:03
joschhuh16:05
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)16:09
- mark_ (QUIT: Ping timeout: 246 seconds) (~mjw@gnu.wildebeest.org)16:48
minutejosch: how can we prebuild + include the qcacld2-dkms driver?16:50
minute(on imx8mp)16:50
minutejosch: asking if you have a recipe in mind that i could implement, presumably on system image? 16:50
joschminute: depends... i have it uploaded to NEW where it has been sitting for 5 days now: https://ftp-master.debian.org/new.html17:06
joschminute: so at some point this will get processed and then we just apt install it17:06
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)17:06
joschbut there is of course no way to tell how long that is going to take17:06
minutejosch: yeah that's too long for me unfortunately (i am under pressure to ship pockets)17:07
minutejosch: so i need to build this in our infra somehow17:07
joschnot necessarily17:07
minuteaha?17:07
joschbecause the package is Architecture:all17:07
minutewell, i need an arm64 binary package derived from this17:07
joschso what has been built on salsa.debian.org on amd64 will be installable on arm64 as well17:07
minuteit takes too long to build on pocket17:08
joschno17:08
joschoh17:08
joschwait17:08
joschyou don't want to build the dkms module the normal way as part of reform-system-image?17:08
minutewell either that or pre build it in it's own repo17:08
joschi would've suggested, you wget the .deb from here: https://salsa.debian.org/debian/ezurio-qcacld-2.0-dkms/-/jobs/5511321/artifacts/browse/debian/output/17:08
minutefirstly building as part of RSI is fine 17:08
joschas part of mkimage.sh and install that17:09
minuteaha!17:09
minutebut how are kernel updates handled?17:09
minuteif someone updates to a newer kernel on pocket, it's unacceptable that the device would need to rebuild this thing17:10
minutei think it needs to be built in sync with reform-debian-packages17:10
minuteso it would always fit to the kernel17:10
joschthen you have to set up your own thing and not use the debian dkms packaging infrastructure17:10
minuteoh ok17:10
joschthe normal way to do this is to build the source on the host17:10
joschthis is also painful for other large dkms drivers like zfs, for example17:11
minuteok i see17:11
minuteso then i make a .deb that has a .ko and the firmware in it17:11
joschprobably, yes17:11
joschand somehow you have to make multiple .deb17:11
joschone for each new kernel version17:11
joschor ship every .ko for each kernel in the same .de17:12
josch.deb17:12
joschand come up with a way how to manage dependencies with what the user has installed17:12
minuteoof17:12
joschi cannot help you with that as i have not seen this being done elsewhere17:12
joschmaybe it's easily possible but i don't know17:12
joschminute: did you already run the building on the pocket and timed it? how long does it take?17:13
minutejosch: ok i can time it for real now... but the code is *huge*17:13
joschminute: also, did you have a look at htop while it was building and made sure that it is utilizing all cores?17:13
minute100000s of lines of code17:13
joschyes, it takes a very long time to compile on a311d as well17:14
minuteyou see...17:14
joschi have the dkms package installed right now17:14
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)17:14
minuteso it takes at least double that on pocket17:14
minuteanyway, will time it and look at the core utilization17:15
minutealso not sure _why_ it is so big, i wonder if there are unnecessary features17:15
minutethat could be turned off...17:15
joschi just had a look, it's using all six cores of my a311d17:16
josch(i'm timing it right now as well)17:16
joschah, wrong kernel version17:17
joschi cannot test it i'm afraid17:17
joschi'm still on kernel 6.5 because i'm running bookworm17:17
joschand because 6.6 locks up my system around five minutes after boot... didn't investigate yet17:19
minuteone good thing: it can easily be cross built17:22
minuteone just needs the kernel source tree from reform-debian-packages17:22
minuteon i9-9900k: real0m28.393s17:24
minutecommand used for building: KBUILD_MODPOST_WARN=1 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- MODNAME=qcacld2 KERNEL_SRC=/home/minute/src/mref/reform-debian-packages/linux/linux make17:24
joschminute: pay somebody to fix ath10k to work with the QCA9377?17:29
joscha quick internet search also yields results like https://github.com/pabilbado/ath10k-fix-QCA937717:30
minutejosch: https://www.mail-archive.com/search?l=ath10k@lists.infradead.org&q=subject:%22Re%5C%3A+Problems+with+QCA9377+SDIO+on+NXP+i.MX8MPlus+SOM%22&o=newest17:31
+ jacobk (~quassel@64.189.201.150)17:36
- jacobk (QUIT: Ping timeout: 268 seconds) (~quassel@64.189.201.150)17:56
+ mark_ (~mjw@gnu.wildebeest.org)18:24
q66a crossbuilt kernel has the limitation that you cannot compile modules for it on the target device18:25
q66because the source tree or kernel headers tree created from it are specific to the host arch they were set up on18:26
q66there is no workaround18:26
+ jacobk (~quassel@utdpat241106.utdallas.edu)18:28
minuteq66: i don't mean to crossbuild the kernel, only an out of tree module18:30
q66how do you do that without previously having crossbuilt the kernel?18:36
minutealso we do have source and header packages for the kernel18:43
minuteso not sure what you mean18:43
* mjw -> Guest295118:47
- Guest2951 (QUIT: Killed (tungsten.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:47
* mark_ -> mjw18:47
+ Guest2951 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:48
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)18:54
- sevan (QUIT: Ping timeout: 255 seconds) (~sevan@user/venture37)18:54
minuteok, lets try if this works... https://source.mnt.re/reform/qcacld2/-/jobs/3931/artifacts/browse19:12
+ minutepocket (~reform@p509936c9.dip0.t-ipconnect.de)19:12
minuteminutepocket: https://source.mnt.re/reform/qcacld2/-/jobs/3931/artifacts/browse19:12
minuteuh oh, we need to blocklist ath10k_sdio19:15
minutebut the driver works :#19:20
+ minutepo1ket (~reform@p509936c9.dip0.t-ipconnect.de)19:21
minutepo1kettyping this via that driver19:21
- minutepocket (QUIT: Ping timeout: 268 seconds) (~reform@p509936c9.dip0.t-ipconnect.de)19:24
q66minute: kernel headers packages contain binaries that need to be runnable on HOST_CC machine, so a headers package that was built natively should not be usable for module crosscompilation19:25
q66unless you happen to be real lucky 19:26
minuteok, i didn't need the kernel header package at all though19:26
q66how do you build a module without kernel headers?19:26
minutewith the kernel source package, which is guess includes the headers...19:26
minutehttps://source.mnt.re/reform/qcacld2/-/blob/boundary-CNSS.LEA.NRT_3.1/.gitlab-ci.yml?ref_type=heads19:26
minutes/is guess/i guess19:27
q66kernel source package is just a bigger version of the headers package 19:27
q66either can be used for building modules 19:27
minutegotcha19:27
minutein any case i got a working .ko19:27
minutenow just need to package it + the firmware in a nice .deb19:27
q66same thing applies though 19:27
q66so you were probably lucky enough that this particular build does not invoke the binaries 19:27
minutenice19:28
q66don't expect it to work generically though 19:28
minutewhat binaries are those?19:28
q66there is a bunch of them, don't recall the names off the top of my head 19:28
q66i can look when I'm home 19:28
q66(i'm just going back from work right now)19:29
+ sevan (~sevan@2001:470:1f1d:1d6:5a55:caff:fe24:ed4)19:29
- sevan (QUIT: Changing host) (~sevan@2001:470:1f1d:1d6:5a55:caff:fe24:ed4)19:30
+ sevan (~sevan@user/venture37)19:30
- minutepo1ket (QUIT: Ping timeout: 264 seconds) (~reform@p509936c9.dip0.t-ipconnect.de)19:44
+ minutepocket (~reform@p509936c9.dip0.t-ipconnect.de)19:51
- minutepocket (QUIT: Ping timeout: 255 seconds) (~reform@p509936c9.dip0.t-ipconnect.de)19:58
+ minutepocket (~reform@p509936c9.dip0.t-ipconnect.de)19:58
- Twodisbetter (QUIT: Quit: Gateway shutdown) (2cc0e4ea1c@irc.cheogram.com)20:08
- f_[xmpp] (QUIT: Quit: Gateway shutdown) (fffdb90022@fases/developer/funderscore)20:08
q66minute: located one of my aarch64 kernel build logs20:15
q66for instance these https://gist.github.com/q66/bbbfeb601b51477643911141257d00e720:15
q66iirc at least modpost is used during module builds, i'm not 100% sure about the others20:17
joschq66: the kernel that minute is using is probably from the Debian package? cross building the debian package produces packages with the same content as building them natively.20:21
minuteyes20:21
q66josch: not sure i understand20:21
q66when you crossbuild a kernel, it needs to build some intermediate binaries with hostcc, because it runs them20:22
q66those binaries are also present in the target source tree20:22
minutewoop woop https://source.mnt.re/reform/qcacld2/-/jobs/3934/artifacts/browse20:22
joschq66: you are not using gnu terminology for the architectures, no?20:22
minutethere is a deb, lets see if that works20:22
q66so when you crossbuild a kernel, you get your host-arch version of those, otherwise you get a target-arch version of those20:22
joschbuild architecture: the architecture you are building on20:22
joschhost architectuer: the architecture you are building for20:22
joschtarget architecture: the architecture your compiler produces20:22
q66in this case host architecture == what you rae building on, target architecture == what you are building for20:22
minuteminutepocket: https://source.mnt.re/reform/qcacld2/-/jobs/3934/artifacts/browse20:22
+ Twodisbetter (2cc0e4ea1c@irc.cheogram.com)20:23
joschq66: the debian package build builds some stuff twice -- once for the build and once for the host architecture20:23
q66the kernel afaik uses the same terminology, because "hostcc" in kernel means compiler for the arch you are running the build on20:23
joschgood20:23
minuteugh, gitlab ci makes all directories 0777 somehow20:23
joschthe debian linux kernel build builds some utilities with hostcc (those end up in the produced binary) and some with the naitive cc (those are executed during the build)20:24
q66the whole build/host/target terminology of gnu is confusing and unintuitive20:24
josch+120:24
joschunfortunately we are stuck with it20:24
minutepocketwoops > reform-qcacld2 depends on linux-image-6.7.9-reform2-2+reform20240327t174618z;20:25
- Twodisbetter (QUIT: Client Quit) (2cc0e4ea1c@irc.cheogram.com)20:25
q66josch: anyway to crossbuild the kernel you end up with a source tree with specific binaries for the host(build) architecture; in theory (maybe in practice too?) you could later rebuild them for the package with the target(host) compiler to get a similar package to non-cross-build20:25
q66but then you end up with the opposite problem when cross-building moduls20:26
q66*modules20:26
q66because cross-building modules assumes a kernel source/headers tree that was crossbuilt20:26
q66this is a sort of unfortunate limitation/bad design of the kernel build system20:27
minuteok, my hacky .deb works. i just need to fix the permission problems or migrate to sbuild or so20:27
q66basically when cross-building modules => you are expected to have a cross-built source tree, when native-building modules => you are expected to have a natively-built source tree20:28
q66so i'm interested in what kind of magic is used to make it work when you mix them, if it's not just luck20:28
- minutepocket (QUIT: Remote host closed the connection) (~reform@p509936c9.dip0.t-ipconnect.de)20:28
minutejosch: how horrible is this for you? https://source.mnt.re/reform/qcacld2/-/blob/binary-deb/.gitlab-ci.yml20:29
minute(on a scale of 1-10)20:29
q66ah, you are calling modules_prepare20:30
q66this will rebuild the binaries20:30
q66for your environment20:30
q66though it's not guaranteed to always work when your tree is already "dirty"20:31
joschminute: i'll be afk until ~22:00 unfortunately20:31
q66i guess in this case it does20:31
josch(bringing the little one to bed)20:31
joschwill have a look then20:31
minutejosch: sure thing! looking fwd to your feedback20:31
- sevan (QUIT: Ping timeout: 255 seconds) (~sevan@user/venture37)20:45
+ f_[xmpp] (fffdb90022@fases/developer/funderscore)20:46
+ Twodisbetter (2cc0e4ea1c@irc.cheogram.com)20:59
+ chomwitt (~chomwitt@2a02:587:7a17:f700:1ac0:4dff:fedb:a3f1)21:18
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat241106.utdallas.edu)21:29
+ sevan (~sevan@2001:470:1f1d:1d6:5a55:caff:fe24:ed4)21:47
- sevan (QUIT: Changing host) (~sevan@2001:470:1f1d:1d6:5a55:caff:fe24:ed4)21:47
+ sevan (~sevan@user/venture37)21:47
joschminute: you are distributing the resulting .deb via the mntre.com repo?22:19

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