#asahi-dev · 2023-06-02 10:05
eric_engestrommarcan: agreed, it probably made sense in the early days of each vendor having its own custom interface, but not anymore#asahi-dev · 2023-06-02 10:03
eric_engestromre: thresholds sure, but I think TLP doesn't enumerate /sys/class/power_supply/*, which is why it needs to be told about each one#asahi-dev · 2023-06-02 10:02
eric_engestromargh, I got distracted by another chat window and I didn't pay attention when it crashed again, so I still don't know if it hung for a while before resetting... guess I'm doing it again xD#asahi-dev · 2023-06-02 09:59
eric_engestromor you can use TLP with https://github.com/linrunner/TLP/pull/685#asahi-dev · 2023-06-02 09:57
eric_engestrom(i've been doign a full-mesa build with ccache cleared, it's like 75% through and still no issue...)#asahi-dev · 2023-06-02 09:48
eric_engestrom(btw if most of the compilation gets caught by ccache, it doesn't reproduce)#asahi-dev · 2023-06-02 09:48
eric_engestromack#asahi-dev · 2023-06-02 09:48
eric_engestromor perhaps a /sys knob to make it more verbose?#asahi-dev · 2023-06-02 09:47
eric_engestromI'm running `dmesg -w` through ssh to try to see if there's anything; any other log I should watch?#asahi-dev · 2023-06-02 09:44
eric_engestromlet me do it again#asahi-dev · 2023-06-02 09:44
eric_engestromI wasn't paying attention this time, but last time it hung for about 30 sec#asahi-dev · 2023-06-02 09:42
eric_engestromthanks!#asahi-dev · 2023-06-02 09:41
eric_engestrombtw I unplugged the power cord and re-ran the compilation, and it reset again pretty much right away, so it's definitely that#asahi-dev · 2023-06-02 09:40
eric_engestrombut not powered off, right? I think powered off I've seen it continue to charge to 100%#asahi-dev · 2023-06-02 09:33
eric_engestromI don't know more than that though#asahi-dev · 2023-06-02 09:33
eric_engestromabove 30% because I have a visual warning when it gets below that, and below 80% because I never let it charge higher than that#asahi-dev · 2023-06-02 09:31
eric_engestromindeed#asahi-dev · 2023-06-02 09:30
eric_engestromjust mesa compiled with ac connected, and it went fine#asahi-dev · 2023-06-02 09:25
eric_engestromplain `ninja` but with `alias ninja='nice -n20 ninja'` in my .bashrc#asahi-dev · 2023-06-02 09:24
eric_engestromlet me try with ac connected#asahi-dev · 2023-06-02 09:24
eric_engestromac disconnected, and the workload was compiling mesa#asahi-dev · 2023-06-02 09:24
eric_engestromagreed, I think we can consider the fs side "normal"#asahi-dev · 2023-06-02 09:23
eric_engestrommarcan: re: "what machine" -> m2 air like _jannau_ said, and yes m1n1 & uboot are up to date as well (I know better than doing a partial update on arch :P)#asahi-dev · 2023-06-02 09:22
eric_engestrommarcan: re- fsck, I don't know what's normal or not but your assessment sounds right#asahi-dev · 2023-06-02 09:21
eric_engestromjannau: indeed, looks like the same issue; I'll post there if I manage to get more info, but also starting tomorrow I'll be travelling for a week so I'll prefer downgrading over being able to reproduce the issue ^^#asahi-dev · 2023-06-01 21:33
eric_engestrommarcan: fsck output, there are errors: https://photos.app.goo.gl/VrpR2M2MG7hbfX979#asahi-dev · 2023-06-01 18:25
eric_engestrombut I haven't reverted that to confirm yet#asahi-dev · 2023-06-01 18:24
eric_engestromI'm pretty sure this is a regression from the update at the begining of the week#asahi-dev · 2023-06-01 18:24
eric_engestromI'll read the backlog later#asahi-dev · 2023-06-01 18:24
eric_engestromI have to go now though#asahi-dev · 2023-06-01 18:23
eric_engestrom(on the -dev repo btw)#asahi-dev · 2023-06-01 18:23
eric_engestromalarm#asahi-dev · 2023-06-01 18:21
eric_engestromno it's cold, and the crash happens as soon as I start compiling#asahi-dev · 2023-06-01 18:13
eric_engestromwhy does compiling kill my machine? I'll try to have my old machine ssh'ed in and `dmesg -w` + `journalctl -f` to see if there's anything useful before it freezes#asahi-dev · 2023-06-01 18:11
eric_engestrombut to me the bigger issue than "crash lead to fs corruption" is the crash itself#asahi-dev · 2023-06-01 18:10
eric_engestrommarcan: I can't fsck live, so I'll do that next time I can shutdown#asahi-dev · 2023-06-01 11:45
eric_engestromI'll try reverting to the previous kernel (I did the updates a couple of days ago)#asahi-dev · 2023-06-01 11:44
eric_engestromafter a few seconds (maybe 30?) it rebooted#asahi-dev · 2023-06-01 11:44
eric_engestromalso, it happened again, but this time I was looking at my computer: I ran `ninja`, and it started spewing compile errors (I should've taken a picture, I don't remember but I would expect it's truncated files again) and it froze; keyboard unresponsive (ctrl+alt+f2 didn't do anything), couldn't ssh in#asahi-dev · 2023-06-01 11:42
eric_engestrom*hold power#asahi-dev · 2023-06-01 11:42
eric_engestromas for trying to hold shutdown, I don't really want to do this as it's my daily driver :]#asahi-dev · 2023-06-01 11:41
eric_engestrommarcan: /proc/sys/vm/dirty_writeback_centisecs is 15sec on my old x86 and 60sec on my m2#asahi-dev · 2023-06-01 08:42
eric_engestromthere was definitely way more time than that, so I guess it wasn't that#asahi-dev · 2023-06-01 08:41
eric_engestrom> flushes are delayed at most 1 second#asahi-dev · 2023-06-01 08:41
eric_engestromyeah, that's the one I was trying to remember#asahi-dev · 2023-06-01 08:16
eric_engestromj`ey: ext4 here (forgot to say)#asahi-dev · 2023-06-01 08:16
eric_engestromwait, I seem to recall some discussion about nvme or something that apple did weird with a flush hack on macos and we have a different hack or something?#asahi-dev · 2023-06-01 08:14
eric_engestromI think those are all changes from a rebase I did a couple of minutes before I ran the compilation#asahi-dev · 2023-06-01 08:13
eric_engestrom`git diff` is showing me a ton of files that have seemingly been truncated?#asahi-dev · 2023-06-01 08:12
eric_engestromhmm, are we aware of any fs corruption issue? I was compiling a project on my m2 air, and I stepped away for a couple of minutes to get some water, and when I came back the laptop had rebooted. I logged back in, and couldn't continue the compilation because my files aren't valid C anymore, and I couldn't `git status` because a bunch of git object files are empty