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-ia64-devel

Re: [Xen-ia64-devel] Problems booting domU

To: "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-ia64-devel] Problems booting domU
From: "Rodrigo Lord" <lord.listas@xxxxxxxxx>
Date: Mon, 12 Jun 2006 08:50:49 -0400
Delivery-date: Mon, 12 Jun 2006 05:51:21 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=o05pkSjDhng+xzQ2/hWA02ebo2I/aoKEMzFjF2GdApOMmMe7Yrzqtu1+dTV+kEicgCbJQc8vRPFTiNHia3S4VleOj8sSPDqfN0vqLQLq62DN/bWtRzBJheFTKtRFgWvFp5fWyG7EzatYqqgmFWlQjIeTKvK2lONCWN8sAP5XkR4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <98C68C54C3C76Dtakebe_akio@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7DC68A46CB1205takebe_akio@xxxxxxxxxxxxxx> <b1e09d1a0606080548v24ddd798s69cf5b01bfd0d04b@xxxxxxxxxxxxxx> <87C68B8B96B62Ftakebe_akio@xxxxxxxxxxxxxx> <b1e09d1a0606090546m136e7264s88d21944a9796312@xxxxxxxxxxxxxx> <98C68C54C3C76Dtakebe_akio@xxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Akio!

This problem is ok now! :)

But...

Initializing random number generator...done.
Recovering nvi editor sessions... done.
INIT: Entering runlevel: 3
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting MTA: exim4.
Starting internet superserver: inetd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.

It stopped here (cron) !
I think that just more on step and I don`t disturb more! :)

Thanks!

2006/6/10, Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>:
Hi, Rodrigo

>VFS: Cannot open root device "sda7" or unknown-block(0,0)
>Please append a correct "root=" boot option
>Kernel panic - not syncing: VFS: Unable to mount root fs on
>unknown-block(0,0)
This message is shown when disk configuration is wrong.

>
>My "new" domU configuration:
>
>name="vm01"
>#kernel="/boot/efi/efi/debian/vmlinuz- 2.6.16.13-xenU"
>kernel="/boot/vmlinuz-2.6.16.13-xenU"
>root="/dev/sda7 ro"
>memory=128
>disk=['file:/vserver/images/vm01.img,sda7,w','file:/vserver/images/vm01-
>swap.im$vif= ['']
I look like the above disk configuration is wrong...
And please use hda(not use sda) in domU.

Can you make sure that /etc/fstab in domU's image and disk =[ 'xxx' ] in
domU config are correct?

Please see my old mail.
/etc/fstab in domU's image and disk =[ 'xxx' ] in domU config are the
same one.
>---------------------------------
>Make OSimg for DomU
> 1. make file
>    # dd if=/dev/zero of=/root/rhel4.img bs=1M count=4096
>    # mke2fs -F -j /root/rhel4.img
>    # mount -o loop /root/rhel4.img /mnt
>    # cp -ax /{dev,var,etc,usr,bin,sbin,lib} /mnt
>    # mkdir /mnt/{root,proc,sys,home,tmp}
>
> 2. modify DomU's fstab
>    # vi /mnt/etc/fstab
>       /dev/hda1   /            ext3    defaults        1 1   <-----this one
>       none        /dev/pts     devpts  gid=5,mode=620  0 0
>       none        /dev/shm     tmpfs   defaults        0 0
>       none        /proc        proc    defaults        0 0
>       none        /sys         sysfs   defaults        0 0
>

> 3. make config of DomU
>   # vi /etc/xen/rhel4
>     kernel = "/boot/efi/efi/redhat/vmlinuz-2.6.16.13-xen"
>     memory = 384
>     name = "rhel4"
>     nics=0
>     disk = [ 'file:/root/rhel4.img,hda1,w' ] <-------this one
>     root = "/dev/hda1 ro"
>     extra = "3"
>


Best Regards,

Akio Takebe


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