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] Source code compiling and booting issue with xen 3.3.0

Subject: Re: [Xen-users] Source code compiling and booting issue with xen 3.3.0 in fedora 8 system
From: John Krautheim <jkrautheim@xxxxxxxxx>
Date: Wed, 4 Mar 2009 08:15:09 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 04 Mar 2009 05:15:57 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:cc:content-type; bh=JAcRfHDdfs39Xeyyuyd6JwXIlWcsrdZVmBthE5dOJPo=; b=M5Z6xqtArG0tFlLM+nCVde2+cAou0H0600cVJEKW1f80ZXfi9nNDDfy/pQH2fnLul5 Dryi1ikI21p8sRPwBRy/3hfV4rVhQgv8ScsHHXhC/nSK8WYEPKrjv3UJxSB30anyvVEr W/URxC76DKMPm8SmZrNJV2UVgYdkD/x6hNk6M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=NsqrEsaIlQklSB+eqKnMJ3dfduprDXcm4lXUQqN8AkL3Z0S6Jz3NGObr1wAM2WP5Pq meqcjuiosLGXRyzTucESp3X1ZLKGq7GGcNiOfx4kG0zUiwQhffTP8avJxF8gLhB1w0RB vrB/a23ncmuozPMC8268V4Q4EPkrIUd3iLmdA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bf5456430903031113w6fa00dffv586994c7aa73c8d@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <bf5456430903031113w6fa00dffv586994c7aa73c8d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Are you sure the initrd made correctly? It has the initial drivers to read your drive. Xen is booting, so you probably not getting the right drivers to start your OS. If you didn't modify the modprobe.conf file, it probably had a alias for ata-generic, which is not supported under the 2.6.18 kernel. Change the ata-generic to ahci and remake your initrd file. You could also try ide-generic.

Also, unless your using aacraid, sd_mod, and scsi_mod, you can delete those from your initrd file as well. The mkinitrd will include the modules you need.

Hope this helps.

John Krautheim, CISSP, PMP
jkrautheim@xxxxxxxxx


On Tue, Mar 3, 2009 at 2:13 PM, Abhay Bhadani <abhadani@xxxxxxxxx> wrote:
Hi All,

   I am trying to compile Xen 3.3.0 source code which downloads updates from mercurial repository.

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 -v -f --with=aacraid --with=sd_mod --with=scsi_mod 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 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 3rd 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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>