Bug 47321

Summary: crash with drm/radeon on hp dm1 4100ed laptop with amd 6320
Product: Drivers Reporter: Marcel Pol (marcel)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED DOCUMENTED    
Severity: normal CC: alan, alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.5.3 Subsystem:
Regression: No Bisected commit-id:
Attachments: lspci -vv
dmesg with loading drm/radeon without firmware
dmesg with loading drm/radeon with the firmware

Description Marcel Pol 2012-09-10 19:04:21 UTC
I'm using the current Debian Wheezy. With the default 3.2.x kernel, and also with vanilla 3.5.3 I get a hard crash as soon as the drm module is loaded. Disabling the drm module makes it boot normally.

I'm using the open source driver 6.14.4-5 and Xorg 7.7+1.

Hardware is a HP DM1 4100ed laptop with a AMD HD 6320 GPU on an AMD Fusion E-450.

If you need any more info then I'm willing to provide it. But I wouldn't know how to get any more info out of the machine after the crash :).
Comment 1 Marcel Pol 2012-09-10 19:04:50 UTC
Created attachment 79611 [details]
lspci -vv
Comment 2 Marcel Pol 2012-09-10 19:09:16 UTC
On a sidenote, when Xorg runs (without drm/radeon) and I switch to a virtual console, nothing happens really. Switching back to the graphical console makes the screen split, the left half shows up right, and the right half shows up left. 
Restarting Xorg doesn't help, it just makes Xorg have an unusable black screen. Rebooting over the network still works though.
Comment 3 Alex Deucher 2012-09-10 19:10:53 UTC
Make sure you have the firmware packages installed.  IIRC debian does not install the by default.  Can you get the dmesg output by loading the radeon module after the system is booted?
Comment 4 Alex Deucher 2012-09-10 19:13:56 UTC
If you don't have necessary firmware installed the kernel firmware requester will wait for several minutes before timing out.
Comment 6 Marcel Pol 2012-09-10 20:40:21 UTC
Ah, thanks. I should have thought of that, firmware.
With loading the firmware it now boots up fine.
I will attach some dmesg parts with and without firmware.
Comment 7 Marcel Pol 2012-09-10 20:41:42 UTC
Created attachment 79711 [details]
dmesg with loading drm/radeon without firmware

Dmesg part with loading drm/radeon without having firmware installed and loaded.
Comment 8 Marcel Pol 2012-09-10 20:42:37 UTC
Created attachment 79721 [details]
dmesg with loading drm/radeon with the firmware

dmesg part when loading drm/radeon during boot when firmware is installed and gets loaded.
Comment 9 Marcel Pol 2012-09-11 05:59:30 UTC
I thought about it for a while. For me personally the bug is fixed. But it should be that if the driver doesn't find the software, then it should degrade gracefully. Maybe not load the driver, or just do nothing.
Comment 10 Alex Deucher 2012-09-11 12:25:13 UTC
(In reply to comment #9)
> I thought about it for a while. For me personally the bug is fixed. But it
> should be that if the driver doesn't find the software, then it should
> degrade
> gracefully. Maybe not load the driver, or just do nothing.

It's not the driver, it's the kernel fw loader.
Comment 11 Alan 2012-09-11 16:00:10 UTC
The firmware loading behaviour for the ke