Next-in-Thread Next Message

Sad Problem with T8000 and CBE 10/100 

Forum: Xircom PCMCIA Ethernet Adapter Issues
Date: 1999, Dec 03
From: Frederic FENOGLIETTO Pegase

I write the 29 August 1999 in your last message forum

I've got some problems with my Xircom ethernet card and my Toshiba.

I use kernel 2.2.10 of Linux and Pcmcia package 3.0.14.

I make all the modifications I read before, as change the Pcmcia bios version to cardbus and force the Xircom to take the IRQ 10 with the irq_list parameter.

The Pcmcia package 3.0.14 have the right version of tulip_cb.o so I don't change it. The only modification I do for the package is in the config file, where I change the Xircom "CBEII-1O/100" value with the ""CBE-10/100", "*"".

My card is recognize by the cardmgr, but the tulip driver doesn't find it is a Xircom one. Look at this...

Aug 29 16:36:47 localhost kernel: Linux PCMCIA Card Services 3.0.14 
Aug 29 16:36:47 localhost kernel:   kernel build: 2.2.10 #1 jeu aoû 26 10:39:13 CEST 1999 
Aug 29 16:36:47 localhost kernel:   options:  [pci] [cardbus] [apm] 
Aug 29 16:36:47 localhost kernel: Intel PCIC probe:  
Aug 29 16:36:47 localhost kernel:   Toshiba ToPIC95-B PCI-to-CardBus at bus 0 slot 11, mem 0x68000000, 2 sockets 
Aug 29 16:36:47 localhost kernel:     host opts [0]: [slot 0xf0] [ccr 0x10] [cdr 0x86] [rcr 0x02] [no pci irq] [lat 168/176] [bus 20/20] 
Aug 29 16:36:47 localhost kernel:     host opts [1]: [slot 0xf0] [ccr 0x20] [cdr 0x86] [rcr 0x02] [no pci irq] [lat 168/176] [bus 21/21] 
Aug 29 16:36:47 localhost kernel:     ISA irqs (default) = 3,10 polling interval = 1000 ms 
Aug 29 16:36:47 localhost kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Aug 29 16:36:47 localhost kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x4d0-0x4d7 
Aug 29 16:36:47 localhost kernel: cs: IO port probe 0x0a00-0x0aff: clean. 
Aug 29 16:36:47 localhost cardmgr[622]: starting, version is 3.0.14
Aug 29 16:36:47 localhost cardmgr[622]: watching 2 sockets
Aug 29 16:36:47 localhost cardmgr[622]: initializing socket 0
Aug 29 16:36:47 localhost kernel: cs: memory probe 0x0d0000-0x0dffff: clean. 
Aug 29 16:36:47 localhost cardmgr[622]: socket 0: Serial or Modem
Aug 29 16:36:47 localhost cardmgr[622]: executing: 'insmod /lib/modules/2.2.10/pcmcia/serial_cs.o'
Aug 29 16:36:47 localhost kernel: tty01 at 0x02f8 (irq = 3) is a 16550A 
Aug 29 16:36:47 localhost cardmgr[622]: executing: './serial start ttyS1'
Aug 29 16:36:47 localhost cardmgr[622]: initializing socket 1
Aug 29 16:36:47 localhost cardmgr[622]: socket 1: Xircom CardBus 10/100 Ethernet
Aug 29 16:36:48 localhost cardmgr[622]: executing: 'insmod /lib/modules/2.2.10/pcmcia/cb_enabler.o'
Aug 29 16:36:48 localhost cardmgr[622]: executing: 'insmod /lib/modules/2.2.10/pcmcia/tulip_cb.o'
Aug 29 16:36:48 localhost kernel: cs: cb_config(bus 21): vendor 0x1011, device 0x0019 
Aug 29 16:36:48 localhost kernel:   fn 0 bar 1: io 0x400-0x47f 
Aug 29 16:36:48 localhost kernel:   fn 0 bar 2: mem 0x60081000-0x6008107f 
Aug 29 16:36:48 localhost kernel:   fn 0 rom: mem 0x60041000-0x60080fff 
Aug 29 16:36:48 localhost kernel: tulip_attach(bus 21, function 0) 
Aug 29 16:36:48 localhost kernel: tulip.c:v0.91 4/14/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford) 
Aug 29 16:36:48 localhost kernel: eth0: Digital DS21143 Tulip rev 48 at 0x400, EEPROM not present, 00:4C:69:6E:75:79, IRQ 10. 
Aug 29 16:36:48 localhost cardmgr[622]: executing: './network start eth0'

The kernel say it's a digital one. I saw in the mini how-to version 3 that the kernel must say it's a Xircom ethernet card. And, the MAC address is false...

Here a part of the mini how-to

