Jump to content
XPEnology Community

XPEnology option supporting Broadcom NetXtreme II (10gigE)


mervincm

Recommended Posts

Hopefully someone can point me in the right direction.

 

I am trying to spin up an XPEnology NAS with support for this BCM57710 10-GigE adapter.

GNOboot Alpha 10.5 was attempted, and while I could get it working no problem with the intel 1Gig NIC , the BroadCom 10Gig ethernet NIC was not recognized and listed as an interface in the GUI.

Checking the GNOboot site, it is indeed listed

http://www.gnoboot.me/p/blog-page_6.html

BCM57710/57711/57711E/57712/57712_MF/57800/57800_MF/57810/57810_MF/57840/57840_MF (bnx2x)

 

Any hints or suggestions are appreciated.

Link to comment
Share on other sites

I Tried nanoboot as well at DSM 5.0-4493. Same story, sees the (2) other NICS, just not the one I care about :smile:

I know NIC works in this system/slot etc, as I can boot it running MS Windows 2012R2 HyperV server

Can I add support? several drivers are available for this NIC (Qlogic hosts it now) bnx2x

http://driverdownloads.qlogic.com/QLogi ... 244&Os=175

Link to comment
Share on other sites

[    1.962880] bnx2x: Broadcom NetXtreme II 5771x/578xx 10/20-Gigabit Ethernet Driver bnx2x 1.70.30-0 (2011/10/25)
[    1.962914] bnx2x 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.962919] bnx2x 0000:01:00.0: setting latency timer to 64
[    1.963634] bnx2x 0000:01:00.0: part number 394D4342-31373735-30314130-473032
[    1.964579] bnx2x 0000:01:00.0: irq 46 for MSI/MSI-X
[    1.964581] bnx2x 0000:01:00.0: irq 47 for MSI/MSI-X
[    1.964583] bnx2x 0000:01:00.0: irq 48 for MSI/MSI-X
[    1.964586] bnx2x 0000:01:00.0: irq 49 for MSI/MSI-X
[    1.964588] bnx2x 0000:01:00.0: irq 50 for MSI/MSI-X
[    1.964591] bnx2x 0000:01:00.0: irq 51 for MSI/MSI-X
[    1.972173] bnx2x 0000:01:00.0: eth2: Broadcom NetXtreme II BCM57710 10 Gigabit PCIe [Everest] (A1) PCI-E x8 2.5GHz found at mem f7000000, IRQ 16, node addr   00:10:18:46:ab:1a
[    1.976107] NET: Registered protocol family 10


[    6.530140] bnx2x: [bnx2x_init_firmware:10574(eth2)]Can't load firmware file bnx2x/bnx2x-e1-7.0.29.0.fw
[    6.530143] bnx2x: [bnx2x_func_hw_init:5382(eth2)]Error loading firmware
[    6.530148] bnx2x: [bnx2x_nic_load:1841(eth2)]HW init failed, aborting
[    6.579559] bnx2x: [bnx2x_init_firmware:10574(eth2)]Can't load firmware file bnx2x/bnx2x-e1-7.0.29.0.fw
[    6.579562] bnx2x: [bnx2x_func_hw_init:5382(eth2)]Error loading firmware
[    6.579566] bnx2x: [bnx2x_nic_load:1841(eth2)]HW init failed, aborting

Link to comment
Share on other sites

Any Linux types out there able to help me understand what the boot log about tells us? is the driver not even there? incomplete? maybe something else?

does anyone know if there is a script or process documented than non linux types could try to add / fix a NIC driver issue?

Link to comment
Share on other sites

what device does the broadcom com up as in a "normal" linux system?

 

eg for my emulex card the device is loaded up as be2net

 

so to check whats happening at boot

 

i simply

 

ssh in and run the command

 

dmesg | grep "be2"

 

and

 

dmesg | grep "eth"

 

to see what devices is loaded as what eth device, also gives the MAC address's

 

.

Link to comment
Share on other sites

  • 2 weeks later...

