Navid Khalili
2005-Aug-09 01:47 UTC
[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@lists.xensource.com http://lists.xensource.com/xen-users
Mark Foster
2005-Aug-09 18:55 UTC
Re: [Xen-users] Compiling legacy LSI megaraid drivers (Linux 2.6.11) with xen 2.0.7?
Navid Khalili wrote:> 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)We are running 2850s and linux-2.6.11-xen0 using these kernel config options. Why don''t you try them? CONFIG_MEGARAID_NEWGEN CONFIG_MEGARAID_MM CONFIG_MEGARAID_MAILBOX -- Some days it''s just not worth chewing through the restraints... Mark D. Foster, CISSP <mark@foster.cc> http://mark.foster.cc/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Navid Khalili
2005-Aug-09 20:18 UTC
Re: [Xen-users] Compiling legacy LSI megaraid drivers (Linux 2.6.11) with xen 2.0.7?
Thank you, thank you, thank you! Oddly enough, menuconfig did not show those last two config options. I have tried earlier using the nextgen but to no avail. With those last two options, it worked! Thanks, Navid On Aug 9, 2005, at 11:55 AM, Mark Foster wrote:> Navid Khalili wrote: > >> 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) > > > We are running 2850s and linux-2.6.11-xen0 using these kernel config > options. > Why don''t you try them? > > CONFIG_MEGARAID_NEWGEN > CONFIG_MEGARAID_MM > CONFIG_MEGARAID_MAILBOX > > > -- > Some days it''s just not worth chewing through the restraints... > Mark D. Foster, CISSP <mark@foster.cc> http://mark.foster.cc/ > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Reasonably Related Threads
- RE: Compiling legacy LSI megaraid drivers (Linux 2.6.11)with xen 2.0.7?
- Compiling Kernel with raid driver for my Dell poweredge 2850 RAID Controler
- [OSSTest PATCH 0/2] MegaRAID SAS support and RebootTimeExtra documentation
- prob boot xen-4 2.6.32 megaraid
- poweredge 1850 won't boot 7.1? maybe LSI-related : amr0: adapter is busy