Kernel panic in EFI system without efivarfs added to initramfs
lucaschamorrotuduri opened this issue · 2 comments
lucaschamorrotuduri commented
Booster version: 0.9 (released in arch linux)
In an EFI system, init/main.go attempts to load the efivarfs module:
if _, err := os.Stat("/sys/firmware/efi"); !errors.Is(err, os.ErrNotExist) {
wg := loadModules("efivarfs")
wg.Wait()
...
}
If the module is not present in the initramfs, init crashes with: fatal all goroutines are asleep - deadlock!
and the kernel panics
With the module present, the system boots normally.
anatol commented
Do you see any logs/warnings before the fatal all goroutines are asleep - deadlock!
message?
anatol commented
Also, there were some changes related to the module loading error handling. Could you please try booster from master
branch and see if the error persists?