bnx2x

 

I believe what you are asking for is all contained in the code section I have above.

It tries to load but complains and aborts! I really need to get this working as the performance with iSCSI on 10gig is looking really good!

 

[ 6.530140] bnx2x: [bnx2x_init_firmware:10574(eth2)]Can't load firmware file bnx2x/bnx2x-e1-7.0.29.0.fw

[ 6.530143] bnx2x: [bnx2x_func_hw_init:5382(eth2)]Error loading firmware

[ 6.530148] bnx2x: [bnx2x_nic_load:1841(eth2)]HW init failed, aborting

[ 6.579559] bnx2x: [bnx2x_init_firmware:10574(eth2)]Can't load firmware file bnx2x/bnx2x-e1-7.0.29.0.fw

[ 6.579562] bnx2x: [bnx2x_func_hw_init:5382(eth2)]Error loading firmware

[ 6.579566] bnx2x: [bnx2x_nic_load:1841(eth2)]HW init failed, aborting

Link to comment
Share on other sites

  • 7 months later...

Broadcom cards need you to add the firmware into the correct folder.

 

Tho, you might have to temporarily add another lan card into the system to get xpenology installed. EG grab a cheap intel e1000 card etc to get you going.... then you can download and fiddle with the correct firmware file and as to where it need to be placed.

 

dmesg outputs can help you find where the driver is expecting to find the firmware files.

 

For a 10/100 Broadcom card I have my notes

 

=============

 

Download these files (will put them up somewhere for you)

 

http://stanzabike.net/images/xpenology/versions/Nanoboot/bnx2-mips-09-6.2.1a.fw

 

http://stanzabike.net/images/xpenology/versions/Nanoboot/bnx2-rv2p-09-6.0.17.fw

 

copy them both to

 

/usr/syno/hotplug/firmware

/usr/syno/hotplug/firmware/bnx2

 

reboot

 

should get it working for you......

Link to comment
Share on other sites

Broadcom cards need you to add the firmware into the correct folder.

 

Tho, you might have to temporarily add another lan card into the system to get xpenology installed. EG grab a cheap intel e1000 card etc to get you going.... then you can download and fiddle with the correct firmware file and as to where it need to be placed.

 

dmesg outputs can help you find where the driver is expecting to find the firmware files.

 

For a 10/100 Broadcom card I have my notes

 

=============

 

Download these files (will put them up somewhere for you)

 

http://stanzabike.net/images/xpenology/versions/Nanoboot/bnx2-mips-09-6.2.1a.fw

 

http://stanzabike.net/images/xpenology/versions/Nanoboot/bnx2-rv2p-09-6.0.17.fw

 

copy them both to

 

/usr/syno/hotplug/firmware

/usr/syno/hotplug/firmware/bnx2

 

reboot

 

should get it working for you......

 

forgive my lack of linux skills here, but I quickly got stuck

1) made USB with XPEboot, installed a pair of disks, installed 5022 update 2 - so far so good

2) downloaded the files you hosted, enabled SSH, used winscp and logon using the root id and the admin password - still looking good

3) traversed to /usr/syno/hotplug and created firmware (777 permissions) and put these two firmware files in (again 777 permissions)

4) traversed to /usr/syno/hotplug/firmware and created bnx2 (777 permissions) and put these two firmware files in (again 777 permissions)

restarted

still cant see the nics in the diskstation interface :sad:

 

