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

RE: [Xen-users] Compiling legacy LSI megaraid drivers (Linux 2.6.11)with

To: "Navid Khalili" <navid@xxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Compiling legacy LSI megaraid drivers (Linux 2.6.11)with xen 2.0.7?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 9 Aug 2005 10:19:55 +0100
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Tue, 09 Aug 2005 09:18:15 +0000
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWchHSRVsCWtckpTyO2zfGQnp7t6QAPvR3A
Thread-topic: [Xen-users] Compiling legacy LSI megaraid drivers (Linux 2.6.11)with xen 2.0.7?
Have you checked the compile time in the boot messages to see you're
actually booting the kernel you think you are?

The compile warnings are nothing to do with Xen.

Ian

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Navid Khalili
> Sent: 09 August 2005 02:48
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Compiling legacy LSI megaraid drivers 
> (Linux 2.6.11)with xen 2.0.7?
> 
> Hi all,
> 
>       I've been using Xen for a while and I am trying to 
> install it onto a Dell Poweredge 2950.  The 2850 uses a 
> PERC4/Di raid on motherboard, which requires the LSI Legacy 
> SCSI Raid driver to be compiled into the 2.6.11-xen0 kernel.  
> I've been recompiling the kernel by:
> 
> 1. Go into the linux-2.6.11-xen0 directory.  Select the 
> driver using "make ARCH=xen menuconfig" and then finding the 
> appropriate menu option
> (CONFIG_MEGARAID_LEGACY=y)
> 
> 2.  cd ..
> 
> 3.  make kernels
> 
> At some point....I get the following warnings during compilation:
> 
> CC      drivers/scsi/megaraid.o
> drivers/scsi/megaraid.c: In function `issue_scb':
> drivers/scsi/megaraid.c:1132: warning: passing arg 2 of 
> `writel' makes pointer from integer without a cast
> drivers/scsi/megaraid.c: In function `issue_scb_block':
> drivers/scsi/megaraid.c:1195: warning: passing arg 2 of 
> `writel' makes pointer from integer without a cast
> drivers/scsi/megaraid.c:1208: warning: passing arg 2 of 
> `writel' makes pointer from integer without a cast
> drivers/scsi/megaraid.c:1210: warning: passing arg 1 of 
> `readl' makes pointer from integer without a cast
> drivers/scsi/megaraid.c: In function `megaraid_isr_memmapped':
> drivers/scsi/megaraid.c:1340: warning: passing arg 1 of 
> `readl' makes pointer from integer without a cast
> drivers/scsi/megaraid.c:1347: warning: passing arg 2 of 
> `writel' makes pointer from integer without a cast
> drivers/scsi/megaraid.c:1366: warning: passing arg 2 of 
> `writel' makes pointer from integer without a cast
> drivers/scsi/megaraid.c:1370: warning: passing arg 1 of 
> `readl' makes pointer from integer without a cast
> 
> 
> 
> 4.  go into dist/install/boot and copy the kernel to /boot
> 
> during boot of the new kernel, I never see the LSI megaraid 
> driver load.  I assume that the above errors are symptoms of 
> something...anyone have any ideas?  Has anyone had any 
> problems similar to this?  I know I can get the RAID driver 
> to cleanly compile and work under a non xen kernels....
> 
> 
> Thanks in advance,
> 
> Navid Khalili
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 

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

<Prev in Thread] Current Thread [Next in Thread>