Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2024 08:25:22 +0100
From:      Jakob Alvermark <jakob@alvermark.net>
To:        Mark Millard <marklmi@yahoo.com>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: main [so: 15] context, 7950X3D and RTL8251/8153 based Ethernet dongle: loss of state, example log information
Message-ID:  <b1ad674d-c32f-42d2-83ff-a5de339c3f4f@alvermark.net>
In-Reply-To: <41913B2D-381A-4EEC-9B37-531445645F71@yahoo.com>
References:  <41913B2D-381A-4EEC-9B37-531445645F71.ref@yahoo.com> <41913B2D-381A-4EEC-9B37-531445645F71@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/4/23 09:16, Mark Millard wrote:
> The following sort of thing is happening a lot:
>
> Ryzen 9 7950X3D using a USB Ethernet dongle that I've historically
> used on occasion, sometimes for long periods . . .
>
> Example contexts for the issue have been:
>
> FreeBSD 15.0-CURRENT #126 main-n266130-d521abdff236-dirty: Tue Oct 24 18:17:40 PDT 2023
> and:
> FreeBSD 15.0-CURRENT #131 main-n266749-ed31b3f4a146-dirty: Wed Nov 29 16:53:33 PST 2023
>
> Both UFS and ZFS boot media, here part of a ed31b3f4a146 UFS example is shown
>
> Nov 29 18:26:27 7950X3D-UFS kernel: miibus0: <MII bus> on ure0
> Nov 29 18:26:27 7950X3D-UFS kernel: rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus0
> Nov 29 18:26:27 7950X3D-UFS kernel: rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
> Nov 29 18:26:27 7950X3D-UFS kernel: ue0: <USB Ethernet> on ure0
> Nov 29 18:26:27 7950X3D-UFS kernel: ue0: Ethernet address: REDACTED
> Nov 29 18:26:27 7950X3D-UFS kernel: ue0: link state changed to DOWN
> . . .
> Nov 29 18:26:27 7950X3D-UFS kernel: ue0: link state changed to UP
> . . . (no ue0: messages, then) . . .
> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:19 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:19 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:19 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:19 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:19 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:19 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:19 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:19 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:20 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:20 7950X3D-UFS kernel: ue0: 2 link states coalesced
> Nov 30 03:23:20 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:20 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:20 7950X3D-UFS dhclient[53725]: New IP Address (ue0): 192.168.1.157
> Nov 30 03:23:20 7950X3D-UFS dhclient[53730]: New Subnet Mask (ue0): 255.255.255.0
> Nov 30 03:23:20 7950X3D-UFS dhclient[53734]: New Broadcast Address (ue0): 192.168.1.255
> Nov 30 03:23:20 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:20 7950X3D-UFS kernel: ue0: 3 link states coalesced
> Nov 30 03:23:20 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:20 7950X3D-UFS dhclient[53771]: New Routers (ue0): 192.168.1.1
> Nov 30 03:23:21 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:21 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:21 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:21 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:21 7950X3D-UFS kernel: ue0: link state changed to DOWN
> Nov 30 03:23:21 7950X3D-UFS kernel: ue0: 3 link states coalesced
> Nov 30 03:23:21 7950X3D-UFS kernel: ue0: link state changed to UP
> Nov 30 03:23:21 7950X3D-UFS kernel: ue0: 2 link states coalesced
> Nov 30 03:23:21 7950X3D-UFS kernel: ue0: link state changed to UP
> . . . (lots more) . . .
>
> Other FreeBSD system on the Ethernet are not getting such but none
> of them are currently using such a dongle.
>
> Note: The ASUS X670-P WiFi board's built in Ethernet is not
> supported.
>
> ===
> Mark Millard
> marklmi at yahoo.com
>
I see the same with my Lenovo dongle:

ugen1.12: <Lenovo Thinkpad USB LAN> at usbus1
ure0 on uhub6
ure0: <Lenovo Thinkpad USB LAN, class 0/0, rev 3.00/30.00, addr 11> on 
usbus1
miibus1: <MII bus> on ure0
rgephy1: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus1
rgephy1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
1000baseT-FDX, 1000baseT-FDX-master, auto
ue0: <USB Ethernet> on ure0

Jakob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1ad674d-c32f-42d2-83ff-a5de339c3f4f>