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: "Arindam" <arindam.mukerjee@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen 3.0 - RHEL4u3 guest domain freezes at boot"Warning: unable to open an initial console."
From: "Itamar Reis Peixoto" <itamar@xxxxxxxxxxxxxxxx>
Date: Thu, 13 Jul 2006 14:23:35 -0300
Delivery-date: Thu, 13 Jul 2006 10:24:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
mount /root/fedora/fedora.fc5.img /mnt -o loop
 
for i in console null zero ; do MAKEDEV -d /mnt/dev -x $i ; done
 
umount /mnt
 
start domU
 
 
 
 
----- Original Message -----
From: Arindam
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

Please help me out.

Cheers,
Andy


-------------

Here is the screen dump:

[root@dblxxeon06 ~]# xm create -c ./xen_rhel4_u3.cfg
Using config file "./xen_rhel4_u3.cfg".
Started domain rhel4_u3
Bootdata ok (command line is  root=/dev/sda1 ro 3)
Linux version 2.6.16-xenU ( root@xxxxxxxxxxxxxxxxxxxxxxx) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Tue Jul 11 17:51:45 IST 2006
Built 1 zonelists
Kernel command line:  root=/dev/sda1 ro 3
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
Xen reported: 2792.998 MHz processor.
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Software IO TLB disabled
Memory: 509308k/532480k available (1881k kernel code, 22528k reserved, 652k data, 116k init)
Calibrating delay using timer specific routine.. 5588.71 BogoMIPS (lpj=27943557)
Mount-cache hash table entries: 256
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 3
Brought up 1 CPUs
migration_cost=0
DMI not present or invalid.
Grant table initialized
NET: Registered protocol family 16
Initializing CPU#1
migration_cost=1301
migration_cost=1301
Initializing CPU#2
migration_cost=1301Initializing CPU#3

Brought up 4 CPUs
xen_mem: Initialising balloon driver.
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
audit: initializing netlink socket (disabled)
audit(1152807769.342:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
i8042.c: No controller found.
isa bounce pool size: 16 pages
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Registering block device major 8
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Warning: unable to open an initial console.


_______________________________________________
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