[realtek] timeout problem with 8139too.c

xin chen mylanchen@yahoo.com
Tue Jan 29 05:40:01 2002


Hi,
I'm using a rtl8139c ethernet card in an embedded
system. Linux 2.4.3 runs on a MIPS CPU (does it
matter?) and controls the ethernet card through a
backplane of PCI bus. The card is test within a PC, it
can run smoothly. But on the embedded system, it can
be detected and initialized, the 8139too.c version
0.9.15c is loaded, but it will have errors of
transimit timeout. Following is debug messages when I
set the "RTL8139_DEBUG" in  8139too.c.

I know following messages looks terrible...But in
order to give enough information for you to give any
hints...Thanks in advance.


if ifconfig eth0....
...
EXIT after directly using 8139 internal regs
eth0: Setting 100mbps full-duplex based on
auto-negotiated partner ability e145.

ENTER
eth0:   rtl8139_set_rx_mode(1002) done -- Rx config
00000200.
EXIT
eth0: interrupt  status=0x0020 new intstat=0x0000.
eth0: Abnormal interrupt, status 00000020.
eth0: interrupt  status=0x0000 new intstat=0x0000.
eth0: exiting interrupt, intr_status=0x0000.
EXIT
eth0: rtl8139_open() ioaddr 0x13001000 IRQ 47 GP Pins
00 full-duplex.
EXIT, returning 0
ENTER
eth0:   rtl8139_set_rx_mode(1003) done -- Rx config
0000020e.
EXIT
ENTER
eth0:   rtl8139_set_rx_mode(1003) done -- Rx config
0000020e.
ENTER
EXIT, returning 2141400475
EXIT
ENTER
eth0:   rtl8139_set_rx_mode(1003) done -- Rx config
0000020e.
ENTER
EXIT, returning 2141400475
EXIT
ENTER
eth0:   rtl8139_set_rx_mode(1003) done -- Rx config
0000020e.
ENTER
EXIT, returning 2141400475
EXIT


later,timeout errors:

eth0: Queued Tx packet at 801e2922 size 42 to slot 0.
eth0: Queued Tx packet at 801e29a2 size 42 to slot 1.
ENTER
EXIT after directly using 8139 internal regs
ENTER
EXIT
eth0: Media selection tick, Link partner e145.
eth0:  Other registers are IntMask 4060 IntStatus 0080
RxStatus f0ff000d.
eth0:  Chip config 12 ad.
eth0: Queued Tx packet at 801e2a22 size 42 to slot 2.
eth0: Queued Tx packet at 801e2aa2 size 42 to slot 3.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0d 0080 media 00.
ENTER
ENTER
EXIT after directly using 8139 internal regs
eth0: Setting full-duplex based on auto-negotiated
partner ability 0000.
ENTER
eth0:   rtl8139_set_rx_mode(1003) done -- Rx config
00000200.
ENTER
EXIT, returning 2141400475
EXIT
EXIT
eth0: interrupt  status=0x00a0 new intstat=0x0080.
eth0: Abnormal interrupt, status 000000a0.
eth0: In rtl8139_rx(), current 0000 BufAddr 0000, free
to f0ff, Cmd 0d.
eth0: Done rtl8139_rx(), current 0000 BufAddr 0000,
free to f0ff, Cmd 0d.
eth0: interrupt  status=0x0080 new intstat=0x0080.
eth0: exiting interrupt, intr_status=0x0080.
eth0: interrupt  status=0x00a0 new intstat=0x0080.
eth0: Abnormal interrupt, status 000000a0.
eth0: In rtl8139_rx(), current 0000 BufAddr 0000, free
to f0ff, Cmd 0d.
eth0: Done rtl8139_rx(), current 0000 BufAddr 0000,
free to f0ff, Cmd 0d.
eth0: interrupt  status=0x0080 new intstat=0x0080.
eth0: exiting interrupt, intr_status=0x0080.
eth0: interrupt  status=0x00a0 new intstat=0x0080.
eth0: Abnormal interrupt, status 000000a0.
...
eth0: Transmit timeout, status 0d 0080 media 0c.
...

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com