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

[Xen-users] Compiling legacy LSI megaraid drivers (Linux 2.6.11) with xen 2.0.7?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Navid Khalili <navid@xxxxxxxx>
  • Date: Mon, 8 Aug 2005 18:47:59 -0700
  • Delivery-date: Tue, 09 Aug 2005 01:46:20 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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