Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #2086 (new defect)

Opened 13 years ago

SIGSEGV on rmmod ath5k

Reported by: jozwicki@aster.pl Assigned to:
Priority: minor Milestone:
Component: madwifi: other Version:
Keywords: Cc:
Patch is attached: 0 Pending:

Description

Segmentation fault while removing ath5k module (compat-wireless-2008-07-30 on 2.6.25)

[75106.618021] BUG: unable to handle kernel NULL pointer dereference at 0000001c
[75106.618021] IP: [<c03b66be>] tcf_destroy+0x9/0x21
[75106.618021] *pdpt = 0000000009b25001 *pde = 0000000000000000
[75106.618021] Oops: 0000 [#1] PREEMPT SMP
[75106.618021] Modules linked in: ipx p8022 psnap llc p8023 i915 drm cpufreq_userspace cpufreq_powersave cpufreq_ondemand freq_table cpufreq_conservative vboxdrv sbs sbshc fan arc4 ecb ath5k(-) mac80211 i2c_i801 cfg80211 i2c_core iTCO_wdt iTCO_vendor_support sky2 container video output battery ac thermal snd_hda_intel button snd_pcm snd_timer processor snd snd_page_alloc intel_agp acer_wmi backlight wmi evdev led_class tg3 e1000 loop jfs reiserfs raid10 raid456 async_tx async_memcpy async_xor xor raid1 raid0 md_mod dm_snapshot dm_mirror scsi_wait_scan pdc_adma sata_mv ata_piix ahci sata_qstor sata_vsc sata_uli sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil24 sata_sil sata_promise pata_sl82c105 pata_cs5535 pata_cs5530 pata_cs5520 pata_via pata_jmicron pata_marvell pata_hpt3x2n pata_sis pata_netcell pata_sc1200 pata_pdc202xx_old pata_triflex pata_atiixp pata_opti pata_amd pata_ali pata_pcmcia pcmcia pcmcia_core pata_ns87410 pata_serverworks pata_platform pata_cypress pata_oldpiix pata_artop pata_it821x pata_optidma pata_hpt3x3 pata_hpt37x pata_hpt366 pata_cmd64x pata_efar pata_rz1000 pata_sil680 pata_radisys pata_pdc2027x pata_mpiix sbp2 sl811_hcd ohci_hcd uhci_hcd usb_storage ehci_hcd
[75106.618021]
[75106.618021] Pid: 18568, comm: rmmod Not tainted (2.6.25.10-rt7 #11)
[75106.618021] EIP: 0060:[<c03b66be>] EFLAGS: 00010282 CPU: 0
[75106.618021] EIP is at tcf_destroy+0x9/0x21
[75106.618021] EAX: f64650a4 EBX: f64650a4 ECX: f65404ec EDX: 00000000
[75106.618021] ESI: f64650a0 EDI: f6554240 EBP: c9aebe6c ESP: c9aebe68
[75106.618021]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 preempt:00000001
[75106.618021] Process rmmod (pid: 18568, ti=c9aea000 task=c5460020 task.ti=c9aea000)
[75106.618021] Stack: 00000000 c9aebe78 c03b66e3 00000000 c9aebe8c f99c86e1 f6465000 f99d7f34
[75106.618021]        f6554240 c9aebe9c c03b54a8 f69bf000 f74c2000 c9aebea8 c03b54f9 f69bf000
[75106.618021]        c9aebeb4 c03a81cb f69bf000 c9aebec0 c03a825b f6554240 c9aebecc f99b31ec
[75106.618021] Call Trace:
[75106.618021]  [<c03b66e3>] ? tcf_destroy_chain+0xd/0x16
[75106.618021]  [<f99c86e1>] ? wme_qdiscop_destroy+0x3c/0x72 [mac80211]
[75106.618021]  [<c03b54a8>] ? qdisc_destroy+0x55/0x7c
[75106.618021]  [<c03b54f9>] ? dev_shutdown+0x2a/0x74
[75106.618021]  [<c03a81cb>] ? rollback_registered+0x90/0xee
[75106.618021]  [<c03a825b>] ? unregister_netdevice+0x32/0x6e
[75106.618021]  [<f99b31ec>] ? ieee80211_unregister_hw+0x30/0xb9 [mac80211]
[75106.618021]  [<f9938b64>] ? ath5k_pci_remove+0x18/0xcf [ath5k]
[75106.618021]  [<c02ac833>] ? pci_device_remove+0x19/0x39
[75106.618021]  [<c030c2b8>] ? __device_release_driver+0x60/0x7d
[75106.618021]  [<c030c348>] ? driver_detach+0x73/0x9a
[75106.618021]  [<c030be81>] ? bus_remove_driver+0x63/0x7f
[75106.618021]  [<c030c6c8>] ? driver_unregister+0x2a/0x2e
[75106.618021]  [<c02ac9ec>] ? pci_unregister_driver+0x21/0x64
[75106.618021]  [<f9938b41>] ? exit_ath5k_pci+0xd/0x18 [ath5k]
[75106.618021]  [<c014bfff>] ? sys_delete_module+0x182/0x1c3
[75106.618021]  [<c0175313>] ? do_munmap+0x192/0x1ac
[75106.618021]  [<c01075b8>] ? sysenter_past_esp+0x6d/0xa5
[75106.618021]  =======================
[75106.618021] Code: 0c ff 16 89 da 89 45 f0 89 f8 ff 56 10 58 eb 07 c7 45 f0 ea ff ff ff 8b 45 f0 8d 65 f4 5b 5e 5f 5d c3 55 89 e5 53 8b 50 20 89 c3 <ff> 52 1c 8b 43 20 8b 40 38 e8 14 35 d9 ff 89 d8 e8 d3 b6 dc ff
[75106.618021] EIP: [<c03b66be>] tcf_destroy+0x9/0x21 SS:ESP 0068:c9aebe68
[75106.619021] ---[ end trace 50d84daff286c34d ]---