installing megaraid-sas on opensuse 10.1 fails

Thomas_Chenault at Dell.com Thomas_Chenault at Dell.com
Wed Nov 26 09:41:59 CST 2008


> Hi,

> 

> i want to install the megaraid driver on a opensuse 10.1 but i get an
error:

> 

> rpm -ivh /opt/megaraid_sas-v00.00.03.21-4.noarch.rpm

> Preparing...
########################################### [100%]

>   1:megaraid_sas           warning: user compiler does not exist -
using root

> warning: group compiler does not exist - using root

> ########################################### [100%]

> 

> Loading tarball for module: megaraid_sas / version: v00.00.03.21

> 

> Loading /usr/src/megaraid_sas-v00.00.03.21...

> Creating /var/lib/dkms/megaraid_sas/v00.00.03.21/source symlink...

> 

> DKMS: ldtarball Completed.

> 

> Error! Your kernel source for kernel 2.6.16.27-0.6-smp cannot be found
at

> /lib/modules/2.6.16.27-0.6-smp/build or
/lib/modules/2.6.16.27-0.6-smp/source.

> You can use the --kernelsourcedir option to tell DKMS where it's
located.

> 

> Error! Could not locate megaraid_sas.ko for module megaraid_sas in the
DKMS tree.

> You must run a dkms build for kernel 2.6.16.27-0.6-smp (x86_64) first.

> error: %post(megaraid_sas-v00.00.03.21-4.noarch) scriptlet failed,
exit status 4

> 

> what can i do? i dont have the kernel source for *-smp kernel only the
package "kernel-source" wich is installed.

> 

> Best regards

 

I do not typically work with OpenSUSE, but I did run into a similar
problem once before. It might be worth trying:

 

    dkms build -m megaraid_sas -v v00.00.03.21 -k 2.6.16.27-0.6-smp -a
x86_64 \

        --kernelsourcedir
/lib/modules/2.6.16.27-0.6-smp/build/x86_64/smp

 

    dkms install -m megaraid_sas -v v00.00.03.21 -k 2.6.16.27-0.6-smp -a
x86_64

 

 

Thomas

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20081126/463bf2f2/attachment-0001.htm 


More information about the Linux-PowerEdge mailing list