kernel crash/preempt (maybe related to wlan)

Bug #18187 reported by Christian Kellner
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Low
Ben Collins

Bug Description

This happens with NetworkManager and with netapplet, but in the latter one only
when I select the wlan interface, so I guess it is related to the wlan driver (I
have a centrino laptop using the ipw2100 module). It appeared after a kernel
upgrade (not sure since version though).
Well here is the trackback:
-----
Jun 16 20:44:32 nano kernel: [4294764.813000] NETDEV WATCHDOG: eth1: transmit
timed out
Jun 16 20:44:32 nano kernel: [4294765.224000] mtrr: 0xf0000000,0x8000000
overlaps existing 0xf0000000,0x400000
Jun 16 20:44:32 nano kernel: [4294765.433000] PREEMPT
Jun 16 20:44:32 nano kernel: [4294765.433000] Modules linked in: i915 drm ipv6
af_packet arc4 ieee80211_crypt_wep joydev sg sd_mod parport_pc parport pcspkr
psmouse rtc ipw2100 firmware_class ieee80211 ieee80211_crypt 8139cp 8139too mii
ohci1394 yenta_socket rsrc_nonstatic pcmcia_core snd_intel8x0 snd_ac97_codec
snd_pcm_oss snd_mixer_oss tsdev snd_pcm snd_timer snd soundcore snd_page_alloc
usbhid usb_storage hci_usb tpm_atmel bluetooth tpm_nsc tpm shpchp pci_hotplug
ehci_hcd uhci_hcd usbcore intel_agp agpgart dm_mod evdev sbp2 ieee1394 ide_cd
mousedev sr_mod scsi_mod cdrom md ext3 jbd mbcache ide_disk ide_generic piix
ide_core unix thermal processor fan fbcon tileblit font bitblit vesafb
cfbcopyarea cfbimgblt cfbfillrect softcursor capability commoncap
Jun 16 20:44:32 nano kernel: [4294765.433000] CPU: 0
Jun 16 20:44:32 nano kernel: [4294765.433000] EIP:
0060:[pg0+677296873/1069794304] Not tainted VLI
Jun 16 20:44:32 nano kernel: [4294765.433000] EFLAGS: 00010097 (2.6.12-1-686)
Jun 16 20:44:32 nano kernel: [4294765.433000] EIP is at
ieee80211_wx_get_scan+0x7bd/0x9df [ieee80211]
Jun 16 20:44:32 nano kernel: [4294765.433000] eax: fffdff88 ebx: 00000000
ecx: 00020078 edx: ffffffff
Jun 16 20:44:32 nano kernel: [4294765.433000] esi: 00000000 edi: fffdff88
ebp: e6e99e62 esp: e6e99cb0
Jun 16 20:44:32 nano kernel: [4294765.433000] ds: 007b es: 007b ss: 0068
Jun 16 20:44:32 nano kernel: [4294765.433000] Process NetworkManager (pid: 7132,
threadinfo=e6e98000 task=e6988a60)
Jun 16 20:44:32 nano kernel: [4294765.433000] Stack: e6e99e5f 00000029 e89ae821
0000000b e89ae820 e58d0077 e60c236c e510f060
Jun 16 20:44:32 nano kernel: [4294765.433000] 162b1b20 00000000 e510f092
e5110000 00000286 e58d0000 00000000 00000000
Jun 16 20:44:32 nano kernel: [4294765.433000] 00000004 00000000 00000000
00000000 00000000 00000000 00000000 00000000
Jun 16 20:44:32 nano kernel: [4294765.433000] Call Trace:
Jun 16 20:44:32 nano kernel: [4294765.433000] [buffered_rmqueue+353/517]
buffered_rmqueue+0x161/0x205
Jun 16 20:44:32 nano kernel: [4294765.433000] [__alloc_pages+374/998]
__alloc_pages+0x176/0x3e6
Jun 16 20:44:32 nano kernel: [4294765.433000] [do_no_page+111/933]
do_no_page+0x6f/0x3a5
Jun 16 20:44:32 nano kernel: [4294765.433000]
[wireless_process_ioctl+1472/2023] wireless_process_ioctl+0x5c0/0x7e7
Jun 16 20:44:32 nano kernel: [4294765.433000] [handle_mm_fault+418/503]
handle_mm_fault+0x1a2/0x1f7
Jun 16 20:44:32 nano kernel: [4294765.433000] [pg0+677466488/1069794304]
ipw2100_wx_get_scan+0x0/0x16 [ipw2100]
Jun 16 20:44:32 nano kernel: [4294765.433000] [dev_load+38/112] dev_load+0x26/0x70
Jun 16 20:44:32 nano kernel: [4294765.433000] [dev_ioctl+270/790]
dev_ioctl+0x10e/0x316
Jun 16 20:44:32 nano kernel: [4294765.433000] [sock_ioctl+209/569]
sock_ioctl+0xd1/0x239
Jun 16 20:44:32 nano kernel: [4294765.433000] [do_ioctl+154/169] do_ioctl+0x9a/0xa9
Jun 16 20:44:32 nano kernel: [4294765.433000] [vfs_ioctl+101/481]
vfs_ioctl+0x65/0x1e1
Jun 16 20:44:32 nano kernel: [4294765.433000] [sys_ioctl+133/146]
sys_ioctl+0x85/0x92
Jun 16 20:44:32 nano kernel: [4294765.433000] [sysenter_past_esp+84/117]
sysenter_past_esp+0x54/0x75
Jun 16 20:44:32 nano kernel: [4294765.433000] Code: e0 05 8d 04 02 8b 54 24 34
8d 3c 30 0f be 42 5c 89 da 29 c1 c1 e2 04 89 c8 29 da c1 e0 05 29 c8 8d 04 42 0f
af c8 29 cf 89 f8 99 <f7> fe 89 c1 b8 64 00 00 00 80 f9 65 0f 42 c1 88 84 24 7c
01 00
Jun 16 20:44:32 nano kernel: [4294765.433000] <6>note: NetworkManager[7132]
exited with preempt_count 1
-----
I am on breezy,
uname -a: Linux nano 2.6.12-1-686 #1 Wed Jun 8 14:35:07 UTC 2005 i686 GNU/Linux

