Server Products
Data Center Products including boards, integrated systems, Intel® Xeon® Processors, RAID Storage, and Intel® Xeon® Processors
4778 Discussions

Error: Intel® RS2BL040 SAS Hardware RAID Driver for Linux

idata
Employee
1,883 Views

I have an error installing

Intel® SAS Hardware RAID Driver for Linux

on OpenSuse 11.4 x86_64.

I have installed

make

 

automake

 

gcc

 

kernel-source

 

kernel-devel

and

glibc-i18ndata-2.11.3-12.15.1.x86_64.rpm

 

qt3-3.3.8b-111.1.x86_64.rpm

 

lsb-4.0-12.1.x86_64.rpm

I have Downloaded latest driver from intel site:

# SAS Hardware RAID Driver for Linux

 

# File name: ir3_Linux_drv-v06.12-1.zip

 

# Version: 6.12

 

# Date: 12/15/2011

#

rpm -ivh dkms-2.0.22.0-1.noarch.rpm

[OK]

#

#

rpm -ivh ir3_sas-v00.00.06.12-1.noarch.rpm

Preparing... # [100%]

 

1:megaraid_sas # [100%]

Loading tarball for module: megaraid_sas / version: v00.00.06.12

Loading /usr/src/megaraid_sas-v00.00.06.12...

 

Creating /var/lib/dkms/megaraid_sas/v00.00.06.12/source symlink...

DKMS: ldtarball Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:

 

cleaning build area....

 

make KERNELRELEASE=2.6.37.1-1.2-default -C /lib/modules/2.6.37.1-1.2-default/build SUBDIRS=/var/lib/dkms/megaraid_sas/v00.00.06.12/build modules....(bad exit status: 2)

 

Error! Bad return status for module build on kernel: 2.6.37.1-1.2-default (x86_64) 

Consult the make.log in the build directory /var/lib/dkms/megaraid_sas/v00.00.06.12/build/ for more information. 0 0

 

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.37.1-1.2-default (x86_64) first.

#

#

vi /var/lib/dkms/megaraid_sas/v00.00.06.12/build/make.log

DKMS make.log for megaraid_sas-v00.00.06.12 for kernel 2.6.37.1-1.2-default (x86_64)

 

Thu Jan 12 15:42:30 CET 2012

 

make: Entering directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default'

 

make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default/. modules

 

CC [M] /var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.o

 

/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.c:3233:2: warning: initialization from incompatible pointer type

 

/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.c:5195:16: error: unknown field âownerâ specified in initializer

 

/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.c:5195:16: warning: excess elements in struct initializer

 

/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.c:5195:16: warning: (near initialization for âsysfs_max_sectors_attr.attrâ)

 

make[3]: *** [/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.o] Error 1

 

make[2]: *** [_module_/var/lib/dkms/megaraid_sas/v00.00.06.12/build] Error 2

 

make[1]: *** [sub-make] Error 2

 

make: *** [all] Error 2

 

make: Leaving directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default'

#

0 Kudos
4 Replies
idata
Employee
523 Views

Bartolini,

From the readme I see:

Below instruction includes how to manually update driver.

I. Installation

While installing OpenServer 6/UnixWare 7 be sure to insert the megasas Driver Supplement media before any HBA drivers supplied with your media kit.

You can find the complete readme here:

http://downloadmirror.intel.com/18778/eng/ir3_SCO_DRV_v4.05_readme.txt http://downloadmirror.intel.com/18778/eng/ir3_SCO_DRV_v4.05_readme.txt

You might want to verify if your OS version is supported by the latest driver.

Regards,

John

0 Kudos
idata
Employee
523 Views

But my distro is a Linux OpenSuse 11.4....

I have downloaded the latest firmware From download.intel.com

# SAS Hardware RAID Driver for Linux

 

# File name: ir3_Linux_drv-v06.12-1.zip

 

# Version: 6.12

 

# Date: 12/15/2011
0 Kudos
idata
Employee
523 Views

Sorry about the distro mix up. Looking at the specific drivers we have, we show SuSE* Linux Enterprise Server 11.0. I don't know about cross compatibility of that driver with your OpenSuse 11.4.

However, I Googled "Could not locate megaraid_sas.ko for module megaraid_sas in the DKMS" and there were a number of problem reports and subsequent solutions. Give that a try and see if that helps.

John

0 Kudos
idata
Employee
524 Views

I think there is a problem with kernel version.

OpenSuse 11.2 kernel 2.6.31.5-0.1.1

 

OpenSuse 11.3 kernel 2.6.34-12.3

 

OpenSuse 11.4 kernel 2.6.37.1-1.2.2

On OpenSuse 11.2 and OpenSuse 11.3

the driver update run succesfully.

Running < rpm -ivh ir3_sas-v00.00.06.12-1.noarch.rpm >

on OpenSuse 11.4 the update fails

# ----------------------------------------------------------------------------

 

# Error On OpenSuse 11.4

 

# ----------------------------------------------------------------------------

 

Error! Bad return status for module build on kernel: 2.6.37.1-1.2-default (x86_64)

 

Consult /var/lib/dkms/megaraid_sas/v00.00.06.12/build/make.log for more information.

 

DKMS make.log for megaraid_sas-v00.00.06.12 for kernel 2.6.37.1-1.2-default (x86_64)

 

Sat Jan 14 17:10:32 CET 2012

 

make: Entering directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default'

 

make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default/. modules

 

CC [M] /var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.o

 

/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.c:3233:2: warning: initialization from incompatible pointer type

 

/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.c:5195:16: error: unknown field âownerâ specified in initializer

 

/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.c:5195:16: warning: excess elements in struct initializer

 

/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.c:5195:16: warning: (near initialization for âsysfs_max_sectors_attr.attrâ)

 

make[3]: *** [/var/lib/dkms/megaraid_sas/v00.00.06.12/build/megaraid_sas_base.o] Error 1

 

make[2]: *** [_module_/var/lib/dkms/megaraid_sas/v00.00.06.12/build] Error 2

 

make[1]: *** [sub-make] Error 2

 

make: *** [all] Error 2

 

make: Leaving directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default'

 

# ----------------------------------------------------------------------------
0 Kudos
Reply