Bug 12377 - general protection fault in synchronize_rcu: perhaps wpa_supplicant stopping wifi device
Summary: general protection fault in synchronize_rcu: perhaps wpa_supplicant stopping ...
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Networking
Classification: Unclassified
Component: Wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: networking_wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-07 05:28 UTC by Alex Riesen
Modified: 2009-01-10 01:47 UTC (History)
1 user (show)

See Also:
Kernel Version: v2.6.28-6387-gf59abb1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
bzImage, System.map, .config and compressed still images (69 bytes, text/plain)
2009-01-07 07:12 UTC, Alex Riesen
Details

Description Alex Riesen 2009-01-07 05:28:40 UTC
Latest working kernel version:
  v2.6.28

Earliest failing kernel version:
  v2.6.28-6387-gf59abb1 (f59abb161c955b68fd3d473368420c5919733e09)

Distribution:
  Ubuntu 8.10

Hardware Environment:
  Dell XPS M1330

Software Environment:
  iwl3945 firmware: iwlwifi-3945-2.ucode
  wpa_supplicant 0.6.4-2 of Ubuntu 8.10

Problem Description:
  I wasn't able to get complete oops in the logs,
  so below is only the transcript of the images
  I took with a camera. I'll attach the images,
  bzImage/System.map and .config later.

iwl3945: Error: Response NULL in 'REPLY_ADD_STA'
general protection fault: 0000 [#1] PREEMPT SMP
last sysfs file: /sys/devices/virtual/backlight/acpi_video0/brightness
CPU 1
Modules linked in: ip6table_filter binfmt_misc cpufreq_userspace
iptable_filter dm_crypt dm_mod sbp2 uvcvideo videodev serio_raw
ohci1394 v4l1_compat v4l2_compat_ioctl32 ieee1394 video
Pid: 3020, comm: wpa_supplicant Not tainted 2.6.28-t #148
...
Call Trace:
 [<ffffffff8024852a>] synchronize_rcu+0x35/0x4c
 [<ffffffffXXXXXXXX>] ? wakeme_after_rcu+0x0/0xf
 [<ffffffffXXXXXXXX>] ? local_bh_enable+0xbf/0xdb
 [<ffffffffXXXXXXXX>] ? dev_deactivate+0x122/0x17f
 [<ffffffffXXXXXXXX>] ? dev_close+0x76/0xa7
 [<ffffffffXXXXXXXX>] ? dev_change_flags+0xba/0x181
 [<ffffffffXXXXXXXX>] ? devinet_ioctl+0x278/0x605
 [<ffffffffXXXXXXXX>] ? inet_ioctl+0x92/0xaa
 [<ffffffffXXXXXXXX>] ? sock_ioctl+0x1f3/0x21d
 [<ffffffffXXXXXXXX>] ? vfs_ioctl+0x2a/0x78
 [<ffffffffXXXXXXXX>] ? do_vfs_ioctl+0x3bd/0x3eb
 [<ffffffffXXXXXXXX>] ? __fput+0x19f/0x1ac
 [<ffffffffXXXXXXXX>] ? sysret_check+0x27/0x62
 [<ffffffffXXXXXXXX>] ? system_call_fastpath+0x16/0x1b
Code: 3b 00 74 0e ff 0b b8 01 00 00 00 4d 85 e4 4c 0f 44 e0 4c 89 ef e8 be 30 00 00 48 83 c4 48 4c 89 e0 5b 41 5c 41 5d 41 5f c9 <c3> 49 c7 c4 00 fe ff ff eb ab 55 ba 82 00 00 00 48 89 e5 48 be
RIP  [<ffffffff80585a37>] wait_for_common+0x138/0x142
 RSP <ffff880079b3fbe0>
---[ end trace ... ]---
Machine check events logged
_ (cursor blinking, I think. Strangely, Ctrl-Alt-Del worked, but not
Alt-SysRq-B. OTOH, that's a laptop, and I never managed to trigger SysRq
reliably: I seem have to press that Fn button in exactly the right
moment, which I haven't figured out yet)

Steps to reproduce: Seen once!
Comment 1 Alex Riesen 2009-01-07 07:12:57 UTC
Created attachment 19703 [details]
bzImage, System.map, .config and compressed still images

The original stills and binary modules available upon request.
Comment 2 Johannes Berg 2009-01-07 07:22:28 UTC
Since there's an iwlwifi error at the first line, I'll blame that until somebody proves otherwise.
Comment 3 Reinette Chatre 2009-01-07 08:52:39 UTC
Alex,

Isn't this duplicate of http://bugzilla.kernel.org/show_bug.cgi?id=11326 to which you already added a comment that the patch worked for you ? We will push that patch upstream.
Comment 4 Alex Riesen 2009-01-07 15:33:56 UTC
It's possible (I obviously don't have that patch in this tree).
Will retest, thanks for reminding.
Comment 5 Alex Riesen 2009-01-07 16:27:34 UTC
Ok, seemed to help (IOW, I got the "Response 'NULL' in REPLY_ADD_STA" but didn't crash). Will continue testing.
Comment 6 Reinette Chatre 2009-01-09 13:53:13 UTC
The patch has been submitted upstream. 
http://marc.info/?l=linux-wireless&m=123143878214020&w=2

Could you please close this bug?

Note You need to log in before you can comment on or make changes to this bug.