Contents:
A) My Problem
B) My System / Hardware
C) Symptoms
D) Program Outputs / Configuration Files
E) Syslog
F) What I tried
G) Kernel Configuration

----------------------

A) My Problem

I try to run an Edimax cardbus fast ethernet card with David Hinds pcmcia package.
It is not listed in /etc/pcmcia/config and 'cardctl ident' returns no usable values (see below).
What can I do to make it run?


----------------------

B) My System / Hardware

Debian 3.0 r1 stable ("Woody")
2.4.18-bf2.4 kernel
pcmcia-cs_3.2.2-1.1_i386.deb installed

Siemens Nixdorf Scenic Mobile 710 Laptop (P 166, 64 MB RAM)
with Cirrus CL-PD 6832 cardbus controller

Edimax EP-4103DL 32bit cardbus fast ethernet card
(which uses a Realtek 8139 chip)

----------------------

C) Symptoms

I had to remove all lines concerning memory ranges from /etc/pcmcia/config.opts except 'include memory 0xc0000-0xfffff'. Otherwise the system freezes when the card is inserted. (When I unplug the card then there are three beeps - middle, low, high.)

With the changes to config.opts I get a very short and low crack and the line 'cs: cb_alloc(bus 1):vendor 0x10ec, device 0x8139' when I insert the card.

When I remove the card I get one high beep and the line 'cs:cb_free(bus 1)'.

----------------------

D) Program Outputs / Configuration Files (with card inserted to Socket 0, in alphabetical order)

'cardctl config'
Socket 0:
   Vcc 3.3V   Vpp1 3.3V   Vpp2 3.3V
   interface type is "cardbus"
   function 0:


'cardctl ident' Socket 0: no product info available PCI id: 0x10ec, 0x8139


'cardctl info' PRODID_1="" PRODID_2="" PRODID_3="" PRODID_4="" MANFID=0000,0000 FUNCID=255 PRODID_1="" PRODID_2="" PRODID_3="" PRODID_4="" MANFID=0000,0000 FUNCID=255


'cardctl status' Socket 0: 3.3V CardBus card function 0: [ready]


'cat /proc/pci' (excerpt) Bus 0, device 20, function 0: CardBus bridge: Cirrus Logic PD 6832 (rev 193). IRQ 9. Master capable. Latency=64. Min Gnt=192. Max Lat=4. Non-prefetchable 32bit memory at 0xfedfb000 [0xfedfbffff]


'cat /proc/interrupts' 0: 373833 XT-PIC timer 1: 7001 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 3 XT-PIC rtc 9: 28 XT-PIC i82365 11: 0 XT-PIC usb-uhci 14: 101127 XT-PIC ide0 NMI: 0 LOC: 0 ERR: 0 MIS: 0


'dump_cis' Socket 0: no CIS present


'dump_cis -f' Socket 0 common_jedec 0x18 0x36, 0x36 0x36, 0x36 0x36, 0x36 0x36


'dump_cardbus' bash: dump_cardbus: command not found


'lsmod' ds i82365 pcmcia_core apm keybdev usbkbd input usb-uhci usbcore


'lspci -v' pcilib: Cannot open /proc/bus/pci/01/00.0 lspci: Unable to read 64 bytes of configuration space.

(without the card it reads:)
00:14.0 Card Bus bridge: Cirrus Logic PD 6832 (rev c1)
        Flags: bu master, medium devsel, latency 64, IRQ 9
        Memory at fedfb000 (32-bit, non-prefetchable) [size=4k]
        Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        16-bit legacy interface ports at 0001


/var/run/stab: Socket0: unsupported card


----------------------

E) Syslog

(excerpts:)

