PCMCIA CARDBUS detection incorrect.

From: Stephen Torri (s.torri@lancaster.ac.uk)
Date: Fri Feb 23 2001 - 13:06:53 EST


using the following:

kernel-2.4.2 (linus release - no patches added)
kernel-2.2.17-4 (RedHat 7 release - no patches added)
kgcc-2.96.66
(kernel config - see compressed text file)

I have a Xircom Realport2 10/100 Card that uses the tulip_cb driver.

In kernel-2.2.17-4 (from RedHat with pcmcia installed) the card is
detected as:

----------------
/sbin/cardctl ident
----------------
Socket 0:
  product info: "Xircom", "RealPort2 CardBus Ethernet 10/100", "R2BE-100BTX", "1.00"
  manfid: 0x0105, 0x0103
  function: 6 (network)
Socket 1:
  no product info available

----------------
/sbin/cardctl status
----------------
Socket 0:
  3.3V CardBus card
  function 0: [ready]
Socket 1:
  no card

----------------
cat /proc/pci
----------------

PCI devices found:
  Bus 32, device 0, function 0:
    Ethernet controller: Unknown vendor Unknown device (rev 3).
      Vendor id=115d. Device id=3.
      Medium devsel. IRQ 3.
      I/O at 0x100 [0x101].
      Non-prefetchable 32 bit memory at 0x6000d000 [0x6000d000].
      Non-prefetchable 32 bit memory at 0x6000c000 [0x6000c000].
  Bus 0, device 0, function 0:
    Host bridge: Intel 440BX - 82443BX Host (rev 3).
      Medium devsel. Master Capable. Latency=64.
      Prefetchable 32 bit memory at 0xe8000000 [0xe8000008].
  Bus 0, device 1, function 0:
    PCI bridge: Intel 440BX - 82443BX AGP (rev 3).
      Medium devsel. Master Capable. Latency=128. Min Gnt=140.
  Bus 0, device 3, function 0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
  Bus 0, device 3, function 1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel. Fast back-to-back capable. Master Capable. Latency=64.
      I/O at 0xfc60 [0xfc61].
  Bus 0, device 3, function 2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. No bursts.
      I/O at 0xfca0 [0xfca1].
  Bus 0, device 3, function 3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel. Fast back-to-back capable.
  Bus 0, device 6, function 0:
    Multimedia audio controller: Unknown vendor Unknown device (rev 0).
      Vendor id=1102. Device id=8938.
      Slow devsel. IRQ 5. Master Capable. Latency=96. Min Gnt=12.Max Lat=128.
      I/O at 0xfcc0 [0xfcc1].
      I/O at 0xfc40 [0xfc41].
  Bus 0, device 7, function 0:
    Communication controller: Unknown vendor Unknown device (rev 1).
      Vendor id=134d. Device id=7890.
      Medium devsel. IRQ 11.
      I/O at 0xfc00 [0xfc01].
  Bus 0, device 10, function 0:
    CardBus bridge: Texas Instruments Unknown device (rev 1).
      Vendor id=104c. Device id=ac1c.
      Medium devsel. Master Capable. Latency=168. Min Gnt=128.Max Lat=7.
  Bus 0, device 10, function 1:
    CardBus bridge: Texas Instruments Unknown device (rev 1).
      Vendor id=104c. Device id=ac1c.
      Medium devsel. Master Capable. Latency=168. Min Gnt=192.Max Lat=7.
  Bus 1, device 0, function 0:
    VGA compatible controller: Trident Unknown device (rev 73).
      Vendor id=1023. Device id=9525.
      Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=64.
      Non-prefetchable 32 bit memory at 0xfe400000 [0xfe400000].
      Non-prefetchable 32 bit memory at 0xfedc0000 [0xfedc0000].
      Non-prefetchable 32 bit memory at 0xfe800000 [0xfe800000].

The problem is that when I run kernel-2.4.2 the pcmcia does start when
compiled as modules (just so that it keeps the RH7 scripts happy). Yet the
cardctl reports:

----------------
/sbin/cardctl ident
----------------

Socket 0:
  no product info available
Socket 1:
  no product info available

----------------
/sbin/cardctl status
----------------

Socket 0:
  5V 16-bit PC Card
  function 0: [busy], [bat dead], [bat low]
Socket 1:
  no card

------------
cat /proc/pci
------------

PCI devices found:
  Bus 0, device 0, function 0:
    Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 3).
      Master Capable. Latency=64.
      Prefetchable 32 bit memory at 0xe8000000 [0xebffffff].
  Bus 0, device 1, function 0:
    PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 3).
      Master Capable. Latency=128. Min Gnt=140.
  Bus 0, device 3, function 0:
    ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 2).
  Bus 0, device 3, function 1:
    IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 1).
      Master Capable. Latency=64.
      I/O at 0xfc60 [0xfc6f].
  Bus 0, device 3, function 2:
    USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 1).
      IRQ 11.
      Master Capable. Latency=64.
      I/O at 0xfca0 [0xfcbf].
  Bus 0, device 3, function 3:
    Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 2).
  Bus 0, device 6, function 0:
    Multimedia audio controller: PCI device 1102:8938 (Creative Labs) (rev 0).
      IRQ 5.
      Master Capable. Latency=96. Min Gnt=12.Max Lat=128.
      I/O at 0xfcc0 [0xfcff].
      I/O at 0xfc40 [0xfc5f].
  Bus 0, device 7, function 0:
    Communication controller: PCTel Inc HSP MicroModem 56 (rev 1).
      IRQ 11.
      I/O at 0xfc00 [0xfc3f].
  Bus 0, device 10, function 0:
    CardBus bridge: Texas Instruments PCI1225 (rev 1).
      Master Capable. No bursts. Min Gnt=192.Max Lat=3.
      Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff].
  Bus 0, device 10, function 1:
    CardBus bridge: Texas Instruments PCI1225 (#2) (rev 1).
      Master Capable. No bursts. Min Gnt=192.Max Lat=3.
      Non-prefetchable 32 bit memory at 0x10001000 [0x10001fff].
  Bus 1, device 0, function 0:
    VGA compatible controller: Trident Microsystems Cyber 9525 (rev 73).
      IRQ 11.
      Master Capable. Latency=64.
      Non-prefetchable 32 bit memory at 0xfe400000 [0xfe7fffff].
      Non-prefetchable 32 bit memory at 0xfedc0000 [0xfeddffff].
      Non-prefetchable 32 bit memory at 0xfe800000 [0xfebfffff].

Stephen
s.torri@lancaster.ac.uk
-----------------------------------------------
Buyer's Guide for a Operating System:
Don't care to know: Mac
Don't mind knowing but not too much: Windows
Hit me! I can take it!: Linux



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:31 EST