Hello, Problem: Debian(linux-image-xen-686) Dom0 does not boot from LSI MegaRaid I''m sorry, because I don''t know if I''m at the right place to ask for a solution for my problem, because it might be Debian related. Nethertheless I try: Xen Kernel are in Debian Unstable for a month or so. I''m running an Etch (testing) machine here and I wanted to try out Xen. I followed this guide here: http://www.debian-administration.org/articles/396 The only difference is that I set APT::Default-Release "testing"; in my apt.conf so that the rest of the system stays in etch (just the xen kernels are not in etch). In my system is a LSI Megaraid SCSI Controller; there no problem booting from it using the xen-less Debian Kernel. But when I boot up the Xen Kernel I get some IO Error messages about sda (some sectors; especially sector 0). The boot process ends with the message "Waiting for root filesystem" and after a while I''m in BusyBox. I tried the same guide from above in a VMware machine (so without complicated hardware) and everything worked out fine. I would like to give more boot screen messages but I don''t know how I can save them (since the boot process is interupted). Thank you in advance for any idea or direction where to go... Sebastian Ewert _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hy Sebastian, 1. Get the lastest xen-src. 2. copy to your /usr/src/ 2. tar xzf xen-unstable-src.tgz 3. cd /usr/src/xen-unstable-dir/ 3. make world (be sure your box has internet access to xen get the linux-2.6.16 from kernel.org). 4. make install 5. copy my .config(config-2.6.16-xen-ok) to your xen_unstable_directory/linux.2.6.16-xen/ (dont forget to rename to .config) 6. at /usr/src/xen-unstable-dir/ run the commands: make linux-2.6-xen-config CONFIGMODE=menuconfig (my .config has much trash) make linux-2.6-xen-build make linux-2.6-xen-install depmod 2.6.16-xen mkinitrd -o /boot/initrd-2.6.16-xen.img 2.6.16-xen 7. dont forget to change your boot loader. 8. reboot bruno taranto On 6/12/06, Sebastian Ewert <ewerts@cs.uni-bonn.de> wrote:> > Hello, > > > Problem: Debian(linux-image-xen-686) Dom0 does not boot from LSI MegaRaid > > I''m sorry, because I don''t know if I''m at the right place to ask for a > solution for my problem, because it might be Debian related. Nethertheless > I > try: > > Xen Kernel are in Debian Unstable for a month or so. I''m running an Etch > (testing) machine here and I wanted to try out Xen. I followed this guide > here: > > http://www.debian-administration.org/articles/396 > > The only difference is that I set APT::Default-Release "testing"; in my > apt.conf so that the rest of the system stays in etch (just the xen > kernels > are not in etch). > > In my system is a LSI Megaraid SCSI Controller; there no problem booting > from it using the xen-less Debian Kernel. But when I boot up the Xen > Kernel > I get some IO Error messages about sda (some sectors; especially sector > 0). > The boot process ends with the message "Waiting for root filesystem" and > after a while I''m in BusyBox. > > I tried the same guide from above in a VMware machine (so without > complicated hardware) and everything worked out fine. > > I would like to give more boot screen messages but I don''t know how I can > save them (since the boot process is interupted). > > > Thank you in advance for any idea or direction where to go... > > > Sebastian Ewert > > _______________________________________________ > 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
Hi Bruno, thank you very much for your answer. I don''t have any experience with vanilla kernels under debian. I know that debian does not patch their kernels a lot (compared to other distros), but a few patches, that might be important, are also in debian kernels. For example one, that allows APT to overwrite files that are currently in use. So I don''t know if your config would also work against the debian patched kernel. Another reason I would like to stick to debian stock kernels is because of security updates (with everything I have to do outside APT, I''m a bit lazy sometimes; I have to admit that to myself) But don''t get me wrong; I really appreciate your detailed post! Really nice to see that it is possible at least with a vanilla kernel to get Xen and the LSI adapter to work with each other. But I hope that that is also possible with the debian patched kernel. So my question is if somebody knows if there is a way so that I can get the LSI adapter to work with the Debian Xen kernel. Thank you in advance... bruno taranto wrote:> 1. Get the lastest xen-src. > 2. copy to your /usr/src/ > 2. tar xzf xen-unstable-src.tgz > 3. cd /usr/src/xen-unstable-dir/ > 3. make world (be sure your box has internet access to xen get the > linux-2.6.16 from kernel.org <http://kernel.org>). > 4. make install > 5. copy my .config(config-2.6.16-xen-ok) to your > xen_unstable_directory/linux.2.6.16-xen/ (dont forget to rename to .config) > 6. at /usr/src/xen-unstable-dir/ run the commands: > make linux-2.6-xen-config CONFIGMODE=menuconfig (my .config has much trash) > make linux-2.6-xen-build > make linux-2.6-xen-install > depmod 2.6.16-xen > mkinitrd -o /boot/initrd-2.6.16-xen.img 2.6.16-xen > 7. dont forget to change your boot loader. > 8. reboot > > On 6/12/06, *Sebastian Ewert* <ewerts@cs.uni-bonn.de > <mailto:ewerts@cs.uni-bonn.de>> wrote: > > Hello, > > > Problem: Debian(linux-image-xen-686) Dom0 does not boot from LSI > MegaRaid > > I''m sorry, because I don''t know if I''m at the right place to ask for a > solution for my problem, because it might be Debian related. > Nethertheless I > try: > > Xen Kernel are in Debian Unstable for a month or so. I''m running an > Etch > (testing) machine here and I wanted to try out Xen. I followed this > guide here: > > http://www.debian-administration.org/articles/396 > > The only difference is that I set APT::Default-Release "testing"; in my > apt.conf so that the rest of the system stays in etch (just the xen > kernels > are not in etch). > > In my system is a LSI Megaraid SCSI Controller; there no problem booting > from it using the xen-less Debian Kernel. But when I boot up the Xen > Kernel > I get some IO Error messages about sda (some sectors; especially > sector 0). > The boot process ends with the message "Waiting for root filesystem" and > after a while I''m in BusyBox. > > I tried the same guide from above in a VMware machine (so without > complicated hardware) and everything worked out fine. > > I would like to give more boot screen messages but I don''t know how > I can > save them (since the boot process is interupted). > > > Thank you in advance for any idea or direction where to go..._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hy Sebastian, Yes... working.. i am using now on Debian. Use my .config and make the changes as you need. dcgs0058:~# dmesg |grep mega megaraid cmm: 2.20.2.6 (Release Date: Mon Mar 7 00:01:03 EST 2005) megaraid: 2.20.4.7 (Release Date: Mon Nov 14 12:27:22 EST 2005) megaraid: probe new device 0x1028:0x0013:0x1028:0x016c: bus 2:slot 14:func 0 megaraid: fw version:[521S] bios version:[H430] megasas: 00.00.02.04 Fri Feb 03 14:31:44 PST 2006 dcgs0058:~# bruno taranto On 6/13/06, Sebastian Ewert <ewerts@cs.uni-bonn.de> wrote:> > Hi Bruno, > > thank you very much for your answer. > > I don''t have any experience with vanilla kernels under debian. I know that > debian does not patch their kernels a lot (compared to other distros), but > a > few patches, that might be important, are also in debian kernels. For > example one, that allows APT to overwrite files that are currently in use. > So I don''t know if your config would also work against the debian patched > kernel. > > Another reason I would like to stick to debian stock kernels is because of > security updates (with everything I have to do outside APT, I''m a bit lazy > sometimes; I have to admit that to myself) > > But don''t get me wrong; I really appreciate your detailed post! Really > nice > to see that it is possible at least with a vanilla kernel to get Xen and > the > LSI adapter to work with each other. But I hope that that is also possible > with the debian patched kernel. > > > So my question is if somebody knows if there is a way so that I can get > the > LSI adapter to work with the Debian Xen kernel. > > Thank you in advance... > > > bruno taranto wrote: > > 1. Get the lastest xen-src. > > 2. copy to your /usr/src/ > > 2. tar xzf xen-unstable-src.tgz > > 3. cd /usr/src/xen-unstable-dir/ > > 3. make world (be sure your box has internet access to xen get the > > linux-2.6.16 from kernel.org <http://kernel.org>). > > 4. make install > > 5. copy my .config(config-2.6.16-xen-ok) to your > > xen_unstable_directory/linux.2.6.16-xen/ (dont forget to rename to > .config) > > 6. at /usr/src/xen-unstable-dir/ run the commands: > > make linux-2.6-xen-config CONFIGMODE=menuconfig (my .config has much > trash) > > make linux-2.6-xen-build > > make linux-2.6-xen-install > > depmod 2.6.16-xen > > mkinitrd -o /boot/initrd-2.6.16-xen.img 2.6.16-xen > > 7. dont forget to change your boot loader. > > 8. reboot > > > > On 6/12/06, *Sebastian Ewert* <ewerts@cs.uni-bonn.de > > <mailto:ewerts@cs.uni-bonn.de>> wrote: > > > > Hello, > > > > > > Problem: Debian(linux-image-xen-686) Dom0 does not boot from LSI > > MegaRaid > > > > I''m sorry, because I don''t know if I''m at the right place to ask for > a > > solution for my problem, because it might be Debian related. > > Nethertheless I > > try: > > > > Xen Kernel are in Debian Unstable for a month or so. I''m running an > > Etch > > (testing) machine here and I wanted to try out Xen. I followed this > > guide here: > > > > http://www.debian-administration.org/articles/396 > > > > The only difference is that I set APT::Default-Release "testing"; in > my > > apt.conf so that the rest of the system stays in etch (just the xen > > kernels > > are not in etch). > > > > In my system is a LSI Megaraid SCSI Controller; there no problem > booting > > from it using the xen-less Debian Kernel. But when I boot up the Xen > > Kernel > > I get some IO Error messages about sda (some sectors; especially > > sector 0). > > The boot process ends with the message "Waiting for root filesystem" > and > > after a while I''m in BusyBox. > > > > I tried the same guide from above in a VMware machine (so without > > complicated hardware) and everything worked out fine. > > > > I would like to give more boot screen messages but I don''t know how > > I can > > save them (since the boot process is interupted). > > > > > > Thank you in advance for any idea or direction where to go... > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I had this (or very similar problem) and it was solved once I moved the megaraid driver module to initramfs image. You will need initramfs-tools package. Then compile the kernel with the SCSI and Megaraid drivers as modules and run mkinitramfs -o /boot/initramfs.img 2.6.16-xen0. Then add "module /initramfs.img" to the Xen entry in /boot/grub/menu.lst Here is content of my /etc/mkinitramfs/modules file: scsi_mod sd_mod megaraid megaraid_mbox megaraid_mm Hope this helps. Sebastian Ewert wrote:> Hello, > > > Problem: Debian(linux-image-xen-686) Dom0 does not boot from LSI MegaRaid > > I''m sorry, because I don''t know if I''m at the right place to ask for a > solution for my problem, because it might be Debian related. > Nethertheless I try: > > Xen Kernel are in Debian Unstable for a month or so. I''m running an > Etch (testing) machine here and I wanted to try out Xen. I followed > this guide here: > > http://www.debian-administration.org/articles/396 > > The only difference is that I set APT::Default-Release "testing"; in > my apt.conf so that the rest of the system stays in etch (just the xen > kernels are not in etch). > > In my system is a LSI Megaraid SCSI Controller; there no problem > booting from it using the xen-less Debian Kernel. But when I boot up > the Xen Kernel I get some IO Error messages about sda (some sectors; > especially sector 0). The boot process ends with the message "Waiting > for root filesystem" and after a while I''m in BusyBox. > > I tried the same guide from above in a VMware machine (so without > complicated hardware) and everything worked out fine. > > I would like to give more boot screen messages but I don''t know how I > can save them (since the boot process is interupted). > > > Thank you in advance for any idea or direction where to go... > > > Sebastian Ewert > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Yuri Pismerov, System Administrator Armor Technologies (Canada) Inc. P: 905 305 1946 (x.3519) http://www.armorware.net Privacy Protection Guaranteed! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
JHJE (Jan Holst Jensen)
2006-Jun-13 21:52 UTC
RE: [Xen-users] Xen3.0, LSI MegaRaid, Debian
> Problem: Debian(linux-image-xen-686) Dom0 does not boot from > LSI MegaRaidI had the same problem - booted with Xen-less Debian kernel, but not with Xen-kernel. For some reason the default Xen-config only includes the basic Megaraid driver and not megaraid_mbox and megaraid_mm so after I had rebuilt the kernel with all three Megaraid configs included I could boot. I selected SCSI support and drivers statically into the kernel - guess I am too lazy bothering with initramfs stuff... Cheers -- Jan Holst Jensen, Novo Nordisk A/S, Denmark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, thank you all for your suggestions. I can''t try things out before monday. But then I will report back. Thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users