Andrew Morton wrote:
> "Anders K. Pedersen" wrote:
> > vortex-diag.c:v2.00 4/19/2000 Donald Becker ([EMAIL PROTECTED])
> > http://www.scyld.com/diag/index.html
> > Index #1: Found a 3Com 3c590 Vortex 10Mbps adapter at 0x6200.
> > The Vortex chip may be active, so FIFO registers will not be read.
> > To see all register values use the '-f' flag.
> > Initial window 7, registers values by window:
> > Window 0: 0000 0000 0000 0000 0000 00bf 0000 0000.
> > Window 1: FIFO FIFO 0000 2000 8000 00ff 0ffc 2000.
> > Window 2: a000 cb24 e4d2 0000 0000 0000 00de 4000.
> > Window 3: 0010 0102 0000 0000 e138 0fff 0fff 6000.
> > Window 4: 0000 00d1 0000 0c80 0000 88c0 0000 8000.
> > Window 5: 1ffc 1ffc 00de 1ffc 0007 02de 00de a000.
> ^^^^
> ^^^^^^
>
> Bummer.
>
> Are you running the card as a bus master? That is, are you inserting
> the module with:
>
> modprobe 3c59x options=0x10
>
> or do you have
>
> options 3c59x options=0x10
>
> in /etc/conf.modules?
>
> If not, then you may care to try this. It doesn't explain the problem,
> but it may get you out of trouble...
No, I wasn't using this option. I tried it, but as you can see in the
following log dump, the driver immediately generated a lot of "Too much
work in interrupt" messages. I tried with several different settings for
max_interrupt_work (first default 20, then 50, 100, and 200) - but the
"too much work" messages kept comming, so I disabled the options and
max_interrupt_work parameters (back to the original settings), and they
went away.
> You may care to try
> http://www.uow.edu.au/~andrewm/linux/3c59x.c-2.2.16-pre4.gz (uncompress
> it and drop it on top of drivers/net/3c59x.c). I don't expect it to
> make the underruns go away though.
The tests mentioned above was run with this driver - there doesn't seem
to be any problems with it on this card, when it is run without any
options (the last startup in the log dump), except that transmit errors
and timeouts still occur from time to time. I also tried the driver on a
machine with two 3c905 cards without succes - I will submit a bug report
to the netdev list in a moment.
> Has this card always generated these underruns? Or is it a result of
> installing a new kernel? Any root cause you can point at?
The 3c590 replaced an Intel EtherExpress 16 ISA card this monday, and
generated the underruns from the beginning (I had never used this card
before), so I can't say what the cause is.
May 24 14:45:23 socks kernel: epic100.c:v1.07h 8/18/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
May 24 14:45:23 socks kernel: eth0: SMSC EPIC/100 83c170 at 0x6100, IRQ 9,
00:e0:29:22:f2:b7.
May 24 14:45:23 socks kernel: eth0: MII transceiver #3 control 3000 status 7809.
May 24 14:45:23 socks kernel: eth0: Autonegotiation advertising 01e1 link partner
0001.
May 24 14:45:24 socks kernel: 3c59x.c:v0.99H 24May00 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
May 24 14:45:24 socks kernel: eth1: 3Com 3c590 Vortex 10Mbps at 0x6200,
00:a0:24:cb:d2:e4, IRQ 10
May 24 14:45:24 socks kernel: 8K byte-wide RAM 1:1 Rx:Tx split, autoselect/10baseT
interface.
May 24 15:10:07 socks kernel: eth1: Transmit error, Tx status register 90.
May 24 15:10:14 socks kernel: eth1: transmit timed out, tx_status 00 status e000.
May 24 15:46:04 socks kernel: eth1: Transmit error, Tx status register 90.
May 24 15:46:04 socks kernel: eth1: Transmit error, Tx status register 90.
May 24 16:01:42 socks kernel: epic100.c:v1.07h 8/18/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
May 24 16:01:42 socks kernel: eth0: SMSC EPIC/100 83c170 at 0x6100, IRQ 9,
00:e0:29:22:f2:b7.
May 24 16:01:42 socks kernel: eth0: MII transceiver #3 control 3000 status 7809.
May 24 16:01:42 socks kernel: eth0: Autonegotiation advertising 01e1 link partner
0001.
May 24 16:01:44 socks kernel: 3c59x.c:v0.99H 24May00 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
May 24 16:01:44 socks kernel: eth1: 3Com 3c590 Vortex 10Mbps at 0x6200,
00:a0:24:cb:d2:e4, IRQ 10
May 24 16:01:44 socks kernel: 8K byte-wide RAM 1:1 Rx:Tx split, autoselect/10baseT
interface.
May 24 16:01:44 socks kernel: Media override to transceiver type 0 (10baseT).
May 24 16:01:46 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:02:17 socks last message repeated 3088 times
May 24 16:02:20 socks last message repeated 354 times
May 24 16:02:20 socks kernel: eth1: Too much work in interrupt, status e111.
May 24 16:02:20 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:02:51 socks last message repeated 3044 times
May 24 16:03:16 socks last message repeated 2595 times
May 24 16:03:21 socks kernel: epic100.c:v1.07h 8/18/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
May 24 16:03:21 socks kernel: eth0: SMSC EPIC/100 83c170 at 0x6100, IRQ 9,
00:e0:29:22:f2:b7.
May 24 16:03:21 socks kernel: eth0: MII transceiver #3 control 3000 status 7809.
May 24 16:03:21 socks kernel: eth0: Autonegotiation advertising 01e1 link partner
0001.
May 24 16:03:23 socks kernel: 3c59x.c:v0.99H 24May00 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
May 24 16:03:23 socks kernel: eth1: 3Com 3c590 Vortex 10Mbps at 0x6200,
00:a0:24:cb:d2:e4, IRQ 10
May 24 16:03:23 socks kernel: 8K byte-wide RAM 1:1 Rx:Tx split, autoselect/10baseT
interface.
May 24 16:03:23 socks kernel: Media override to transceiver type 0 (10baseT).
May 24 16:03:24 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:03:55 socks last message repeated 3046 times
May 24 16:03:55 socks last message repeated 62 times
May 24 16:03:55 socks kernel: eth1: Too much work in interrupt, status e111.
May 24 16:03:55 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:04:26 socks last message repeated 3037 times
May 24 16:05:19 socks last message repeated 5379 times
May 24 16:05:24 socks kernel: epic100.c:v1.07h 8/18/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
May 24 16:05:24 socks kernel: eth0: SMSC EPIC/100 83c170 at 0x6100, IRQ 9,
00:e0:29:22:f2:b7.
May 24 16:05:24 socks kernel: eth0: MII transceiver #3 control 3000 status 7809.
May 24 16:05:24 socks kernel: eth0: Autonegotiation advertising 01e1 link partner
0001.
May 24 16:05:26 socks kernel: 3c59x.c:v0.99H 24May00 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
May 24 16:05:26 socks kernel: eth1: 3Com 3c590 Vortex 10Mbps at 0x6200,
00:a0:24:cb:d2:e4, IRQ 10
May 24 16:05:26 socks kernel: 8K byte-wide RAM 1:1 Rx:Tx split, autoselect/10baseT
interface.
May 24 16:05:26 socks kernel: Media override to transceiver type 0 (10baseT).
May 24 16:05:27 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:05:49 socks last message repeated 2168 times
May 24 16:05:49 socks kernel: eth1: transmit timed out, tx_status 00 status e000.
May 24 16:05:49 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:05:49 socks last message repeated 22 times
May 24 16:05:49 socks kernel: eth1: Too much work in interrupt, status e111.
May 24 16:05:49 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:06:11 socks last message repeated 2178 times
May 24 16:06:11 socks kernel: eth1: Too much work in interrupt, status e111.
May 24 16:06:11 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:06:34 socks last message repeated 2348 times
May 24 16:06:39 socks kernel: epic100.c:v1.07h 8/18/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
May 24 16:06:39 socks kernel: eth0: SMSC EPIC/100 83c170 at 0x6100, IRQ 9,
00:e0:29:22:f2:b7.
May 24 16:06:39 socks kernel: eth0: MII transceiver #3 control 3000 status 7809.
May 24 16:06:39 socks kernel: eth0: Autonegotiation advertising 01e1 link partner
0001.
May 24 16:06:41 socks kernel: 3c59x.c:v0.99H 24May00 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
May 24 16:06:41 socks kernel: eth1: 3Com 3c590 Vortex 10Mbps at 0x6200,
00:a0:24:cb:d2:e4, IRQ 10
May 24 16:06:41 socks kernel: 8K byte-wide RAM 1:1 Rx:Tx split, autoselect/10baseT
interface.
May 24 16:06:41 socks kernel: Media override to transceiver type 0 (10baseT).
May 24 16:06:42 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:06:44 socks last message repeated 154 times
May 24 16:06:44 socks kernel: eth1: Too much work in interrupt, status e111.
May 24 16:06:44 socks kernel: eth1: Too much work in interrupt, status e101.
May 24 16:07:15 socks last message repeated 3092 times
May 24 16:07:33 socks last message repeated 1848 times
May 24 16:07:38 socks kernel: epic100.c:v1.07h 8/18/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
May 24 16:07:38 socks kernel: eth0: SMSC EPIC/100 83c170 at 0x6100, IRQ 9,
00:e0:29:22:f2:b7.
May 24 16:07:38 socks kernel: eth0: MII transceiver #3 control 3000 status 7809.
May 24 16:07:38 socks kernel: eth0: Autonegotiation advertising 01e1 link partner
0001.
May 24 16:07:39 socks kernel: 3c59x.c:v0.99H 24May00 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
May 24 16:07:39 socks kernel: eth1: 3Com 3c590 Vortex 10Mbps at 0x6200,
00:a0:24:cb:d2:e4, IRQ 10
May 24 16:07:39 socks kernel: 8K byte-wide RAM 1:1 Rx:Tx split, autoselect/10baseT
interface.
May 24 16:09:03 socks kernel: eth1: Transmit error, Tx status register 90.
May 24 16:12:55 socks last message repeated 2 times
May 24 16:36:59 socks last message repeated 2 times
May 24 16:37:09 socks kernel: eth1: transmit timed out, tx_status 00 status e000.
Regards,
Anders K. Pedersen
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]