dmesg through winscp console

 
[    4.321900] bnx2x: Broadcom NetXtreme II 5771x/578xx 10/20-Gigabit Ethernet Driver bnx2x 1.70.30-0 (2011/10/25)
[    4.322044] bnx2x 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    4.322051] bnx2x 0000:01:00.0: setting latency timer to 64
[    4.322849] bnx2x 0000:01:00.0: part number 394D4342-31373735-30314130-473032
[    4.323778] bnx2x 0000:01:00.0: irq 60 for MSI/MSI-X
[    4.323783] bnx2x 0000:01:00.0: irq 61 for MSI/MSI-X
[    4.323788] bnx2x 0000:01:00.0: irq 62 for MSI/MSI-X
[    4.323792] bnx2x 0000:01:00.0: irq 63 for MSI/MSI-X
[    4.323801] bnx2x 0000:01:00.0: irq 64 for MSI/MSI-X
[    4.323806] bnx2x 0000:01:00.0: irq 65 for MSI/MSI-X
[    4.323811] bnx2x 0000:01:00.0: irq 66 for MSI/MSI-X
[    4.323815] bnx2x 0000:01:00.0: irq 67 for MSI/MSI-X
[    4.323820] bnx2x 0000:01:00.0: irq 68 for MSI/MSI-X
[    4.323825] bnx2x 0000:01:00.0: irq 69 for MSI/MSI-X
[    4.332669] bnx2x 0000:01:00.0: eth2: Broadcom NetXtreme II BCM57710 10 Gigabit PCIe [Everest] (A1) PCI-E x8 2.5GHz found at mem f9000000, IRQ 16, node addr 00:10:18:46:ac:2c
[    4.332713] bnx2x 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    4.332721] bnx2x 0000:02:00.0: setting latency timer to 64
[    4.333609] bnx2x 0000:02:00.0: part number 394D4342-31373735-30314130-473032
[    4.334607] bnx2x 0000:02:00.0: irq 70 for MSI/MSI-X
[    4.334612] bnx2x 0000:02:00.0: irq 71 for MSI/MSI-X
[    4.334617] bnx2x 0000:02:00.0: irq 72 for MSI/MSI-X
[    4.334622] bnx2x 0000:02:00.0: irq 73 for MSI/MSI-X
[    4.334628] bnx2x 0000:02:00.0: irq 74 for MSI/MSI-X
[    4.334632] bnx2x 0000:02:00.0: irq 75 for MSI/MSI-X
[    4.334637] bnx2x 0000:02:00.0: irq 76 for MSI/MSI-X
[    4.334642] bnx2x 0000:02:00.0: irq 77 for MSI/MSI-X
[    4.334647] bnx2x 0000:02:00.0: irq 78 for MSI/MSI-X
[    4.334652] bnx2x 0000:02:00.0: irq 79 for MSI/MSI-X
[    4.343092] bnx2x 0000:02:00.0: eth3: Broadcom NetXtreme II BCM57710 10 Gigabit PCIe [Everest] (A1) PCI-E x8 2.5GHz found at mem fa000000, IRQ 16, node addr 00:10:18:46:ac:82
[    4.352509] NET: Registered protocol family 10
7.142616] bnx2x: [bnx2x_init_firmware:10574(eth0)]Can't load firmware file bnx2x/bnx2x-e1-7.0.29.0.fw
[   17.142619] bnx2x: [bnx2x_func_hw_init:5382(eth0)]Error loading firmware
[   17.142625] bnx2x: [bnx2x_nic_load:1847(eth0)]HW init failed, aborting
[   17.179228] init: dhcp-client (eth0) pre-start process (14459) terminated with status 1
[   17.206383] bnx2x: [bnx2x_init_firmware:10574(eth1)]Can't load firmware file bnx2x/bnx2x-e1-7.0.29.0.fw
[   17.206387] bnx2x: [bnx2x_func_hw_init:5382(eth1)]Error loading firmware
[   17.206393] bnx2x: [bnx2x_nic_load:1847(eth1)]HW init failed, aborting

 

it looks like syno sees it as bnx2x??

so I googled bnx2x-e1-7.0.29.0.fw

and I got a hit on

https://packages.debian.org/wheezy/all/firmware-bnx2x/download

I figured what the heck and tried dl it and extracted the fw bits

put bnx2x-e1-5.0.21.0.fw and bnx2x-e1h-5.0.21.0.fw into /usr/syno/hotplug/firmware and bnx2x-e1-7.0.29.0.fw, bnx2x-e1h-7.0.29.0.fw, and bnx2x-e2-7.0.29.0.fw into /usr/syno/hotplug/bnx2x

