Bug 115291

Summary: system freeze on loading radeon module
Product: Drivers Reporter: Raphael Dümig (duemig)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal CC: alexdeucher, andyrtr
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.5 Subsystem:
Regression: No Bisected commit-id:
Attachments: kernel log captured via netconsole
Add a quirk for your chip

Description Raphael Dümig 2016-03-26 16:59:11 UTC
Created attachment 210741 [details]
kernel log captured via netconsole

system freezes when radeon module is loaded:
1. screen goes black
2. I can hear the harddrive spin down
3. no reaction on key presses like Ctrl+Alt+Del
4. the graphics card's fans halt immediately and do not start again until the reset button is pressed
5. no kernel panic or error messages in kernel log captured via netconsole


$ lspci
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] (rev 81)

The graphics card works with VESA or fglrx drivers, as well as on windows, so the hardware has to be alright.

Steps to freeze the system:
1. start system with radeon module blacklisted
2. stop graphical login manager
3. log into the console and manually load radeon module (# modprobe radeon)


I copy my bug report from the Arch Linux bugtracker [1] here, since I encountered it on multiple distributions (Arch Linux, Ubuntu) and on the 4.5 vanilla sources as well.

[1] https://bugs.archlinux.org/task/48578
Comment 1 Alex Deucher 2016-03-28 14:23:28 UTC
Created attachment 210881 [details]
Add a quirk for your chip

This patch should fix it.
Comment 2 Raphael Dümig 2016-03-28 20:04:01 UTC
Thanks a lot! This indeed fixed the problem.
The module loads and I can finally use my desktop with hardware acceleration. I tried to get rid of it for the last two weeks...

Will this change be applied to future kernel versions?
Comment 3 Alex Deucher 2016-03-28 20:05:23 UTC
yes, I'll send it upstream this week and it should end up in the next kernel and stable kernels.