Bug 15736

Summary: Radeon crashes booting after enabling KMS
Product: Drivers Reporter: Marc Haber (mh+kernel-bugzilla)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal CC: glisse, suokkos
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.33.2 Subsystem:
Regression: No Bisected commit-id:
Attachments: full kernel message log up and including the oops

Description Marc Haber 2010-04-09 10:35:10 UTC
Created attachment 25927 [details]
full kernel message log up and including the oops

Hi,

my notebook has a
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10].
When I try booting with video=radeon:modeset=1, the system oopses and freezes with
[   12.501727] Linux agpgart interface v0.103
[   12.574951] [drm] Initialized drm 1.1.0 20060810
[   12.670625] [drm] radeon kernel modesetting enabled.
[   12.730384] ACPI: PCI Interrupt Link [C0C1] enabled at IRQ 10
[   12.799058] radeon 0000:01:00.0: PCI INT A -> Link[C0C1] -> GSI 10 (level, low) -> IR
[   12.900102] [drm] radeon: Initializing kernel modesetting.
[   12.968061] [drm] register mmio base: 0x90400000
[   13.023221] [drm] register mmio size: 65536
[   13.073585] [drm] GPU reset succeed (RBBM_STATUS=0x00000140)
[   13.141231] [drm] Generation 2 PCI interface, using max accessible memory
[   13.222395] BUG: unable to handle kernel NULL pointer dereference at 00000040
[   13.226373] IP: [<f81c082b>] radeon_agp_init+0x19/0x2cf [radeon]
[   13.226373] *pde = 00000000 
[   13.226373] Oops: 0000 [#1] PREEMPT SMP 
(full kernel message log obtained via serial console is attached).

Greetings
Marc
Comment 1 Pauli 2010-04-09 17:31:33 UTC
Problem is that the agpgart module isn't loaded before drm.
Comment 2 Marc Haber 2010-04-09 17:59:48 UTC
Really? The log doesn't contain the string "drm" before "Linux agpgart interface v0.103"?

Greetings
Marc
Comment 3 Marc Haber 2010-06-29 07:14:38 UTC
This doesn't happen on my system any more with 2.6.34 (probably even with an earlier version).

Greetings
Marc
Comment 4 Jérôme Glisse 2010-07-06 17:31:14 UTC
Marking it as resolved