marcan changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
Manouchehri has quit [Write error: connection closed]
Manouchehri has joined #asahi-alt
chadmed has joined #asahi-alt
<chadmed> hm something's a bit racey and causing issues during boot on gentoo :/
<chadmed> its about a 50/50 chance whether or not hwclock finds the rtc and spi-hid-apple-of can probe the keyboard
<chadmed> asahi had this problem a while ago but i hadnt experienced it in months
<j`ey> using modules?
<chadmed> i am but it doesnt actually seem to matter
<chadmed> same behaviour when built in
<chadmed> ive tried building with clang clang/thinlto and gcc, all behave similarly
<chadmed> it might be something weird with udev because i also have to force a lot of modules into the initramfs
<chadmed> funny thing is i got the rootfs to boot perfectly once, and it was the first time i installed it. when i rebooted it after doing literally nothing to it, it just stopped working and hasnt worked since even after 3 reinstalls
<chadmed> which as you can imagine has not been the quickest or most painless process to debug :P
<chadmed> at least the installer doesnt randomly error out anymore and actually gets you to a locally booted login prompt
<chadmed> fwiw this occurs even with /proc/config.gz from the kernel we ship so i dont think its anything wrong with the kernel
<chadmed> since the ebuild i wrote grabs asahi-5.18-3 which is what ive been using from asahi-dev for ages with no problems
<j`ey> and you've seen the asahi stuff for forcing module deps?
<chadmed> yeah thats what ive been adding in my dracut conf
<chadmed> like i said its basically 50/50 whether things come online properly
<j`ey> can you grab the dmesgs and try compare and see if there's anything obvous?
<chadmed> the only thing is _sometimes_ spi-hid-apple-of will tell me that the keyboard didnt report ready in time
<chadmed> other times its a little more odd, the kb will work in a tty but libinput wont detect it until i reload the module
<chadmed> its all very odd
<chadmed> its gotta be udev or something like that