atheros PCMCIA card not longer working with kernel >= 2.6.13-rc3

Andrew de Quincey adq_dvb at lidskialf.net
Sat Jul 30 12:33:03 EDT 2005


Hi, I'm using kernel 2.6.13-rc4 on an Apple powerbook G4 (post-feb-2005). I am 
also using pcmciautils 007 and I've disabled the pcmcia-cs userspace tools in 
case that was breaking things. 

For the wifi drivers, I use madwifi (CVS HEAD), and for the PCMCIA socket, 
''yenta-socket'. AFAIK hotplug is installed and working.

When I plug the card in, madwifi complains:
PCI: Failed to allocate mem resource #0:10000 at 0 for 0001:11:00.0
ath_pci: cannot reserve PCI memory region

However, the output of lspci -vvv for the card says:
0001:11:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 
802.11abg NIC (rev 01)
        Subsystem: Netgear: Unknown device 4b00
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 53
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-


So lspci thinks the card isn't using any memory regions... looks to me like 
the card isn't being initialised properly when it is plugged in.

I've tried both the 'static' and 'dynamic' modes supported  by pcmciautils. 

What can I try next? 

ta



More information about the linux-pcmcia mailing list