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] Xen 3.0 - RHEL4u3 guest domain freezes at boot"Warning:

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3.0 - RHEL4u3 guest domain freezes at boot"Warning: unable to open an initial console."
From: Jerry Amundson <jerry@xxxxxxx>
Date: Thu, 13 Jul 2006 12:47:32 -0500
Delivery-date: Thu, 13 Jul 2006 10:48:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <003501c6a6a1$13e8fee0$0200000a@lualele>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <d85a51ff0607131009t528c9e9eua97ea60935ca04c2@xxxxxxxxxxxxxx> <003501c6a6a1$13e8fee0$0200000a@lualele>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.3
Please don't top-post. Information up here is nearly unusable.

On Thu July 13 2006 12:23, Itamar Reis Peixoto wrote:
> mount /root/fedora/fedora.fc5.img /mnt -o loop

That's the FC5 image. The question is regarding "rhel4_u3", right?

> for i in console null zero ; do MAKEDEV -d /mnt/dev -x $i ; done
>
> umount /mnt
>
> start domU
>
>
>
>
>   ----- Original Message -----
>   From: Arindam
>   To: xen-users@xxxxxxxxxxxxxxxxxxx
>   Sent: Thursday, July 13, 2006 2:09 PM
>   Subject: [Xen-users] Xen 3.0 - RHEL4u3 guest domain freezes at
> boot"Warning: unable to open an initial console."
>
>
>   I am trying to run RHEL4 update 3 in a Xen unprivileged domain. I
> am using a Dell PowerEdge 2850 server with a single Intel Xeon 2.8
> GHz cpu - with 128 megs RAM (cat /proc/meminfo | grep MemTotal). I
> installed Xen 3.0 on RHEL4 u3 on /dev/sda (33 GB /, 2 GB swap) and
> then installed RHEL4 u3 again on /dev/sdb (33 GB /, 2 GB swap). I am
> trying to run the installation on /dev/sdb as an unprivileged domain.
> The problem I am facing is that the boot of the unprivileged domain
> freezes saying "Warning: unable to open an initial console.". This
> happens even when I am not running any other guest Domains:
>
>   I also have disk dumps of a FC5 installation and its swap space
> which I have managed to boot into using the following configuration
> file:
>
>   kernel = "/boot/vmlinuz-2.6-xenU"
>   memory = 256
>   name = "fedora.fc5"
>   vcpus = 2
>   vif = [ '' ]
>   #dhcp = "dhcp"
>   disk = ['file:/root/fedora/fedora.fc5.img,sda1,w',
> 'file:/root/fedora/fedora.swap,sda2,w'] root = "/dev/sda1 ro"
>
>
>   I am using the following configuration file for the RHEL4 u3
> installation on /dev/sdb:
>
>   kernel = "/boot/vmlinuz-2.6.16-xenU"
>   memory = 512
>   name = "rhel4_u3"
>   vcpus = 1
>   vif = [ '' ]
>   hostname = "dblxvmrh02"
>   #dhcp = "dhcp"
>   disk = ['phy:sdb1,sda1,w', 'phy:sdb2,sda2,w']
>   root = "/dev/sda1 ro"
>   extra = "3"
>
>
>   Finally, my /boot/grub/grub.conf looks like:
>
>
>   default=0
>   timeout=5
>   splashimage=(hd0,0)/boot/grub/splash.xpm.gz
>   #hiddenmenu
>   title Xen 3.0 / XenLinux 2.6
>           root (hd0,0)
>           kernel /boot/xen.gz dom0_mem=128M
>           module /boot/vmlinuz- 2.6-xen0 ro root=LABEL=/1
> console=tty0 module /boot/initrd-2.6.16-xen0.img
>           module /boot/initrd-2.6.9-34.ELsmp.img
>   title Red Hat Enterprise Linux AS (2.6.9-34.ELsmp)
>           root (hd0,0)
>           kernel /boot/vmlinuz- 2.6.9-34.ELsmp ro root=LABEL=/1 rhgb
> quiet initrd /boot/initrd-2.6.9-34.ELsmp.img
>   title Red Hat Enterprise Linux AS (2.6.9-34.EL)
>           root (hd0,0)
>           kernel /boot/vmlinuz-2.6.9-34.EL ro root=LABEL=/1 rhgb
> quiet initrd /boot/initrd-2.6.9-34.EL.img

mount /dev/sdb1 /mnt
for i in console null zero ; do MAKEDEV -d /mnt/dev -x $i ; done
umount /mnt
 
start domU

But, with the install done directly to sdb1, those /dev entries should 
exist already - look in /mnt after the "mount" command...

jerry

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