Realtek RT8139 (onboard) - failed to receive packet in loopback
mode
Andreas Braukmann
braukmann at tse-online.de
Sat Jun 19 19:31:37 GMT 2004
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
More information about the freebsd-current
mailing list