[Bug 275260] "no media types" after re-enabling cxl
Date: Wed, 22 Nov 2023 10:23:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275260
Bug ID: 275260
Summary: "no media types" after re-enabling cxl
Product: Base System
Version: 14.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: zlei@FreeBSD.org
Spot this while working on https://reviews.freebsd.org/D42678 .
This is a two ports Chelsio T520-CR card, connected to switch via passive
twinax cable .
Steps to repeat:
```
# devctl detach cxl1
# devctl attach cxl1
# ifconfig cxl1
cxl1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=6ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,HWRXTSTMP,MEXTPG>
ether 00:07:43:xx:xx:xx
ifconfig: cxl1: no media types?
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
```
Expected media and status:
```
media: Ethernet 10Gbase-Twinax <full-duplex,rxpause,txpause>
status: no carrier
```
Also it can not be brought up to RUNNING state by assigning IP addresses.
```
# ifconfig cxl1 inet 192.168.100.1/24
# ifconfig cxl1
cxl1: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=6ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,HWRXTSTMP,MEXTPG>
ether 00:07:43:xx:xx:xx
inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255
ifconfig: cxl1: no media types?
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
```
--
You are receiving this mail because:
You are the assignee for the bug.