How to build new Qlogic Linux Drivers e.g. for former Broadcom 57800 NICs
-
Hehe I was going to reply this unread one but something came up and it got skipped later.
@schories What is the exact source for this/these driver(s)?
Usually you need a DDK and use its example driver to build for XenServer/XCP-NG.
I'll be happy to do it if pointed to right source package.
-
If it's just a matter of using a newer version, I'd try to identify which package in 7.5 provides the driver and try to update the RPM sources and spec file and rebuild them in https://github.com/xcp-ng/xenserver-build-env while making sure to use our
builddeps
yum repository (thexs
repository from Citrix is from their development branch so there's no guarantee that it is suitable for building packages for 7.5): https://updates.xcp-ng.org/7/dev/builddeps/Note that I never used the DDK so I may miss an important point about it being useful here.
-
Thank you for all your kind and fast replies. I sincerely apologize for replying so late. Once I've built the drivers I'll make them available here.
-
No worries! Eager to see the RPMs here
-
-
@tim Let me try.
-
@tim I'm trying to build
Source/QC/Linux_Source/RHEL7/U4/src/qla2xxx-8.07.00.56.07.0-k
. Is this the one you are looking for?There is another directory in the Source which has following src rpms.
e4-open-iscsi-2.0-873.110.tar.gz qlgc-fastlinq-8.24.2.0-1.rhel6u8.src.rpm qlgc-fastlinq-8.24.2.0-1.rhel7u3.src.rpm qlgc-fastlinq-8.24.2.0-1.sles12sp3.src.rpm fastlinq-8.24.2.0.tar.bz2 qlgc-fastlinq-8.24.2.0-1.rhel6u9.src.rpm qlgc-fastlinq-8.24.2.0-1.rhel7u4.src.rpm
If this worked on XS7.1, do you still have access to that host? and can you confirm the kernel module and its modinfo from there?
Generally, the process is straightforward as mentioned by @stormi but in this case the sources are too many to identify the right one.
-
@r1 - So sorry had assumed I'd get an email notification of a reply!
Thanks for coming back; if that's a suitable driver for a Qlogic/Broadcom 57800 then it's perfect... shall do some more research.
I do still have access to XS7.1 hosts as they're in production currently. What details do you need?
Thanks!
-
@tim I'd need output of
lsmod
andlspci -v
from it. -
@r1 Thanks!
Here's lspci -v: https://www.dropbox.com/s/zwq72v3dk5gtpzc/lspci.txt?dl=0
and lsmod: https://www.dropbox.com/s/xkprap6b0vnn5sc/lsmod.txt?dl=0
-
@r1 Quick note to say thanks for your earlier input but don't worry about this.
We've abandoned trying to get the Broadcom 57800 cards to run under XCP-NG or Xen 7.5; replaced them with Dell Intel i350&X540 Quad Port cards.
As a quick recap for anyone else with this issue, we had a set of 3 Dell R630 servers fitted with Dell's Qlogic/Broadcom 57800 based quad-port daughter network cards (2 x 10GBe RJ45's with 2 x 1GBe RJ45s). Hardware is rev 10 apparently and they identify within the OS as
Ethernet controller: Broadcom Limited NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)
filename: /lib/modules/4.4.0+2/updates/bnx2x.ko
version: 1.714.1Under Xen 7.1 and earlier these ran perfectly, using the BNX2X driver v 1.714.1 along with the latest firmware from Dell. Oddly most of the reported issues seem to concern this version ?
The Broadcom/QLogic 57800 doesn't seem to be on Citrix's HCL any longer for newer releases so presumably someone's decided that the year old NICs are now obsolete?
Attempting to upgrade to Xen 7.2 or indeed XCP-NG 7.5 resulted in installation of a newer BNX2X driver (1.714.6 if memory serves), which for whatever reason was unable to bring the 10GBe links up or detect connected cables.
We attempted to update the driver further using the appropriate Citrix driver disks along with attempting firmware rollbacks to see if that was the problem.
I had been hoping to try a fresh build of the driver as above, but have neither the build environment nor knowledge to do that!
After burning through 3-4 days troubleshooting this, we've given up on the Broadcom cards and bought replacement Intel NICs - Dell i350&X540 quad port daughter cards, again offering 2 x 10GBe & 2 x 1GBe RJ45 ports. Swapped the cards over, booted the machines and upgraded successfully to XCP-NG on first attempt.
Zero hassle; zero issues.
I can only assume there's a fix to be had somewhere but we've not got the time to keep experimenting in the hope something eventually results in a previously working system resuming working!
If it helps anyone else, we bought the Intel cards from here: https://www.etb-tech.com/dell-intel-i350-x540-1-10gb-rj-45-sfp-quad-port-rndc-98493.html#.W5Dt5-hKi70