https://bugzilla.kernel.org/show_bug.cgi?id=141741
Bug ID: 141741 Summary: drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS ROM Product: Drivers Version: 2.5 Kernel Version: 4.6.4 Hardware: x86-64 OS: Linux Tree: Fedora Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: baygon@alrj.org Regression: No
Hi,
Video is working fine with kernel 4.5.5 but once upgraded to 4.6.4, the video driver doesn't work anymore.
I'm on Ferora 24 but I had the same problem with Antergos.
How to reproduce : Uppdate the kernel and reboot.
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #1 from Michael Schenaerts baygon@alrj.org --- Created attachment 225671 --> https://bugzilla.kernel.org/attachment.cgi?id=225671&action=edit DMESG on 4.5.5
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #2 from Michael Schenaerts baygon@alrj.org --- Created attachment 225681 --> https://bugzilla.kernel.org/attachment.cgi?id=225681&action=edit DMESG on 4.6.4
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #3 from Michael Schenaerts baygon@alrj.org --- Created attachment 225691 --> https://bugzilla.kernel.org/attachment.cgi?id=225691&action=edit LSPCI on 4.5.5
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #4 from Michael Schenaerts baygon@alrj.org --- Created attachment 225701 --> https://bugzilla.kernel.org/attachment.cgi?id=225701&action=edit LSPCI on 4.6.4
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #5 from Michael Schenaerts baygon@alrj.org --- Created attachment 225711 --> https://bugzilla.kernel.org/attachment.cgi?id=225711&action=edit XRANDR 4.5.5
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #6 from Michael Schenaerts baygon@alrj.org --- Created attachment 225721 --> https://bugzilla.kernel.org/attachment.cgi?id=225721&action=edit XRANDR 4.6.4
https://bugzilla.kernel.org/show_bug.cgi?id=141741
Michael Schenaerts baygon@alrj.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression|No |Yes
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #7 from Michel Dänzer michel@daenzer.net --- Can you bisect?
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #8 from Michael Schenaerts baygon@alrj.org --- ??
https://bugzilla.kernel.org/show_bug.cgi?id=141741
Christian König deathsimple@vodafone.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |deathsimple@vodafone.de
--- Comment #9 from Christian König deathsimple@vodafone.de --- What Michel means is using "git bisect" to find which patch introduced the problem.
E.g. you do "git bisect start v4.6.4 v4.5.5" on the kernel source and git will jump into the middle between those two versions.
Then you compile the kernel and test it. If it works you do "git bisect good" in the kernel source directory, if it doesn't work you do "git bisect bad".
Git will send narrow down which patch was the bad one who introduced the problem.
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #10 from Michael Schenaerts baygon@alrj.org --- I'll be glad to help but I don't know where to start. Do you have some documentation ?
Thanks Michaël
https://bugzilla.kernel.org/show_bug.cgi?id=141741
Vedran Miletić vedran@miletic.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vedran@miletic.net
--- Comment #11 from Vedran Miletić vedran@miletic.net --- (In reply to Michael Schenaerts from comment #10)
I'll be glad to help but I don't know where to start. Do you have some documentation ?
Thanks Michaël
This might be helpful: https://fedoraproject.org/wiki/Building_a_custom_kernel
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #12 from Michael Schenaerts baygon@alrj.org --- Thx, I'll try right away
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #13 from Michael Schenaerts baygon@alrj.org --- I did the bisect with no luck. Evrything was running fine
I built the 4.6 and even the 4.7 with the config files from the 4.5 I set the other options to default and... it works.
I'll try to build them with the 4.6 config as soon as I have the time.
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #14 from Jose Barros josemanuelbarros@gmail.com --- Created attachment 239331 --> https://bugzilla.kernel.org/attachment.cgi?id=239331&action=edit dmesg | egrep 'drm|radeon' on 4.6.0-kali1-amd64
https://bugzilla.kernel.org/show_bug.cgi?id=141741
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #15 from Alex Deucher alexdeucher@gmail.com --- Can you bisect?
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #16 from Lukas P lukas-pichler@hotmail.de --- It may be the same problem as Bug 120321.
At my PC the latest Antergos live-image does work normal although it has kernel 4.7.4. The installed version and every other distros i tried with the distro or vanilla kernel version has the problem with a kernel version of 4.6 and higher.
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #17 from Alex Deucher alexdeucher@gmail.com --- (In reply to Lukas P from comment #16)
It may be the same problem as Bug 120321.
At my PC the latest Antergos live-image does work normal although it has kernel 4.7.4. The installed version and every other distros i tried with the distro or vanilla kernel version has the problem with a kernel version of 4.6 and higher.
Can you bisect?
https://bugzilla.kernel.org/show_bug.cgi?id=141741
David Martos davidmartos96@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |davidmartos96@gmail.com
--- Comment #18 from David Martos davidmartos96@gmail.com --- I can say that I am also affected by this problem. Same errors as the ones posted here and the ones posted in https://bugzilla.kernel.org/show_bug.cgi?id=120321
I tried with different OS's with kernel >4.5 (Antergos and Fedora) and all of them give the same results. Using the fallback kernel 4.5 for Fedora gives no problems whatsoever
https://bugzilla.kernel.org/show_bug.cgi?id=141741
David Martos davidmartos96@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dri-devel@lists.freedesktop | |.org
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #19 from Lukas P lukas-pichler@hotmail.de --- I did a bisect and it reported the following commit as the first bad one: 30b5b8808c12bcd947dd474980482561b69c1bcb
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index a1f37db..209292e 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -128,4 +128,5 @@ config PCI_HYPERV The PCI device frontend driver allows the kernel to import arbitrary PCI devices from a PCI backend to support PCI driver domains.
+source "drivers/pci/hotplug/Kconfig" source "drivers/pci/host/Kconfig"
If I remove the changed line in the source of v4.6 everything works normally.
https://bugzilla.kernel.org/show_bug.cgi?id=141741
Socrates Archer scrt.arc@riseup.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scrt.arc@riseup.net
--- Comment #20 from Socrates Archer scrt.arc@riseup.net --- Affected use here as well. Toshiba Satellite c850 on Arch
kernel 4.6+ fails during boot journalctl shows this
[drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS ROMradeon 0000:01:00.0: Fatal error during GPU init [drm] radeon: finishing device.
https://bugzilla.kernel.org/show_bug.cgi?id=141741
--- Comment #21 from Tero Roponen tero.roponen@gmail.com --- (In reply to Lukas P from comment #19)
I did a bisect and it reported the following commit as the first bad one: 30b5b8808c12bcd947dd474980482561b69c1bcb
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index a1f37db..209292e 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -128,4 +128,5 @@ config PCI_HYPERV The PCI device frontend driver allows the kernel to import arbitrary PCI devices from a PCI backend to support PCI driver domains.
+source "drivers/pci/hotplug/Kconfig" source "drivers/pci/host/Kconfig"
If I remove the changed line in the source of v4.6 everything works normally.
I'm not an expert, but removing the inclusion of drivers/pci/hotplug/Kconfig equals to disabling all the HOTPLUG_PCI_* options in the config ("Support for PCI Hotplug" in menuconfig). You could try disabling those one by one to see which one causes the problem.
https://bugzilla.kernel.org/show_bug.cgi?id=141741
Valentin QUEQUET valentin.quequet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |valentin.quequet@gmail.com
--- Comment #22 from Valentin QUEQUET valentin.quequet@gmail.com --- Hello,
You're right Tero Roponen, it is the tree that hides the forest !
I recently opened bug #175391 ( https://bugzilla.kernel.org/show_bug.cgi?id=175391 ) and it was reported by Michael Schenaerts that it was a potential duplicate of this one (#141741).
Thanks to my determination to inquire in that matter and close this bug, we got what happened wrong and Bjorn Helgaas wrote a fix.
Bug #175391 Bjorn's patch made it in both mainline (4.9-rc5) and GregKH's -stable (4.8.9).
I invite you to then carefully read the full thread of bug #175391.
In hope this helps.
Sincerely, Valentin
https://bugzilla.kernel.org/show_bug.cgi?id=141741
Bjorn Helgaas bhelgaas@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bhelgaas@google.com
--- Comment #23 from Bjorn Helgaas bhelgaas@google.com --- Michael, Jose, Lukas, David, Socrates, could you test this with v4.9? It includes a change that is related: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=16... ("PCI: Don't attempt to claim shadow copies of ROM").
If the problem still occurs on v4.9, please attach the complete dmesg log.
https://bugzilla.kernel.org/show_bug.cgi?id=141741
Bjorn Helgaas (bhelgaas@google.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |CODE_FIX
--- Comment #24 from Bjorn Helgaas (bhelgaas@google.com) --- Closing on the assumption that the patch mentioned in comment #23 fixes the problem.
If the problem still occurs on v4.9 or later, please reopen this and attach the complete dmesg log.
dri-devel@lists.freedesktop.org