[vortex] 3c905c problem with linux kernel 2.4.0-test12

Peter Tieleman tieleman@ucalgary.ca
Sun, 24 Dec 2000 00:40:27 -0700


Hi,

I am trying to run linux kernel 2.4. I've tried 2.4.0-test9 and
2.4.0-test12, but I can't get my network to work. I have a 3c905C card,
which works fine with various 2.2 kernels using the 3c90x driver. Below
I include the output of vortex-diag -a and the data from the log file.
There are error messages from the ethernet card, but I am not sure what
they mean. Initially I thought the problem might be an IRQ conflict (on
this list it was suggested to someone else that might be a problem) as
both a modem and the nic used irq 3, but removing the modem made no
difference. What do the errors/commands mean, and is there anything I
can do about this? I have tried quite a few changes to the kernel
configuration, but they make no difference for these messages. 

Thanks for any ideas. 

Peter


vortex-diag output:

vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xdc00.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 4, registers values by window:
  Window 0: 0000 0000 e4cf 0000 8d8d 008f 00aa 0000.
  Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
  Window 2: 0100 3003 ed3b 0000 0000 0000 0052 4000.
  Window 3: 0000 0080 05ea 0000 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0cc6 0000 88c0 0000 8000.
  Window 5: 1ffc 0000 0000 1ffc 0805 06ee 06ee a000.
  Window 6: 0000 0000 0000 0000 0000 0000 0000 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xdc00
  0xDC10: **FIFO** 00000000 00000000 *STATUS*
  0xDC20: 00000000 0e2e19e0 00080000 00000804
  0xDC30: 00000000 b36940cb 0e2e0960 00080804
 Indication enable is 06ee, interrupt enable is 06ee.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
 MAC settings: half-duplex.
 Station address set to 00:01:03:30:3b:ed.
 Configuration options 0052.

logfile stuff: 

Dec 23 23:53:52 localhost sysctl: net.ipv4.ip_forward = 0
Dec 23 23:53:52 localhost sysctl: net.ipv4.conf.all.rp_filter = 1
Dec 23 23:53:52 localhost sysctl: error: 'net.ipv4.ip_always_defrag' is
an unknown key
Dec 23 23:53:52 localhost sysctl: error: 'kernel.sysrq' is an unknown
key
Dec 23 23:53:52 localhost network: Setting network parameters: 
succeeded
Dec 23 23:53:52 localhost network: Bringing up interface lo:  succeeded
Dec 23 23:53:52 localhost kernel: eth0: using NWAY autonegotiation
Dec 23 23:53:52 localhost kernel: eth0: MII #1 status 0020, link partner
capability 0021, setting half-duplex.
Dec 23 23:53:52 localhost kernel: eth0: command 0x2800 did not complete!
Status=0x7000
Dec 23 23:53:52 localhost kernel: eth0: command 0x3002 did not complete!
Status=0xf000
Dec 23 23:53:52 localhost ifup: Determining IP information for eth0...
Dec 23 23:54:22 localhost kernel: 3c59x: Wake-on-LAN functions disabled
Dec 23 23:54:22 localhost kernel: eth0: using NWAY autonegotiation
Dec 23 23:54:22 localhost kernel: eth0: MII #1 status 0020, link partner
capability 0021, setting half-duplex.
Dec 23 23:54:22 localhost kernel: eth0: command 0x2800 did not complete!
Status=0x7000
Dec 23 23:54:22 localhost kernel: eth0: command 0x3002 did not complete!
Status=0xf000
Dec 23 23:54:52 localhost ifup: Operation failed.
Dec 23 23:54:52 localhost kernel: 3c59x: Wake-on-LAN functions disabled
Dec 23 23:54:52 localhost kernel: eth0: using NWAY autonegotiation
Dec 23 23:54:52 localhost kernel: eth0: MII #1 status 0020, link partner
capability 0021, setting half-duplex.
Dec 23 23:54:52 localhost kernel: eth0: command 0x2800 did not complete!
Status=0x7000

