Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2021 15:33:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 256675] [usb] [if_ure] device gets stuck in link down after a few linkup/linkdown events
Message-ID:  <bug-256675-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256675

            Bug ID: 256675
           Summary: [usb] [if_ure] device gets stuck in link down after a
                    few linkup/linkdown events
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: knan-bfo@modirum.com

We've bought this device and have some issues with it:

https://www.dustinhome.no/product/5011204717/adapter-usb-30-4-x-gigabit-lan

It's a quad RTL8153 device with an internal usb hub.

ugen0.5: <vendor 0x04b4 product 0x6502> at usbus0, cfg=3D0 md=3DHOST spd=3D=
HIGH
(480Mbps) pwr=3DSAVE (0mA)
ugen0.6: <vendor 0x04b4 product 0x6500> at usbus0, cfg=3D0 md=3DHOST spd=3D=
SUPER
(5.0Gbps) pwr=3DSAVE (0mA)
ugen0.7: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=3D0 md=3DHOST spd=3DS=
UPER
(5.0Gbps) pwr=3DON (72mA)
ugen0.8: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=3D0 md=3DHOST spd=3DS=
UPER
(5.0Gbps) pwr=3DON (72mA)
ugen0.9: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=3D0 md=3DHOST spd=3DS=
UPER
(5.0Gbps) pwr=3DON (72mA)
ugen0.10: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=3D0 md=3DHOST spd=3D=
SUPER
(5.0Gbps) pwr=3DON (72mA)

It shows up as four ure devices.

After some time plugging/unplugging ethernet cables, one or more of the dev=
ices
gets stuck in "no carrier" and media: none. At that time, when running
"ifconfig", there is a delay in the output between "ether" and the next line
... a few hundred ms I would guess.

ue0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3D68009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTAT=
E,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:e0:4c:68:9b:67
        media: Ethernet autoselect (none <half-duplex>)
        status: no carrier
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


This happens much faster if you put the devices in a lagg, from the increas=
ed
polling frequency I would guess. Not sure you even need to plug/unplug, may
happen from the polling on its own.

Negotiation and link up/down still seems to happen, just not visible from t=
he
operating system anymore.

The device is still visible with usbconfig, and doesn't completely disappea=
r.
It just seems unresponsive.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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