Cardbus memory problem

GregR gr at ridefix.com
Wed Dec 22 06:51:58 EST 2004


I have Mandrake 10.0 on a sharp PC-AV18 notebook. I am having problems
getting cardbus cards to work, and its memory address problem. [b]PCMCIA
cards work fine[/b], but the cardbus card (SMC2536W-AG, Atheros chipset)
wireless card [b]will not[/b]. I have tried other carbus cards, and they
get similar errors. In order for the PC to boot, I need to turn off ACPI
(acpi=off).

I have tried a few different live CD distros, and the same problem exists

I am using kernel 2.6.3-7.mdk

I have turned off PnP-OS in the BIOS, and there are no BIOS updates for
this notebook.

Any suggestions?

When I insert the card, dmesg reports:
PCI: Failed to allocate resource 0(e2010000-e2004fff) for 0000:02:00.0

lspci shows for the controller and card:
00:05.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev b8)
        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
        Interrupt: pin A routed to IRQ 9
        Region 0: Memory at e2000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: e2001000-e2002000 (prefetchable)
        Memory window 1: e2003000-e2004000
        I/O window 0: 0000c000-0000c403
        I/O window 1: 0000c800-0000cc03
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt-
PostWrite+
....
....

02:00.0 Ethernet controller: Unknown device 168c:0013 (rev 01)
        Subsystem: Accton Technology Corporation: Unknown device ee00
        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 9
        Region 0: [virtual] Memory at e2010000 (32-bit, non-prefetchable)
[disabled]
        Capabilities: <available only to root>

/proc/iomem reports:
00000000-0009f7ff : System RAM
0009f800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000ce000-000cffff : reserved
000f0000-000fffff : System ROM
00100000-1f6effff : System RAM
  00100000-002c6274 : Kernel code
  002c6275-0039a8ff : Kernel data
1f6f0000-1f6fbfff : ACPI Tables
1f6fc000-1f6fffff : ACPI Non-volatile Storage
1f700000-1f7fffff : reserved
a0000000-a0000fff : card services
e2000000-e2000fff : 0000:00:05.0
  e2000000-e2000fff : yenta_socket
e2001000-e2002fff : PCI CardBus #02
e2003000-e2004fff : PCI CardBus #02
e8000000-e80007ff : 0000:00:05.1
  e8000000-e80007ff : ohci1394
e8000800-e80008ff : 0000:00:06.0
  e8000800-e80008ff : 8139too
e8000c00-e8000cff : 0000:00:10.3
  e8000c00-e8000cff : ehci_hcd
e8100000-e81fffff : PCI Bus #01
  e8100000-e817ffff : 0000:01:00.0
ec000000-efffffff : 0000:00:00.0
f0000000-f7ffffff : PCI Bus #01
  f0000000-f7ffffff : 0000:01:00.0
    f0000000-f06effff : vesafb
fffe0000-ffffffff : reserved

Here is the BIOS mem report from dmesg:
 BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
 BIOS-e820: 00000000000d8000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001f6f0000 (usable)
 BIOS-e820: 000000001f6f0000 - 000000001f6fc000 (ACPI data)
 BIOS-e820: 000000001f6fc000 - 000000001f700000 (ACPI NVS)
 BIOS-e820: 000000001f700000 - 000000001f800000 (reserved)
 BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
502MB LOWMEM available.


/proc/interrupts
           CPU0
  0:    2242210          XT-PIC  timer
  1:       1902          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  7:       3008          XT-PIC  ehci_hcd
  8:          1          XT-PIC  rtc
  9:      37611          XT-PIC  uhci_hcd, yenta
 10:       2751          XT-PIC  eth0, VIA8233
 11:          2          XT-PIC  uhci_hcd, ohci1394
 12:      26168          XT-PIC  i8042
 14:       6354          XT-PIC  ide0
 15:      23028          XT-PIC  ide1
NMI:          0
LOC:    2242065
ERR:         43
MIS:          0

/proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vesafb
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
1000-10ff : 0000:00:06.0
  1000-10ff : 8139too
1400-14ff : 0000:00:11.5
  1400-14ff : VIA8233
1c00-1c1f : 0000:00:10.0
  1c00-1c1f : uhci_hcd
1c20-1c3f : 0000:00:10.1
  1c20-1c3f : uhci_hcd
1c40-1c4f : 0000:00:11.1
  1c40-1c47 : ide0
  1c48-1c4f : ide1
c000-c403 : PCI CardBus #02
c800-cc03 : PCI CardBus #02

/proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: VIA Technologies, Inc. P/KN266 Host Bridge (rev 0).
      Master Capable.  Latency=8.
      Prefetchable 32 bit memory at 0xec000000 [0xefffffff].
  Bus  0, device   1, function  0:
    PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] (rev 0).
      Master Capable.  No bursts.  Min Gnt=12.
  Bus  0, device   5, function  0:
    CardBus bridge: Ricoh Co Ltd RL5c475 (rev 184).
      IRQ 9.
      Master Capable.  Latency=168.  Max Lat=5.
      Non-prefetchable 32 bit memory at 0xe2000000 [0xe2000fff].
  Bus  0, device   5, function  1:
    FireWire (IEEE 1394): Ricoh Co Ltd R5C551 IEEE 1394 Controller (rev
0).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=4.
      Non-prefetchable 32 bit memory at 0xe8000000 [0xe80007ff].
  Bus  0, device   6, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 16).
      IRQ 10.
      Master Capable.  Latency=64.  Min Gnt=32.Max Lat=64.
      I/O at 0x1000 [0x10ff].
      Non-prefetchable 32 bit memory at 0xe8000800 [0xe80008ff].
  Bus  0, device  16, function  0:
    USB Controller: VIA Technologies, Inc. USB (rev 128).
      IRQ 9.
      Master Capable.  Latency=64.
      I/O at 0x1c00 [0x1c1f].
  Bus  0, device  16, function  1:
    USB Controller: VIA Technologies, Inc. USB (#2) (rev 128).
      IRQ 11.
      Master Capable.  Latency=64.
      I/O at 0x1c20 [0x1c3f].
  Bus  0, device  16, function  3:
    USB Controller: VIA Technologies, Inc. USB 2.0 (rev 130).
      IRQ 7.
      Master Capable.  Latency=64.
      Non-prefetchable 32 bit memory at 0xe8000c00 [0xe8000cff].
  Bus  0, device  17, function  0:
    ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge (rev 0).
  Bus  0, device  17, function  1:
    IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 6).
      IRQ 9.
      Master Capable.  Latency=64.
      I/O at 0x1c40 [0x1c4f].
  Bus  0, device  17, function  5:
    Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235
AC97 Audio Controller (rev 80).
      IRQ 10.
      I/O at 0x1400 [0x14ff].
  Bus  1, device   0, function  0:
    VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]
(rev 0).
      IRQ 9.
      Master Capable.  Latency=64.  Min Gnt=4.Max Lat=255.
      Non-prefetchable 32 bit memory at 0xe8100000 [0xe817ffff].
      Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
  Bus  2, device   0, function  0:
    Ethernet controller: PCI device 168c:0013 (rev 1).
      IRQ 9.
      Master Capable.  No bursts.  Min Gnt=10.Max Lat=28.
      Non-prefetchable 32 bit memory at 0xe2010000 [0xe2004fff].

Here is a snip from /var/messages
...
Dec 19 10:00:59 amd kernel: PCI: Failed to allocate resource
0(e2010000-e2004fff) for 0000:02:00.0
Dec 19 10:00:59 amd pci.agent[3247]: ... no modules for PCI slot
0000:02:00.0



More information about the linux-pcmcia mailing list