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

[Xen-users] Booting problem with compiled xen 3.3.0/linux-2.6.18.8-xen.hg source


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-research@xxxxxxxxxxxxxxxxxxx
  • From: Abhay Bhadani <abhadani@xxxxxxxxx>
  • Date: Mon, 9 Mar 2009 22:49:59 +0530
  • Cc:
  • Delivery-date: Mon, 09 Mar 2009 10:20:40 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=j5uZDnI7ntFgSuZ5eietOELv6D8nyEFBwoSQrW87f4DmNRHmPRok7Y80DT10v7a3gm J0SRfCqncYZJj03U8j8qq4hWKPPo1/0tIpWG2yKElxi+yUKdYwIywiEqANwJE+JjWeIC XyfgIwdppGq1pAtvOKnglW9Rd8ReZrrSmiSXw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi All,

   I am trying to compile Xen 3.3.0 source code which downloads updates from mercurial repository.
   I am trying to modify the CPU scheduler, but before i make any changes i need to test it by installing it from source.


OS: Fedora 8 Linux

I compiled the source code by using

[root@localhost xen-3.3.0]# make world
[root@localhost xen-3.3.0]# make install
[root@localhost xen-3.3.0]# depmod 2.6.18.8-xen
[root@localhost xen-3.3.0]# mkinitrd initrd-2.6.18.8-xen.img    2.6.18.8-xen

then i moved "initrd-2.6.18.8-xen.img" to /boot

edited the grub.conf

title WindowsXP
        rootnoverify (hd0,0)
        chainloader +1

title Fedora-base (2.6.23.1-42.fc8)
        root (hd0,5)
        kernel /vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.23.1-42.fc8.img
title Fedora (2.6.21-2950.fc8xen)
        root (hd0,5)
        kernel /xen.gz-2.6.21-2950.fc8
        module /vmlinuz-2.6.21-2950.fc8xen ro root=LABEL=/ rhgb quiet
        module /initrd-2.6.21-2950.fc8xen.img

title Source Compiled Xen - 3rd March 2009 (2.6.18.8-xen)
        root (hd0,5)
        kernel /xen-3.3.0.gz
        #module /vmlinuz-2.6.18.8-xen ro root=/dev/sda8 console=tty0 1
        module /vmlinuz-2.6.18.8-xen ro root=LABEL=/ console=tty0
        module /initrd-2.6.18.8-xen.img

When i select 4th option, i get these messages while booting,



(XEN) *** LOADING DOMAIN 0 ***
.
.
.
(XEN) Dom0 has maximum 1 VCPUs
(XEN) Initrd len 0x6e8600, start ar 0xc0460000
(XEN) Scrubbing Free RAM: .........done.
(XEN) Xen trace buffers: disabled
Red Hat nash version 6.0.19 starting
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc : No such file or directory
setuproot: error mounting /sys : No such file or directory
switchroot: mount failed: No such file or directory


After this the system hangs....

it seems it is unable to mount root filesystem. What changes needs to be done to make things work.

Any suggestions.

Thanks in advance.

Regards,
Abhay Bhadani
_______________________________________________
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®.