Bugzilla – Bug 616
Driver segfaults on loading
Last modified: 2005-10-08 04:44:46
You need to log in before you can comment on or make changes to this bug.
On loading ipw2200 module segfaults with the following oops. ieee80211_crypt: registered algorithm 'NULL' ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.2 ipw2200: Copyright(c) 2003-2004 Intel Corporation ACPI: PCI interrupt 0000:02:03.0[A] -> GSI 7 (level, low) -> IRQ 7 ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection Unable to handle kernel NULL pointer dereference at virtual address 00000060 printing eip: e1bc5ff9 *pde = 00000000 Oops: 0000 [#1] Modules linked in: ipw2200 firmware_class ieee80211 ieee80211_crypt pcmcia yenta_socket pcmcia_core snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_intel8x0m snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc nls_iso8859_1 ntfs nls_base evdev eth1394 uhci_hcd ehci_hcd usbcore psmouse ohci1394 ieee1394 nvidia b44 mii speedstep_centrino freq_table ide_cd cdrom CPU: 0 EIP: 0060:[<e1bc5ff9>] Tainted: P VLI EFLAGS: 00010086 (2.6.10-gentoo-r6) EIP is at ipw_led_band_on+0x59/0x240 [ipw2200] eax: 00000000 ebx: 00000000 ecx: ffffffef edx: ffffffbf esi: dc22c464 edi: 08003600 ebp: 00000246 esp: dc769df0 ds: 007b es: 007b ss: 0068 Process modprobe (pid: 11264, threadinfo=dc769000 task=dfd7e120) Stack: dc22c464 00300004 00000000 00000000 00000000 00000000 00000000 00000000 dc22c464 00000000 dc769000 e1bd1577 dc22c464 dc22cc44 00000006 dc22c464 dc769e4c dc22c464 00000002 dc22c464 dc22c000 e1bd17a1 dc22c464 dc22c000 Call Trace: [<e1bd1577>] ipw_up+0x197/0x1d0 [ipw2200] [<e1bd17a1>] ipw_net_init+0xf1/0x120 [ipw2200] [<c02b4f93>] __down_failed_trylock+0x7/0xc [<c026307a>] register_netdevice+0x5a/0x2f0 [<e1bd0f30>] shim__set_security+0x0/0x290 [ipw2200] [<c0238d49>] register_netdev+0x59/0x90 [<e1bd1cfd>] ipw_pci_probe+0x52d/0x6f0 [ipw2200] [<c01d0df2>] pci_device_probe_static+0x52/0x70 [<c01d0e4c>] __pci_device_probe+0x3c/0x50 [<c01d0e8c>] pci_device_probe+0x2c/0x60 [<c0226f8f>] driver_probe_device+0x2f/0x80 [<c02270d2>] driver_attach+0x52/0xa0 [<c0227659>] bus_add_driver+0x99/0xe0 [<c0227cbf>] driver_register+0x2f/0x40 [<c01d111e>] pci_register_driver+0x5e/0x80 [<c0116d97>] printk+0x17/0x20 [<e16f3028>] ipw_init+0x28/0x7a [ipw2200] [<c012de38>] sys_init_module+0x118/0x1a0 [<c0102ecd>] sysenter_past_esp+0x52/0x75 Code: 74 24 20 8b 7c 24 24 8b 6c 24 28 83 c4 2c c3 9c 5d fa 89 34 24 bf 04 00 30 00 89 7c 24 04 e8 4f 75 ff ff 89 c7 8b 86 f8 05 00 00 <0f> b6 40 60 3c 01 0f 84 79 01 00 00 3c 04 0f 84 1c 01 00 00 8b
I am running 2.6.10-r6 gentoo kernel. I never had any problems with the 1.0.1 version.
Created an attachment (id=305) [details] check ->assoc_network != NULL Please try the patch to see if it fixes the problem.
The patch fixes the problem. Thanks will test for a few days to see if I get a segfault again.
*** Bug 617 has been marked as a duplicate of this bug. ***
*** Bug 613 has been marked as a duplicate of this bug. ***
Patch merged for 1.0.3
The bug is verfied by submitter. (Patch in 1.0.3 is verified).