Revision history for this message
Christian Kellner (gicmo) wrote :
Download full text (4.7 KiB)

that's the PREEMPT crash thinggy with netapplet:

Jun 12 23:55:55 nano kernel: [4308676.735000] PREEMPT
Jun 12 23:55:55 nano kernel: [4308676.735000] Modules linked in: ipv6
binfmt_misc af_packet rfcomm l2cap speedstep_centrino cpufreq_conservative
cpufreq_stats freq_table cpufreq_userspace cpufreq_ondemand cpufreq_powersave
pcmcia hotkey video sony_acpi pcc_acpi button battery container ac asus_acpi lp
i915 drm sg sd_mod joydev parport_pc parport pcspkr psmouse rtc ipw2100
firmware_class ieee80211 ieee80211_crypt 8139cp 8139too mii ohci1394
yenta_socket rsrc_nonstatic pcmcia_core snd_intel8x0 snd_ac97_codec snd_pcm_oss
snd_mixer_oss snd_pcm tsdev snd_timer snd soundcore snd_page_alloc usb_storage
usbhid hci_usb bluetooth tpm_atmel tpm_nsc tpm shpchp pci_hotplug ehci_hcd
uhci_hcd usbcore intel_agp agpgart dm_mod evdev sbp2 ieee1394 ide_cd mousedev
sr_mod scsi_mod cdrom md ext3 jbd mbcache ide_disk ide_generic piix ide_core
unix thermal processor fan fbcon tileblit font bitblit vesafb cfbcopyarea
cfbimgblt cfbfillrect softcursor capability commoncap
Jun 12 23:55:55 nano kernel: [4308676.735000] CPU: 0
Jun 12 23:55:55 nano kernel: [4308676.735000] EIP:
0060:[pg0+677292777/1069794304] Not tainted VLI
Jun 12 23:55:55 nano kernel: [4308676.735000] EFLAGS: 00010093 (2.6.12-1-686)
Jun 12 23:55:55 nano kernel: [4308676.735000] EIP is at
ieee80211_wx_get_scan+0x7bd/0x9df [ieee80211]
Jun 12 23:55:55 nano kernel: [4308676.735000] eax: fffe54c8 ebx: 00000000
ecx: 0001ab38 edx: ffffffff
Jun 12 23:55:55 nano kernel: [4308676.735000] esi: 00000000 edi: fffe54c8
ebp: e4eade62 esp: e4eadcb0
Jun 12 23:55:55 nano kernel: [4308676.735000] ds: 007b es: 007b ss: 0068
Jun 12 23:55:55 nano kernel: [4308676.735000] Process netdaemon (pid: 7670,
threadinfo=e4eac000 task=e769f520)
Jun 12 23:55:55 nano kernel: [4308676.735000] Stack: e4eade5f 00000029 e89ad821
0000000b e89ad820 e5910077 e5d3e36c d696f060
Jun 12 23:55:55 nano kernel: [4308676.735000] 16001000 00000000 d696f092
d6970000 00000286 e5910000 deb78514 d3df12d0
Jun 12 23:55:55 nano kernel: [4308676.735000] c0224f51 c17ba4d4 cb491f00
00000008 dff76080 dce25490 00000000 c17ba4d4
Jun 12 23:55:55 nano kernel: [4308676.735000] Call Trace:
Jun 12 23:55:55 nano kernel: [4308676.735000] [ll_back_merge_fn+332/537]
ll_back_merge_fn+0x14c/0x219
Jun 12 23:55:55 nano kernel: [4308676.735000] [__make_request+627/1257]
__make_request+0x273/0x4e9
Jun 12 23:55:55 nano kernel: [4308676.735000] [generic_make_request+388/590]
generic_make_request+0x184/0x24e
Jun 12 23:55:55 nano kernel: [4308676.735000] [autoremove_wake_function+0/87]
autoremove_wake_function+0x0/0x57
Jun 12 23:55:55 nano kernel: [4308676.735000] [autoremove_wake_function+0/87]
autoremove_wake_function+0x0/0x57
Jun 12 23:55:55 nano kernel: [4308676.735000] [schedule+794/1574]
schedule+0x31a/0x626
Jun 12 23:55:55 nano kernel: [4308676.735000] [__generic_unplug_device+31/60]
__generic_unplug_device+0x1f/0x3c
Jun 12 23:55:55 nano kernel: [4308676.735000] [generic_unplug_device+28/54]
generic_unplug_device+0x1c/0x36
Jun 12 23:55:55 nano kernel: [4308676.735000] [io_schedule+14/22]
io_schedule+0xe/0x16
Jun 12 23:5...

Read more...

Revision history for this message
Christian Kellner (gicmo) wrote :

Ok, I booted the latest 2.6.10 kernel and indeed no crash with that kernel, so I
guess its really related to some ipw kernel module updates. (NetworkManager isnt
working with that kernel too but that's another story I guess)

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

Known problem due to ipw2100 and ipw2200 commond code non-alligned upstream.
Also don't abuse of bug severities for a kernel that is not even supported yet.

Fabio

Revision history for this message
Christian Kellner (gicmo) wrote :

Thanks Fabio, I didn't mean to "abuse" bug severity here, it's just normal GNOME
bugzilla policy that crashers get Severity=Critical, Priority=High and since I
coudn't find such a guideline on your main bugzilla entry page I just used the
GNOME policy. Well thanks anyways.

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

(In reply to comment #4)
> Thanks Fabio, I didn't mean to "abuse" bug severity here, it's just normal GNOME
> bugzilla policy that crashers get Severity=Critical, Priority=High and since I
> coudn't find such a guideline on your main bugzilla entry page I just used the
> GNOME policy. Well thanks anyways.

Don't worry, it's ok. but usually kernel is a bit of a special case due to its size.
We consider Major/Critical everything that doesn't make your pc to boot or eat
your machine :)
A non-essential (to boot) driver crash is usually minor/normal.

But you are right.. we should make this policy more clear.

Thanks
fabio

Revision history for this message
John Moser (nigelenki) wrote :

Is this fixed yet? I really want preempt back. . .
 (also consider allocating third level page tables to highmem)

Revision history for this message
John Moser (nigelenki) wrote :

On 2.6.13 home-built kernel, Preempt (full), 1000Hz, third level page tabels,
netapplet works for me, so a 2.6.13 kernel in Ubuntu with full preempt should be
a fine way to close this bug.

Revision history for this message
Ben Collins (ben-collins) wrote :

I'll consider this fixed in atleast dapper (probably breezy too).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.