WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] unable to compile megaraid_sas-v00.00.03.16 against linux-2.6.18.8
From: Alexander Hoßdorf <xen-users@xxxxxxxxxxx>
Date: Thu, 03 Jul 2008 22:42:31 +0200
Delivery-date: Thu, 03 Jul 2008 13:43:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] unable to compile megaraid_sas-v00.00.03.16 against linux-2.6.18.8, Alexander Hoßdorf <=