-
Notifications
You must be signed in to change notification settings - Fork 0
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
FW16 BIOS 03.05 beta - Linux fails to boot with kernel parameter "efi=disable_early_pci_dma" set or kernel config CONFIG_EFI_DISABLE_PCI_DMA enabled #8
Comments
@superm1 might know whether it is supposed to work on the processor or not. |
This isn't something actively tested, but this ping prompted me to double check on AMD reference hardware I have on hand.
I didn't have any problem booting reference hardware like this. |
@superm1 I'm using 6.12.0, not any of the rc's ( I don't think it woukld make much difference ) and are you booting the kernel as an efistub? as the kernel itself has to be compiled as an efistub |
Its a random dev kernel I have not a proper release, but I've changed nothing in this area. I'm booting it specifically through grub as a boot entry which should still be using efi stub. |
I'm booting it using UEFI itself or via systemd-boot and it's in ( UKI ) Unified Kernel Image form which is made by systemd ukify and dracut making the initramfs is the |
It's not a UKI, but yes the kernel is an EFI binary. |
@superm1 would it be possible for you to give me a copy of the kernel config your using for this is my kernel config (stripped gentoo specifics CONFIG_GENTOO*) and the failing to boot kernel parameters I'm using are
and I've changed/removed the following
and recompiled the kernel with PREEMPT_RT disabled, load the bios defaults and still fails to boot I've set |
Sure; this is the kernel config I used on the reference platform (Don't mind that it says 6.11.0-rc6, it's the config I use when I'm building kernels 6.11 and 6.12 and I just apply the defaults for things that don't match). FYI I know at last some of those things you're doing on your kernel command line are default behavior that you would have had to make a modification to the kernel to change.
This may cause issues that are difficult to debug. I even flag it in
|
Thanks for the config @superm1 Well, I'm stumped, since @superm1 last post I've tried ( not including some of what I've already mentioned )
There was one instance where it booted ( this was without the framework modules ) and it took a long time to get there In one other instance where it didn't boot, while I was waiting, I was leaning to the side ( head resting on my hand ), and somewhere between 60-90 seconds in, I noticed a red/green/blue light flashing on one side ( ac adapter was plugged in the otherside ). I'm thinking "don't that usually show when something is not connected like my touchpad or keyboard?", I checked to make sure everything is reliably connected/plugged in. I'm wondering if something has been changed in such a way where things are done at wrong timings and/or out of sync in the bios. This only happened once in the 5 or so tries I did since @superm1 last post Between when in that one instance it did boot and all the others failed, I didn't change anything other than just reboot While @superm1 has shown it's booting on his reference system, I'm convinced that something has changed in bios 03.05. This was always working for me before ( 03.02, 03.03 and 03.04 ). Be good if some more people can test this out on their systems ( I'm hoping it's not a hardware issue with me ) |
Please keep in mind I'm using an AMD reference system not a framework 16 for my above comments. There very well can be a problem in the BIOS on framework 16, I was mostly responding to the question of whether the processor can handle it by @JohnAZoidberg. |
Do you have a dGPU? Maybe it is only reproducing with that plugged in? |
oh no, iGPU only, I usually have 5 usb c and one audio module plugged in port 1 - usb c -> ac adapater |
Device Information
System Model or SKU
Please select one of the following
BIOS VERSION
03.05
DIY Edition information
If you are experiencing an issue on a DIY system, Please also fill out the memory and storage devices you are using.
Memory: Framework - 32 (2 x 16GB) DDR5-5600
Storage: Western Digital SN850X 2TB (2280), Western Digital SN770M 2TB (2230)
Standalone Operation
Are you running your mainboard as a standalone device. Is standalone mode enabled in the BIOS?
Describe the bug
With the Linux kernel paramater "efi=disable_early_pci_dma" ( or you don't but have the kernel config CONFIG_EFI_DISABLE_PCI_DMA ) enabled ), set, after the system has posted and starts to boot the OS, it's just sitting at there idle ( several minutes ) at the Framework logo until I press the power button ( not holding it down but just tap it ) and it turns off
Steps To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Solution
To rid of this issue
"efi=no_disable_early_pci_dma"
if you haveCONFIG_EFI_DISABLE_PCI_DMA
enabled"efi=disable_early_pci_dma"
ifCONFIG_EFI_DISABLE_PCI_DMA
is disabledOperating System:
Linux hostname 6.12.0-mainline-byw-gcc-znver4 #1 SMP PREEMPT_RT Wed Nov 20 06:58:15 GMT 2024 x86_64 AMD Ryzen 7 7840HS w/ Radeon 780M Graphics AuthenticAMD GNU/Linux
Additional context
I've only tried Linux 6.10.6 ( Arch Linux ) and 6.12.0 ( Gentoo )
About "efi=disable_early_pci_dma" / CONFIG_EFI_DISABLE_PCI_DMA
and more info about this from Matthew Garrett
I've been using "efi=disable_early_pci_dma" ( not "efi=no_disable_early_pci_dma" ) with bioses 03.02, 03.03 and 03.04 with no issues
The text was updated successfully, but these errors were encountered: