#
#asahi-dev · 2023-06-01 11:19
j`eyoh, so uboot has a custom dtc maybe??
#asahi-dev · 2023-06-01 11:18
whyircNixOS's BuildUBoot derivation does this by default
#asahi-dev · 2023-06-01 11:18
whyircLooks like the error is reproducible if you add DTC=dtc to make
#asahi-dev · 2023-06-01 11:17
j`eyoh?
#asahi-dev · 2023-06-01 11:17
whyircI found the source of error
#asahi-dev · 2023-06-01 11:16
j`eyI just built the latest
#asahi-dev · 2023-06-01 11:15
whyircYou have the same error? What version of dtc do you use?
#asahi-dev · 2023-06-01 11:14
j`eypretty weird, I can repro it with just calling dtc directly, so Im not sure how it works
#asahi-dev · 2023-06-01 11:08
mpswhyirc: look in alpine APKBUILD what dependencies are needed
#asahi-dev · 2023-06-01 11:06
whyircWhat can possibly cause this error?
#asahi-dev · 2023-06-01 10:57
j`eyseems to be erroring on a floating point value
#asahi-dev · 2023-06-01 10:57
j`eymaybe it's a dtc version issue?
#asahi-dev · 2023-06-01 10:53
whyircAny idea what's going on or tips to debug?
#asahi-dev · 2023-06-01 10:53
whyircLooks like other distros (alpine, official in dev branch) built u-boot v2023.04 without any problems
#asahi-dev · 2023-06-01 10:52
whyircGetting this cryptic error - https://pastebin.com/e1NeqFBP
#asahi-dev · 2023-06-01 10:52
whyircI'm trying to build newer u-boot version
#asahi-dev · 2023-06-01 10:52
whyircHello everyone
#asahi-dev · 2023-06-01 10:11
marcan(the power button sends multiple warning messages before hard shutdown, we use the last one to trigger a kernel shutdown)
#asahi-dev · 2023-06-01 10:11
marcanif you get the same kind of issue, it's FS/app-level
#asahi-dev · 2023-06-01 10:11
marcaneric_engestrom: if you want to test the "clean NVMe shutdown, hard FS-level shutdown" case (i.e. the "this is totally not Apple's fault" case), hold down the power button. I'm pretty sure we have the NVMe driver doing a clean shutdown in that case.
#asahi-dev · 2023-06-01 10:08
marcanso that means the data will wait around 30 seconds before it gets flushed if nothing else flushes it
#asahi-dev · 2023-06-01 10:08
marcan/proc/sys/vm/dirty_expire_centisecs defaults to 30s
#asahi-dev · 2023-06-01 10:08
marcanah but wait
#asahi-dev · 2023-06-01 10:07
marcanso unless you have a high/saturating write workload, you'd expect it to stay caught up to within that time give or take
#asahi-dev · 2023-06-01 10:06
marcanbut like if your machine is otherwise idle, dirty pages should start to be written out within 5 seconds
#asahi-dev · 2023-06-01 10:06
marcanit means the kernel tries to write out data every 5 seconds. it doesn't mean it won't fall further behind than that though.
#asahi-dev · 2023-06-01 10:05
j`eyso that means that if nothing flushes, the kernel flushes every 5s anyway?
#asahi-dev · 2023-06-01 10:05
marcanbut yeah it just looks like you had a bunch of stuff in page cache and not flushed...
#asahi-dev · 2023-06-01 10:04
marcanI would normally not expect much data loss along those lines though, I think /proc/sys/vm/dirty_writeback_centisecs defaults to 5 seconds?
#asahi-dev · 2023-06-01 10:00
marcaneric_engestrom: those all sound like normal corruption issues you'd expect on ext4 if apps aren't doing the requisite flushes, and I doubt git flushes anything because that would probably kill performance
#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:35
_jannau_"apple-nvme: defer cache flushes by a specified amount"
#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:15
j`eywasnt there an xfs issue recently, but not sure if it's in any of asahi versions
#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
#asahi-dev · 2023-05-31 20:48
chadmedkesslerd: no there isnt i havent got the time to look at it at all right now
#asahi-dev · 2023-05-31 14:49
kesslerdchadmed: is there a repo for the plugin yet. I know there is one for safetyd.
#asahi-dev · 2023-05-31 12:41
chadmedmborden: yes you are!
#asahi-dev · 2023-05-31 09:21
mbordenoops :D sorry
#asahi-dev · 2023-05-31 09:20
mbordenclear
#asahi-dev · 2023-05-31 09:15
mbordenHello, I'm interested in shaving the audio plugin yak for m1/m2 macs. Am I in the right place?
#asahi-dev · 2023-05-30 13:54
mpsthank you all for great work
#asahi-dev · 2023-05-30 13:54
mpshope will not be hit by big problems
#asahi-dev · 2023-05-30 13:53
mpsupdated all things to latest, all works fine on alpine
#asahi-dev · 2023-05-30 13:43
_jannau_yes, fw load frequently timed out under HV with heavy tracing

plus ›