[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen reboots



I cant see anything wrong in the setup, and since it boots without
problems with your ubuntu 2.6.12 kernel it *should* also work with
the xen 2.6.16. There have been discussions about similar problems
and possible solutions in the thread below:

http://ubuntuforums.org/showthread.php?t=25938

Btw. did you install the precompiled xen 3.0.2 distribution or did you
compile it from source?

Seneca

T> Hello Seneca

T> here is the requested information:

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

T> /boot/grub/menu.lst:
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.16
T> root            (hd0,0)
T> kernel          /xen-3.0.2.gz noreboot dom0_mem=262144
T> module          /vmlinuz-2.6.16-xen root=/dev/md2 ro console=tty0
T> module          /initrd.img-2.6.16.xen
T> savedefault
T> boot

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

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

T> and last the boot dir:



T> 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


-- 
Seneca


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.