How to build new Qlogic Linux Drivers e.g. for former Broadcom 57800 NICs
stormi Vates 🪐 XCP-ng Team 🚀
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
builddepsyum repository (the
xsrepository 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.
olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑💼
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-188.8.131.52-1.rhel6u8.src.rpm qlgc-fastlinq-184.108.40.206-1.rhel7u3.src.rpm qlgc-fastlinq-220.127.116.11-1.sles12sp3.src.rpm fastlinq-18.104.22.168.tar.bz2 qlgc-fastlinq-22.214.171.124-1.rhel6u9.src.rpm qlgc-fastlinq-126.96.36.199-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?
@tim I'd need output of
lspci -vfrom it.
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)
Under 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