#asahi-dev · 2023-04-25 17:05
marcanwhat's your boot chain right now?#asahi-dev · 2023-04-25 17:05
marcanas of at least a couple days ago I take it#asahi-dev · 2023-04-25 17:05
marcanjust to be sure, which version of m1n1 are you using?#asahi-dev · 2023-04-25 16:57
marcanI just want a trace of what your system is powering down#asahi-dev · 2023-04-25 16:57
marcanyeah the result should be the same either way, I don't care if it doesn't crash at that point#asahi-dev · 2023-04-25 16:56
marcanif cpuidle fixes it, it's probably unrelated. if it doesn't, try to get me another log where you get some stuff from resume (so at least we have a complete log of the suspend process)#asahi-dev · 2023-04-25 16:55
marcanyou can do both#asahi-dev · 2023-04-25 16:55
marcancan you put a #define DEBUG at the top of drivers/soc/apple/apple-pmgr-pwrstate.c too?#asahi-dev · 2023-04-25 16:54
marcancpuidle.off=1#asahi-dev · 2023-04-25 16:54
marcanyou could try disabling cpuidle#asahi-dev · 2023-04-25 16:54
marcanyeah but I don't think I made any changes that could cause this other than the cpuidle stuff :(#asahi-dev · 2023-04-25 16:53
marcanDCP also clearly works#asahi-dev · 2023-04-25 16:53
marcanand SMC is clearly alive since wakeup works#asahi-dev · 2023-04-25 16:53
marcanI'm running out of ideas... AFAIK the coprocessors that can nuke the system like that are SMC and the CIO stuff (cc sven), but the latter shouldn't be enabled yet...#asahi-dev · 2023-04-25 16:52
marcan:(#asahi-dev · 2023-04-25 16:52
marcanoh, it crashed again even with that change?#asahi-dev · 2023-04-25 16:50
marcanI think some coprocessor needs ps_sio and is exploding when we shut that down#asahi-dev · 2023-04-25 16:49
marcanyeah bluetooth breaks, we know that#asahi-dev · 2023-04-25 16:49
marcannext move that always-on from ps_uart0 to ps_sio#asahi-dev · 2023-04-25 16:45
marcanis this the 14" or the 16"?#asahi-dev · 2023-04-25 16:44
marcanwhy do you like hurting yourself so much :p#asahi-dev · 2023-04-25 16:42
marcanok, here's a random idea: make ps_uart0 apple,always-on;#asahi-dev · 2023-04-25 16:38
marcanjust to confirm, CONFIG_BACKLIGHT_GPIO isn't set?#asahi-dev · 2023-04-25 16:37
marcanI don't see anything fatal in there :(#asahi-dev · 2023-04-25 16:35
marcanok, so the borked i2c isn't great but that doesn't excuse a reboot#asahi-dev · 2023-04-25 16:29
marcanyou can get a serial console on these but..#asahi-dev · 2023-04-25 16:27
marcanoof...#asahi-dev · 2023-04-25 16:26
marcanheisenbug \o/#asahi-dev · 2023-04-25 16:24
marcan`dmesg -w` is your friend :)#asahi-dev · 2023-04-25 16:23
marcanmaybe sync in a loop :)#asahi-dev · 2023-04-25 16:22
marcanyou could just do `echo mem > /sys/power/state ; sync` probably#asahi-dev · 2023-04-25 16:22
marcanobviously that didn't flush to disk everything that happened while it was alive#asahi-dev · 2023-04-25 16:22
marcancan you try again and see if you can sneak in a sync or something?#asahi-dev · 2023-04-25 16:21
marcanok yeah that's... not useful :(#asahi-dev · 2023-04-25 16:20
marcanhttps://paste.debian.net/ ?#asahi-dev · 2023-04-25 16:19
marcanso it can't be SMC crashing before the wakeup because (duh) then we wouldn't wake up#asahi-dev · 2023-04-25 16:19
marcandid it stop right there mid line?#asahi-dev · 2023-04-25 16:19
marcanyeah that's all normal, also pastebin?#asahi-dev · 2023-04-25 16:18
marcanthat's normal#asahi-dev · 2023-04-25 16:18
marcanif so, try 15 seconds and you should have at least as much time to sync to disk and such#asahi-dev · 2023-04-25 16:17
marcanso IIRC the SMC reboot watchdog is like 30 seconds or something, and if this is along those lines it might be crashing directly on suspend#asahi-dev · 2023-04-25 16:15
marcancan you see if anything is in there?#asahi-dev · 2023-04-25 16:15
marcanI hope journald saved a log from that#asahi-dev · 2023-04-25 16:14
marcanI hope at least you're on the right stub version :p#asahi-dev · 2023-04-25 16:13
marcan(and m1n1 chainloading)#asahi-dev · 2023-04-25 16:12
marcanumm... you know we've been shipping u-boot for that for a year now right? :p#asahi-dev · 2023-04-25 16:10
marcanleave it just in case#asahi-dev · 2023-04-25 16:09
marcanaxboe: in t600x-die0.dtsi, comment out the whole pmgr_misc block#asahi-dev · 2023-04-25 16:09
marcanah wait, this could be the pmgr-misc thing#asahi-dev · 2023-04-25 16:07
marcan(or kernel panic if you have it set to reboot on panic)