srcversion check is not sufficient during rpm -U

Qi, Yanling Yanling.Qi at lsi.com
Wed Jan 10 14:54:29 CST 2007


Hi All,

 

I am running dkms-2.0.13 to upgrade a dkms enabled rpm package using rpm
-U. The old rpm package is removed and the new driver didn't get
installed. I got the following dkms error message at rpm -U time.

 

Good news! Module version 99.01.B3.47 for xxxxxx.ko

exactly matches what is already found in kernel 2.6.16.21-0.8-smp.

DKMS will not replace this module.

 

After putting debug statement in dkms, I found the previous driver
module and the driver module generate the same value of srcversion.

kernels_module
/lib/modules/2.6.16.21-0.8-smp/kernel/drivers/scsi/xxxx.ko

dkms_module
/var/lib/dkms/xxxx/99.01.B3.47/2.6.16.21-0.8-smp/x86_64/module/xxxxx.ko

kernels_ver_checksum E80C4BD9A38D1470087CDAF

dkms_ver_checksum E80C4BD9A38D1470087CDAF

 

The srcversion field of a driver module is not sufficient to determine
that driver modules in /lib/module and dkms module repository are same.

 

My driver module does report "version" (MODULE_VERSION) from modinfo.
The dkms may use module version together with svrversion to make a
decision.

 

Thanks,

 

Yanling

 

Yanling Qi

Engenio Storage Group - LSI Logic

512-794-3713 (Office)

512-794-3702 (Fax)

yanling.qi at lsi.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/dkms-devel/attachments/20070110/c03d8e51/attachment.htm 


More information about the DKMS-devel mailing list