2025-07-10.log

+ paperManu (~paperManu@72.10.128.164)00:02
bremnerhow do I get linux kernel messages on the pocket reform serial console, and not just u-boot?00:06
bremnerI tried adding console=ttyS0,1500000 to the kernel command line, but I still just see u-boot messages, up to "Starting kernel ...", at which point it switches00:06
bremnermaybe having console=tty1 first is the problem.00:07
bremnerOh, that's confusing. The linux kernel docs mention a maximum baud rate of 11520000:09
minutebremner: ttyS201:08
minutebremner: console=ttyS2,150000001:08
minutebremner: also interesting: keep_bootcon01:09
minutejosch: cool, thanks!01:13
vagrantcwhat's keep_bootcon do01:14
vagrantc?01:14
vagrantcACTION reads up in kernel docs01:16
- AnimaInvicta (PART: !!unknown attribute: msg!!) (~AnimaInvi@88-120-179-216.subs.proxad.net)01:18
- L29Ah (QUIT: Quit: Gateway shutdown) (~L29Ah@wikipedia/L29Ah)01:31
+ L29Ah (~L29Ah@wikipedia/L29Ah)01:32
- mjw (QUIT: Ping timeout: 260 seconds) (~mjw@gnu.wildebeest.org)01:35
+ casparvitch (~casparvit@130.102.160.70)02:04
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:85f:9a3f:9300:1ac0:4dff:fedb:a3f1)02:13
- vagrantc (QUIT: Ping timeout: 265 seconds) (~vagrant@2600:3c01:e000:21:7:77:0:50)02:16
bremnerTIL you can connect to the power supply (?) on /dev/ttyACM002:51
bremner# ON AC CHG chg=3 mps_flt=00 input=19650mV@625mA charge=0mA discharge=0mA p=12.62W ttempty=6143min02:52
bremnerminute: thanks, that seems to have worked02:53
bremneralso, I apparently get a shell on the serial console, for no extra effort02:54
^alexah yeah the syscon logs a lot of stuff02:54
bremnerhrm. that doesn't sound good: [  600.027541] watchdog: CPU3: Watchdog detected hard LOCKUP on cpu 403:04
^alexeek03:17
^alexhard LOCKUP sounds like it faulted in a fault handler03:18
mhoyewho fault-handles the fault handlers03:19
bremnerthere's the log, if curious https://paste.debian.net/1385096/03:19
bremner(it's failing hibernation test)03:19
bremnerwelp. that's enough fun for one day.03:21
bremnergordon1: btw, were you struggling with pcie? I don't really know, but looks like something bad is happening with pcie resume in the paste ^03:30
- nsc (QUIT: Ping timeout: 272 seconds) (~nicolas@200-99-142-46.pool.kielnet.net)03:34
+ nsc (~nicolas@87-96-142-46.pool.kielnet.net)03:35
+ arminweigl_ (~arminweig@sourcehut/user/arminweigl)03:46
- arminweigl (QUIT: Ping timeout: 276 seconds) (~arminweig@sourcehut/user/arminweigl)03:47
* arminweigl_ -> arminweigl03:47
- paperManu (QUIT: Ping timeout: 276 seconds) (~paperManu@72.10.128.164)04:35
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)05:21
- vagrantc (QUIT: Ping timeout: 276 seconds) (~vagrant@2600:3c01:e000:21:7:77:0:50)05:32
+ chomwitt (~chomwitt@2a02:85f:9a3f:9300:1ac0:4dff:fedb:a3f1)08:37
- wiedi_ (QUIT: Quit: ^Z) (~wiedi@ip5f581498.dynamic.kabel-deutschland.de)09:30
- casparvitch (QUIT: Ping timeout: 248 seconds) (~casparvit@130.102.160.70)10:06
+ mjw (~mjw@gnu.wildebeest.org)10:54
gordon1bremner: there was a patch that handled slot reset on link down https://patchwork.kernel.org/project/linux-rockchip/patch/20250509-b4-pci_dwc_reset_support-v3-1-37e96b4692e7@wdc.com/11:16
gordon1but iirc it got merged somewhere around 6.15.411:16
gordon1so should be there11:17
gordon1ACTION shrugs11:17
gordon1but yeah, i mostly struggle with nvme11:18
joschI do not see that patch be part of 6.15.511:21
joschI also do not see it in torvalds master branch. There is no rockchip_pcie_rc_reset_slot() neither in drivers/pci/controller/dwc/pcie-dw-rockchip.c nor elsewhere11:23
gordon1hmm, interesting, i distinctly remember it failing to apply and looking at the files and the change was there11:29
gordon1weird11:29
gordon1oh yeah, that's because bridge->reset_slot is gone, it is moved somewhere, isn't it?11:33
- robin (QUIT: Remote host closed the connection) (~robin@user/terpri)12:01
+ robin (~robin@user/terpri)12:03
- robin (QUIT: Remote host closed the connection) (~robin@user/terpri)12:04
+ robin (~robin@user/terpri)12:04
- robin (QUIT: Remote host closed the connection) (~robin@user/terpri)12:13
+ robin (~robin@user/terpri)12:13
+ paperManu (~paperManu@72.10.128.164)12:22
joschmy last MNT order arrived! \o/12:26
grimmware:O12:27
grimmwareWhat did you get?12:27
grimmwareman I am so glad to have this thing back in action12:27
minutebremner: thanks for your log. the problem is the mediatek wifi card that's connected internally via usb. you could try blocklisting that driver12:31
joschi ordered a pair of hinges as one of the original hinges of my A311D classic reform broke12:31
minutejosch: oh nice! we also put in the long promised keyboard for your trackpoint experiment12:32
minuteafaik12:32
gordon1yes pls12:33
gordon1trackpoint options would be nice12:33
joschminute: you did! it even has all the components on except for the switch -- this is perfect thank you so much!12:33
joschi'll make a forum post with what i can cook up :)12:33
grimmwareamazing :D12:33
bremnerminute: I'm already unloading it and reloading mt76x2u, but I could try blacklisting it as well12:33
joschgordon1: let me show you a photo of what i plan to add12:34
gordon1pls12:35
bremnerminute: a less noisy log, fwiw https://paste.debian.net/1385175/ ; I was unloading "dwc" in the previous one, but that seems to cause more problems than it solves12:36
minutebremner: ah, no pcie link 12:36
bremnerso it seems, but I'm a bit out of my depth at this point.12:44
joschgordon1: so i have these trackstick options: https://mister-muffin.de/p/6uzA.jpg12:53
joschthey are relatively easy to get as apparently that chip is what old thinkpads used12:53
joschand there are a few wiki articles that explain how to interface with them12:53
joschthe one on the left is the easy-mode option which already comes with usb12:53
joschbut of course ideally, this would be wired as the "mouse" that you can attach to keyboard v4 :)12:54
joschnow i need to get my dremel skills out, solder some switches and mod some keycaps :)12:55
gordon1nice, i was salvaging trackpoints from old thinkpad keyboards13:01
+ gustav28 (~gustav@c-78-82-54-137.bbcust.telenor.se)13:02
gordon1what about height? i mean in thinkpads usually the whole gist is to have it the same height as keyboard, and i think in this case you have to print longer knob to match kailh choc 13:03
joschyes, but look there are lots of ideas of what to do about this :) https://github.com/alonswartz/trackpoint#q-what-should-i-use-for-the-trackpoint-stemstick13:04
+ casparvitch (~casparvit@36.255.114.132)13:35
- mjw (QUIT: Ping timeout: 268 seconds) (~mjw@gnu.wildebeest.org)13:43
* Guest7062 -> mjw14:06
- chomwitt (QUIT: Ping timeout: 276 seconds) (~chomwitt@2a02:85f:9a3f:9300:1ac0:4dff:fedb:a3f1)15:00
- bkeys (QUIT: Ping timeout: 272 seconds) (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)15:06
- robin (QUIT: Remote host closed the connection) (~robin@user/terpri)15:48
grimmwarehmm, anyone had this problem before when trying to remove old linux packages? http://paste.debian.net/1385203/15:48
+ robin (~robin@user/terpri)15:48
grimmwareit looks like the removal is calling the post-remove scripts wrong15:50
grimmwarefrom strace                                                                             [pid 78728] execve("/usr/bin/linux-run-hooks", ["linux-run-hooks", "prerm", "remove", "6.12.25-mnt-reform-arm64", "/boot/vmlinuz-6.12.25-mnt-reform-arm64"], 0xaaaad798a8f8 /* 28 vars */) = 016:02
grimmwareI think this might be a transient bug in one of the manually installed kernel packages I was playing around with a while ago16:03
grimmwareit appears to have removed the rest of them I asked it to meaning at least I'm unblocked on doing an update (I was running out of /boot)16:03
- gustav28 (QUIT: Quit: Quit) (~gustav@c-78-82-54-137.bbcust.telenor.se)16:35
- casparvitch (QUIT: Ping timeout: 276 seconds) (~casparvit@36.255.114.132)16:37
joschgrimmware: no, it was not your fault but mine. Here is a workaround: https://community.mnt.re/t/autoremove-linux-image-6-12-25-mnt-reform-arm64/3552/716:41
mhoyeminute: thanks for the gitlab green light, I've filed the issue. Turns out my problem is my beloved trackball.17:26
grimmwarejosch: ah gotcha, I'll give it a proper look later18:13
grimmwarethanks man18:13
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)18:42
+ AnimaInvicta (~AnimaInvi@88-120-179-216.subs.proxad.net)18:54
+ mark_ (~mjw@gnu.wildebeest.org)19:06
minutebtw we now have direct links to sections in the support system, for example https://support.mnt.re/#devices/pocket_reform/charger_module_test19:08
grimmwarethat is very cool19:31
joschniiice, great improvement!19:32
- mjw (QUIT: Killed (zirconium.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c)19:41
* mark_ -> mjw19:41
+ Guest2250 (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c)19:41
- paperManu (QUIT: Ping timeout: 245 seconds) (~paperManu@72.10.128.164)19:59
+ chomwitt (~chomwitt@2a02:85f:9a3f:9300:1ac0:4dff:fedb:a3f1)20:15
vagrantctotally want this for my mnt/reform, if it actually does what i think it does (e.g. provide a serial console display screen) https://www.crowdsupply.com/excamera/termdriver-221:46
vagrantci *might* try to use my mnt/reform to present at FOSSY ... but i will admit i am a touch nervous to try :)21:49
joschvagrantc: you saw my messages a few days ago about kernel 6.12.35?21:54
vagrantcjosch: last i have is that you will be working on it :)22:04
vagrantcACTION has 6.12.36 working with an old patch stack and three upstream commits reverted22:04
joschoh you are at .3622:06
joschnevermind then22:06
joschthis is .35 https://mister-muffin.de/p/yf1A.png22:07
joschno reverts: https://source.mnt.re/reform/reform-debian-packages/-/merge_requests/12522:07
ryukazouIs the MNT logo on the back plate an extension of the copper heat sink?22:10
ryukazouback plate of pocket reform22:10
vagrantcjosch: on rk3588 ?22:11
joschvagrantc: yes22:11
vagrantcjosch: i didn't have any new conflicts on 6.12.36 compared to 6.12.35 ... so hopefully they will just work :)22:12
joschvagrantc: so it's working for you now?22:12
vagrantcjosch: with an old patchset from af0a461d38e13481323f061d9ff6827d1d13873b and three conflicting upstream patches reverted22:13
joschvagrantc: maybe you can get inspired by that MR -- i didn't revert things but backported a few from later22:13
joschfor example i had to add some dtb fixes to for the addition of hdmi audio22:14
vagrantcjosch: will give it a shot22:14
vagrantcalso need to try and test 6.15.x22:17
kfxI can't get the samsung patches to apply to 6.1522:17
joschryukazou: the heat sink for the pocket reform *is* the backplate which itself is a pcb where the copper in it is used as the heat sink. Part of that copper is visible as the MNT logo on the outside.22:25
ryukazouI plan to do a liquid coating for back plate, is it recommend? Or do I just need avoid the visible copper logo?22:29
joschryukazou: if you add another layer of material to the backplate it will negatively affect heat transfer but if the layer is thin probably not by much -- only testing it out can give you the true answer :)22:32
ryukazouThanks I will try to apply the thin coating.22:33
vagrantcjosch: not a huge deal, but any opinion on generating a slightly newer tag for reform-debian-packages?22:42
vagrantcjosch: i use git describe for the version in guix, and, well ... 2023-07-10-424-gb264702 ... looks a little odd at this point in history :)22:43
joschvagrantc: honestly i wasn't even aware that there was a tag in the first place22:44
joschi wonder what would make sense to tag in that repo as a thing that makes a meaningful state that one wants to preserve22:45
vagrantcit is a curious collection of things indeed22:46
joschi think the "problem" is that it tracks unstable22:46
joschwe could regularly give it a date-based tag22:46
vagrantchmmm... rk3588-mnt-reform2/0026-WIP-phy-phy-rockchip-samsung-hdptx-Add-FRL-EARC-supp.patch does not apply22:58
vagrantcscratch that... did not actually test correctly22:59
vagrantcheh. testing the right branch helps.23:01
+ bkeys (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)23:04
vagrantcart the rk3588-dsi variants not supported on 6.12.x ?23:13
+ casparvitch (~casparvit@36-255-114-132.ip4.superloop.au)23:20
vagrantcACTION watches a shiny kernel compile23:25
joschvagrantc: yes, no dsi on 6.1223:31
joschvagrantc: see https://reform.debian.net/images/#hardware-compatibility23:33
vagrantcthanks ... i should probably not bother with those .dts/.dtb files then23:37
vagrantchopefully it does not triger build failure :/23:37
joschvagrantc: there should only be one dsi dtb though, not multiple23:42
+ bkeys1 (~Thunderbi@172.56.65.227)23:42
vagrantcvariant(s)23:45
- bkeys (QUIT: Ping timeout: 260 seconds) (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)23:45
* bkeys1 -> bkeys23:45
- bkeys (QUIT: Ping timeout: 248 seconds) (~Thunderbi@172.56.65.227)23:56
vagrantcsuccessfully built a kernel ... but i missed some of the config updates :/23:59
vagrantcguess will see how crucial they are ...23:59

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