Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2024 21:47:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 278990] Framework 13 USB Ethernet Card (RTL8156) only periodically detected on 15.0-CURRENT
Message-ID:  <bug-278990-19105@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 278990
           Summary: Framework 13 USB Ethernet Card (RTL8156) only
                    periodically detected on 15.0-CURRENT
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: kyle.a.taylor@gmail.com

Hey All -=20

Having issues with the last few builds of CURRENT on my Framework 13 laptop.
Most of the builds have been working quite well (including the latest iwlwi=
fi
driver). But I'm having this issue with the wired ethernet usb expansion ca=
rd
that Framework ships. It only periodically works. It doesn't look like the
if_cdce module has changed in about 9 months, so at-a-loss as to what's cau=
sing
ue0 to be unavailable. Anyone else experiencing this with this card?

# uname -a
FreeBSD *** 15.0-CURRENT FreeBSD 15.0-CURRENT #6 main-n270152-305db91d4b92:=
 Tue
May 14 10:11:13 MDT 2024=20=20=20=20
root@kyle-laptop-a:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64

# kldstat
Id Refs Address                Size Name
 1   90 0xffffffff80200000  1f5d300 kernel
 2    1 0xffffffff8215e000     77d8 cryptodev.ko
 3    1 0xffffffff82166000   5ea018 zfs.ko
 4    1 0xffffffff82751000     36c8 coretemp.ko
 5    1 0xffffffff82755000   37d378 vmm.ko
 6    1 0xffffffff82ad4000     7720 if_cdce.ko
 7    2 0xffffffff82adc000     5d68 uether.ko
 8    1 0xffffffff84102000    93260 if_iwlwifi.ko
 9    1 0xffffffff84196000   1e1228 i915kms.ko
10    2 0xffffffff84378000    85090 drm.ko
11    1 0xffffffff843fe000     22b8 iic.ko
12    2 0xffffffff84401000     4120 linuxkpi_video.ko
13    3 0xffffffff84406000     7358 dmabuf.ko
14    3 0xffffffff8440e000     3378 lindebugfs.ko
15    1 0xffffffff84412000     c338 ttm.ko
16    1 0xffffffff8441f000     3390 acpi_wmi.ko
17    1 0xffffffff84423000     4250 ichsmb.ko
18    1 0xffffffff84428000     2178 smbus.ko
19    1 0xffffffff8442b000     5f90 ig4.ko
20    1 0xffffffff84431000     2260 pflog.ko
21    1 0xffffffff84434000    52500 pf.ko
22    1 0xffffffff84487000     21dc nmdm.ko
23    1 0xffffffff8448a000     7798 if_bridge.ko
24    1 0xffffffff84492000     60e0 bridgestp.ko

# usbconfig (working boot -- 0.2 is the framework card)
ugen1.1: <Intel XHCI root HUB> at usbus1, cfg=3D0 md=3DHOST spd=3DSUPER (5.=
0Gbps)
pwr=3DSAVE (0mA)
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5.=
0Gbps)
pwr=3DSAVE (0mA)
ugen0.2: <SMI Corporation USB DISK> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER
(5.0Gbps) pwr=3DON (126mA)
ugen1.2: <Generic Laptop Camera> at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (4=
80Mbps)
pwr=3DON (300mA)
ugen1.3: <Goodix Technology Co., Ltd. Goodix USB2.0 MISC> at usbus1, cfg=3D0
md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA)
ugen1.4: <AX210 Bluetooth Intel Corp.> at usbus1, cfg=3D0 md=3DHOST spd=3DF=
ULL
(12Mbps) pwr=3DON (100mA)

# usbconfig  (not working boot -- 1.2 is the framework card)
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5.=
0Gbps)
pwr=3DSAVE (0mA)
ugen1.1: <Intel XHCI root HUB> at usbus1, cfg=3D0 md=3DHOST spd=3DSUPER (5.=
0Gbps)
pwr=3DSAVE (0mA)
ugen1.2: <SMI Corporation USB DISK> at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH=
 (480Mbps)
