Re: LAN ure interface problem

From: John-Mark Gurney <>
Date: Fri, 29 Oct 2021 19:24:01 UTC
Ludovit Koren wrote this message on Fri, Oct 22, 2021 at 16:00 +0200:
> I have installed FreeBSD 14.0-CURRENT #1 main-n250134-225639e7db6-dirty
> on my notebook HP EliteBook 830 G7 and I am using RealTek usb LAN
> interface:
> ure0 on uhub0
> ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 3.00/30.00, addr 1> on usbus1
> miibus0: <MII bus> on ure0
> rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus0
> rgephy0: OUI 0x00e04c, model 0x0000, rev. 0
> rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
> ue0: <USB Ethernet> on ure0
> ue0: bpf attached
> ue0: Ethernet address: 00:e0:4c:68:04:20
> When there is bigger load on the interface, for example rsync of the big
> directory, the carrier is lost. The only solution I found is to remove
> and insert the usb interface; ifconfig ue0 down, ifconfig ue0 up did not
> help. The output of the ifconfig:
> ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         ether 00:e0:4c:68:04:20
>         inet netmask 0xffffff00 broadcast
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> I do not know and did not find anything relevant, if the driver is buggy
> or the hardware has some problems. Please, advice.

I have seen similar behavior, and unable to get an vendor support, so
have stopped working on the driver.  I have not found a reliable way to
reset the hardware to a working state, even via power_off/power_on

Sorry that I don't have a solution for you.  The closest that I could
suggest is to try to drop the USB id from the ure driver or switch it's
mode to try the ucdce driver instead.  I've seen that it's been more
reliable, but it could be because it also runs MUCH slower, and doesn't
hit the same bug.

  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."