dkms problems with moduls megaraid_sas and bnx2

Thomas_Chenault at Dell.com Thomas_Chenault at Dell.com
Thu Aug 12 20:33:09 CDT 2010


Rainer Traut wrote:
> Dear list,
> 
> how is dkms supposed to handle kernel updates?
> 
> Sys: EL5.5 x86_64, dkms-2.0.22.0-1, megaraid_sas-v00.00.04.29-1, 
> netxtreme2-5.2.55-1.dkms (contains bnx2 v2.0.8)
> 
> Tonight RedHat has released a new kernel which - after reboot - shows my 
> system with stock RedHat moduls, not the dell dkms provided ones (only 
> bnx2 now, megaraid is the same)
> 
> dmesg:
> Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.2 (Aug 21, 2009)
> 
> but "dkms status" gives for this new kernel:
> ...
> netxtreme2, 5.2.55, 2.6.18-194.11.1.el5, x86_64: installed-weak from 
> 2.6.18-194.8.1.el5
> 
> and a find in lib/modules
> ...
> ./2.6.18-194.11.1.el5/kernel/drivers/net/bnx2.ko
> ./2.6.18-194.11.1.el5/weak-updates/bnx2.ko
> 
> Afaik, weak-updates is not used if there is a stock driver.
> 
> How can I solve this now?
> Should I completely uninstall the bnx2 rpm and reinstall?
> Or is there some dkms magic that solves this?

By default, Red Hat gives weak-updates lower priority than other module sources. You can change this by editing /etc/depmod.d/depmod.conf.dist and then running depmod.


Thomas




More information about the Linux-PowerEdge mailing list