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

Stuck at waiting for all modules to load #265

Open
amanuel2 opened this issue Jul 29, 2024 · 1 comment
Open

Stuck at waiting for all modules to load #265

amanuel2 opened this issue Jul 29, 2024 · 1 comment

Comments

@amanuel2
Copy link

Building the linux kernel for 6.10.2 and trying to load it up via qemu gets me stuck at loading all the modules specifically this line:

loadingModulesWg.Wait() // wait till all modules done loading to kernel

Not 100% if I'm correct though, so take this with a grain of salt.

Qemu Image:

image

Commands:

1) booster build --kernel-version 6.10.2 mybooster.img --force 
2) sudo qemu-system-x86_64 -m 1024M -hda hda.img -enable-kvm -initrd mybooster.img -kernel arch/x86_64/boot/bzImage -append "root=/dev/sda init=/init" -cpu host -smp cores=2 -nic user,hostfwd=tcp::2222-:22
@anatol
Copy link
Owner

anatol commented Jul 30, 2024

When the boot is stuck most likely it means some of the modules needed to detect the root partition are missed.

There are a couple of things to debug this issue.

  • add a smaller boot timeout to stop the boot process sooner
  • enable shell by adding busybox to your shell (see manpage for more info)
  • add append_all_modaliases so booster will print information about missing modules

rebuild the image, and try to boot again. If the problem still persist - please share all logs ideally as a text.

Als see https://github.com/anatol/booster/blob/master/docs/manpage.md#debugging

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