Skip to contentSkip to conversation

New: Oops while loading radeon driver

Bug 213961 [email protected] 1 participant 12 messages Aug 3, 2021 – Aug 5, 2021

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=213961

            Bug ID: 213961
           Summary: Oops while loading radeon driver
           Product: Platform Specific/Hardware
           Version: 2.5
    Kernel Version: 5.14-rc4
          Hardware: PPC-32
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PPC-32
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 298183
--> https://bugzilla.kernel.org/attachment.cgi?id=298183&action=edit
Boot proto

Please find attached boot proto. The virtual console freezes. X doesn' start. ssh login from remote gives access to the system.

Thanks in advance

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 213961] Oops while loading radeon driver

https://bugzilla.kernel.org/show_bug.cgi?id=213961

Christophe Leroy ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Christophe Leroy ([email protected]) --- There is not much that can be done with the log provided.

Could you please rebuild your kernel with CONFIG_DEBUG_INFO so that we get the name of involved functions in the BUG report.

Could you also provide your .config, and a full dump of 'dmesg'

Thanks

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 213961] Oops while loading radeon driver

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=213961

--- Comment #4 from Christophe Leroy ([email protected]) --- Thanks, unfortunately the info is still not usable because we don't have function names in the dump:

[   15.810083] Call Trace:
[   15.810090] [f2b6dc30] [c1022318] 0xc1022318 (unreliable)
[   15.810102] [f2b6dc50] [be987860] 0xbe987860
[   15.810112] [f2b6dc80] [be85074c] 0xbe85074c
[   15.810121] [f2b6dcb0] [be984484] 0xbe984484
[   15.810130] [f2b6dcd0] [c037fd8c] 0xc037fd8c
[   15.810140] [f2b6dd00] [c03e1460] 0xc03e1460
[   15.810149] [f2b6dd20] [c03e17f0] 0xc03e17f0
[   15.810158] [f2b6dd40] [c03e18f4] 0xc03e18f4
[   15.810168] [f2b6dd70] [c03e21f4] 0xc03e21f4
[   15.810177] [f2b6dd90] [c03deaf4] 0xc03deaf4
[   15.810187] [f2b6ddc0] [c03e04d8] 0xc03e04d8
[   15.810196] [f2b6ddf0] [c03e2d6c] 0xc03e2d6c
[   15.810205] [f2b6de10] [c0006c34] 0xc0006c34
[   15.810215] [f2b6de80] [c00cb0d4] 0xc00cb0d4
[   15.810224] [f2b6deb0] [c00cc2d4] 0xc00cc2d4
[   15.810233] [f2b6df30] [c0017098] 0xc0017098

Looking at the .config, it seems like CONFIG_KALLSYMS is missing.

Can you retry with CONFIG_KALLSYMS ?

Thanks

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 213961] Oops while loading radeon driver

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=213961

--- Comment #6 from Elimar Riesebieter ([email protected]) --- Created attachment 298203
--> https://bugzilla.kernel.org/attachment.cgi?id=298203&action=edit
config with KALLSYMS enabled

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#7 lore raw

[Bug 213961] Oops while loading radeon driver

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=213961

--- Comment #7 from Elimar Riesebieter ([email protected]) --- Created attachment 298205
--> https://bugzilla.kernel.org/attachment.cgi?id=298205&action=edit
dmesg dump with KALLSYMS enabled

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#8 lore raw

[Bug 213961] Oops while loading radeon driver

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=213961

--- Comment #8 from Christophe Leroy ([email protected]) --- Great:

[   15.246367] NIP [bea42a80] radeon_agp_head_init+0x1c/0xf8 [radeon]
[   15.246969] LR [bea39860] radeon_driver_load_kms+0x1bc/0x1f4 [radeon]
[   15.247160] Call Trace:
[   15.247168] [f2b75c30] [c0c1ec60] 0xc0c1ec60 (unreliable)
[   15.247180] [f2b75c50] [bea39860] radeon_driver_load_kms+0x1bc/0x1f4
[radeon]
[   15.247343] [f2b75c80] [be8cc74c] drm_dev_register+0x10c/0x268 [drm]
[   15.247718] [f2b75cb0] [bea36484] radeon_pci_probe+0x108/0x190 [radeon]
[   15.248001] [f2b75cd0] [c03832fc] pci_device_probe+0xf4/0x1a4

So we now know we have a NULL pointer dereference in radeon_agp_head_init().

Looks like all this code is quite recent, at least there are recent modification, so I think you should address it with RADEON people, I'm not sure the problem is a PPC32 subject.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#10 lore raw

[Bug 213961] Oops while loading radeon driver

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=213961

--- Comment #10 from Christophe Leroy ([email protected]) --- (In reply to Elimar Riesebieter from comment #9)

Quoted 1 line

Well, 5.13.8 just runs fine, though.

Yes, recent changes to Radeon appear for the first time in v5.14-rc1

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#11 lore raw

[Bug 213961] Oops while loading radeon driver

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=213961

Elimar Riesebieter ([email protected]) changed:

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

          Component|PPC-32                      |Video(Other)
            Product|Platform Specific/Hardware  |Drivers
         Regression|No                          |Yes
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.