Thierry Dumont
2006-Jul-20 14:51 UTC
[Xen-users] debian stable/ xen-3.0.2-2/scsi: cannot boot.
I cannot boot my xen kernel.
System: debian sarge, up to date.
Machine: PIII + scsi disks (only scsi disks).
Installation:
-------------
I download xen-3.0.2-install-x86_32p.tgz;
tar xzf ....
cd xen-3.0.2-2-install
sh ./install.sh
Everything seems ok (no warning).
Let us look at /boot/grub/menu.lst
-----------------------------------
1) configuration for the classical kernel (not the xen one):
title Debian GNU/Linux, kernel 2.6.8-1-386 (recovery mode)
root (hd0,2)
kernel /vmlinuz-2.6.8-1-386 root=/dev/sda2 ro single
initrd /initrd.img-2.6.8-1-386
savedefault
boot
This works perfectly.
2) configuration for the xen kernel:
title Xen 3.0 / XenLinux 2.6
root (hd0,2)
kernel /xen-3.0.gz dom0_mem=262144
module /vmlinuz-2.6-xen root=/dev/sda2 ro console=tty0
Booting:
-------
When I try to boot the xen kernel, boot sequence starts and abort with
the classical message "please append a correct root=..."
but, for me, root=/dev/sda2 is correct:>mount
/dev/sda2 on / type ext3 (rw,errors=remount-ro)
.....
* Do I need an initrd? Ok, lets try:
>mkinitrd -o initrd-2.6.16-xen 2.6.16-xen
I get:
FATAL: Could not load /lib/modules/2.6.16-xen/modules.dep: No such file
or directory
and no initrd is created...
....? help!
Thank you in advance.
--
Thierry Dumont. Institut Camille Jordan -- Mathematiques--
Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622
- Villeurbanne Cedex - France.
Thierry.Dumont@maply.univ-lyon1.fr web: http://maply.univ-lyon1.fr/~tdumont
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
saptarshi naha
2006-Jul-21 06:26 UTC
[Xen-users] debian stable/ xen-3.0.2-2/scsi: cannot boot.
Before tryiing the follwing make sure you have new kernel under /lib/module (you will see 2.6.16-xen) If it is there Try the follwoing. # cd /boot/ # depmod 2.6.16-xen # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.16-xen.img 2.6.16-xen That should fix the problem Regards, Naha _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thierry Dumont
2006-Jul-21 07:30 UTC
Re: [Xen-users] debian stable/ xen-3.0.2-2/scsi: cannot boot.
saptarshi naha a écrit :> Before tryiing the follwing make sure you have new kernel under > /lib/module (you will see 2.6.16-xen) If it is there Try the > follwoing. > > # cd /boot/ > # depmod 2.6.16-xen > # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > initrd-2.6.16-xen.img 2.6.16-xen > > That should fix the problem > > Regards, > Naha > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >mmmhhh... no. mkinitrd do not support these options -v and -f, nor --with=aacraid --with=sd_mod --with=scsi_mod :>mkinitrd -f --with=aacraid --with=sd_mod --with=scsi_mod -o >initrd-2.6.16-xen.img 2.6.16-xen/usr/sbin/mkinitrd: illegal option -- f>mkinitrd --with=aacraid --with=sd_mod --with=scsi_mod -o >initrd-2.6.16-xen.img 2.6.16-xen/usr/sbin/mkinitrd: illegal option -- - Regards, t.d. -- Thierry Dumont. Institut Camille Jordan -- Mathematiques-- Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622 - Villeurbanne Cedex - France. Thierry.Dumont@maply.univ-lyon1.fr web: http://maply.univ-lyon1.fr/~tdumont _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yoshinori Katase
2006-Jul-21 08:29 UTC
Re: [Xen-users] debian stable/ xen-3.0.2-2/scsi: cannot boot.
Hi,all. This is the difference of distribution. In RHEL, mkinitrd suports these options. See "man mkinitrd" in detail. Regards, Katase ----- Original Message ----- From: "Thierry Dumont" <tdumont@math.univ-lyon1.fr> To: "saptarshi naha" <naha80@gmail.com>; <xen-users@lists.xensource.com> Sent: Friday, July 21, 2006 4:30 PM Subject: Re: [Xen-users] debian stable/ xen-3.0.2-2/scsi: cannot boot. saptarshi naha a écrit :> Before tryiing the follwing make sure you have new kernel under > /lib/module (you will see 2.6.16-xen) If it is there Try the > follwoing. > > # cd /boot/ > # depmod 2.6.16-xen > # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > initrd-2.6.16-xen.img 2.6.16-xen > > That should fix the problem > > Regards, > Naha > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >mmmhhh... no. mkinitrd do not support these options -v and -f, nor --with=aacraid --with=sd_mod --with=scsi_mod :>mkinitrd -f --with=aacraid --with=sd_mod --with=scsi_mod -o >initrd-2.6.16-xen.img 2.6.16-xen/usr/sbin/mkinitrd: illegal option -- f>mkinitrd --with=aacraid --with=sd_mod --with=scsi_mod -o >initrd-2.6.16-xen.img 2.6.16-xen/usr/sbin/mkinitrd: illegal option -- - Regards, t.d. -- Thierry Dumont. Institut Camille Jordan -- Mathematiques-- Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622 - Villeurbanne Cedex - France. Thierry.Dumont@maply.univ-lyon1.fr web: http://maply.univ-lyon1.fr/~tdumont --------------------------------------------------------------------------------> _______________________________________________ > 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
Henning Sprang
2006-Jul-25 11:24 UTC
Re: [Xen-users] debian stable/ xen-3.0.2-2/scsi: cannot boot.
On 7/20/06, Thierry Dumont <tdumont@math.univ-lyon1.fr> wrote:> [...] > I get: > FATAL: Could not load /lib/modules/2.6.16-xen/modules.dep: No such file > or directory > and no initrd is created...try doing a depmod -a before running mkinitrd. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Jul-25 12:07 UTC
Re: [Xen-users] debian stable/ xen-3.0.2-2/scsi: cannot boot.
On 7/21/06, Yoshinori Katase <y_katase@soft.fujitsu.com> wrote:> Hi,all. > This is the difference of distribution. > In RHEL, mkinitrd suports these options. > See "man mkinitrd" in detail. > Regards, > KataseOn Debian-based systems the command is mkinitramfs, I don''t have the syntax at hand now. on SuSE it''s also mkinitrd, but it has a different systax afaik. Maybe this should be put in the xen manual, because it is quite misleading in this aspect. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thierry Dumont
2006-Jul-25 12:49 UTC
Re: [Xen-users] debian stable/ xen-3.0.2-2/scsi: cannot boot.
Henning Sprang a écrit :> On 7/20/06, Thierry Dumont <tdumont@math.univ-lyon1.fr> wrote: > >> [...] >> I get: >> FATAL: Could not load /lib/modules/2.6.16-xen/modules.dep: No such file >> or directory >> and no initrd is created... > > > try doing a depmod -a before running mkinitrd. > > Henning >Yes... it''s working now! Thank you. Yours t.d. -- Thierry Dumont. Institut Camille Jordan -- Mathematiques-- Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622 - Villeurbanne Cedex - France. Thierry.Dumont@maply.univ-lyon1.fr web: http://maply.univ-lyon1.fr/~tdumont _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users