Feb 21 2020

bnx2x 最新驱动DKMS包 for debian

Category: 技术ssmax @ 23:52:31

bnx2x lastest driver version 1.714.22 dkms deb for debian

今天牛一,苦逼编译驱动ing…遇上bnx2x这种N百年没更新的驱动,折腾了一下。

从联想的网站找到比较新鲜的驱动,RHEL的可以自取:

Qlogic BNX2 RHEL7 Driver for 2019A

https://support.lenovo.com/us/en/downloads/ds539514

问题是我的系统是debian,都是linux,拿过来看看Makefile,里面写了ubuntu的逻辑,替换一下,补一个标准的dkms.conf,默认编译参数,做了一个dkms包。

https://ssmax.net/bnx2x-dkms_1.714.22_all.deb

在debian jessie backport的 4.9.0-0.bpo.11-amd64 内核上测试通过,用着没啥问题,如果还死机的话我看厂家还赖啥,tnnd。

modinfo

filename:       /lib/modules/4.9.0-0.bpo.11-amd64/updates/dkms/bnx2x.ko
 version:        1.714.22
 license:        GPL
 description:    QLogic BCM57710/57711/57711E/57712/57712_MF/57800/57800_MF/57810/57810_MF/57840/57840_MF Driver
 author:         Eliezer Tamir
 srcversion:     661EA2727311E076D455A13
 alias:          pci:v000014E4d0000163Fsvsdbcsci*
 alias:          pci:v000014E4d0000163Esvsdbcsci*
 alias:          pci:v000014E4d0000163Dsvsdbcsci*
 alias:          pci:v00001077d000016ADsvsdbcsci*
 alias:          pci:v000014E4d000016ADsvsdbcsci*
 alias:          pci:v00001077d000016A4svsdbcsci*
 alias:          pci:v000014E4d000016A4svsdbcsci*
 alias:          pci:v000014E4d000016ABsvsdbcsci*
 alias:          pci:v000014E4d000016AFsvsdbcsci*
 alias:          pci:v000014E4d000016A2svsdbcsci*
 alias:          pci:v00001077d000016A1svsdbcsci*
 alias:          pci:v000014E4d000016A1svsdbcsci*
 alias:          pci:v000014E4d0000168Dsvsdbcsci*
 alias:          pci:v000014E4d000016AEsvsdbcsci*
 alias:          pci:v000014E4d0000168Esvsdbcsci*
 alias:          pci:v000014E4d000016A9svsdbcsci*
 alias:          pci:v000014E4d000016A5svsdbcsci*
 alias:          pci:v000014E4d0000168Asvsdbcsci*
 alias:          pci:v000014E4d0000166Fsvsdbcsci*
 alias:          pci:v000014E4d00001663svsdbcsci*
 alias:          pci:v000014E4d00001662svsdbcsci*
 alias:          pci:v000014E4d00001650svsdbcsci*
 alias:          pci:v000014E4d0000164Fsvsdbcsci*
 alias:          pci:v000014E4d0000164Esvsdbcsci*
 depends:        mdio,libcrc32c,ptp
 retpoline:      Y
 vermagic:       4.9.0-0.bpo.11-amd64 SMP mod_unload modversions 
 parm:           pri_map: Priority to HW queue mapping (uint)
 parm:           full_promiscous: Accept unmatched unicast packets (Disabled default) (uint)
 parm:           num_queues: Set number of queues (default is as a number of CPUs) (int)
 parm:           disable_iscsi_ooo: Disable iSCSI OOO support (uint)
 parm:           disable_tpa: Disable the TPA (LRO) feature (uint)
 parm:           int_mode: Force interrupt mode other than MSI-X (1 INT#x; 2 MSI) (uint)
 parm:           dropless_fc: Pause on exhausted host ring (uint)
 parm:           poll: Use polling (for debug) (uint)
 parm:           mrrs: Force Max Read Req Size (0..3) (for debug) (int)
 parm:           debug: Default debug msglevel (uint)
 parm:           num_vfs: Number of supported virtual functions (0 means SR-IOV is disabled) (uint)
 parm:           autogreeen: Set autoGrEEEn (0:HW default; 1:force on; 2:force off) (uint)
 parm:           native_eee:int
 parm:           eee:set EEE Tx LPI timer with this value; 0: HW default; -1: Force disable EEE.
 parm:           tx_switching: Enable tx-switching (uint)
 parm:           use_random_vf_mac:When set, all VFs would be configured with a default immutable MAC (uint)
 parm:           allow_vf_mac_change_mode:Allow VF to change MAC address despite PF sets force MAC (0 Disable (default); 1 Enable)) (uint)
 parm:           fairness_threshold:When set to '1' will enable the fairness threshold; 0 by Default (uint)
 parm:           intr_mitigation:When set to '1' will enable the interrupt mitigation; 0 by Default (uint)


				

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.