Jul 15 14:23:39 ocs3 kernel: tulip_attach(bus 1, function 0) 
  Jul 15 14:23:39 ocs3 kernel: tulip.c:v0.91 4/14/99 becker@cesdis.gsfc.nasa.gov 
  Jul 15 14:23:39 ocs3 kernel: eth0: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0xa00, auto scanning for Xircom cis_hwaddr, found at 0x170. 00:10:A4:F3:A3:79, IRQ 3. 
  Jul 15 14:23:39 ocs3 kernel: tulip.c: Check ethernet address, might have wrong value! 
  Jul 15 14:23:39 ocs3 kernel: tulip.c: Should start with 00:10:A4 for RBEM56, use cis_hwaddr if necessary. 
  Jul 15 14:23:39 ocs3 kernel: eth0:  MII transceiver #0 config 3100 status 7809 advertising 01e1. 
  Jul 15 14:23:39 ocs3 kernel: XIRCOM init 

In consequencies, the card doesn't work in my network.

Here a part of my dump_cis

Socket 1:
  offset 0x82, tuple 0x13, link 0x03
    ff ff ff 
  link_target

  offset 0x87, tuple 0x15, link 0x32
    05 00 58 69 72 63 6f 6d 00 43 61 72 64 42 75 73 
    20 45 74 68 65 72 6e 65 74 20 31 30 2f 31 30 30 
    00 43 42 45 2d 31 30 2f 31 30 30 00 31 2e 30 31 
    00 ff 
  vers_1 5.0, "Xircom", "CardBus Ethernet 10/100", "CBE-10/100", "1.01"

  offset 0xbb, tuple 0x88, link 0x04
    ff ff ff ff 

  offset 0xc1, tuple 0x20, link 0x05
    05 01 02 01 81 
  manfid 0x0105, 0x0102

  offset 0xc8, tuple 0x44, link 0x04
    ff ff ff ff 

  offset 0xce, tuple 0x21, link 0x02
    06 00 
  funcid network_adapter

  offset 0xd2, tuple 0x22, link 0x08
    ff ff ff ff ff ff ff ff 

  offset 0xdc, tuple 0x22, link 0x02
    ff ff 

  offset 0xe0, tuple 0x22, link 0x05
    ff ff ff ff ff 

  offset 0xe7, tuple 0x22, link 0x05
    ff ff ff ff ff 

  offset 0xee, tuple 0x22, link 0x02
    ff ff 

  offset 0xf2, tuple 0x22, link 0x02
    ff ff 

  offset 0xf6, tuple 0x22, link 0x02
    ff ff 

  offset 0xfa, tuple 0x1c, link 0x04
    ff ff ff ff 

  offset 0x100, tuple 0x07, link 0x06
    ff ff ff ff ff ff 
  BAR 7 size 4095mb [io] [prefetch] [cacheable] [<1mb]

  offset 0x108, tuple 0x07, link 0x06
    ff ff ff ff ff ff 
  BAR 7 size 4095mb [io] [prefetch] [cacheable] [<1mb]

  offset 0x110, tuple 0x07, link 0x06
    ff ff ff ff ff ff 
  BAR 7 size 4095mb [io] [prefetch] [cacheable] [<1mb]

  offset 0x118, tuple 0x04, link 0x07
    ff ff ff ff ff ff ff 
  parse error: Paramètre invalide

  offset 0x121, tuple 0x05, link 0x08
    ff ff ff ff ff ff ff ff 
  parse error: Paramètre invalide

  offset 0x12b, tuple 0x05, link 0x08
    ff ff ff ff ff ff ff ff 
  parse error: Paramètre invalide

No lan_id parameter...

I try a lot of things like uses the old driver, pcmcia 3.0.13 and the patch for the Xircom etc... The result is the same...

If anyone could help me...

Now, I am T8000 bios version 8.2 (prior 8.00), linux kernel 2.2.13 pre 15 and PCMCIA Package 3.1.5.

Now, it's OK with dump_cis

Socket 1:
  vers_1 5.0, "Xircom", "CardBus Ethernet 10/100", "CBE-10/100", "1.01"
  manfid 0x0105, 0x0102
  funcid network_adapter
  lan_node_id 00 80 c7 64 83 a2
  lan_technology ethernet
  lan_speed 10 mb/sec
  lan_speed 100 mb/sec
  lan_media unshielded_twisted_pair
  lan_media thin_coax
  lan_connector Closed connector standard
  BAR 1 size 63kb [io]
  BAR 2 size 128b [mem] [prefetch]
  BAR 7 size 1kb [mem] [prefetch]
  config_cb base 0x0042 last_index 0x02
  cftable_entry_cb 0x01 [default]
    [master] [invalidate] [parity] [wait] [serr] [fast back]
    irq mask 0x8ebc [level] [shared]
    mem_base 2
  cftable_entry_cb 0x02
    [master] [invalidate] [parity] [wait] [serr] [fast back]
    io_base 1
    irq mask 0x8ebc [level] [shared]

