Launchpad has imported 12 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=706574.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-05-21T07:58:48+00:00 cam wrote:

Description of problem:
Whilst investigating problems related to 
https://bugzilla.redhat.com/show_bug.cgi?id=697157
I unloaded the hp_wmi module, then the wmi module. The system locked up, the 
screen changed to a plain console and an oops message was printed. I recovered 
this from the log after power cycling (the machine wasn't responding)

Version-Release number of selected component (if applicable):
kernel-2.6.38.6-27.fc15.i686


How reproducible:
100%

Steps to Reproduce:
1. boot to normal system
2. rmmod hp_wmi
3. rmmod wmi
  
Actual results:
black screen / console, oops message and system is locked up

Expected results:
module should be removable or give error message.

Additional info:
May be related to BZ 697157 where the ath9k module can't unload (and locks up 
spontaneously too)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/0

------------------------------------------------------------------------
On 2011-05-21T08:10:51+00:00 cam wrote:

Created attachment 500172
log messages from boot to eventual Oops

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/1

------------------------------------------------------------------------
On 2011-10-06T15:40:42+00:00 Josh wrote:

Do you still get this error with the 2.6.40.x updates in F15?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/2

------------------------------------------------------------------------
On 2011-10-07T10:38:50+00:00 Stefan wrote:

modprobe -r wmi on 2.6.40.6 still oopses.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/3

------------------------------------------------------------------------
On 2011-10-17T07:40:16+00:00 Stefan wrote:

also still happens with f16 beta

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/4

------------------------------------------------------------------------
On 2011-10-17T14:04:51+00:00 Chuck wrote:

(In reply to comment #4)
> also still happens with f16 beta

Please post traces from f15 and/or f16

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/5

------------------------------------------------------------------------
On 2011-10-17T14:49:26+00:00 Stefan wrote:

Created attachment 528559
screenshot.jpg

The system is inoperable after module unload so I could only take a screenshot.
f16 kernel-3.1.0.0.rc9

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/6

------------------------------------------------------------------------
On 2011-11-02T10:53:17+00:00 Peter wrote:

Created attachment 531313
Part of kernel log after Oops

It happens on Kubuntu 11.10 Oneiric too

$ uname -a
Linux ubuntu 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 
x86_64 x86_64 GNU/Linux

For some reason, device->kobj is NULL
sysfs_find_dirent: http://lxr.linux.no/#linux+v3.1/fs/sysfs/dir.c#L539
sysfs_get_dirent: http://lxr.linux.no/#linux+v3.1/fs/sysfs/dir.c#L575
sysfs_unmerge_group: http://lxr.linux.no/#linux+v3.1/fs/sysfs/group.c#L195
(rpm_sysfs_remove: 
http://lxr.linux.no/#linux+v3.1/drivers/base/power/sysfs.c#L534)
dpm_sysfs_remove: 
http://lxr.linux.no/#linux+v3.1/drivers/base/power/sysfs.c#L539
device_del: http://lxr.linux.no/#linux+v3.1/drivers/base/core.c#L1098
device_unregister: http://lxr.linux.no/#linux+v3.1/drivers/base/core.c#L1152

Could the patch at have fixed this?
http://git.kernel.org/?p=linux/kernel/git/next/linux-next-history.git;a=commitdiff;h=023b9565972a4a5e0f01b9aa32680af6e9b5c388

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/7

------------------------------------------------------------------------
On 2011-11-02T13:04:40+00:00 Josh wrote:

(In reply to comment #7)
> Could the patch at have fixed this?
> http://git.kernel.org/?p=linux/kernel/git/next/linux-next-history.git;a=commitdiff;h=023b9565972a4a5e0f01b9aa32680af6e9b5c388

Possibly.  That commit should be in the most recent rawhide kernel.  If
someone is willing to test that, it would be appreciated.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/8

------------------------------------------------------------------------
On 2011-11-02T13:44:20+00:00 Peter wrote:

I've built the module using a custom Makefile and tested it. I can
confirm that the NULL BUG() has disappeared.

Tests:

ubuntu@ubuntu:~$ sudo modprobe -v wmi 
insmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/wmi.ko 
ubuntu@ubuntu:~$ sudo modprobe -v -r wmi 
rmmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/wmi.ko
ubuntu@ubuntu:~$ sudo modprobe -v mxm-wmi 
insmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/wmi.ko 
insmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/mxm-wmi.ko 
ubuntu@ubuntu:~$ sudo modprobe -v -r mxm-wmi 
rmmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/mxm-wmi.ko
rmmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/wmi.ko
ubuntu@ubuntu:~$ sudo modprobe -v nouveau 
insmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/wmi.ko 
insmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/mxm-wmi.ko 
insmod /lib/modules/3.0.0-12-generic/kernel/drivers/gpu/drm/ttm/ttm.ko 
insmod /lib/modules/3.0.0-12-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko 
ubuntu@ubuntu:~$ sudo modprobe -v -r nouveau 
rmmod /lib/modules/3.0.0-12-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko
rmmod /lib/modules/3.0.0-12-generic/kernel/drivers/gpu/drm/ttm/ttm.ko
rmmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/mxm-wmi.ko
rmmod /lib/modules/3.0.0-12-generic/kernel/drivers/platform/x86/wmi.ko

No Oopses anymore.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/9

------------------------------------------------------------------------
On 2011-11-02T13:47:25+00:00 Josh wrote:

(In reply to comment #9)
> I've built the module using a custom Makefile and tested it. I can confirm 
> that
> the NULL BUG() has disappeared.

OK.  I'll backport the patch to F16 and get it included.  Will ship as
an update, as it's a bit too late to get this into the release at this
point.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/10

------------------------------------------------------------------------
On 2011-11-02T14:00:28+00:00 Josh wrote:

Added to both F15 and F16.  Will be in the next kernel builds.

Also, this was supposed to head for stable so I pinged GregKH about it
as well.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/885243/comments/11


** Changed in: linux (Fedora)
       Status: Unknown => Fix Released

** Changed in: linux (Fedora)
   Importance: Unknown => Undecided

** Bug watch added: Red Hat Bugzilla #697157
   https://bugzilla.redhat.com/show_bug.cgi?id=697157

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/885243

Title:
  "BUG: unable to handle kernel NULL pointer dereference" when unloading
  wmi

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/885243/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to