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

Andrew de Quincey adq_dvb at lidskialf.net
Sat Jul 30 13:30:45 EDT 2005


On Saturday 30 Jul 2005 17:43, Dominik Brodowski wrote:
> Hi,
>
> On Sat, Jul 30, 2005 at 05:33:03PM +0100, Andrew de Quincey wrote:
> > 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
>
> PCI resource trouble... can you post the output of /proc/iomem for a
> working and a non-working kernel, please?

Please find them attached - 2.6.12 worked fine for me.

Oh, here is the relevant lspci entry for the card w/2.6.12 as well:
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-
	Latency: 168 (2500ns min, 7000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 53
	Region 0: Memory at f3000000 (32-bit, non-prefetchable) [size=64K]
	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-

-------------- next part --------------
80000000-afffffff : /pci at f2000000
  80000000-8007ffff : 0001:10:17.0
    80000000-8007ffff : 0.80000000:mac-io
      80000000-80004fff : 0.00000000:i2s
        80000000-800009ff : 0.00000000:i2s
          80000050-8000007f : 0.00000050:gpio
      80008000-800080ff : i2s-a- Tx DMA
      80008100-800081ff : i2s-a- Rx DMA
      80008800-800088ff : 0.00020000:ata-3
        80008800-800088ff : ide-pmac (dma)
      80010000-80010fff : i2s-a- Control
      80013000-80013000 : 0.00013000:ch-b
      80013010-80013010 : 0.00013000:ch-b
      80013020-80013020 : 0.00013020:ch-a
      80013030-80013030 : 0.00013020:ch-a
      80013040-80013040 : 0.00013000:ch-b
      80013050-80013050 : 0.00013020:ch-a
      80015000-80015fff : 0.00015000:timer
      80016000-80017fff : 0.00016000:via-pmu
        80016000-80017fff : via-pmu
      80018000-80018fff : 0.00018000:i2c
      80020000-80020fff : 0.00020000:ata-3
        80020000-80020fff : ide-pmac (ports)
      80040000-8007ffff : interrupt-controller
        80040000-8007ffff : 0.00040000:interrup
  90000000-9fffffff : PCI CardBus #11
  a0000000-a00000ff : 0001:10:1b.2
    a0000000-a00000ff : ehci_hcd
  a0001000-a0001fff : 0001:10:1b.1
    a0001000-a0001fff : ohci_hcd
  a0002000-a0002fff : 0001:10:1b.0
    a0002000-a0002fff : ohci_hcd
  a0003000-a0003fff : 0001:10:1a.0
    a0003000-a0003fff : ohci_hcd
  a0004000-a0004fff : 0001:10:13.0
    a0004000-a0004fff : yenta_socket
  a0006000-a0007fff : 0001:10:12.0
b0000000-bfffffff : /pci at f0000000
  b0000000-b000ffff : 0000:00:10.0
    b0000000-b000ffff : radeonfb
  b8000000-bfffffff : 0000:00:10.0
    b8000000-bfffffff : radeonfb
f1000000-f1ffffff : /pci at f0000000
  f1000000-f101ffff : 0000:00:10.0
f3000000-f3ffffff : /pci at f2000000
  f3000000-f31fffff : PCI CardBus #11
    f3000000-f300ffff : 0001:11:00.0
      f3000000-f300ffff : ath
f5000000-f5ffffff : /pci at f4000000
  f5000000-f5000fff : 0002:24:0e.0
    f5000000-f50007ff : ohci1394
  f5004000-f5007fff : 0002:24:0d.0
    f5004000-f5007fff : Kauai ATA
  f5200000-f53fffff : 0002:24:0f.0
    f5200000-f53fffff : sungem
f8000000-f8ffffff : uni-n
-------------- next part --------------
80000000-afffffff : /pci at f2000000
  80000000-8007ffff : 0001:10:17.0
    80000000-8007ffff : 0.80000000:mac-io
      80000000-80004fff : 0.00000000:i2s
        80000000-800009ff : 0.00000000:i2s
          80000050-8000007f : 0.00000050:gpio
      80008000-800080ff : i2s-a- Tx DMA
      80008100-800081ff : i2s-a- Rx DMA
      80008800-800088ff : 0.00020000:ata-3
        80008800-800088ff : ide-pmac (dma)
      80010000-80010fff : i2s-a- Control
      80013000-80013000 : 0.00013000:ch-b
      80013010-80013010 : 0.00013000:ch-b
      80013020-80013020 : 0.00013020:ch-a
      80013030-80013030 : 0.00013020:ch-a
      80013040-80013040 : 0.00013000:ch-b
      80013050-80013050 : 0.00013020:ch-a
      80015000-80015fff : 0.00015000:timer
      80016000-80017fff : 0.00016000:via-pmu
        80016000-80017fff : via-pmu
      80018000-80018fff : 0.00018000:i2c
      80020000-80020fff : 0.00020000:ata-3
        80020000-80020fff : ide-pmac (ports)
      80040000-8007ffff : interrupt-controller
        80040000-8007ffff : 0.00040000:interrup
  90000000-9fffffff : PCI CardBus #11
  a0000000-a00000ff : 0001:10:1b.2
    a0000000-a00000ff : ehci_hcd
  a0001000-a0001fff : 0001:10:1b.1
    a0001000-a0001fff : ohci_hcd
  a0002000-a0002fff : 0001:10:1b.0
    a0002000-a0002fff : ohci_hcd
  a0003000-a0003fff : 0001:10:1a.0
    a0003000-a0003fff : ohci_hcd
  a0004000-a0004fff : 0001:10:13.0
    a0004000-a0004fff : yenta_socket
  a0006000-a0007fff : 0001:10:12.0
b0000000-bfffffff : /pci at f0000000
  b0000000-b000ffff : 0000:00:10.0
    b0000000-b000ffff : radeonfb
  b8000000-bfffffff : 0000:00:10.0
    b8000000-bfffffff : radeonfb
f1000000-f1ffffff : /pci at f0000000
  f1000000-f101ffff : 0000:00:10.0
f3000000-f3ffffff : /pci at f2000000
  00000000-00000000 : PCI CardBus #11
f5000000-f5ffffff : /pci at f4000000
  f5000000-f5000fff : 0002:24:0e.0
    f5000000-f50007ff : ohci1394
  f5004000-f5007fff : 0002:24:0d.0
    f5004000-f5007fff : Kauai ATA
  f5200000-f53fffff : 0002:24:0f.0
    f5200000-f53fffff : sungem
f8000000-f8ffffff : uni-n


More information about the linux-pcmcia mailing list