Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2021 19:21:36 +0200
From:      Ludovit Koren <ludovit.koren@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-current@freebsd.org,  freebsd-net@freebsd.org
Subject:   Re: LAN ure interface problem
Message-ID:  <86pmrv7j33.fsf@gmail.com>
In-Reply-To: <9b1b04d9-b715-7986-cb8f-59faef3210e9@selasky.org> (Hans Petter Selasky's message of "Fri, 22 Oct 2021 23:06:18 %2B0200")
References:  <86sfwt88il.fsf@gmail.com> <9b1b04d9-b715-7986-cb8f-59faef3210e9@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

>>>>> Hans Petter Selasky <hps@selasky.org> writes:

    > On 10/22/21 16:00, Ludovit Koren wrote:
    >> Hi,
    >> 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
    >> options=68009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    >> ether 00:e0:4c:68:04:20
    >> inet 192.168.1.18 netmask 0xffffff00 broadcast 192.168.1.255
    >> media: Ethernet autoselect (100baseTX <full-duplex>)
    >> status: active
    >> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    >> I do not know and did not find anything relevant, if the driver is
    >> buggy
    >> or the hardware has some problems. Please, advice.
    >> Regards,
    >> 

    > Not the same device, but similar issue:

    > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258057

I don't know if I understand it right.The issue is with dropping
power... Mine is holding power right:

usbconfig 
ugen1.1: <0x8086 XHCI root HUB> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Chicony Electronics Co.,Ltd. HP HD Camera> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.3: <CYCPLUS ANT USBStick2> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.4: <vendor 0x06cb product 0x00df> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.5: <vendor 0x8087 product 0x0026> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen1.2: <Realtek USB 10/100/1000 LAN> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA)

I am attaching the usbdump -d 1.2 when it stops working.

lk


--=-=-=--



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