dkms + megaraid_sas and kernel update
Matt Domsch
Matt_Domsch at dell.com
Thu May 15 20:49:09 CDT 2008
On Thu, May 15, 2008 at 02:15:39PM +0200, Rainer Traut wrote:
> Hi all,
>
> sys: el5 x86_64 on PE2950III,
> with dkms from dell repo.
>
> After a kernel update from 2.6.18-53.1.14.el5 to 2.6.18-53.1.19.el5
> I see that none of my dkms installed drivers are used by the new kernel:
>
> # dkms status
> megaraid_sas, v00.00.03.16, 2.6.18-53.1.14.el5, x86_64: installed
> (original_module exists)
> bnx2, 1.7.1c, 2.6.18-53.1.14.el5, x86_64: installed (original_module exists)
> tg3, 3.81c, 2.6.18-53.1.14.el5, x86_64: installed (original_module exists)
> tg3, 3.81c, 2.6.18-53.1.19.el5, x86_64: installed-weak from
> 2.6.18-53.1.14.el5
> bnx2, 1.7.1c, 2.6.18-53.1.19.el5, x86_64: installed-weak from
> 2.6.18-53.1.14.el5
> megaraid_sas, v00.00.03.16, 2.6.18-53.1.19.el5, x86_64: installed-weak
> from 2.6.18-53.1.14.el5
>
> # dmesg |grep bnx
> Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.5.11-rh (June 4, 2007)
> bnx2: eth0: using MSI
> bnx2: eth0 NIC Link is Up, 100 Mbps full duplex, receive & transmit flow
> control ON
> bnx2: eth1: using MSI
> bnx2: eth1 NIC Link is Up, 1000 Mbps full duplex, receive & transmit
> flow control ON
>
> # dmesg |grep mega
> megasas: 00.00.03.10 Wed Mar 28 10:25:52 PST 2007
> megasas: 0x1000:0x0060:0x1028:0x1f0c: bus 1:slot 0:func 0
> megasas: FW now in Ready state
>
> How can I fix this?
> Where's the sense in dkms if I have to manually install after a kernel
> update?
I suspect you're hitting a bug in DKMS regarding the installation of
those 'installed-weak' modules that was resolved with a later version,
but that hasn't been pushed to the software repos on linux.dell.com
yet.
Would you mind installing
http://linux.dell.com/dkms/dkms-2.0.19-1.noarch.rpm, and manually
fixing up dkms's database the way you want (e.g. dkms
install/uninstall commands)? On next kernel upgrade it
should work as expected...
--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
More information about the Linux-PowerEdge
mailing list