And from dmesg:
3c59x.c:LK1.1.9  2 Sep 2000  Donald Becker and others.
http://www.scyld.com/network/vortex.html $Revision: 1.102.2.38 $
See Documentation/networking/vortex.txt
eth0: 3Com PCI 3c905C Tornado at 0xdc00,  00:01:03:30:3b:ed, IRQ 3
  Internal config register is 1800000, transceivers 0xa.
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 1, status   24.
  MII transceiver found at address 2, status   24.
3c59x: Wake-on-LAN functions disabled
  Enabling bus-master transmits and whole-frame receives.
eth0:  Filling in the Rx ring.
eth0: using NWAY autonegotiation
eth0: Initial media type Autonegotiate.
eth0: MII #1 status 0024, link partner capability 0021, setting
half-duplex.
eth0: vortex_up() InternalConfig 01800000.
eth0: command 0x2800 did not complete! Status=0x7000
eth0: vortex_up() irq 3 media status 8080.
eth0: command 0x3002 did not complete! Status=0xf000
eth0: interrupt, status f201, latency 2 ticks.
eth0: exiting interrupt, status f000.
eth0: Media selection timer tick happened, Autonegotiate.
dev->watchdog_timeo=40
eth0: MII transceiver has status 0020.
eth0: Media selection timer finished, Autonegotiate.
eth0: interrupt, status e201, latency 2 ticks.
eth0: exiting interrupt, status e000.
eth0: interrupt, status e201, latency 2 ticks.
eth0: exiting interrupt, status e000.
eth0: interrupt, status e201, latency 1 ticks.
eth0: exiting interrupt, status e000.
eth0: interrupt, status e201, latency 1 ticks.
eth0: exiting interrupt, status e000.
eth0: interrupt, status e201, latency 1 ticks.
eth0: exiting interrupt, status e000.
3c59x: Wake-on-LAN functions disabled
eth0: vortex_close() status e000, Tx status 00.
eth0: vortex close stats: rx_nocopy 0 rx_copy 0 tx_queued 6 Rx
pre-checksummed 0.
eth0:  Filling in the Rx ring.
eth0: using NWAY autonegotiation
eth0: Initial media type Autonegotiate.
eth0: MII #1 status 0020, link partner capability 0021, setting
half-duplex.
eth0: vortex_up() InternalConfig 01800000.
eth0: command 0x2800 did not complete! Status=0x7000
eth0: vortex_up() irq 3 media status 8080.
eth0: command 0x3002 did not complete! Status=0xf000
eth0: interrupt, status f201, latency 2 ticks.
eth0: exiting interrupt, status f000.
eth0: Media selection timer tick happened, Autonegotiate.
dev->watchdog_timeo=40
eth0: MII transceiver has status 0020.
eth0: Media selection timer finished, Autonegotiate.
eth0: interrupt, status e201, latency 2 ticks.
eth0: exiting interrupt, status e000.
eth0: interrupt, status e201, latency 2 ticks.
eth0: exiting interrupt, status e000.
eth0: interrupt, status e201, latency 2 ticks.
eth0: exiting interrupt, status e000.
eth0: interrupt, status e201, latency 1 ticks.
eth0: exiting interrupt, status e000.
3c59x: Wake-on-LAN functions disabled
eth0: vortex_close() status e000, Tx status 00.
eth0: vortex close stats: rx_nocopy 0 rx_copy 0 tx_queued 12 Rx
pre-checksummed 0.
eth0:  Filling in the Rx ring.
eth0: using NWAY autonegotiation
eth0: Initial media type Autonegotiate.
eth0: MII #1 status 0020, link partner capability 0021, setting
half-duplex.
eth0: vortex_up() InternalConfig 01800000.
eth0: command 0x2800 did not complete! Status=0x7000
eth0: vortex_up() irq 3 media status 8080.
eth0: command 0x3002 did not complete! Status=0xf000
eth0: interrupt, status f201, latency 2 ticks.
eth0: exiting interrupt, status f000.
eth0: Media selection timer tick happened, Autonegotiate.
dev->watchdog_timeo=40
eth0: MII transceiver has status 0020.
eth0: Media selection timer finished, Autonegotiate.
eth0: interrupt, status e201, latency 2 ticks.