[realtek] resources problems with a realtek 8139 based CARDBUS ethernet card

Dante Plicato dante.plicato@milug.org
Mon Mar 4 13:33:00 2002


Dear all, 
first of all i'm sorry for my bad english.. i'm tring to improve it!
I recently bought a Realtek rtl8139 cardbus card and updated the rtl8139
driver following your instructions at scyld site.. but the card after
many and many tries still does not work.
        
My system settings are:
        
- Kernel 2.2.19 (debian 2.2r5)
- PCMCIA 3.1.22

all running on a Dell CPI 300XT.
        
This is my /etc/pcmcia/config file (interested lines only)
        
device "rtl8139"
  class "network" module "cb_enabler", "pci-scan", "cb_shim", "realtek_cb"
        
card "CardBus PC Card 10/100 Base-TX CardBus Ethernet"
  manfid 0x0000, 0x21b
  bind "rtl8139"
        
Here's the output from lspci -v
        
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge 
(AGP disabled) (rev 02)
        Flags: bus master, medium devsel, latency 32
        Memory at d0000000 (32-bit, prefetchable)
        
00:02.0 VGA compatible controller: Neomagic Corporation NM2160 
[MagicGraph 128XD] (rev 01) (prog-if 00 [VGA])
        Subsystem: Dell Computer Corporation: Unknown device 0074
        Flags: medium devsel, IRQ 11
        Memory at e1000000 (32-bit, prefetchable)
        Memory at fde00000 (32-bit, non-prefetchable)
        Memory at fdd00000 (32-bit, non-prefetchable)
        
00:03.0 CardBus bridge: Texas Instruments PCI1131 (rev 01)
        Subsystem: Texas Instruments: Unknown device ac15
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at <ignored> (32-bit, non-prefetchable)
        Bus: primary=00, secondary=20, subordinate=22, sec-latency=176
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        16-bit legacy interface ports at 0007

00:03.1 CardBus bridge: Texas Instruments PCI1131 (rev 01)
        Subsystem: Texas Instruments: Unknown device ac15
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at <ignored> (32-bit, non-prefetchable)
        Bus: primary=00, secondary=23, subordinate=25, sec-latency=176
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        16-bit legacy interface ports at 0007

00:07.0 Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 01)
        Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) 
(prog-if 80 [Master])
        Flags: bus master, medium devsel, latency 32
        I/O ports at 0860

00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) 
(prog-if 00 [UHCI])
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at ece0

00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 01)
        Flags: medium devsel

23:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RT8139 (rev10)
        Subsystem: Billionton Systems Inc: Unknown device 0200
        Flags: medium devsel
        I/O ports at <unassigned> [disabled]
        Memory at <ignored> (32-bit,non-prefetchable)
        Capabilities: [50] Power Management version 2

System log (after a restart of the pcmcia services):

Mar  4 11:18:41 debian kernel: Linux PCMCIA Card Services 3.1.22
Mar  4 11:18:41 debian kernel:   kernel build: 2.2.19 #1 Mon Mar 4 08:02:46 CET 2002
Mar  4 11:18:41 debian kernel:   options:  [pci] [cardbus] [apm]
Mar  4 11:18:41 debian kernel: PCI routing table version 1.0 at 0xfb8b0
Mar  4 11:18:41 debian kernel: Intel PCIC probe:
Mar  4 11:18:41 debian kernel:   TI 1131 rev 01 PCI-to-CardBus at slot 00:03, mem 0x68000000
Mar  4 11:18:41 debian kernel:     host opts [0]: [ring] [pci + serial irq] [pci irq 11] [lat 32/176] [bus 32/34]
Mar  4 11:18:41 debian kernel:     host opts [1]: [ring] [pci + serial irq] [pci irq 11] [lat 32/176] [bus 35/37]
Mar  4 11:18:41 debian kernel:     ISA irqs (scanned) = 3,4,9,10,15 PCI status changes
Mar  4 11:18:41 debian cardmgr[359]: starting, version is 3.1.22
Mar  4 11:18:41 debian cardmgr[359]: watching 2 sockets
Mar  4 11:18:41 debian kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
Mar  4 11:18:41 debian kernel: cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x84f 0x868-0x86f
Mar  4 11:18:41 debian kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x210-0x217 0x220-0x22f 0x388-0x38f 0x4d0-0x4d7
Mar  4 11:18:41 debian kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Mar  4 11:18:41 debian kernel: cs: cb_alloc(bus 35): vendor 0x10ec, device 0x8139
Mar  4 11:18:41 debian cardmgr[359]: initializing socket 1
Mar  4 11:18:41 debian cardmgr[359]: socket 1: CardBus PC Card 10/100 Base-TX CardBus Ethernet
Mar  4 11:18:41 debian cardmgr[359]: executing: 'modprobe cb_enabler'
Mar  4 11:18:42 debian cardmgr[359]: executing: 'modprobe pci-scan'
Mar  4 11:18:42 debian cardmgr[359]: executing: 'modprobe cb_shim'
Mar  4 11:18:42 debian kernel: cb_shim.c:v1.00 4/15/2000  Donald Becker <becker@scyld.com>
Mar  4 11:18:42 debian kernel:  http://www.scyld.com/linux/drivers.html
Mar  4 11:18:42 debian cardmgr[359]: executing: 'modprobe realtek_cb'
Mar  4 11:18:42 debian kernel: rtl8139.c:v1.16a 11/13/2001 Donald Becker, becker@scyld.com.
Mar  4 11:18:42 debian kernel: http://www.scyld.com/network/rtl8139.html
Mar  4 11:18:43 debian cardmgr[359]: get dev info on socket 1 failed: Resource temporarily unavailable

I tried all possible solutions.. without positive results..
Any idea?
Thank you a lot!

Best Regards, Dante Plicato <dante.plicato@milug.org>