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

Re: [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: Tue, 9 Aug 2005 13:17:56 -0700
  • Delivery-date: Tue, 09 Aug 2005 20:16:25 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Yes, its definitely the kernel that I have been compiling...any idea as to how I can check that the driver is in there? I can't look at /proc/config.gz because the kernel panics when it cant load the root fs.

Thanks,
Navid
On Aug 9, 2005, at 2:19 AM, Ian Pratt wrote:


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


 


Rackspace

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