[realtek] on-board rtl8139 fails.

Donald Becker becker@scyld.com
Sat Dec 7 07:27:02 2002


On 7 Dec 2002, Jarl Friis wrote:

> I bought a Medion MD5400 Notebook with an *onboard* rtl8139 ethernet
> chip. System is SuSE 8.1.

Key elements:
  notebook
  on-board
That might mean that it's a mini-PCI card with IRQ mapping that must be
set up by the OS.

First, what kernel version are you running?

> I downloaded netdrivers-3.3 and tried the rtl8139 with debug=2 In the
> hope for any help I here post some information to diagnosticise the
> problem.

> Dec  7 01:16:09 hermes kernel: eth0: Transmit timeout, status 0d 0004 media 10.
> Dec  7 01:16:09 hermes kernel: eth0: RTL8139 Interrupt line blocked, status 4.

OK, this is your problem.

What was the driver detection message?

> The 'lspci -vv' gives me the following information about the adapter:
> 00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
> 	Subsystem: FIRST INTERNATIONAL Computer Inc: Unknown device 2420
> 	Interrupt: pin A routed to IRQ 9

> The 'lspci -n -vv' gives me the following information about the adapter:
> 
> 00:08.0 Class 0200: 10ec:8139 (rev 10)
> 	Subsystem: 1509:2420
> 	Interrupt: pin A routed to IRQ 9

OK, IRQ 9

> I tried the rtl8139-diag, running 'rtl8139-diag -eee -m -a' gives me:

Thanks for providing the correct info.

> Realtek station address 00:40:ca:bb:ae:ac, chip type 'rtl8139C'.
>   Receiver configuration: Reception disabled
..
>   No interrupt sources are pending.

Try running this while the interface is "up" and check for interrupt
sources.  My guess is that you will see unhandled interrupts.

> Running 'rtl8139-diag -mm' gives me:
>  Basic mode status register 0x782d ... 782d.
>    Link status: established.
...
>  Link partner capability is 40a1: 100baseTx 10baseT.
>    Negotiation  completed.

Good.
(I should re-write this output to match mii-diag and make it clear when
everything is normal.)

-- 
Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Scyld Beowulf cluster system
Annapolis MD 21403			410-990-9993