Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2023 10:23:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275260] "no media types" after re-enabling cxl
Message-ID:  <bug-275260-227@https.bugs.freebsd.org/bugzilla/>

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

            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=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3D6ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCS=
UM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,HWRXT=
STMP,MEXTPG>
        ether 00:07:43:xx:xx:xx
ifconfig: cxl1: no media types?
        nd6 options=3D29<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=3D8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3D6ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCS=
UM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,HWRXT=
STMP,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=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
```

--=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-275260-227>