2022-10-12.log

- ajr (QUIT: Ping timeout: 268 seconds) (~ajr@user/ajr)00:17
+ ajr (~ajr@user/ajr)00:28
minutejosch: i also wasn't able to get any output from it. but putting in a sleep 10 stopped all execution for 10 seconds.00:33
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:587:dc0c:c200:9e04:2be9:6643:df78)00:37
- S0rin (QUIT: Ping timeout: 265 seconds) (~S0rin@user/s0rin)01:04
+ S0rin (~S0rin@user/s0rin)01:07
- Gooberpatrol66 (QUIT: Remote host closed the connection) (~Gooberpat@user/gooberpatrol66)01:11
- mtm (QUIT: Ping timeout: 265 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)02:04
- ajr (QUIT: Quit: WeeChat 3.6) (~ajr@user/ajr)02:08
- vagrantc (QUIT: *.net *.split) (~vagrant@2600:3c01:e000:21:7:77:0:20)03:16
- robin (QUIT: *.net *.split) (~robin@user/terpri)03:16
- xktr (QUIT: *.net *.split) (~xktr@2602:fe3d:c01:10ca:1050:1ace:0:b)03:16
- chartreuse (QUIT: *.net *.split) (~chartreus@S0106f0f249dfd9c3.cg.shawcable.net)03:16
+ xktr_ (~xktr@2602:fe3d:c01:10ca:1050:1ace:0:b)03:16
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)03:16
+ chartreuse (~chartreus@S0106f0f249dfd9c3.cg.shawcable.net)03:16
- GNUmoon (QUIT: Quit: Leaving) (~GNUmoon@gateway/tor-sasl/gnumoon)04:06
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)04:07
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)04:09
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)04:53
joschminute: ah good idea! Yes, that worked. :)04:57
joschminute: the answer is to add the option "debug" to the kernel boot args05:08
joschThen, after the system has booted, everything you printed on stdout and stderr and a complete "sh -x" output can be found in /run/initramfs/initramfs.debug05:08
- S0rin (QUIT: Ping timeout: 265 seconds) (~S0rin@user/s0rin)05:18
joschhere one can see the modules being loaded first thing during boot: https://mister-muffin.de/p/4QJ0.txt05:19
+ S0rin (~S0rin@user/s0rin)05:20
joschWhat content of https://source.mnt.re/reform/reform-tools/-/blob/main/etc/X11/xorg.conf is not relevant anymore? The /usr/local part is definitely unused, no? We are also shipping https://source.mnt.re/reform/reform-tools/-/blob/main/xorg/10-reform-etnaviv.conf05:33
- S0rin (QUIT: Ping timeout: 246 seconds) (~S0rin@user/s0rin)05:40
joschhttps://source.mnt.re/reform/reform-tools/-/merge_requests/2705:40
+ S0rin (~S0rin@user/s0rin)05:49
+ klardotsh (~klardotsh@98.97.113.58)05:52
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-69.cust.tzulo.com)06:27
+ bkeys (~Thunderbi@198.54.135.69)06:27
- vkoskiv (QUIT: Ping timeout: 260 seconds) (~vkoskiv@89-166-62-97.bb.dnainternet.fi)06:39
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)06:45
+ chomwitt (~chomwitt@2a02:587:dc0c:c200:5b5:50e2:356d:c45b)07:26
+ bgs (~bgs@212-85-160-171.dynamic.telemach.net)07:26
+ robin (~robin@user/terpri)07:59
+ vkoskiv (~vkoskiv@89-166-62-97.bb.dnainternet.fi)08:06
- klardotsh (QUIT: Ping timeout: 248 seconds) (~klardotsh@98.97.113.58)08:37
- bkeys (QUIT: *.net *.split) (~Thunderbi@198.54.135.69)08:42
- mjw (QUIT: *.net *.split) (~mark@gnu.wildebeest.org)08:42
- frank2 (QUIT: *.net *.split) (~frank2@juicy.frank2.net)08:42
- joeyh (QUIT: *.net *.split) (~joeyh@kitenet.net)08:42
- lastebil (QUIT: *.net *.split) (truck@shell.suomiscene.fi)08:42
- natalie (QUIT: *.net *.split) (~natalie@user/natalie)08:42
+ lastebil (truck@shell.suomiscene.fi)08:42
+ joeyh (joeyh@2600:3c03::f03c:91ff:fe73:b0d2)08:42
+ mjw (~mark@gnu.wildebeest.org)08:43
+ bkeys (~Thunderbi@static-198-54-135-69.cust.tzulo.com)08:45
+ frank2 (~frank2@2a05:f480:2000:1d0d:22ba:38ed:7fdc:2b5a)08:45
+ natalie (~natalie@user/natalie)08:46
- mjw (QUIT: Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))) (~mark@gnu.wildebeest.org)10:02
* wielaard -> mjw10:02
+ mark_ (~mark@gnu.wildebeest.org)10:03
+ MajorBiscuit (~MajorBisc@145.94.164.10)10:30
q66minute: i made a new image with fixed u-boot and new kernel https://repo.chimera-linux.org/live/testing/chimera-linux-reform-imx8mq-20221012.img.gz11:39
q66i wonder if that works now11:39
joschq66: curl: (56) OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 012:36
joschq66: attempting to boot what I was able to download leads to this: http://paste.debian.net/1256769/12:38
- ex-parrot (QUIT: Ping timeout: 255 seconds) (~fincham@user/ex-parrot)12:38
+ ex--parrot (~fincham@user/ex-parrot)12:38
q66josch: what, when do you get that message12:50
joschq66: when booting -- i included the whole log12:50
q66i mean the curl message12:50
joschq66: I get it when I curl that url you posted12:51
joschvkoskiv: did you try out 5.18 yet? I get very similar (the same?) messages in dmesg with 5.18:12:52
josch[   99.455059] nvme nvme0: I/O 15 QID 0 timeout, disable controller12:52
josch[   99.503568] nvme nvme0: Identify Controller failed (-4)12:52
josch[   99.513382] nvme nvme0: Removing after probe failure status: -512:52
josch[  102.795780] nvme0n1: detected capacity change from 1953525168 to 012:52
q66josch: that's weird12:52
vkoskivDidn't yet, but that's what I was getting with 5.1912:52
q66the img.gz has a sha256sum of 8ede745a69351ea0f27fe0c48780d4efa37ff086135e129358ce09694957e8f912:52
q66er12:52
q66dd049dcfcd7631962a7ed9c261726e8b14d58fadb18b3e7f2c4dea4161dad1bb12:52
joschq66: I do not know the checksum because I piped directly from curl into dd12:52
q66ah12:53
q66no weird curl messages here12:54
q66i wonder what the kernel message is about12:55
joschq66: did you apply these patches: https://source.mnt.re/reform/reform-debian-packages/-/tree/main/linux/patches12:56
q66no, but they do nto seem relevant to bootup12:56
joschagreed but last time i built a Debian kernel without these patches I got a kernel panic as well12:57
joschi do not have the log anymore so i cannot say whether it was the same panic12:57
joschbut it was with 5.1912:57
q66hm12:59
q66i guess we could add special 5.19 reform kernel with the patchset12:59
joschyou could try which of all of these patches is the one preventing the kernel panic13:00
q66it seems 6.0 broke something at very least because with my vanilla 5.19 kernel minute was able to boot yesterday13:00
q66just without display13:00
joschoh display did come up13:00
q66yeah because i enabled the respective modules for it13:01
q66in the 6.0 config13:01
joschgood, then that worked13:01
q66unless the problem is that enabling them results in the panic :P13:01
q66and that could then be fixed by the patches13:01
joschoh wait, i'm getting slightly different output on the display than via serial13:02
q66ah13:02
joschon the display it also says:13:03
joschrun-init: /usr/bin/init: Exec format error13:03
q66wth13:03
q66hold on13:05
q66does it get through the initramfs then13:05
q66or does it die in initramfs13:06
joschq66: let me re-download...13:06
q66i'm confused mainly because in initramfs there is no /usr/bin/init13:07
joschyes, this has to come from the rootfs13:07
q66if it dies in the "real" system then you should have been getting messages from the initramfs13:07
joschit's probably corrupted because of the error i got13:07
q66stuff like init-top running etc13:07
q66yeah that's possible13:07
joschlets try again13:08
joschq66: I got a shell13:14
joschq66: want me to run anything in it?13:14
q66josch: booted and logged in?13:17
q66got display too?13:17
joschq66: yes, user root, password chimera13:17
q66nice!13:17
joschyes, also logged in via usb keyboard and see the /bin/sh on the display13:17
q66can you take me a photo13:19
q66i will tweet it later13:19
joschsure, just of the shell or would you like me to run anything?13:20
q66boot log + uname -a or /proc/cpuinfo or sth13:22
joschchimera needs a more fancy /etc/motd :)13:24
q66it does have one for live isos, but i have not added one for platform images13:26
q66since those are bootstrapped more or less straight from packages13:26
q66i mean the live images are too, but they have a more involved live-only initramfs13:27
q66i guess even though it boots i'll apply some of the patches13:27
q666.0.1 is out anyway so13:27
joschq66: https://mister-muffin.de/p/aIuD.jpg13:28
q66excellent13:28
q66do you have a twitter handle so i can give you some credit13:28
joschq66: no, I am not on any of those platforms13:29
q66alright13:29
joschjust post away -- no need to credit me13:29
q66https://source.mnt.re/reform/reform-debian-packages/-/blob/main/linux/patches/0002-pci-imx6-add-support-for-internal-refclk-imx8mq.patch this probably applies only to reform 113:30
q66oh, no13:30
q66imx8 too13:30
q66hm, or maybe not13:31
minute?13:32
q66well it seemed imx6-specific13:33
minuteq66: ah, well yeah because some of the IP in the chip is carried over from imx613:33
minutejosch: quite some dust on your display ^^13:34
minutecool that it works!13:35
joschminute: that just shows that I'm using it a lot ;)13:35
minutejosch: indeed, indeed!13:35
joschmy wife bought me a dedicated brush to clean mechanical keyboards because she couldn't see the dirt accumulating there XD13:36
minutevery nice13:36
q66minute: how important are the first four patches in https://source.mnt.re/reform/reform-debian-packages/-/tree/main/linux/patches ?13:37
q66the others seem generic enough that i can just pick them as it is (some are also already in 6.0)13:37
+ bluerise (~bluerise@user/bluerise)13:43
q66actually since it boots, it's probably ok to keep it vanilla for now and clean up later if people pick it up13:50
- mtm (QUIT: Ping timeout: 268 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)14:04
q66doing a 6.0.1 kernel, this afternoon i'll generate all the isos and platform images and since stuff is confirmed working enough i'll add the reform image to the set14:11
minuteq66: you want the pcie patch, otherwise there is no wifi15:45
q66minute: the pcie-interference one?15:49
q66does not look related15:49
q66i guess the internal-refclk one15:50
sigridminute: considering keyboard has a connection to som via uart, has it been considered to use the oled as a dumb serial console?15:53
sigridfor all those cases where having an adapter is too much :)15:53
q66the internal-refclk patch appears to require changes to the device tree as well so it will not work cleanly on top of mainline as far as i can tell16:02
q66in the reform dts in that repo, it appears set for pcie0, which is not even defined in the upstream dts16:03
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)16:10
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)17:05
joschsigrid: the usb keyboard does not work in uboot right now17:11
sigridif usb is started by uboot, it's going to be at least powered, right?17:13
sigridthat would be enough for it to read uart, no?17:13
joschmaybe -- all I observed so far was, that after enabling usb (uboot is able to load kernel and initramfs from a usb stick) the keyboard still remained unresponsive17:14
sigridI don't think even usb start is needed17:14
sigridotherwise how would the circle key work17:15
sigridit would probably need a hackish way of switching between uart/usbhid mode though17:16
sigridie where the keys should go17:16
joschI bought a 1 TB Kingston NV2 NVMe PCIe SSD and this drive also errors out after resuming from suspend: http://paste.debian.net/1256804/17:26
joschWhat nvme drives are you guys using that are known to work with suspend?17:26
sigridwd blue sn550, also 57017:27
sigridI know people complained it does not work, but what actually does not work is linux17:28
sigridspecifically 5.19, it seems17:28
minutesigrid: yes it has been considered @ kbd console, would be quite interesting17:31
minutejosch, sigrid: the keyboard has 2 power supplies. one is always on (3v3 standby). that's enough for serial+oled. the 5v is toggled on by USB. it also makes the USB keyboard function work. those two can work independently.17:32
minute(the backlight also needs the 5v, that's why it turns on when USB is probed)17:33
minuteq66: yes, the internal refclk one is needed for wifi.17:33
minuteq66: ah yeah, mainline doesn't have this in dts precisely because the internal refclk for pcie0 is not supported in mainline.17:34
q66minute: if i take that patch and then add the pcie0 definitions in the upstream dts, that should be enough to get wifi going?18:03
minuteq66: i think so18:04
q66minute: https://gist.github.com/q66/e8ddf8070ff642973ea51a147487dfe918:10
q66missing anything?18:10
q66the non-dts part of the patch is just yours18:10
q66i copied in the dts bits18:11
* xktr_ -> xktr18:21
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mark@gnu.wildebeest.org))) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)18:30
* mark_ -> mjw18:30
+ wielaard (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)18:31
minuteq66: imx6_pcie->internal_refclk is never set18:34
minuteq66: in the patch18:34
q66minute: ?18:34
minuteq66: so i think there's a snippet missing, where it sets that depending on dts?18:34
- MajorBiscuit (QUIT: Ping timeout: 268 seconds) (~MajorBisc@145.94.164.10)18:34
q66line 138 of patch18:34
minuteq66: ah sorry, you're right18:34
minuteq66: so if there are no errors compiling the dts, it should be fine18:35
minutei think nowadays the whole anatop hacking can actually be removed and it can be done in dts somehow, but i don't have the time to figure it out atm18:36
q66i think if there were errors they'd get printed to stdout18:37
q66the log is silent though18:37
q66so it should have compiled fine18:37
minutegood!18:46
joschsigrid: but I see the same problem in 5.18 (see the error log I pasted above)19:29
sigridI get the power state change failure but it's working fine19:29
sigridno other errors19:29
joschso... of those people who claim to have decent suspend with the reform -- what nvme drive are you using?19:56
vkoskivI had a 600P. Suspend and resume still do work on the bad WD drive, but the drive doesn't come up20:06
+ ajr (~ajr@user/ajr)20:13
minutejosch: transcend20:26
joschminute: and your transcend drive has resume mostly working on 5.19?21:00
minutejosch: yes21:40
joschACTION clicks the buy button21:40
minutethere are different versions of the drive though i think21:40
minutewith and without DRAM buffer for example21:41
joschminute: which are all called MTE220S?21:41
minutei have 256GB TS256GMTE220S21:42
minutethis has the dram cache21:42
minuteyeah21:42
joschI'm going to try the 1 TB version TS1TMTE220S21:44
joschThe product description also says DDR3 SLC-Cache for that one21:44
minuteok, good luck! 21:45
joschThanks! Will report back my findings once I have it.21:45
minutecool!21:46
joschminute: you already hinted that you might offer the 3d printed trackball buttons in your shop -- could the same be done for the compex wifi card?21:46
minutewe decided today to keep the changes in the new motherboard rev minimal21:46
minutejosch: sure, i'll write that down21:46
joschnice!21:47
vkoskivWhich chips did you need to swap out?21:47
minutevkoskiv: so far only TUSB8041 (to TUSB8040) and INA26021:47
minutewe decided to stay with LPC11U24 instead of migrating to RP2040 because it's not worth the reeingineering21:48
minuteand having then 2 different firmwares to be maintained21:49
minutein general compatibility is a big factor21:49
minuteso the focus is mainly on bugfixes21:49
minutealso the flashing connector will be usb-c instead of microusb but that's a tiny detail21:50
vkoskivYeah firmware maintenance burden would certainly a bummer21:50
minuteexactly21:50
vkoskivAre microusb hard to get these days21:50
minuteno, but it's just a worse connector21:50
vkoskivThe most cursed connector in existence is micro B usb 3.x21:51
minutehaha yes it is closely related21:51
minutealso, several fixes for the power system will be integrated21:51
vkoskivI recently found an external drive with that connector, and it has an USB C to that horrendous connector cable21:51
minuteand the headphone bass fix21:51
vkoskivCool stuff. Good chance to fix things with a new rev21:52
vkoskivIs the one hand-tweaked SMD cap/resistor on my board one of these fixes? :D21:52
vkoskivR5321:52
joschvkoskiv: I assume you are familiar with xkcd's "cursed connector" series? ;)21:53
josch(micro B usb 3.x looks so bad, that first time i saw it i assumed it was some proprietary connector)21:53
minutethe funny thing about micro B usb 3 is that it is backwards compatible to micro usb21:55
vkoskivYeah it just has that normal micro b bit with the extra tumor on the side21:58
- Nulo (QUIT: Ping timeout: 246 seconds) (~Nulo@user/nulo)22:11
- jjbliss (QUIT: Read error: Connection reset by peer) (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)22:13
+ jjbliss (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)22:29
vagrantcok, going to the mnt/reform meetup in seattle on the 6th!22:48
minutevagrantc: awesome23:03
- bgs (QUIT: Remote host closed the connection) (~bgs@212-85-160-171.dynamic.telemach.net)23:20
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:587:dc0c:c200:5b5:50e2:356d:c45b)23:51

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