The pfSense Store

Author Topic: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1  (Read 533 times)

0 Members and 1 Guest are viewing this topic.

Offline mortencombat

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« on: November 05, 2017, 06:36:12 am »
Hi!

I have a Supermicro 5019A-FTN4 server, which has a A2SDi-8C-HLN4F mainboard with a C3758 SoC. It has 4 GbE ports which are powered by Intel X553 NICs.

I was originally planning to run it as a VM in Proxmox VE but I'm having some issues with throughput in that setup, so I'm trying to narrow down the cause of that issue, which has brought me to attempting to install pfSense bare metal. However, when installing pfSense (I've tried both 2.4 and 2.4.1) on the server, no interfaces are detected.

From everything I can see, the new FreeBSD 11.0 base in pfSense 2.4+ should support the X553 NICs out of the box. Is that not correct?

I've been attempting to load the drivers into pfSense manually, but I'm not very proficient in FreeBSD so while I could probably succeed at some point, it would take a long time, and given that FreeBSD 11.0 should support the X553 anyways, I'm not even sure that this would fix the issue.

Does anyone have any tips or suggestions?

Offline gdelong

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #1 on: November 06, 2017, 09:36:16 am »
Having same issue so I am following

Offline EditioN

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #2 on: November 06, 2017, 10:52:47 am »
Same issue same board.
I thought the driver was added to FreeBSD in March.
Tried to install FreeBSD separately to double check but not included as well.

Seems to work in debian/ubuntu with the latest drivers from intel https://www.servethehome.com/day-0-with-intel-atom-c3000-getting-nics-working/

Intel's latest driver includes X553 in their list of compatible devices.
https://downloadmirror.intel.com/14688/eng/readme.txt

Probably relevant as well:
https://lists.freebsd.org/pipermail/freebsd-stable/2017-July/087388.html

-----

Another thread on the same topic:
https://forum.pfsense.org/index.php?topic=137182.0
« Last Edit: November 06, 2017, 11:28:06 am by EditioN »

Offline gdelong

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #3 on: November 06, 2017, 11:30:57 am »
I also found this


[]gonzopanchoNetgate 3 points 2 months ago
They don't work yet, but I canceled a family vacation (they went without me) to work on C3000.
permalinkembedreport
[]4GettableOne 3 points 2 months ago
That's hardcore thnx! Someone get this guy some gold and a beer.
permalinkparentreport
[]pixel_of_moral_decay 1 point 2 months ago
I think /u/gonzopancho is shitting out gold at this point ;)
permalinkparentreport
[]SuddenWeatherReportCCNP R&S 3 points 2 months ago
Dude you should have just went
permalinkparentreport
[]ericmotordu 1 point 1 month ago
/u/gonzopancho, can you indicate which part does not work? Thank you, Eric

BlueKobold

  • Guest
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #4 on: November 07, 2017, 02:44:40 am »
Quote
I have a Supermicro 5019A-FTN4 server, which has a A2SDi-8C-HLN4F mainboard with a C3758 SoC. It has 4 GbE ports which are powered by Intel X553 NICs.
Both the X553 (1 GBit/s) and X557 (10 GbE) ports are still not working yet due to the lag of support for the entire
C3000 SoC, this ports are integrated in the SoC. If you draw in an Intel i340-T4, or i350-T4 or Intel Pro 1000 PT
adapter it should run out of the box because these adapters are fully supported.

