#
#asahi-dev · 2023-04-25 16:24
marcan`dmesg -w` is your friend :)
#asahi-dev · 2023-04-25 16:24
axboethat resumed fine
#asahi-dev · 2023-04-25 16:23
axboeok here goes
#asahi-dev · 2023-04-25 16:23
axboessh in with dmesg in a loop too :)
#asahi-dev · 2023-04-25 16:23
axboeyep
#asahi-dev · 2023-04-25 16:23
marcanmaybe sync in a loop :)
#asahi-dev · 2023-04-25 16:22
axboelet's try
#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
axboesure, let me find the resume script and add a sync
#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:21
axboethat's from starting suspend, and then last line is new boot
#asahi-dev · 2023-04-25 16:21
axboehttps://paste.debian.net/1278430/
#asahi-dev · 2023-04-25 16:20
marcanhttps://paste.debian.net/ ?
#asahi-dev · 2023-04-25 16:20
axboeplanned maintenance
#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
axboelet me put it in a pastebin
#asahi-dev · 2023-04-25 16:19
marcandid it stop right there mid line?
#asahi-dev · 2023-04-25 16:19
axboeyeah sorry, will pastebin
#asahi-dev · 2023-04-25 16:19
axboewell shoot, that's all I get before the next line is from the next boot
#asahi-dev · 2023-04-25 16:19
marcanyeah that's all normal, also pastebin?
#asahi-dev · 2023-04-25 16:18
axboe2023-04-25T10:14:57.380559-06:00 m1max kernel: [ 33.835339] apple-pmgr-pwrstate
#asahi-dev · 2023-04-25 16:18
axboe2023-04-25T10:14:57.380557-06:00 m1max kernel: [ 33.835223] apple-pmgr-pwrstate 28e580000.power-management:power-controller@290: PS mca1: Failed to reach power state 0xf (now: 0x24f)
#asahi-dev · 2023-04-25 16:18
axboe2023-04-25T10:14:57.380554-06:00 m1max kernel: [ 33.835102] apple-pmgr-pwrstate 28e580000.power-management:power-controller@288: PS mca0: Failed to reach power state 0xf (now: 0x24f)
#asahi-dev · 2023-04-25 16:18
axboe2023-04-25T10:14:57.380552-06:00 m1max kernel: [ 33.834560] macsmc-hid macsmc-hid: Lid wakeup
#asahi-dev · 2023-04-25 16:18
axboe2023-04-25T10:14:57.380550-06:00 m1max kernel: [ 33.834543] macsmc-rtkit 290400000.smc: RTKit: syslog message: apComms.cpp:373: SMC HID Event: 03 00 01
#asahi-dev · 2023-04-25 16:18
marcanthat's normal
#asahi-dev · 2023-04-25 16:18
axboe2023-04-25T10:14:57.380548-06:00 m1max kernel: [ 33.801967] nvme-apple 393cc0000.nvme: RTKit: syslog message: cmd.c:7874: seg->lba 0 saveCtx 1 took 137 ms
#asahi-dev · 2023-04-25 16:18
axboe2023-04-25T10:14:57.380543-06:00 m1max kernel: [ 33.664422] nvme-apple 393cc0000.nvme: RTKit: syslog message: cmd.c:7861: NVMe shutdown start seg->lba: 0, seg->size: 0
#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:16
axboeI got something
#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:15
axboeit came back, I entered password to unlock, and then 1 sec later it rebooted
#asahi-dev · 2023-04-25 16:14
_jannau_dcp would complain if not
#asahi-dev · 2023-04-25 16:14
axboeit's up, suspending
#asahi-dev · 2023-04-25 16:14
axboewell...
#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
axboenever updated that side, will do once the m2 can get used
#asahi-dev · 2023-04-25 16:13
axboeI haven't changed my ways :)
#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:12
axboeI'm still doing the whole osx recovery thing for dtb updates like probably a moron (assuming there's a better way now)
#asahi-dev · 2023-04-25 16:11
axboewill do, updating it now
#asahi-dev · 2023-04-25 16:10
marcanleave it just in case
#asahi-dev · 2023-04-25 16:10
axboeremove the ps_gfx always on or leave it?
#asahi-dev · 2023-04-25 16:10
axboeok
#asahi-dev · 2023-04-25 16:09
marcanaxboe: in t600x-die0.dtsi, comment out the whole pmgr_misc block

plus ›