System freezes after cxgb driver is loaded

Help with setting up network cards, including WiFi cards.
Post Reply
melloa
Posts: 10
Joined: Tue Oct 30, 2018 2:19 pm

System freezes after cxgb driver is loaded

Post by melloa »

Folks,

First of all I'd like to congratulate the project. Clean install, nice desktop. I'm putting it for a spin and migrate for sure.

I did find two issues: mouse (on my KVM) is not working. Will get there later (I know this is the networking support :) )

After my fresh install, I've changed my /boot/loader.conf to load the cxgb driver (if_cxgb_load="YES") and added to /etc/rc.conf an entry for cxgb0 obtain IP from DHCP.

Box boots, loads the driver, finds an old firmware, and hangs.

Any ideas how to go troubleshooting this as I can't get to the box to look logs? ... unless I can get to the disk from the bootloader and remove the change to get the server back running to see if there were any entries in the logs that could point me to the issue.

The card is a Chelsio T320, by the way.

Thanks!
melloa
Posts: 10
Joined: Tue Oct 30, 2018 2:19 pm

Re: System freezes after cxgb driver is loaded

Post by melloa »

Closing the freezing issue as it's gone with the new T3610 I got for GhostBSD.

NIC is detected without any issues:
cxgb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=6c07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:07:43:06:b6:59
hwaddr 00:07:43:06:b6:59
inet 10.10.10.240 netmask 0xffffff00 broadcast 10.10.10.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet 10Gbase-SR <full-duplex>
status: active
For old Chelsio (up to T3), just added on /boot/loader.conf:

Code: Select all

if_cxgb_load="YES"
See: https://www.freebsd.org/cgi/man.cgi?que ... &sektion=4

For newer ones (T4, T5, T6, etc), add to /boot/loader.conf:

Code: Select all

 t4fw_cfg_load="YES"
 t5fw_cfg_load="YES"
 t6fw_cfg_load="YES"
 if_cxgbe_load="YES"
See: https://www.freebsd.org/cgi/man.cgi?que ... ormat=html

and change /etc/rc.conf to assign the IP to the new interface, as the installation won't detect.

In my case, I've disabled the 1Gb interface and enabled DHCP for the 10Gb one:

Code: Select all

#ifconfig_em0="DHCP"
ifconfig_cxgb0="DHCP"
Hope that will help future novices like me in the future.
Post Reply