Whaooo, i've hot a lan_id.

But, I always have problem with the tulip_cb driver...

Dec  3 22:40:27 localhost kernel: Linux PCMCIA Card Services 3.1.5 
Dec  3 22:40:27 localhost kernel:   kernel build: 2.2.13pre15 #2 sam nov 6 23:24:11 CET 1999 
Dec  3 22:40:27 localhost kernel:   options:  [pci] [cardbus] [apm] 
Dec  3 22:40:27 localhost kernel: Intel PCIC probe:  
Dec  3 22:40:27 localhost kernel:   Toshiba ToPIC97 PCI-to-CardBus at bus 0 slot 11, mem 0x68000000, 2 sockets 
Dec  3 22:40:27 localhost kernel:     host opts [0]: [slot 0xf0] [ccr 0x10] [cdr 0x86] [rcr 0x02] [no pci irq] [lat 168/176] [bus 20/20] 
Dec  3 22:40:27 localhost kernel:     host opts [1]: [slot 0xf0] [ccr 0x20] [cdr 0x86] [rcr 0x02] [no pci irq] [lat 168/176] [bus 21/21] 
Dec  3 22:40:27 localhost kernel:     ISA irqs (default) = 3,10 polling interval = 1000 ms 
Dec  3 22:40:27 localhost cardmgr[623]: starting, version is 3.1.5
Dec  3 22:40:27 localhost cardmgr[623]: watching 2 sockets
Dec  3 22:40:27 localhost kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Dec  3 22:40:27 localhost kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x378-0x37f 0x4d0-0x4d7 
Dec  3 22:40:27 localhost kernel: cs: IO port probe 0x0a00-0x0aff: clean. 
Dec  3 22:40:28 localhost kernel: cs: cb_alloc(bus 21): vendor 0x1011, device 0x0019 
Dec  3 22:40:28 localhost kernel: cs: memory probe 0x0d0000-0x0dffff: clean. 
Dec  3 22:40:28 localhost cardmgr[623]: initializing socket 0
Dec  3 22:40:28 localhost cardmgr[623]: socket 0: Serial or Modem
Dec  3 22:40:28 localhost cardmgr[623]: executing: 'insmod /lib/modules/2.2.13pre15/pcmcia/serial_cs.o'
Dec  3 22:40:28 localhost kernel: tty01 at 0x13f8 (irq = 3) is a 16550A 
Dec  3 22:40:28 localhost cardmgr[623]: executing: './serial start ttyS1'
Dec  3 22:40:28 localhost cardmgr[623]: initializing socket 1
Dec  3 22:40:28 localhost cardmgr[623]: socket 1: Xircom CardBus 10/100 Ethernet
Dec  3 22:40:28 localhost cardmgr[623]: executing: 'insmod /lib/modules/2.2.13pre15/pcmcia/cb_enabler.o'
Dec  3 22:40:28 localhost cardmgr[623]: executing: 'insmod /lib/modules/2.2.13pre15/pcmcia/tulip_cb.o'
Dec  3 22:40:29 localhost kernel: cs: cb_config(bus 21) 
Dec  3 22:40:29 localhost kernel:   fn 0 bar 1: io 0x280-0x2ff 
Dec  3 22:40:29 localhost kernel:   fn 0 bar 2: mem 0x600c0000-0x600c007f 
Dec  3 22:40:29 localhost kernel:   fn 0 rom: mem 0x60080000-0x600bffff 
Dec  3 22:40:29 localhost kernel: tulip_attach(bus 21, function 0) 
Dec  3 22:40:29 localhost kernel: tulip.c:v0.91 4/14/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford) 
Dec  3 22:40:29 localhost kernel: eth0: Digital DS21143 Tulip rev 48 at 0x280, EEPROM not present, 00:4C:69:6E:75:79, IRQ 10. 
Dec  3 22:40:29 localhost cardmgr[623]: executing: './network start eth0'

As we can see, it's not the good MAC adress !!!

I try the IRQ 9 and 10 with the same result. And, my Xircom card is not recognize as a Xircom one.

I'm not very good in C, but, in the tulip_cb driver, I read that the driver use the lan_id value for initialize the MAC Adress, but as my card is not see as a Xircom one.

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None Try newer drivers by David Hinds, 1999, Dec 03
2. More I've already do that by Frederic FENOGLIETTO, 1999, Dec 05
3. Note Sorry, you are out of luck by David Hinds, 1999, Dec 05

Add Message to: "Problem with T8000 and CBE 10/100"

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