OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Trying to light cxgb(4) 10Gbit Cards (Chelsio T520-CR)
« previous next »
  • Print
Pages: [1]

Author Topic: Trying to light cxgb(4) 10Gbit Cards (Chelsio T520-CR)  (Read 4570 times)

dotike

  • Newbie
  • *
  • Posts: 26
  • Karma: 7
    • View Profile
Trying to light cxgb(4) 10Gbit Cards (Chelsio T520-CR)
« on: February 20, 2015, 06:37:16 pm »
Hi All,

I'm failing to light up cxgb(4) Chelsio T520-CR 10Gbit fiber cards, (ixgb(4) based cards are working right now).

Running:
 15.1.5-4608ae4b6 (amd64)

pfSense dmesg: (working)
http://www.nycbug.org/index.cgi?action=dmesgd&do=view&id=2656
OPNsense dmesg: (not lighting up)
http://www.nycbug.org/index.cgi?action=dmesgd&do=view&id=2657

The drivers don't seem to be compiled into the OPNSense kernel.  Looking at pfSense sources, I'm flummoxed as to where they compile them in, (they must simply be in their internal build tools).

--
I also tried 'if_cxgb_load="YES"' in /boot/loader.conf.local - to no avail, the cards still won't light.
https://www.freebsd.org/cgi/man.cgi?query=cxgb&apropos=0&sektion=4&manpath=FreeBSD+10.0-RELEASE&arch=default&format=html

--
REQUEST FOR DIRECTION FOR WHERE TO FIX THIS (and send patches?):

Are yall' opposed to including the driver in-kernel?
- Downside: if you put one in, why not put *all* network drivers in kernel... (too fat?)
- Upside: OPNSense would support a popular card, right out the box, in-kernel

Or, should I just work on finding the casue of (and resolving) my loader.conf issue, (perhaps with the next 10.1 based build)?

Best,
.ike

Logged

weust

  • Hero Member
  • *****
  • Posts: 641
  • Karma: 57
    • View Profile
Re: Trying to light cxgb(4) 10Gbit Cards (Chelsio T520-CR)
« Reply #1 on: February 20, 2015, 11:36:51 pm »
Bit of a guess here, but pfSense 2.2 is based on FreeBSD 10.1 now, whereas OPNsense is based on a lower version.
You might want to give the test version a try. Link is on the blog and in a forum post here.
It runs on version 10.1.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10507
  • Karma: 833
    • View Profile
Re: Trying to light cxgb(4) 10Gbit Cards (Chelsio T520-CR)
« Reply #2 on: February 21, 2015, 07:08:33 am »
https://github.com/opnsense/tools/blob/master/config/current/SMP#L179

We compile cxgb into the kernel. Chelsio's Terminator 5 support is relatively new. It could very well not be part of 10.0. I know I had to backport cxgb(4) driver bits for a client once to 10.0.

Please try today's stable release 15.1.6--we're upgrading from FreeBSD 10.0 to 10.1. :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10507
  • Karma: 833
    • View Profile
Re: Trying to light cxgb(4) 10Gbit Cards (Chelsio T520-CR)
« Reply #3 on: February 22, 2015, 08:09:50 am »
Here is the link to the announcement... good luck. https://forum.opnsense.org/index.php?topic=77.0
Logged

dotike

  • Newbie
  • *
  • Posts: 26
  • Karma: 7
    • View Profile
Re: Trying to light cxgb(4) 10Gbit Cards (Chelsio T520-CR)
« Reply #4 on: March 14, 2015, 04:20:17 pm »
Hi All,

Took me some time, and I was hoping to close this thread, but using 15.1.7-78bdb9aef cxgb still does not appear to be there.  Here's my dmesg:

http://www.nycbug.org/index.cgi?action=dmesgd&do=view&id=2680

I'll get time with the gear after next week to spend more time finding out why, I'm sorry I had very limited time with this hardware yesterday.

Best,
.ike

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10507
  • Karma: 833
    • View Profile
Re: Trying to light cxgb(4) 10Gbit Cards (Chelsio T520-CR)
« Reply #5 on: March 17, 2015, 09:07:34 pm »
That's totally weird. Can you try this with FreeBSD 10.1 and if that does not work with 11-stable? I know that's asking a lot, but the driver is there and active. It may not recognise your card/PCI ID. :/
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Trying to light cxgb(4) 10Gbit Cards (Chelsio T520-CR)
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.18 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2