then rebooted

nuthing

so then I coped the three from bnx2x folder into the firmware folder, and rebooted

no change, still no nics in syno portal

 

from the dmesg I think I really only need bnx2x-e1-7.0.29.0.fw and I have that file (from debian package) in /usr/syno/hotplug/firmware/bnx2x folder

 

dmesg says this

 

[ 17.141861] bnx2x: [bnx2x_init_firmware:10574(eth0)]Can't load firmware file bnx2x/bnx2x-e1-7.0.29.0.fw

[ 17.141864] bnx2x: [bnx2x_func_hw_init:5382(eth0)]Error loading firmware

[ 17.141871] bnx2x: [bnx2x_nic_load:1847(eth0)]HW init failed, aborting

[ 17.178009] init: dhcp-client (eth0) pre-start process (14461) terminated with status 1

[ 17.205169] bnx2x: [bnx2x_init_firmware:10574(eth1)]Can't load firmware file bnx2x/bnx2x-e1-7.0.29.0.fw

[ 17.205174] bnx2x: [bnx2x_func_hw_init:5382(eth1)]Error loading firmware

[ 17.205180] bnx2x: [bnx2x_nic_load:1847(eth1)]HW init failed, aborting

 

might it be permissions? maybe debian version is no good? maybe need it somewhere else?

Link to comment
Share on other sites

I found a folder that looked good

lib/firmware/bnx2x

and put it in there as well, same permissions as the other fw files.

IT WORKED

IT WORKED

IT WORKED

The NICS are seen in syno portal!!!!!!!!!!!

 

Thanks so much, I am really a linux noob, I just really needed a starting point.

Link to comment
Share on other sites

I found a folder that looked good

lib/firmware/bnx2x

and put it in there as well, same permissions as the other fw files.

IT WORKED

IT WORKED

IT WORKED

The NICS are seen in syno portal!!!!!!!!!!!

 

Thanks so much, I am really a linux noob, I just really needed a starting point.

i added this files to the img for you before, but you said it's not working.

Link to comment
Share on other sites

It didn't

 

I tried with your latest bootable image, and the files are not there.

To be clear I got it working like this

 

1) I installed latest USB stick and booted from it, use an intel NIC for install, installed latest DSM and update 2

2) copy bnx2x-e1-7.0.29.0.fw into /lib/firmware/bnx2x

reboot

 

Is there a way to add this to the USB stick to have it work automatically?

 

PS I just sent you 25 US$ donation for the help and good work you do.

Link to comment
Share on other sites

  • 1 year later...

i am trying to do this as well here is the message i am getting

[   55.794047] Brocade 10G Ethernet driver - version: 3.1.2.1
[   55.794054] bnad_pci_probe : (0xffff880807b9f800, 0xffffffffa03ebc60) PCI Func : (2)
[   55.796830] Can't locate firmware ctfw-3.1.0.0.bin
[   55.796832] Failed to load Firmware Image!
[   55.796837] bnad_pci_probe : (0xffff880807b9f000, 0xffffffffa03ebc60) PCI Func : (3)
[   55.799516] Can't locate firmware ctfw-3.1.0.0.bin
[   55.799518] Failed to load Firmware Image!
[   55.804864] bnx2x: QLogic 5771x/578xx 10/20-Gigabit Ethernet Driver bnx2x 1.713.02 ($DateTime: 2015/11/02 19:52:00 $)
[   55.810044] NET: Registered protocol family 10
[   55.814793] cnic: QLogic cnic Driver v2.5.20i (June 16, 2015)
[   55.838900] QLogic/NetXen Network Driver v4.0.80
[   55.847749] QLogic 1/10 GbE Converged/Intelligent Ethernet Driver v5.2.42
[   55.856190] enic: Cisco VIC Ethernet NIC Driver, ver 2.1.1.39

 

what should i do?

Link to comment
Share on other sites

×
×
  • Create New...