pwr=3DON (500mA)
ugen1.3: <Generic Laptop Camera> at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (4=
80Mbps)
pwr=3DON (300mA)
ugen1.4: <Goodix Technology Co., Ltd. Goodix USB2.0 MISC> at usbus1, cfg=3D0
md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA)
ugen1.5: <AX210 Bluetooth Intel Corp.> at usbus1, cfg=3D0 md=3DHOST spd=3DF=
ULL
(12Mbps) pwr=3DON (100mA)

# dmesg | grep cdce # (from working boot)
cdce0 on uhub1
cdce0: <Realtek USB 10/100/1G/2.5G LAN, class 0/0, rev 3.20/31.04, addr 1> =
on
usbus0
ue0: <USB Ethernet> on cdce0

# ifconfig (not working boot)
lo0: flags=3D1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1=
6384
        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D0
        ether f8:b5:4d:d6:f6:5f
        groups: wlan
        ssid "" channel 1 (2412 MHz 11b)
        regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss=
 7
        scanvalid 60 wme bintval 0
        parent interface: iwlwifi0
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pflog0: flags=3D1000141<UP,RUNNING,PROMISC,LOWER_UP> metric 0 mtu 33152
        options=3D0
        groups: pflog
tailscale0: flags=3D1008003<UP,BROADCAST,MULTICAST,LOWER_UP> metric 0 mtu 1=
280
        options=3D80000<LINKSTATE>
        groups: tun
        nd6 options=3D109<PERFORMNUD,IFDISABLED,NO_DAD>
        Opened by PID 39659
vm-public: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP>
metric 0 mtu 1500
        options=3D0
        ether f6:2e:0b:4c:78:87
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        groups: bridge vm-switch viid-4c918@
        nd6 options=3D9<PERFORMNUD,IFDISABLED>

# usbdump -d 0.2 dump_curr_config_desc dump_device_desc # (not working boot)
15:23:31.302158 usbus0.2 SUBM-BULK-EP=3D00000001,SPD=3DSUPER,NFR=3D1,SLEN=
=3D32,IVAL=3D0
15:23:31.302178 usbus0.2
DONE-BULK-EP=3D00000001,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0
15:23:31.302180 usbus0.2 SUBM-BULK-EP=3D00000082,SPD=3DSUPER,NFR=3D1,SLEN=
=3D0,IVAL=3D0
15:23:31.302298 usbus0.2
DONE-BULK-EP=3D00000082,SPD=3DSUPER,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0
15:23:34.304126 usbus0.2 SUBM-BULK-EP=3D00000001,SPD=3DSUPER,NFR=3D1,SLEN=
=3D32,IVAL=3D0
15:23:34.304161 usbus0.2
DONE-BULK-EP=3D00000001,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0
15:23:34.304163 usbus0.2 SUBM-BULK-EP=3D00000082,SPD=3DSUPER,NFR=3D1,SLEN=
=3D0,IVAL=3D0
15:23:34.304263 usbus0.2
DONE-BULK-EP=3D00000082,SPD=3DSUPER,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0
15:23:37.327146 usbus0.2 SUBM-BULK-EP=3D00000001,SPD=3DSUPER,NFR=3D1,SLEN=
=3D32,IVAL=3D0
15:23:37.327165 usbus0.2
DONE-BULK-EP=3D00000001,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0
15:23:37.327166 usbus0.2 SUBM-BULK-EP=3D00000082,SPD=3DSUPER,NFR=3D1,SLEN=
=3D0,IVAL=3D0
15:23:37.327286 usbus0.2
DONE-BULK-EP=3D00000082,SPD=3DSUPER,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0
15:23:40.328142 usbus0.2 SUBM-BULK-EP=3D00000001,SPD=3DSUPER,NFR=3D1,SLEN=
=3D32,IVAL=3D0
15:23:40.328158 usbus0.2
DONE-BULK-EP=3D00000001,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0
15:23:40.328160 usbus0.2 SUBM-BULK-EP=3D00000082,SPD=3DSUPER,NFR=3D1,SLEN=
=3D0,IVAL=3D0
15:23:40.328278 usbus0.2
DONE-BULK-EP=3D00000082,SPD=3DSUPER,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0

16 packets captured
16 packets received by filter
0 packets dropped by kernel

--=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-278990-19105>