[vortex] Can't get 3Com900B running...

Henk Sanderson henksanderson@cs.com
Fri Jan 24 05:12:00 2003


I have a PC with winXP and try to install the CD-linux version Knoppix, 
but I cannot get the 3c900B to work correctly, although it runs well in XP.
It works in XP irrespective of ethernet cable connected to BNC or to 
transceiver, so the mediaselection seems to be automatic.

The card seems to be configured correctly in Knoppix:
ifconfig reports
eth0      Link encap:Ethernet  HWaddr 00:10:5A:F4:11:02
           inet addr:192.168.23.3  Bcast:192.168.23.255  Mask:255.255.255.0
           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:18 errors:0 dropped:0 overruns:0 carrier:18
           collisions:0 txqueuelen:100
           RX bytes:0 (0.0 b)  TX bytes:4464 (4.3 KiB)
           Interrupt:5 Base address:0xc000


I have run some commands to try to find the problem but I'm stuck.
Could you give me a hint?
thanks in advance,
Henk Sanderson

This is the outputs I collected:

cat /proc/interrupts
            CPU0
   0:      41316    IO-APIC-edge  timer
   1:        176    IO-APIC-edge  keyboard
   2:          0          XT-PIC  cascade
   5:         18   IO-APIC-level  eth0
   8:          1    IO-APIC-edge  rtc
  10:        318   IO-APIC-level  cmpci
  11:          0   IO-APIC-level  usb-uhci, usb-uhci
  12:      22430    IO-APIC-edge  PS/2 Mouse
  14:       1850    IO-APIC-edge  ide0
  15:      14252    IO-APIC-edge  ide1
NMI:          0
LOC:      41267
ERR:          0
MIS:          0



cat /proc/ioports
...
c000-c07f : 3Com Corporation 3c900B-Combo [Etherlink XL Combo]
   c000-c07f : 02:00.0
...

dmesg:
...

ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
  IO-APIC (apicid-pin) 2-0, 2-5, 2-10, 2-11, 2-20, 2-22 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 19.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.... register #01: 00178020
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0020
.... register #02: 00000000
.......     : arbitration: 00
.... IRQ redirection table:
  NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
  00 000 00  1    0    0   0   0    0    0    00
  01 001 01  0    0    0   0   0    1    1    39
  02 001 01  0    0    0   0   0    1    1    31
  03 001 01  0    0    0   0   0    1    1    41
  04 001 01  0    0    0   0   0    1    1    49
  05 000 00  1    0    0   0   0    0    0    00
  06 001 01  0    0    0   0   0    1    1    51
  07 001 01  0    0    0   0   0    1    1    59
  08 001 01  0    0    0   0   0    1    1    61
  09 001 01  0    0    0   0   0    1    1    69
  0a 000 00  1    0    0   0   0    0    0    00
  0b 000 00  1    0    0   0   0    0    0    00
  0c 001 01  0    0    0   0   0    1    1    71
  0d 001 01  0    0    0   0   0    1    1    79
  0e 001 01  0    0    0   0   0    1    1    81
  0f 001 01  0    0    0   0   0    1    1    89
  10 001 01  1    1    0   1   0    1    1    91
  11 001 01  1    1    0   1   0    1    1    91
  12 001 01  1    1    0   1   0    1    1    99
  13 001 01  1    1    0   1   0    1    1    91
  14 000 00  1    0    0   0   0    0    0    00
  15 001 01  1    1    0   1   0    1    1    A1
  16 000 00  1    0    0   0   0    0    0    00
  17 001 01  1    1    0   1   0    1    1    91
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:21
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:18
IRQ11 -> 0:16-> 0:17-> 0:19-> 0:23
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.

netcardconfig
ifconfig eth0 192.168.23.3 netmask 255.255.255.0 broadcast 192.168.23.255 up
route add default gw 192.168.23.1
Setting Nameserver in /etc/resolv.conf to 192.168.23.254
Done.


modprobe -c:
...
alias eth0 off
...

cat >config
alias eth0 3c59x

modprobe -v -C config eth0
Note: config is more recent than /lib/modules/2.4.20-xfs/modules.dep

ifup eth0
SIOCADDRT: File exists

cat /proc/pci:
...
   Bus  2, device   2, function  0:
     Ethernet controller: 3Com Corporation 3c900B-Combo [Etherlink XL 
Combo] (rev 4).
       IRQ 5.
       Master Capable.  Latency=32.  Min Gnt=10.Max Lat=48.
       I/O at 0xc000 [0xc07f].
       Non-prefetchable 32 bit memory at 0xef000000 [0xef00007f].