-
Notifications
You must be signed in to change notification settings - Fork 36
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
Many objtool warnings and kernel panic on boot #215
Comments
For more information, the kernel panic log is as follows:
I am able to boot fine into vanilla Linux installed from the Arch repos as well as vanilla Linux built from source on this device, which leads me to believe that it is not a GRUB issue. |
I've had similar problems in the past that were resolved by one or both of the following:
Would you mind giving these a shot? |
Indeed, using an initramfs is one possible solution. This is an issue of not having the proper drivers built into the kernel. This Gentoo wiki explains it well. We should probably have AHCI (likely the core issue here) and all filesystem drivers built into the kernel in the default config rather than requiring an initramfs for the sake of better compatibility. The way I configure my Gentoo system, I would not use an initramfs at all if I weren't using full disk encryption. EDIT: @zacharied So, if you don't want to opt for an initramfs, you could try enabling |
@ehegnes Do you think it might be worthwhile for us to add |
Sorry for the delay. Creating an initramfs as @christianbundy suggested indeed fixed the boot problems. The compilation warnings remain slightly unsettling though, along with the fact that compilation took upwards of an hour on my machine - could someone confirm that that's normal on a CBP2 LS? I could have sworn it was less than half that time last time I used this kernel. |
At least since 4.15 (I stopped using this kernel after distrohopping around 4.12, but came back upon returning to Arch), building the kernel has resulted in a large amount of
objtool
warnings following the same format:Furthermore, the kernel crashes immediately with a kernel panic on boot. I lack enough experience with the kernel to know if these issues are related, but because both problems began at the same time, I can't help but assume so.
I have found related information on the Gentoo forums but it doesn't seem like the mentioned are applicable here.
The text was updated successfully, but these errors were encountered: