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/
Home Products Support Community News


[Xen-users] [Xen-research] Source code compiling and booting issue with

To: abhay_bhadani@xxxxxxxxxxxx, abhay_bhadani@xxxxxxxxx
Subject: [Xen-users] [Xen-research] Source code compiling and booting issue with xen 3.3
From: Steven <wangwangkang@xxxxxxxxx>
Date: Fri, 24 Apr 2009 21:14:28 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 24 Apr 2009 18:15:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=7Tn9xc5PHINPHBFXsktarunmLsXgQGnMACO9VM3BaeM=; b=teIh6IwrJg6WCn79h8JMeOXIYaTYClHV+DMnwyHCeWuyKWhguz/aqojmblncagOzJ8 rSgZ9S+r1wLw1wyQ01fTbdP3onbpujc6QeL0UGF9qsi5AeicbFFGy9aUFJcifHv425hd LS43ZSkkLJlJihftAKP1V07Rpu07Qzq0XwljQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=GC0Zya8bLzQYWE86qASSGjm8fYUT+98svqJVuAhY5aCBwQn7fV0dOlcQDeoJGqokyR hnCpx+QhmVYIlpx4llbJONFBEp+zU1sgwmGdx0mPE/ZAJZDbMZsiAS8w4HRzA7uoRrwS C96KnoB8bG9QvKIUnffKPH/zPi5BKJrxHzPTk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, I read your post about the compiling source of xen 3.3. I met the
same problem as you; the booter can not find the root filesystem. Did
you solve the problem or you could share your solution. Thanks.


Thanks for the reply. But i looked in /etc/modprobe.conf file. there
is no such thing.

[root@localhost etc]# cat /etc/modprobe.conf
alias eth0 e100
alias scsi_hostadapter libata
alias scsi_hostadapter1 ata_piix
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
[root@localhost etc]#

I also saw related directories and files like modprobe.d/ but couldn't find out.

do u mean to say that  /xen-3.3.0/build-linux-2.6.18-xen_x86_32/
contains this file. but i was unable to find modprobe.conf inside
xen-3.3.0 directory.

I m still facing the same problem.

Any more suggestions.


On Wed, Mar 4, 2009 at 6:42 PM, John Krautheim <jkrautheim@xxxxxxxxx> wrote:

    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.

    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

    On Wed, Mar 4, 2009 at 7:12 AM, Abhay Bhadani <abhadani@xxxxxxxxx> wrote:

        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
        [root@localhost xen-3.3.0]# mkinitrd -v -f --with=aacraid
--with=sd_mod --with=scsi_mod initrd-

        then i moved "initrd-" to /boot

        edited the grub.conf

        title WindowsXP
                rootnoverify (hd0,0)
                chainloader +1

        title Fedora-base (
                root (hd0,5)
                kernel /vmlinuz- ro root=LABEL=/ rhgb quiet
                initrd /initrd-
        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 (
                root (hd0,5)
                kernel /xen-3.3.0.gz
                #module /vmlinuz- ro root=/dev/sda8 console=tty0 1
                module /vmlinuz- ro root=LABEL=/ console=tty0
                module /initrd-

        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.

        Abhay Bhadani

        Xen-research mailing list

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] [Xen-research] Source code compiling and booting issue with xen 3.3, Steven <=