| Summary: | Chelsio T520-BT NIC not detected | ||
|---|---|---|---|
| Product: | Base System | Reporter: | peos42 <peo_s> |
| Component: | kern | Assignee: | freebsd-net (Nobody) <net> |
| Status: | Closed Not A Bug | ||
| Severity: | Affects Only Me | CC: | cem, np |
| Priority: | --- | ||
| Version: | 12.0-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
peos42
2019-03-29 17:47:35 UTC
Pci output
none53@pci0:4:0:0: class=0x020000 card=0x00001425 chip=0x50091425 rev=0x00 hdr=0x00
vendor = 'Chelsio Communications Inc'
device = 'T520-BT Unified Wire Ethernet Controller'
class = network
subclass = ethernet
none54@pci0:4:0:1: class=0x020000 card=0x00001425 chip=0x50091425 rev=0x00 hdr=0x00
vendor = 'Chelsio Communications Inc'
device = 'T520-BT Unified Wire Ethernet Controller'
class = network
subclass = ethernet
none55@pci0:4:0:2: class=0x020000 card=0x00001425 chip=0x50091425 rev=0x00 hdr=0x00
vendor = 'Chelsio Communications Inc'
device = 'T520-BT Unified Wire Ethernet Controller'
class = network
subclass = ethernet
none56@pci0:4:0:3: class=0x020000 card=0x00001425 chip=0x50091425 rev=0x00 hdr=0x00
vendor = 'Chelsio Communications Inc'
device = 'T520-BT Unified Wire Ethernet Controller'
class = network
subclass = ethernet
none57@pci0:4:0:4: class=0x020000 card=0x00001425 chip=0x54091425 rev=0x00 hdr=0x00
vendor = 'Chelsio Communications Inc'
device = 'T520-BT Unified Wire Ethernet Controller'
class = network
subclass = ethernet
none58@pci0:4:0:5: class=0x010000 card=0x00001425 chip=0x55091425 rev=0x00 hdr=0x00
vendor = 'Chelsio Communications Inc'
device = 'T520-BT Unified Wire Storage Controller'
class = mass storage
subclass = SCSI
none59@pci0:4:0:6: class=0x0c0400 card=0x00001425 chip=0x56091425 rev=0x00 hdr=0x00
vendor = 'Chelsio Communications Inc'
device = 'T520-BT Unified Wire Storage Controller'
class = serial bus
subclass = Fibre Channel
And a snippet from dmesg pci0: <dasp, performance counters> at device 11.1 (no driver attached) pci0: <dasp, performance counters> at device 11.2 (no driver attached) pci0: <dasp, performance counters> at device 16.1 (no driver attached) pci0: <dasp, performance counters> at device 16.6 (no driver attached) pci0: <dasp, performance counters> at device 18.1 (no driver attached) Is the driver loaded? Note that cxgbe is _not_ compiled into GENERIC so you'll have to load the module. Add if_cxgbe to kld_list in rc.conf if you'd like to load it when the system starts. Try it manually for now and provide the output of dmesg | egrep 't5nex|cxl' if it still doesn't work after the kldload. # kldload if_cxgbe I forced a kldload /boot/kernel/if_cxgbe.ko and it said it updaed the crd firmware from 1.15.37.0 to 1.19.1.0 and it started to work. But... After a reboot I have to manually load the kernel module. Why? (In reply to peos42 from comment #4) > After a reboot I have to manually load the kernel module. Why? You shouldn't have to. You can autoload it from loader.conf (not recommended unless you need the driver very early for netboot type stuff) or from rc.conf. Add this to /etc/rc.conf: kld_list="if_cxgbe" If you have a kld_list alredy, add if_cxgbe to the existing list. Or use ifconfig_cxl<n>=... commands in rc.conf as usual. ifconfig will autoload the driver for you. Something like https://reviews.freebsd.org/D19754 would load cxgbe.ko automatically on 12.x+ if the PCIID is detected (by devd). (In reply to Navdeep Parhar from comment #5) Oohhh. It seems to be my bad here as I did not know this was not loaded by default. It works now as it should. Also, the man page say the same. Thanks And sorry I was to quick without the proper research... |