WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen reboots

Hello Seneca

here is the requested information:

xen@ubuntu:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/md2        /               ext3    defaults,errors=remount-ro 0       1
/dev/md0        /boot           ext3    defaults        0       2
/dev/md3        /srv            ext3    defaults        0       2
/dev/md1        none            swap    sw              0       0
/dev/hdb        /media/cdrom0   udf,iso9660 user,noauto     0       0
xen@ubuntu:~$

/boot/grub/menu.lst:
title           Ubuntu, kernel 2.6.12-9-386
root            (hd0,0)
kernel          /vmlinuz-2.6.12-9-386 root=/dev/md2 ro quiet splash
initrd          /initrd.img-2.6.12-9-386
savedefault
boot

title Xen 3.0 / XenLinux 2.6.16
root            (hd0,0)
kernel          /xen-3.0.2.gz noreboot dom0_mem=262144
module          /vmlinuz-2.6.16-xen root=/dev/md2 ro console=tty0
module          /initrd.img-2.6.16.xen
savedefault
boot

title           Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root            (hd0,0)
kernel          /vmlinuz-2.6.12-9-386 root=/dev/md2 ro single
initrd          /initrd.img-2.6.12-9-386
boot

title           Ubuntu, memtest86+
root            (hd0,0)
kernel          /memtest86+.bin
boot

and last the boot dir:



Am Dienstag, den 11.04.2006, 08:25 +0200 schrieb Seneca:
Hello Tulasi,

I see a misspeling in my suggestion, once it is

    initrd.img-2.6.16-xen

and once

    initrd.img-2.6.16.xen

It must be exactly the same of cause, otherwise the file will not be
found by grub.


T> mdadm: error opening /devfs/md/1: No such file or directory
T> mdadm: error opening /devfs/md/2: No such file or directory

Now this looks really odd. Could you post your /etc/fstab file,
the current menu.lst and a dir of /boot ?

Seneca



You wrote at Montag, 10. April 2006 23:57:

T> Thanks Seneca


T> still get error:

T> mdadm: error opening /devfs/md/1: No such file or directory
T> mdadm: error opening /devfs/md/2: No such file or directory
T> mount: devfs: not mounted
T> mount: unknown filesystem type "devfs"
T> ivot_root: No such file or directory
T> sbin/init: 428: cannot open dev/console: No such file
T> kernel panic: bla bla bla.....

T> regards

T> Am Sonntag, den 09.04.2006, 23:39 +0200 schrieb Seneca:

T> Hello Tulasi,

T> I think the problem is not the SATA driver, but that you are running
T> on a RAID (md2). As seen in your non-Xen booting, you are using a
T> initrd, so you also need to create and use one for your xen boot.

T> For Xen 3.0.2 it works this way:

T> depmod 2.6.16-xen
T> mkinitrd -o /boot/initrd.img-2.6.16.xen 2.6.16-xen

T> In menu.lst:

T> title           Xen 3.0.2 / XenLinux 2.6.16
T> root            (hd0,0)
T> kernel          /boot/xen-3.0.2.gz dom0_mem=262144
T> module          /boot/vmlinuz-2.6.16-xen root=/dev/md2 ro console=tty0
T> module          /boot/initrd.img-2.6.16-xen
T> savedefault
T> boot

T> Seneca

T>> non of the kernels seems to understand my nVidia Sata controller:

T>> Cannot open root device "md2" or unknown block(0,0)
T>> please append a correct "root=" boot option
T>> kernel panic - not syncing: VFS: Unable to mount root fs on
T>> unknown-block(0,0)

T>> here is my grub conf.

T>> title           Ubuntu, kernel 2.6.12-9-386
T>> root            (hd0,0)
T>> kernel          /vmlinuz-2.6.12-9-386 root=/dev/md2 ro quiet splash
T>> initrd          /initrd.img-2.6.12-9-386
T>> savedefault
T>> boot

T>> title Xen 3.0 / XenLinux 2.6
T>> kernel          /xen-3.0.1.gz noreboot
T>> module          /vmlinuz-2.6.12.6-xen root=/dev/md2 ro console=tty0

T>> title Xen 3.0 / XenLinux 2.6
T>> kernel          /xen-3.0.2.gz noreboot
T>> module          /vmlinuz-2.6.16-xen root=/dev/md2 ro console=tty0

T>> strange Ubuntu 5.10 does recognize the harddrives not so the the
T> latest
T>> Ubuntu Dapper, same with Fedora4 and the latest Fedora5

T>> should i get just two IDE Harddisk?

T>> thanks

T>> Am Sonntag, den 09.04.2006, 15:29 +0200 schrieb Peter Fokkinga:
>>> Quoting Tulasi <kuzum@xxxxxxxxxx>:
>>> > I made a install of XEN but after booting into xen, it reboots
>>> > sometime later, without an information.
>>> >
>>> > does anyone know what to do.
>>> >
>>> Add 'noreboot' (without quotes) to the Xen commandline in your
>>> grub or lilo configuration. Now Xen will just halt when something
>>> goes wrong instead of immediately rebooting, thus allowing you
>>> to see what went wrong. See section 10.3 in the Xen users manual,
>>> http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html
>>> 
>>> It's quite possible that the 2.6.12 kernel does not support your
>>> nVidia SATA controller. I would recommend you try Xen 3.0.2 that
>>> was released a few days ago (it uses kernel 2.6.16). It can be
>>> found at http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads
>>> 
>>> Cheers, Peter
>>> 
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users


T>> _______________________________________________
T>> Xen-users mailing list
T>> Xen-users@xxxxxxxxxxxxxxxxxxx
T>> http://lists.xensource.com/xen-users


T> _______________________________________________
T> Xen-users mailing list
T> Xen-users@xxxxxxxxxxxxxxxxxxx
T> http://lists.xensource.com/xen-users


_______________________________________________
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