Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel panic in EFI system without efivarfs added to initramfs #204

Open
lucaschamorrotuduri opened this issue Jan 20, 2023 · 2 comments
Open

Comments

@lucaschamorrotuduri
Copy link

lucaschamorrotuduri commented Jan 20, 2023

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
Copy link
Owner

anatol commented Jan 20, 2023

Do you see any logs/warnings before the fatal all goroutines are asleep - deadlock! message?

@anatol
Copy link
Owner

anatol commented Jan 20, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants