[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] unable to compile megaraid_sas-v00.00.03.16 against linux-2.6.18.8



Hi,

I am unable to compile the megaraid_sas-v00.00.03.16 driver against the 2.6.18.8 kernel sources.

I don't think it's 100% xen related, but I use 2.6.18.8 kernel sources for xen
and I have to compile a new version of megaraid_sas against it.

compiler is gcc-4.1 from debian etch.

the version of megaraid_sas included with the 2.6.18.8 sources is v00.00.03.01.
it compiles without any problems.


but when I compile v00.00.03.16 against 2.6.18.8 or 2.6.18.8-xen0
the following happens:

--------------------------------------

katze4unix:/# make -C /lib/modules/2.6.18.8-xen0/build 
SUBDIRS=/usr/src/dell/megaraid_sas-v00.00.03.16
make: Entering directory `/usr/src/xen-3.1.4/build-linux-2.6.18.8-xen0_x86_32'
make -C /usr/src/xen-3.1.4/linux-2.6.18.8-xen 
O=/usr/src/xen-3.1.4/build-linux-2.6.18.8-xen0_x86_32
 CC [M]  /usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.o
/usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.c:1264: error: unknown field 
ÃâËeh_timed_outÃââ specified in initializer
/usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.c:1264: warning: 
initialization from incompatible pointer type
/usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.c: In function 
ÃâËmegasas_probe_oneÃââ:
/usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.c:2650: warning: passing argument 2 of 
ÃâËrequest_irqÃââ from incompatible pointer type
/usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.c: In function 
ÃâËmegasas_resumeÃââ:
/usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.c:2881: warning: passing argument 2 of 
ÃâËrequest_irqÃââ from incompatible pointer type
make[3]: *** [/usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.o] Fehler 1
make[2]: *** [_module_/usr/src/dell/megaraid_sas-v00.00.03.16] Fehler 2
make[1]: *** [_all] Fehler 2
make: *** [all] Fehler 2
make: Leaving directory `/usr/src/xen-3.1.4/build-linux-2.6.18.8-xen0_x86_32'

--------------------------------------

compiling the same module with 2.6.24 sources from kernel.org
the result is a working module:

--------------------------------------

katze4unix:/# make -C /lib/modules/2.6.24/build 
SUBDIRS=/usr/src/dell/megaraid_sas-v00.00.03.16
make: Entering directory `/usr/src/linux-2.6.24'
 CC [M]  /usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.o
/usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.c:2435: warning: 
initialization from incompatible pointer type
 Building modules, stage 2.
 MODPOST 1 modules
 LD [M]  /usr/src/dell/megaraid_sas-v00.00.03.16/megaraid_sas.ko
make: Leaving directory `/usr/src/linux-2.6.24'

--------------------------------------

does anyone of you know how to get a working megaraid_sas module v.00.00.03.16 or higher,
with xen-2.6.18.8 sources?

thanks for your help.



Regards,

katze4unix

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.