Next-in-Thread Next Message

Sad Possibly, but... 

Forum: Xircom PCMCIA Ethernet Adapter Issues
Re: Question Kernel oops when ejecting CBEM56G (Eyvind Bernhardsen)
Re: None Ok, I think I found the problem (David Hinds)
Date: 2000, Feb 10
From: Eyvind Bernhardsen eyvind

Thanks for the quick response, but the new version doesn't even appear to recognize my card. I got the beta release, configured it with

 ./Configure -n --kernel=/usr/src/linux --srctree --cardbus

(stolen from the Debian source package's build target to try to get the same configuration), ran "make all", and installed all the files and modules. This is the kernel boot log with the card inserted:

Feb 10 09:15:47 helt kernel: Linux PCMCIA Card Services 3.1.11
Feb 10 09:15:47 helt kernel:   kernel build: 2.2.14ext3+supermount unknown
Feb 10 09:15:47 helt kernel:   options:  [pci] [cardbus] [apm]
Feb 10 09:15:47 helt kernel: PCI routing table version 1.0 at 0xfbd70
Feb 10 09:15:47 helt kernel:   00:03.0 -> irq 11
Feb 10 09:15:47 helt kernel:   00:03.1 -> irq 11
Feb 10 09:15:47 helt kernel: Intel PCIC probe:
Feb 10 09:15:47 helt kernel:   TI 1225 PCI-to-CardBus at slot 00:03, mem 0x68000000
Feb 10 09:15:47 helt kernel:     host opts [0]: [ring] [serial pci & irq] [pci irq 11] [lat 32/32] [bus 0/2]
Feb 10 09:15:47 helt kernel:     host opts [1]: [ring] [serial pci & irq] [pci irq 11] [lat 32/32] [bus 3/5]
Feb 10 09:15:47 helt kernel:     ISA irqs (scanned) = 3,4,7,9,10 PCI status changes
Feb 10 09:15:47 helt kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
Feb 10 09:15:47 helt kernel: cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x84f
Feb 10 09:15:47 helt kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x280-0x287 0x4d0-0x4d7
Feb 10 09:15:47 helt kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Feb 10 09:15:48 helt kernel: cs: cb_alloc(bus 0): vendor 0x8086, device 0x7190

When the card is ejected I get a cb_free(bus 0) in the log, and when it is reinserted I get another cb_alloc(bus 0).

For comparison, this is the kernel log when the card is recognized (with the 3.1.9 pcmcia-cs and modules):

Feb 10 07:42:10 helt kernel: Linux PCMCIA Card Services 3.1.9
Feb 10 07:42:10 helt kernel:   kernel build: 2.2.14ext3+supermount unknown
Feb 10 07:42:10 helt kernel:   options:  [pci] [cardbus] [apm]
Feb 10 07:42:10 helt kernel: PCI routing table version 1.0 at 0xfbd70
Feb 10 07:42:10 helt kernel:   00:03.0 -> irq 11
Feb 10 07:42:10 helt kernel:   00:03.1 -> irq 11
Feb 10 07:42:10 helt kernel: Intel PCIC probe:
Feb 10 07:42:10 helt kernel:   TI 1225 PCI-to-CardBus at slot 00:03, mem 0x68000000
Feb 10 07:42:10 helt kernel:     host opts [0]: [ring] [serial pci & irq] [pci irq 11] [lat 32/32] [bus 32/34]
Feb 10 07:42:10 helt kernel:     host opts [1]: [ring] [serial pci & irq] [pci irq 11] [lat 32/32] [bus 35/37]
Feb 10 07:42:10 helt kernel:     ISA irqs (scanned) = 3,4,7,9,10 PCI status changes
Feb 10 07:42:10 helt kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
Feb 10 07:42:10 helt kernel: cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x84f
Feb 10 07:42:10 helt kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x280-0x287 0x4d0-0x4d7
Feb 10 07:42:10 helt kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Feb 10 07:42:10 helt kernel: cs: cb_alloc(bus 32): vendor 0x115d, device 0x0003
Feb 10 07:42:10 helt kernel: ROM image dump:
Feb 10 07:42:10 helt kernel:   image 0: 0x000000-0x0001ff, signature PCIR
Feb 10 07:42:11 helt kernel: cs: cb_config(bus 32)
Feb 10 07:42:11 helt kernel:   fn 0 bar 2: mem 0x60013000-0x600137ff
Feb 10 07:42:11 helt kernel:   fn 0 bar 3: mem 0x60012000-0x600127ff
Feb 10 07:42:11 helt kernel:   fn 1 bar 1: io 0x480-0x487
Feb 10 07:42:11 helt kernel:   fn 1 bar 2: mem 0x60011000-0x600117ff
Feb 10 07:42:11 helt kernel:   fn 1 bar 3: mem 0x60010000-0x600107ff
Feb 10 07:42:11 helt kernel:   fn 0 bar 1: io 0x400-0x47f
Feb 10 07:42:11 helt kernel:   fn 0 rom: mem 0x6000c000-0x6000ffff
Feb 10 07:42:11 helt kernel:   fn 1 rom: mem 0x60008000-0x6000bfff
Feb 10 07:42:11 helt kernel: cs: cb_enable(bus 32)
Feb 10 07:42:11 helt kernel:   bridge io map 0 (flags 0x21): 0x400-0x487
Feb 10 07:42:11 helt kernel:   bridge mem map 0 (flags 0x1): 0x60008000-0x60013fff
Feb 10 07:42:11 helt kernel: tulip_reap()
Feb 10 07:42:11 helt kernel: tulip_attach(bus 32, function 0)
Feb 10 07:42:11 helt kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford)
Feb 10 07:42:11 helt kernel: eth0: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x400, 00:10:A4:E9:3C:E5, IRQ 11.
Feb 10 07:42:11 helt kernel: eth0:  MII transceiver #0 config 3100 status 7809 advertising 01e1.
Feb 10 07:42:11 helt kernel: serial_attach(bus 32, fn 1)
Feb 10 07:42:11 helt kernel: tty02 at 0x0480 (irq = 11) is a 16550A

Note the host opts "bus" parameter, and of course the cb_alloc. (Isn't 0x8086 Intel's vendor code?).

Additionally, the new modules really disliked being unloaded; I got something like two kernel aiees (no scrollback, so I could only see the last one) and a solid lock when I tried to stop cardmgr to downgrade to the old version.

Once I had restored the old userland utilities, I tried starting pcmcia with the new modules. The card still wasn't recognized, but I couldn't reproduce the crash.

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. Ok Yes! by Eyvind Bernhardsen, 2000, Feb 11

Add Message to: "Possibly, but..."

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10