Quote
I was originally planning to run it as a VM in Proxmox VE but I'm having some issues with throughput in that setup, so I'm trying to narrow down the cause of that issue, which has brought me to attempting to install pfSense bare metal. However, when installing pfSense (I've tried both 2.4 and 2.4.1) on the server, no interfaces are detected.
Link 1 OpenSSL benchmark
Link 2 Intel Atom C3958 16-Core Top End Embedded QAT Linux Benchmarks and Review

Quote
From everything I can see, the new FreeBSD 11.0 base in pfSense 2.4+ should support the X553 NICs out of the box. Is that not correct?
Now we are on FreeBSD 11.1 and there were much things that was fast changing between the version 2.4.0 and
version 2.4.1 and there fore I personally think this will be not all worked out, and there will be perhaps the primary view
on at this time as I see it right, and it rumors too that Netgate the company behind pfSense will be launch their own
C3000 based hardware and due to that date they perhaps are actually working on it and they are not fully finished up
all things according to that platform.

Quote
I've been attempting to load the drivers into pfSense manually, but I'm not very proficient in FreeBSD so while I could probably succeed at some point, it would take a long time, and given that FreeBSD 11.0 should support the X553 anyways, I'm not even sure that this would fix the issue.
Fairly said if this will be only an Intel NIC chip that is soldered alone on the board I would say try it out, but while this
NICs or LAN ports are integrated into that C3000 SoC I will say try it out but on your own risk.

Quote
Does anyone have any tips or suggestions?
if you are willing to try it out really, install a fresh and fulla FreeBSD 11.1 OS on that system and see what
is going on then! And then you might be able to get the driver out from there and put it on the pfSense 2.4.1
system you must install again on that platform (hardware) then you can see what happens really, all other things
are pure guess work until one of us were just doing and report it!
« Last Edit: November 07, 2017, 12:42:06 pm by BlueKobold »

Offline EditioN

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #5 on: November 07, 2017, 06:10:54 am »
The driver exists, was just not added in PFSense.
Working fine in FreeNAS beta, just need to find out how to export the driver...

https://bugs.freenas.org/issues/26292

Offline EditioN

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #6 on: November 07, 2017, 08:36:28 am »
Ok, so I finally got it to work but still need to find some better way to do it, limited freebsd knowledge over here.

I installed freebsd 11.1 RELEASE, same as pfsense 2.4.1, which doesn't have the updated driver (STABLE already includes it).
Downloaded the 10Gb freebsd driver from intel website:
https://downloadcenter.intel.com/download/14688/Intel-Network-Adapters-Driver-for-PCIe-10-Gigabit-Network-Connections-Under-FreeBSD-

Compiled the driver and saved to an usb stick.

Then installed pfsense 2.4.1, copied the driver to /boot/modules/ but got an error trying to load it
Code: [Select]
module_register: cannot register pci/ix from if_ix_updated.ko; already loaded from if_ix.ko
Then I ran
Code: [Select]
kldunload /boot/kernel/if_ix.ko
Followed by the load command again
Code: [Select]
kldload -v /boot/modules/if_ix_updated.ko
I know this is far from ideal but how can I make this work in boot?

Do I need to compile a new kernel with the driver built in or is there a way to "tell" the kernel to load this module instead?
I guess replacing it in /boot/kernel/ folder is not a good idea?

Thanks.
« Last Edit: November 08, 2017, 08:43:01 am by EditioN »

BlueKobold

  • Guest
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #7 on: November 07, 2017, 01:27:01 pm »
Quote
I know this is far from ideal but how can I make this work in boot?
Try out to run a script that is unloading and loading this for you after booting.

Quote
Do I need to compile a new kernel with the driver built in or is there a way to "tell" the kernel to load this module instead?
This would be not so easy as you could think about.
/boot/modules is the right position here.


At least only to be sure, now the NIC is running fine and able to use for you?
A small thread about that and worth the time to read it too

Offline Mullet Scandinavia AB

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Mullet Scandinavia AB
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #8 on: November 09, 2017, 02:38:29 am »
Turn off VT-d support in the A2SDI BIOS and pfSense will find all  the NIC:s

Supermicro reseller in Sweden
FreeBSD user since 2.1.5

Offline EditioN

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #9 on: November 09, 2017, 04:26:51 am »
Well, that would be interesting but not working here...
Can you be more specific regarding the options to disable?

BlueKobold

  • Guest
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #10 on: November 09, 2017, 06:58:57 am »
Quote
Can you be more specific regarding the options to disable?
@Mullet Scandinavia AB said:

Turn off VT-d support in the A2SDI BIOS and pfSense will find all  the NIC:s

Offline EditioN

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #11 on: November 09, 2017, 08:08:42 am »
wow, thanks...
But of course I did that already and even reinstalled pfsense.
NICs are not there, the only way I can make it work is with the newer driver...

Offline Mullet Scandinavia AB

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Mullet Scandinavia AB
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #12 on: November 09, 2017, 08:16:07 am »
This is weird. I had it up an running this morning with VT-d off but now it don't work again!
 
And there are so few tools in the pfsense image so it's hard to debug no lspci and no network to fetch it either...


Have tried new beta BIOS und updated LAN EEPROM but still not working. Strange that it works sometimes.
« Last Edit: November 09, 2017, 10:14:40 am by Mullet Scandinavia AB »
Supermicro reseller in Sweden
FreeBSD user since 2.1.5