#
✕ nick:marcan
#asahi · 2022-11-01 14:11
marcanit should
#asahi · 2022-11-01 14:07
marcaneither it's using another initramfs, or you are not using the base mkinitcpio scripts at all, or something
#asahi · 2022-11-01 14:06
marcanthere is something weird about your setup you are missing
#asahi · 2022-11-01 14:06
marcanand since the asahi hook should run before any systemd stuff, it not showing up doesn't make any sense to me
#asahi · 2022-11-01 14:04
marcanWhyNotHugo: I just tried systemd-boot (the EFI stub side) and the rd.log stuff works fine
#asahi · 2022-11-01 13:48
marcanor you're using a different initramfs from what you think
#asahi · 2022-11-01 13:48
marcanand it sounds like it's ignoring your kernel command line options
#asahi · 2022-11-01 13:48
marcanstart there, because something is weird about this setup
#asahi · 2022-11-01 13:48
marcanhow does it find the rootfs?
#asahi · 2022-11-01 13:48
marcanhow does your encrypted root work then?
#asahi · 2022-11-01 13:46
marcandid those options actually reach /proc/cmdline?
#asahi · 2022-11-01 13:43
marcanalso how does the initramfs know what your root device is supposed to be without a root= option?
#asahi · 2022-11-01 13:42
marcandmesg|grep initramfs shows nothing?
#asahi · 2022-11-01 13:29
marcanyou need to add those kernel options
#asahi · 2022-11-01 13:29
marcanWhyNotHugo: rd.log=kmsg printk.devkmsg=on
#asahi · 2022-11-01 13:20
marcan...
#asahi · 2022-11-01 13:20
marcan[ 0.658991] printk: init: 3 output lines suppressed due to ratelimiting
#asahi · 2022-11-01 13:20
marcan[ 0.645064] initramfs: :: running late hook [asahi]
#asahi · 2022-11-01 13:20
marcanargh, no, it's just dumb
#asahi · 2022-11-01 13:19
marcanbecause I see the latehook getting called but not its output and I think this is why
#asahi · 2022-11-01 13:19
marcanI'm trying to figure out what
#asahi · 2022-11-01 13:19
marcanbut rdlogger is broken because I think some daemon holds stdio open
#asahi · 2022-11-01 13:18
marcanyou need to enable debugging for that
#asahi · 2022-11-01 13:18
marcanno, it wouldn't
#asahi · 2022-11-01 13:15
marcanI'm trying to figure out debugging, but I get the feeling rdlogger is kind of broken, so give me a sec
#asahi · 2022-11-01 13:15
marcanboth matter but the latehook clearly isn't working for you, so start there
#asahi · 2022-11-01 13:14
marcanthat's not /boot/vendorfw, it's /vendorfw in the initramfs
#asahi · 2022-11-01 13:07
marcanyou need to extract the firmware.tar, not copy it
#asahi · 2022-11-01 13:06
marcanthat's called manifest.txt but it's not necessary anyway
#asahi · 2022-11-01 13:02
marcanthat works too, but then you have to unload/reload brcmfmac
#asahi · 2022-11-01 13:02
marcanonce it's fixed you can umount the tmpfs after a regular boot (firmware will already be loaded anyway) and wipe it
#asahi · 2022-11-01 13:01
marcanjust please don't leave it like that
#asahi · 2022-11-01 13:01
marcanyou need to unpack firmware.tar into there
#asahi · 2022-11-01 13:01
marcanah, sure, temporarily you can do that
#asahi · 2022-11-01 13:01
marcanyour setup is broken, don't break it further such that then you'll have problems down the road please
#asahi · 2022-11-01 13:01
marcanwhich is to not put that stuff in your rootfs to begin with
#asahi · 2022-11-01 13:00
marcanno, and that defeats the whole purpose of that initramfs
#asahi · 2022-11-01 12:59
marcanit shouldn't, in principle
#asahi · 2022-11-01 12:59
marcan}
#asahi · 2022-11-01 12:59
marcan cp -r /vendorfw/* /vendorfw/.vendorfw.manifest /new_root/lib/firmware/vendor
#asahi · 2022-11-01 12:59
marcan mount -t tmpfs vendorfw /new_root/lib/firmware/vendor
#asahi · 2022-11-01 12:59
marcan mkdir -p /new_root/lib/firmware/vendor
#asahi · 2022-11-01 12:59
marcan msg ":: Asahi: Copying vendor firmware to tmpfs under root filesystem..."
#asahi · 2022-11-01 12:59
marcanrun_latehook() {
#asahi · 2022-11-01 12:59
marcanif it isn't, something isn't working
#asahi · 2022-11-01 12:59
marcaneven if firmware loading were to fail, that is supposed to be a tmpfs
#asahi · 2022-11-01 12:58
marcansomething is broken about your initramfs
#asahi · 2022-11-01 12:58
marcanmount | grep firmware
#asahi · 2022-11-01 12:57
marcandoes /lib/firmware/vendor exist?
#asahi · 2022-11-01 12:56
marcanto new_root/lib/firmware/vendor

plus ›