Skip to contentSkip to conversation

(SI) latest stable & cant boot - Invalid PCI ROM header structure: expecting 0xaa55, got 0x0000

Bug 101473 [email protected] 1 participant 12 messages Jun 16, 2017 – May 10, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101473

            Bug ID: 101473
           Summary: (SI) latest stable & cant boot - Invalid PCI ROM
                    header structure: expecting 0xaa55, got 0x0000
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 132011
--> https://bugs.freedesktop.org/attachment.cgi?id=132011&action=edit
cut_here KERNEL PANIC

Trying to enable AMD R5-M230 Southern Islands (SI) laptop discrete GPU - by using the latest stable 4.11.5 Linux Kernel and the latest Mesa 17.1.2 . Already blacklisted radeon kernel module. However I can not boot with AMDGPU after it is giving me these errors:

[drm] amdgpu kernel modesetting enabled.
[drm] initializing kernel modesetting (HAINAN 0x1002:0x6665 0x0000:0x0000 0x00).
[drm] register mmio base: 0xF0300000
[drm] register mmio size: 262144
amdgpu 0000:04:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[drm] vbios mem is null or mem size is wrong
amdgpu 0000:04:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[drm] vbios mem is null or mem size is wrong [drm:amdgpu_get_bios [amdgpu]] *ERROR* Unable to locate a BIOS ROM amdgpu 0000:04:00.0: Fatal error during GPU init
[drm] amdgpu: finishing device.

<=== KERNEL PANIC, "cut here" is inside the attachments

This is AMDGPU blocker issue, because I could boot only if I add "nomodeset" to kernel parameters

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

--- Comment #1 from Alex Deucher <[email protected]> --- Please attach your full dmesg output with amdgpu. Is this still an issue with a newer kernel?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

--- Comment #2 from [email protected] ---
Same error in dmesg for me. Except that I can boot in graphic mode. My hardware is XFX Radeon RX580.

desktop64 denis # lspci | grep VG
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

--- Comment #3 from [email protected] ---
Created attachment 135516
--> https://bugs.freedesktop.org/attachment.cgi?id=135516&action=edit
XFX Radeon RX580 dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

--- Comment #4 from [email protected] ---
Tested under Linux 4.13.9 + ck1 patch, Mesa 17.2.5, xf64-video-amdgpu (git 875339c1064f666a2391b4a5a495eddda9407ab6), libdrm-2.4.88.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 101473] (SI) latest stable & cant boot

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|(SI) latest stable & cant   |(SI) latest stable & cant
                   |boot - Invalid PCI ROM      |boot
                   |header structure: expecting |
                   |0xaa55, got 0x0000          |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 101473] (SI) latest stable & cant boot

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

--- Comment #5 from Alex Deucher <[email protected]> --- The message:
Invalid PCI ROM header structure: expecting 0xaa55, got 0x0000
is harmless and can be ignored.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 101473] (SI) latest stable & cant boot

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

--- Comment #6 from [email protected] ---
(In reply to Alex Deucher from comment #5)

Quoted 3 lines

The message:
Invalid PCI ROM header structure: expecting 0xaa55, got 0x0000
is harmless and can be ignored.

Ok. Thanks

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 101473] (SI) latest stable & cant boot

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

famo <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 101473] (SI) latest stable & cant boot

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #7 from [email protected] ---
Sorry, but this message
"Invalid PCI ROM header structure: expecting 0xaa55, got 0x0000" is not always harmless, since it usually leads to "Fatal error during GPU init" :

[    5.732623] [drm:radeon_get_bios [radeon]] *ERROR* ACPI VFCT image header
truncated
[    5.732646] radeon 0000:01:00.0: Invalid PCI ROM header signature: expecting
0xaa55, got 0x0000
[    5.732829] radeon 0000:01:00.0: Invalid PCI ROM header signature: expecting
0xaa55, got 0x0000
[    5.732866] [drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS
ROM
[    5.732869] radeon 0000:01:00.0: Fatal error during GPU init
[    5.732872] [drm] radeon: finishing device.
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 101473] (SI) latest stable & cant boot

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101473

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #8 from [email protected] ---
Our problem was caused by the opensource coreboot BIOS incorrectly initializing the discrete GPU. These unofficial patches are solving our problem -
https://review.coreboot.org/c/coreboot/+/31929/ . And here is our latest board-status report, containing a new kernel log and other useful info -
https://coreboot.org/status/board-status.html#lenovo/g505s . So this issue could be closed - and if someone has a similar problem he could reopen, although maybe it's better to do a fresh start by creating a new issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel