Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2004 21:31:21 +0200
From:      Andreas Braukmann <braukmann@tse-online.de>
To:        Bill Paul <wpaul@FreeBSD.ORG>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Realtek RT8139 (onboard) - failed to receive packet in loopback mode
Message-ID:  <247940000.1087673481@cage.int.unixxinu.de>
In-Reply-To: <20040618173204.3DE7816A4D2@hub.freebsd.org>
References:  <20040618173204.3DE7816A4D2@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/18/04 17:32:04 +0000 Bill Paul wrote:
>> On 06/18/04 01:51:17 +0000 Bill Paul wrote:
>> > Please try the code located at:
>> >  
>> > http://www.freebsd.org/~wpaul/re 
[...]
> Heh. You were able to trivally patch if_re.c but not if_rlreg.h? :)

I refuse any further comments on this ;-)

> I uploaded a new copy and diff of if_rlreg.h to the same URL. Please
> try again.

thanks. The module compiles fine now and probes the nics successfully:

gate# kldload ./if_re.ko
re0: <RealTek 8139C+ 10/100BaseTX> port 0xdc00-0xdcff mem 0xe3400000-0xe34000ff irq 11 at device 9.0 on pci0
re0: Ethernet address: 00:90:fb:04:1b:31
re0: [GIANT-LOCKED]
[... re1, re2, re3, re4 ...]

The appendant PHY:

miibus0: <MII bus> on re0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

ifconfig still gives no info about the media types:

gate# ifconfig re0
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:90:fb:04:1b:31
        media: Ethernet autoselect (none)


The original driver v 1.24 with the (deactivated) old diagnostic
code works quite ok (despite of teh misleading / missing ifconfig
output for the media). The patched driver from your driver doesn't
work anymore; all attempts to send or receive packets fail. 

Currently I can't tell you anything about the concrete link state
of the interface. The box and the (unmanaged) switch are 36 km away
from here.

It's possible, that I get there tomorrow or on monday at the latest.

If you need any further information beforehand, just tell me  ...

-Andreas




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?247940000.1087673481>