Nicolo
2006-Sep-14 15:07 UTC
[Xen-users] Compiling Kernel with raid driver for my Dell poweredge 2850 RAID Controler
Hello I have a problem to boot my xen kernel, I have a debian sarge 3.1 stable, download xen-3.0.2-src.tgz, extract and compil it with the command "make world" But at boot I have an error : "cannot open root filesystem sda1" My raid controler is a perc4/di raid 5 controler lspci -v said : 0000:02:0e.0 RAID bus controller: Dell PowerEdge Expandable RAID controller 4 (rev 06) So I would like to know how to compil my kernel (2.6.16) with raid support ? Must I have to set y instead of m for these options or for some of these options : CONFIG_MEGARAID_NEWGEN=m CONFIG_MEGARAID_MM=m CONFIG_MEGARAID_MAILBOX=m CONFIG_MEGARAID_LEGACY=m CONFIG_MEGARAID_SAS=m Thanks for your reply Nicolo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2006-Sep-14 15:23 UTC
RE: [Xen-users] Compiling Kernel with raid driver for my Dell poweredge 2850 RAID Controler
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Nicolo > Sent: 14 September 2006 16:08 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Compiling Kernel with raid driver for my > Dell poweredge 2850 RAID Controler > > Hello > > > > I have a problem to boot my xen kernel, > > I have a debian sarge 3.1 stable, download > xen-3.0.2-src.tgz, extract and > compil it with the command "make world" > But at boot I have an error : "cannot open root filesystem sda1" > > My raid controler is a perc4/di raid 5 controler > lspci -v said : > 0000:02:0e.0 RAID bus controller: Dell PowerEdge Expandable > RAID controller > 4 (rev 06) > > So I would like to know how to compil my kernel (2.6.16) with > raid support ? > Must I have to set y instead of m for these options or for > some of these > options : > CONFIG_MEGARAID_NEWGEN=m > CONFIG_MEGARAID_MM=m > CONFIG_MEGARAID_MAILBOX=m > CONFIG_MEGARAID_LEGACY=m > CONFIG_MEGARAID_SAS=mYou have a choice: You can either include a "initrd" that has the relevant modules, or use "bultin" rather than modules (i.e. give "y" instead of "m" for the config entries - bear in mind that you may need other modules for MEGARAID driver to work - lsmod should give you details of which modules are linked to which other modules. I think for example SATA requires SCSI drivers to be built too). -- Mats> > Thanks for your reply > > Nicolo > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nicolo
2006-Sep-14 16:09 UTC
RE: [Xen-users] Compiling Kernel with raid driver for my Dell poweredge 2850 RAID Controler
Thanks, I just see that : megaraid2 28616 3 (autoclean) scsi_mod 86052 3 (autoclean) [ide-scsi sd_mod megaraid2] So megaraid2 needs scsi_mod ? how can i active it ? I put y instead of m on all 5 megaraid option but it''s doesn''t work :-( when i edit my .config, it comes to : CONFIG_MEGARAID_NEWGEN=y CONFIG_MEGARAID_MM=m CONFIG_MEGARAID_MAILBOX=m CONFIG_MEGARAID_LEGACY=m CONFIG_MEGARAID_SAS=m instead of : CONFIG_MEGARAID_NEWGEN=y CONFIG_MEGARAID_MM=y CONFIG_MEGARAID_MAILBOX=y CONFIG_MEGARAID_LEGACY=y CONFIG_MEGARAID_SAS=y And how can I include a "initrd" that has the relevant modules ? thanks nicolo -----Message d''origine----- De : Petersson, Mats [mailto:Mats.Petersson@amd.com] Envoye : jeudi 14 septembre 2006 17:24 A : Nicolo; xen-users@lists.xensource.com Objet : RE: [Xen-users] Compiling Kernel with raid driver for my Dell poweredge 2850 RAID Controler> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Nicolo > Sent: 14 September 2006 16:08 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Compiling Kernel with raid driver for my > Dell poweredge 2850 RAID Controler > > Hello > > > > I have a problem to boot my xen kernel, > > I have a debian sarge 3.1 stable, download > xen-3.0.2-src.tgz, extract and > compil it with the command "make world" > But at boot I have an error : "cannot open root filesystem sda1" > > My raid controler is a perc4/di raid 5 controler > lspci -v said : > 0000:02:0e.0 RAID bus controller: Dell PowerEdge Expandable > RAID controller > 4 (rev 06) > > So I would like to know how to compil my kernel (2.6.16) with > raid support ? > Must I have to set y instead of m for these options or for > some of these > options : > CONFIG_MEGARAID_NEWGEN=m > CONFIG_MEGARAID_MM=m > CONFIG_MEGARAID_MAILBOX=m > CONFIG_MEGARAID_LEGACY=m > CONFIG_MEGARAID_SAS=mYou have a choice: You can either include a "initrd" that has the relevant modules, or use "bultin" rather than modules (i.e. give "y" instead of "m" for the config entries - bear in mind that you may need other modules for MEGARAID driver to work - lsmod should give you details of which modules are linked to which other modules. I think for example SATA requires SCSI drivers to be built too). -- Mats> > Thanks for your reply > > Nicolo > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nicolo
2006-Sep-14 16:21 UTC
RE: [Xen-users] Compiling Kernel with raid driver for my Dell poweredge 2850 RAID Controler
I have juste see that my 2.4.27-2-386 original kernel that work uses megaraid2 and not megaraid : CONFIG_SCSI_MEGARAID=m CONFIG_SCSI_MEGARAID2=m and lsmod : megaraid2 28616 3 (autoclean) scsi_mod 86052 3 (autoclean) [ide-scsi sd_mod megaraid2] in my .config 2.6.16-xen i have : CONFIG_MEGARAID_NEWGEN=y CONFIG_MEGARAID_MM=m CONFIG_MEGARAID_MAILBOX=m CONFIG_MEGARAID_LEGACY=m CONFIG_MEGARAID_SAS=m Nicolo -----Message d''origine----- De : Nicolo [mailto:nicolo@unimedecine.org] Envoye : jeudi 14 septembre 2006 18:09 A : Petersson, Mats; xen-users@lists.xensource.com Objet : RE: [Xen-users] Compiling Kernel with raid driver for my Dell poweredge 2850 RAID Controler Thanks, I just see that : megaraid2 28616 3 (autoclean) scsi_mod 86052 3 (autoclean) [ide-scsi sd_mod megaraid2] So megaraid2 needs scsi_mod ? how can i active it ? I put y instead of m on all 5 megaraid option but it''s doesn''t work :-( when i edit my .config, it comes to : CONFIG_MEGARAID_NEWGEN=y CONFIG_MEGARAID_MM=m CONFIG_MEGARAID_MAILBOX=m CONFIG_MEGARAID_LEGACY=m CONFIG_MEGARAID_SAS=m instead of : CONFIG_MEGARAID_NEWGEN=y CONFIG_MEGARAID_MM=y CONFIG_MEGARAID_MAILBOX=y CONFIG_MEGARAID_LEGACY=y CONFIG_MEGARAID_SAS=y And how can I include a "initrd" that has the relevant modules ? thanks nicolo -----Message d''origine----- De : Petersson, Mats [mailto:Mats.Petersson@amd.com] Envoye : jeudi 14 septembre 2006 17:24 A : Nicolo; xen-users@lists.xensource.com Objet : RE: [Xen-users] Compiling Kernel with raid driver for my Dell poweredge 2850 RAID Controler> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Nicolo > Sent: 14 September 2006 16:08 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Compiling Kernel with raid driver for my > Dell poweredge 2850 RAID Controler > > Hello > > > > I have a problem to boot my xen kernel, > > I have a debian sarge 3.1 stable, download > xen-3.0.2-src.tgz, extract and > compil it with the command "make world" > But at boot I have an error : "cannot open root filesystem sda1" > > My raid controler is a perc4/di raid 5 controler > lspci -v said : > 0000:02:0e.0 RAID bus controller: Dell PowerEdge Expandable > RAID controller > 4 (rev 06) > > So I would like to know how to compil my kernel (2.6.16) with > raid support ? > Must I have to set y instead of m for these options or for > some of these > options : > CONFIG_MEGARAID_NEWGEN=m > CONFIG_MEGARAID_MM=m > CONFIG_MEGARAID_MAILBOX=m > CONFIG_MEGARAID_LEGACY=m > CONFIG_MEGARAID_SAS=mYou have a choice: You can either include a "initrd" that has the relevant modules, or use "bultin" rather than modules (i.e. give "y" instead of "m" for the config entries - bear in mind that you may need other modules for MEGARAID driver to work - lsmod should give you details of which modules are linked to which other modules. I think for example SATA requires SCSI drivers to be built too). -- Mats> > Thanks for your reply > > Nicolo > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nicolo
2006-Sep-14 16:40 UTC
RE: [Xen-users] Compiling Kernel with raid driver for my Dellpoweredge 2850 RAID Controler
When I try : mkinitrd -k -o /boot/initxen.img 2.6.16-xen I have an error on my megaraid2 module : /usr/sbin/mkinitrd: The working directory /tmp/mkinitrd.TtbbHR will be kept. /usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed FATAL: Module megaraid2 not found. WARNING: This failure MAY indicate that your kernel will not boot! but it can also be triggered by needed modules being compiled into the kernel. Some one know how to past it ? Thanks Nicolas -----Message d''origine----- De : xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com]De la part de Petersson, Mats Envoye : jeudi 14 septembre 2006 17:24 A : Nicolo; xen-users@lists.xensource.com Objet : RE: [Xen-users] Compiling Kernel with raid driver for my Dellpoweredge 2850 RAID Controler> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Nicolo > Sent: 14 September 2006 16:08 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Compiling Kernel with raid driver for my > Dell poweredge 2850 RAID Controler > > Hello > > > > I have a problem to boot my xen kernel, > > I have a debian sarge 3.1 stable, download > xen-3.0.2-src.tgz, extract and > compil it with the command "make world" > But at boot I have an error : "cannot open root filesystem sda1" > > My raid controler is a perc4/di raid 5 controler > lspci -v said : > 0000:02:0e.0 RAID bus controller: Dell PowerEdge Expandable > RAID controller > 4 (rev 06) > > So I would like to know how to compil my kernel (2.6.16) with > raid support ? > Must I have to set y instead of m for these options or for > some of these > options : > CONFIG_MEGARAID_NEWGEN=m > CONFIG_MEGARAID_MM=m > CONFIG_MEGARAID_MAILBOX=m > CONFIG_MEGARAID_LEGACY=m > CONFIG_MEGARAID_SAS=mYou have a choice: You can either include a "initrd" that has the relevant modules, or use "bultin" rather than modules (i.e. give "y" instead of "m" for the config entries - bear in mind that you may need other modules for MEGARAID driver to work - lsmod should give you details of which modules are linked to which other modules. I think for example SATA requires SCSI drivers to be built too). -- Mats> > Thanks for your reply > > Nicolo > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users