https://bugzilla.kernel.org/show_bug.cgi?id=73931
Bug ID: 73931 Summary: rmmod radeon and kernel crash Product: Drivers Version: 2.5 Kernel Version: 3.14 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: high Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: pali.rohar@gmail.com Regression: No
Created attachment 132051 --> https://bugzilla.kernel.org/attachment.cgi?id=132051&action=edit rmmod_radeon_kernel_panic
After calling rmmod radeon, kernel show lots of error lines and then crash.
It looks like that radeon module does not cleanup hwmon interface at exit. After calling rmmod radeon there is still hwmon interface:
$ readlink /sys/class/hwmon/hwmon1 ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1
And after calling ls, or cat in hwmon1 kernel crash...
See attachment from syslog.
$ lspci -nn 01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M] [1002:6660]