Summary: | pcmcia unregister_netdev wlan0: usage count 1 problem | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Georg Müller <georgmueller> |
Component: | [OLD] Core system | Assignee: | Mobile Herd (OBSOLETE) <mobile+disabled> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 68964 |
Description
Georg Müller
2004-11-21 05:05:36 UTC
what card? what module? a listing of lsmod before you shutdown? Are you using hotplug or have the module in modules.autoload.d/kernel-2.6 or letting cardmgr load it? Those are my 4 questions. Anyone else think of any others? - what card? ASUS WL-100, this one has a prism 2.5 chip Host AP driver diagnostics information for 'wlan0' NICID: id=0x800c v1.0.0 (PRISM II (2.5) PCMCIA (SST parallel flash)) PRIID: id=0x0015 v1.1.1 STAID: id=0x001f v1.8.0 (station firmware) - what module? hostap_cs - a listing of lsmod before you shutdown? Here before shutting down: Module Size Used by hostap_cs 54424 3 hostap_crypt_wep 5248 1 hostap 113032 2 hostap_cs,hostap_crypt_wep ds 14340 5 hostap_cs yenta_socket 18688 2 pcmcia_core 52620 3 hostap_cs,ds,yenta_socket ... (rest is sound, nvidia, usb) I will try to get some info about the state directly before power off and post it here - Are you using hotplug or have the module in modules.autoload.d/kernel-2.6 or letting cardmgr load it? hm, I have hotplug, but I think it is handled by cardmgr. The association between card and module is in /etc/pcmcia/hostap.conf cardmgr[6271]: socket 0: ASUS WL-100 802.11b WLAN PC Card hostap_cs: 0.2.5 - 2004-10-03 (Jouni Malinen <jkmaline@cc.hut.fi>) hostap_cs: Registered netdevice wifi0 hostap_cs: index 0x01: Vcc 3.3, irq 11, io 0x0100-0x013f wifi0: registered netdevice wlan0 net.agent[8446]: add event not handled lsmod at maintenance login directly before halt: Module Size Used by hostap_cs 54424 1 hostap_crypt_wep 5248 0 hostap 113032 2 hostap_cs,hostap_crypt_wep ds 14340 5 hostap_cs yenta_socket 18688 2 pcmcia_core 52620 3 hostap_cs,ds,yenta_socket nvidia 3463164 0 usb_storage 27136 0 ohci_hcd 18948 0 usbcore 101604 4 usb_storage,ohci_hcd tail of dmesg: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS) A1=00:0c:41:a5:91:c6 A2=00:e0:18:ed:d0:46 A3=33:33:00:00:00:16 A4=00:00:00:00:00:00 unregister_netdevice: waiting for wlan0 to become free. Usage count = 1 ... (several times) ... unregister_netdevice: waiting for wlan0 to become free. Usage count = 1 Then I unplug my card manually before shutdown, dmesg shows this: wifi0: Interrupt, but SWSUPPORT0 does not match: FFFF != 8A32 - card removed? wifi0: prism2_interrupt: ev=0xffff hostap_cs: CS_EVENT_CARD_REMOVAL wifi0: card already removed or not configured during shutdown wifi0: card already removed or not configured during shutdown hostap_cs: Driver unloaded and lsmod doesn't show hostap_cs anymore Reporter, please check if net-wireless/hostap-driver-0.3.7 fixes this issue. Hm - I have a new PCI pccard now which uses hotplug. I have emerged the latest hostap-driver and tried my old card and had no problems. Thank you for verifying. |