qla2xxx - different vermagic from kernel

Latest response

Hello,

My kernel has a driver which doesn't support HP SN1100Q HBA.

Old version:

# modinfo qla2xxx | grep version
version:        8.07.00.18.07.2-k
rhelversion:    7.2
srcversion:     033AD346E10118BEAEDDACB
vermagic:       3.10.0-327.59.3.el7.x86_64 SMP mod_unload modversions

This is the output of systool:

# systool -c fc_host -v
Error opening class fc_host

HPE procedure recommends updating the driver with:

# rpm -Uvh kmod-qla2xxx-8.07.00.33.07.3_k-1.el7_2.x86_64.rpm

After the update systool command shows hosts and on both ports state is 'Online'.

Here is the modprobe output after the update:

# modprobe -v qla2xxx
insmod /lib/modules/3.10.0-327.59.3.el7.x86_64/kernel/drivers/scsi/scsi_tgt.ko
insmod /lib/modules/3.10.0-327.59.3.el7.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko
insmod /lib/modules/3.10.0-327.59.3.el7.x86_64/weak-updates/qlgc-qla2xxx/qla2xxx.ko

So everything works, except vermagic. It is different from running kernel:

# modinfo -n qla2xxx
/lib/modules/3.10.0-327.59.3.el7.x86_64/weak-updates/qla2xxx/qla2xxx.ko

# modinfo -k `uname -r` -n qla2xxx
/lib/modules/3.10.0-327.59.3.el7.x86_64/weak-updates/qla2xxx/qla2xxx.ko

# modinfo qla2xxx |grep version
version:        8.07.00.33.07.3-k
rhelversion:    7.2
srcversion:     2E3D7D57C83E449AC6AF494
vermagic:       3.10.0-327.el7.x86_64 SMP mod_unload modversions

Is this going to be a problem? Is it possible to change the vermagic flag?

Thank you. Regards

Responses

Kernel ABI should be stable within a minor release.

So two two vermagics:

RHEL driver:
vermagic:       3.10.0-327.59.3.el7.x86_64 SMP mod_unload modversions

Third-party driver:
vermagic:       3.10.0-327.el7.x86_64 SMP mod_unload modversions

Are both made for the 327 series where symbols should not change. It should be fine.

If the vermagic of the third-party driver was from another kernel series, like earlier or later, that could potentially be bad depending on which symbols are used by the driver.

Perhaps, "Third-party driver" is not from a third-party repo? kmod-qla2xxx-8.07.00.33.07.3_k-1.el7_2.x86_64.rpm is provided by Red Hat, it seems. ;-)

Yes, you are correct. Driver is provided by Red Hat :)

Ah, I assumed from the package name and mention of the other vendor, thanks for the catch Akemi :)

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.