PCMCIA-PCI convertor not working

2006-10-13
2013-04-08
  • Sharad Jaiswal
    Sharad Jaiswal
    2006-10-13

    Hi All,

    I am using Senao NL-2511 CD PCMCIA card through a Ricoh RL5c475(II)  Cardbus Controller based *PCMCIA to PCI* converter. I am running Redhat Linux 9, ver. 2.4.20 on an HP Vectra Pentium 3 machine.

    I have installed the external pcmcia-cs package ver. 3.2.8 (have disabled  kernel pcmcia/cardbus support), and HostAP version 0.3.7 as the driver for my wireless card.

    I have described my problem earlier here:

    http://sourceforge.net/forum/forum.php?thread_id=1580106&forum_id=7049

    Basically, my wifi card was not recognised by the kernel, upon insertion, no beeps nothing.

    It turns out, the same card works just fine with another  exactly similar HP Vectra Pentium 3 machine, running the same kernel (compiled with the same options), same pcmcia-cs package and driver.

    I am trying to figure out why the card works on one machine, and not on the other. The PCI slots on the "bad" machine seem to be OK, since I have put in Ethernet cards in those slots and they work fine.

    In both the machines, I added the following lines to /etc/sysconfig/pcmcia

    PCMCIA=yes
    PCIC=i82365
    PCIC_OPTS="irq_mode=0 pci_cac=0 poll_interval=100"
    CORE_OPTS=
    CARDMGR_OPTS=

    Here is the output of lspci -vvv and dmesg for the machine in which the card's not working:

    01:00.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 81)
            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 11
            Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
            Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
            I/O window 0: 00000000-00000003
            I/O window 1: 00000000-00000003
            BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
            16-bit legacy interface ports at 0001

    Linux PCMCIA Card Services 3.2.8
      kernel build: 2.4.20-8villagenet #2 Fri Oct 13 16:30:01 IST 2006
      options:  [pci] [cardbus] [apm]
    Intel ISA/PCI/CardBus PCIC probe:
    PCI: Enabling device 01:00.0 (0000 -> 0002)
    PCI: Found IRQ 11 for device 01:00.0
    PCI: Sharing IRQ 11 with 00:1f.2
      Ricoh RL5C475 rev 81 PCI-to-CardBus at slot 01:00, mem 0x10000000
        host opts [0]: [pci only] [io 3/6/1] [mem 3/6/1] [pci irq 5] [lat 168/176]
    [bus 2/5]
        PCI card interrupts, PCI status changes

    Here is the output of lspci -vvv and dmesg for the machine in which the card works fine:

    01:01.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 81)
            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 5
            Region 0: Memory at 20000000 (32-bit, non-prefetchable) [size=4K]
            Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
            Memory window 0: 00000000-00000000 (prefetchable)
            Memory window 1: 00000000-00000000 (prefetchable)
            I/O window 0: 00000000-00000003
            I/O window 1: 00000000-00000003
            BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
            16-bit legacy interface ports at 0001

    Intel ISA/PCI/CardBus PCIC probe:
    PCI: Enabling device 01:01.0 (0000 -> 0002)
    PCI: Found IRQ 5 for device 01:01.0
    PCI: Sharing IRQ 5 with 01:04.0
      Ricoh RL5C475 rev 81 PCI-to-CardBus at slot 01:01, mem 0x20000000
        host opts [0]: [pci only] [io 3/6/1] [mem 3/6/1] [pci irq 5] [lat 168/176] [
    bus 2/5]
        PCI card interrupts, PCI status changes
    cs: memory probe 0xa0000000-0xa0ffffff: clean.
    hostap_crypt: registered algorithm 'NULL'
    hostap_cs: 0.3.7 - 2005-02-12 (Jouni Malinen <jkmaline@cc.hut.fi>)
    hostap_cs: setting Vcc=33 (constant)
    hostap_cs: CS_EVENT_CARD_INSERTION
    hostap_cs: setting Vcc=33 (from config)
    Checking CFTABLE_ENTRY 0x01 (default 0x01)
    IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
    io->flags = 0x0046, io.base=0x0000, len=64
    cs: IO port probe 0x0100-0x037f: excluding 0x378-0x37f
    cs: IO port probe 0x0400-0x04ff: excluding 0x4d0-0x4d7
    cs: IO port probe 0x0a00-0x0aff: clean.
    cs: IO port probe 0x0c00-0x0cff: clean.
    divert: not allocating divert_blk for non-ethernet device wifi0
    hostap_cs: Registered netdevice wifi0
    hostap_cs: index 0x01: Vcc 3.3, irq 5, io 0x0100-0x013f
    prism2_hw_init: initialized in 190 ms
    wifi0: NIC: id=0x800c v1.0.0
    wifi0: PRI: id=0x15 v1.1.0
    wifi0: STA: id=0x1f v1.4.9

    I cannot tell what could be different in the "bad" machine. Would anyone have a clue? Any help will be greatly appreciated.

    Thanks
    Sharad.