FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-08-2012, 06:54 AM
ML mail
 
Default Compiling megaraid_sas driver on Debian 6.0 squeeze

Hello,


I just bought a new LSI MegaRAID SAS 9266-4i RAID card and noticed that Debian 6.0 squeeze does not recognize this RAID card as it is pretty new. So no problem I thought I would simply download the source driver directly from LSI (megaraid_sas-v00.00.06.18-src.tgz) and compile the module myself in order to replace the current module using the dkms tool.

Unfortunately, while running dkms build (dkms build -m megaraid-sas -v 00.00.06.18) the compilation fails and the make.log file contains the following:

DKMS make.log for megaraid-sas-00.00.06.18 for kernel 2.6.32-5-xen-amd64 (x86_64)
Wed Aug 8 08:42:11 CEST 2012
make: Entering directory `/usr/src/linux-headers-2.6.32-5-xen-amd64'
CC [M] /var/lib/dkms/megaraid-sas/00.00.06.18/build/megaraid_sas_base.o
/var/lib/dkms/megaraid-sas/00.00.06.18/build/megaraid_sas_base.c: In function 'megasas_change_queue_depth':
/var/lib/dkms/megaraid-sas/00.00.06.18/build/megaraid_sas_base.c:3208: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function)
/var/lib/dkms/megaraid-sas/00.00.06.18/build/megaraid_sas_base.c:3208: error: (Each undeclared identifier is reported only once
/var/lib/dkms/megaraid-sas/00.00.06.18/build/megaraid_sas_base.c:3208: error: for each function it appears in.)
/var/lib/dkms/megaraid-sas/00.00.06.18/build/megaraid_sas_base.c: At top level:
/var/lib/dkms/megaraid-sas/00.00.06.18/build/megaraid_sas_base.c:3236: warning: initialization from incompatible pointer type
/var/lib/dkms/megaraid-sas/00.00.06.18/build/megaraid_sas_base.c:5166: warning: initialization from incompatible pointer type
make[3]: *** [/var/lib/dkms/megaraid-sas/00.00.06.18/build/megaraid_sas_base.o] Error 1
make[2]: *** [_module_/var/lib/dkms/megaraid-sas/00.00.06.18/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.32-5-xen-amd64'


No I am no programmer and honestly don't have much a clue what is really going wrong here... So just wanted to ask if someone has an idea what could be possibly wrong here? or maybe someone already has experience compiling the latest megaraid_sas module from source?

Any help is greatly appreciated.

Regards,
M.L.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1344408866.86533.YahooMailNeo@web111413.mail.gq1.y ahoo.com">http://lists.debian.org/1344408866.86533.YahooMailNeo@web111413.mail.gq1.y ahoo.com
 

Thread Tools




All times are GMT. The time now is 02:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org