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] Compiling legacy LSI megaraid drivers (Linux 2.6.11) with xe

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Compiling legacy LSI megaraid drivers (Linux 2.6.11) with xen 2.0.7?
From: Navid Khalili <navid@xxxxxxxx>
Date: Mon, 8 Aug 2005 18:47:59 -0700
Delivery-date: Tue, 09 Aug 2005 01:46:20 +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
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

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