[...]
Aug 16 13:41:04 kida kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Aug 16 13:41:04 kida kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Aug 16 13:41:04 kida kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
[...]
Aug 16 13:41:04 kida kernel: Linux PCMCIA Card Services 3.1.33
Aug 16 13:41:04 kida kernel: kernel build: 2.4.18-bf2.4 unknown
Aug 16 13:41:04 kida kernel: options: [pci] [cardbus] [apm]
Aug 16 13:41:04 kida kernel: ds: no socket drivers loaded!
Aug 16 13:41:04 kida kernel: unloading PCMCIA Card Services
Aug 16 13:41:04 kida kernel: Linux PCMCIA Card Services 3.1.33
Aug 16 13:41:04 kida kernel: kernel build: 2.4.18-bf2.4 unknown
Aug 16 13:41:04 kida kernel: options: [pci] [cardbus] [apm]
Aug 16 13:41:04 kida kernel: Intel ISA/PCI/CardBus PCIC probe:
Aug 16 13:41:04 kida kernel: Cirrus PD6832 rev c1 PCI-to-CardBus at slot 00:14, mem 0xfedfb000
Aug 16 13:41:04 kida kernel: host opts [0]: [ring] [0/7/4] [3/17/4] [pci irq 9] [lat 64/176] [bus 1/4]
Aug 16 13:41:04 kida kernel: host opts [1]: [ring] [0/7/4] [3/17/4] [pci irq 9] [lat 64/176] [bus 5/8]
Aug 16 13:41:04 kida kernel: ISA irqs (scanned) = 3,4,5,7 PCI status changes
Aug 16 13:41:04 kida cardmgr[182]: starting, version is 3.1.33
Aug 16 13:41:05 kida cardmgr[182]: watching 2 sockets


----------------------

F) What I tried

1) The card ran perfectly under WinXP on the same machine. There it was not identified as an Edimax, but as a Realtek 8139 family card.
The card configuration in system control read (translated from German):


'Realtek RTL8139-Family-PCI-Fast Ethernet-NIC'
Type: Network adapter
Producer: Realtek
Location: PCI-Bus 1, Device 0, Function 0

Resources:
 I/O Range FF00-FFFF
 Memory Range FFEFFE00-FFEFFFFF
 IRQ 09

'Cirrus Logic PD6832 Cardbus-controller'
Type: PCMCIA adapter
Producer: Cirrus Logic
Location: PCI-Bus 0, Device 20, Function 0
Resources:
   Memory Range FEDFB000-FEDFBFFF
   Memory Range FFEFF000-FFEFFFFF
   Memory Range F9000000-FCFFFFFF
   I/O Range FF00-FFFF
   I/O Range FE00-FEFF
   IRQ 09
   Memory Range 000DB000-000DBFFF


2) Under SuSE 8.1 with PCMCIA_PCIC="external" the card was at least recognized by YaST2, but I couldn't get it run.


Section PCI:
RT8139
 Card Type: CardBus
 Bus: PCI
 [...]
 Resources:
    mem 0xc8000
    active: Yes
    start: 819200
 Rev: 16
 Driver:
    modules
     active: No
     modpobe: Yes
     modules modprobe 8139too

    modules
     active: No
     modprobe: No
     modules modprobe mii
             modprobe 8139too
 bus_id: 1
 hotplug: cardbus
 [...]


3) When I insert my ELSA Microlink 28.8 MC PCMCIA Modem card when running Debian I get:


2 high beeps.

cs: warning: no high memory space available!
cs: memory probe 0x0d0000-0x0dffff: excluding 0xdc000-0xdffff
cs: memory probe 0x0c0000-0x0cffff: excluding 0xc0000-0xcbfff
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x330-0x337 0x370-0x37f 0x388-0x38f 0x398-0x39f 0x3c0-0x3df 0x4d0-0x4d7
cs: IO port probe 0x0208-0x021f: clean.
cs: IO port probe 0x0238-0x032f: clean.
cs: IO port probe 0x0338-0x036f: clean.
cs: IO port probe 0x0390-0x0387: clean.
cs: IO port probe 0x03a0-0x0397: clean.
cs: IO port probe 0x03e0-0x03bf: clean.
cs: IO port probe 0x0308-0x04cf: clean.
cs: IO port probe 0x04d8-0x04ff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x1000-0x17ff: clean.
ttyS02 at port 0x03e8 (irq=3) is a 16550A


4) loading kernel module 'pcnet_cs' or 'cb_enabler'

5) /etc/default/pcmcia:
CORE_OPTS: adding 'cis_speed=500' or 'cis_speed=900'
adding 'cis_width=1'

adding 'wakeup=1'

----------------------

G) Kernel Configuration

/boot/config-2.4.18-bf2.4 (no changes made!)

(default values are:)
CONFIG_HOTPLUG=y
CONFIG_APM=m
CONFIG_PNP=m
CONFIG_8139CP=y
CONFIG_8139TOO=y
CONFIG_8139TOO_8129=y


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to