#
✕ nick:marcan
#asahi-dev · 2023-06-02 09:54
marcanthat is what the firmware does
#asahi-dev · 2023-06-02 09:54
marcanthe charge limit behavior is to explicitly force discharge to bring down the battery to 80%
#asahi-dev · 2023-06-02 09:51
marcanmight be borderline for you
#asahi-dev · 2023-06-02 09:50
marcanso it's as good as not being plugged in
#asahi-dev · 2023-06-02 09:50
marcanwhen the 80/75% limit is engaged, if the battery is >=81%, it forces discharge
#asahi-dev · 2023-06-02 09:50
marcanthen you weren't plugged in
#asahi-dev · 2023-06-02 09:50
marcansometimes it can catch panic logs from magic places
#asahi-dev · 2023-06-02 09:49
marcanwhen the crash happens, immediately hold down the power button and go into the boot picker, and boot macOS
#asahi-dev · 2023-06-02 09:49
marcanoh yeah, there's one more trick you can try
#asahi-dev · 2023-06-02 09:49
marcanyeah that makes sense
#asahi-dev · 2023-06-02 09:48
marcanshould already be verbose on crashes
#asahi-dev · 2023-06-02 09:48
marcanif SMC panics hopefully you'd get a crashdump
#asahi-dev · 2023-06-02 09:47
marcannah, that's good
#asahi-dev · 2023-06-02 09:46
marcanThough if SMC is in charge of voltage regulator management it could be in the hot path for powering up clusters and that could explain a hang (linux tries to wake up some cores and gets stuck)
#asahi-dev · 2023-06-02 09:45
marcanI'm wondering if this is something just hanging linux due to a power control interaction we don't understand (and then we watchdog timeout), or if it's outright SMC panicking (but then why would it hang?)
#asahi-dev · 2023-06-02 09:44
marcaninteresting
#asahi-dev · 2023-06-02 09:42
marcanis the reset instant, or does it hang for a while?
#asahi-dev · 2023-06-02 09:42
marcanok cool, I'll try to repro
#asahi-dev · 2023-06-02 09:42
marcanI haven't tested powered off, it may reset SMC yeah
#asahi-dev · 2023-06-02 09:37
marcan(you can enable the 80% charge threshold now btw, it works in sleep even)
#asahi-dev · 2023-06-02 09:31
marcanany idea what % your battery was at, roughly?
#asahi-dev · 2023-06-02 09:30
marcanstarting to sound like a power delivery problem...
#asahi-dev · 2023-06-02 09:25
marcancool
#asahi-dev · 2023-06-02 09:24
marcanninja -jwhat?
#asahi-dev · 2023-06-02 09:24
marcancool, easy enough to repro
#asahi-dev · 2023-06-02 09:24
marcanand what compile workload?
#asahi-dev · 2023-06-02 09:24
marcanis this with AC connected or disconnected?
#asahi-dev · 2023-06-02 09:23
marcanyeah, so far I'm leaning towards the FS/NVMe behaving as expected and the only real problem we have is the crashes/watchdog reboots
#asahi-dev · 2023-06-02 09:20
marcanthere will be no gap
#asahi-dev · 2023-06-02 09:20
marcankernel timekeeping stops during sleep so you will not get anything useful out of the kernel timestamps
#asahi-dev · 2023-06-02 09:20
marcanobviously when you put the machine to sleep logs arrive after it wakes up
#asahi-dev · 2023-06-02 09:20
marcansid-linux: all that is normal for the reasons jannau mentioned
#asahi-dev · 2023-06-02 07:54
marcanalso did you update m1n1 and u-boot also?
#asahi-dev · 2023-06-02 07:54
marcanwhich machine is this?
#asahi-dev · 2023-06-02 07:53
marcanI wonder if this has to do with cpuidle...
#asahi-dev · 2023-06-02 07:53
marcaneric_engestrom: but yes the shutdown is the bigger question
#asahi-dev · 2023-06-02 07:42
marcanlina, alyssa: ping for mesa side
#asahi-dev · 2023-06-02 07:42
marcanthe pulseaudio one is definitely something else
#asahi-dev · 2023-06-02 07:41
marcanthe dmabuf ones might be a mesa regression
#asahi-dev · 2023-06-02 07:40
marcansid-linux: I've seen that fd leak thing before, it's not a kernel issue
#asahi-dev · 2023-06-02 07:36
marcaneric_engestrom: that looks pretty boring though? two extent trees that are oversized sounds like not really corruption, and I think the only reason it says still has errors is the missing /l+f?
#asahi-dev · 2023-06-01 16:49
marcanglad to hear that! we do try :)
#asahi-dev · 2023-06-01 16:36
marcanbut we're getting there
#asahi-dev · 2023-06-01 16:36
marcansid-linux: tbh I wanted it to be out already but planning is hard and real life gets in the way sometimes :)
#asahi-dev · 2023-06-01 16:28
marcan(ALARM packages/repos will remain maintained, but the idea is to recommend the new distro by default as a higher quality option)
#asahi-dev · 2023-06-01 16:28
marcanwe will be announcing a new default distro option soonish
#asahi-dev · 2023-06-01 16:27
marcanit's not their fault, but without more people it just can't be a quality distro
#asahi-dev · 2023-06-01 16:27
marcanArch itself is great, but unfortunately ALARM these days has a maintenance team of <1 person and it shows
#asahi-dev · 2023-06-01 16:24
marcanlina just ran into a broken python package they forgot to rebuild earlier today
#asahi-dev · 2023-06-01 16:24
marcanthe QA/maintenance just keeps getting worse

plus ›