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 Guest Stuck at Startup!

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xen Guest Stuck at Startup!
From: Maresa Nirwan <parampat@xxxxxxxxxxx>
Date: Sun, 8 Mar 2009 19:16:14 +0000
Delivery-date: Sun, 08 Mar 2009 12:17:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <46881.1236536308@xxxxxxxxxxx>
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: <46881.1236536308@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I may state the obvious but do try to have your VM not using DHCP and see if it'll boot.

On Dom0 mount VM disk on any directory. Then go to that directory, change network configuration. Then try to boot your VM.

For example, if you have Ubuntu VM

mount -o loop disk.img /mnt
vi /mnt/etc/network/interfaces

Change eth0 from DCHP to something like

auto eth0
iface eth0 inet static
 address 10.1.1.2
 gateway 10.1.1.1
 netmask 255.255.255.0

umount /mnt

Of course change the IP to match yours. Then boot the VM. See if it's still stuck.

MSN



To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Sun, 8 Mar 2009 14:18:28 -0400
Subject: [Xen-users] Xen Guest Stuck at Startup!
From: aehusain@xxxxxxxxxxx

Dear All,

Please anybody if have faced such a problem give me a suggestion. I am not able to start up any guest OS on Xen as it startup gets stuck up at Sending DHCP request and never proceeds.
Below is the attached log from the Xen guest OS console.

Thanks & Regards!
Ata E Husain

On Sat 03/07/09 7:23 PM , aehusain@xxxxxxxxxxx sent:

Dear All,

I am a newbie to Xen and I am trying to set up a Xen VM with more than one guest running on a single machine. As a setup, I have Xen 3.1.0 installed with fc7 core and trying to run debian-4.0 guest image on one of the guest environment. After starting the xm guest domain, the console gets hanged up at  DHCP request command, the log is  as below:

[root@steelbug xen]# xm console debian.4-0
Bootdata ok (command line is root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp )
Linux version 2.6.18-xen (root@xxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-27)) #2 SMP Thu Nov 8 17:32:31 EST 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010800000 (usable)
No mptable found.
Built 1 zonelists.  Total pages: 67584
Kernel command line: root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 16384 bytes)
Xen reported: 2613.388 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Software IO TLB disabled
Memory: 242672k/270336k available (1998k kernel code, 19140k reserved, 865k data, 172k init)
Calibrating delay using timer specific routine.. 5229.26 BogoMIPS (lpj=26146323)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
SMP alternatives: switching to UP code
Freeing SMP alternatives: 24k freed
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 9700k freed
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
IA-32 Microcode Update Driver: v1.14a-xen
audit: initializing netlink socket (disabled)
audit(1236472551.978: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
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
xen-vbd: registered block device major 8
blkfront: sda1: barriers enabled
blkfront: sda2: barriers enabled
netfront: device eth0 has copying receive path.
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
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 1
NET: Registered protocol family 17
XENBUS: Device with no driver: device/console/0
Sending DHCP requests ...... timed out!
IP-Config: Reopening network devices...


Please suggest me  what needs to be done to start the console and make it work as a good as another operating system.

Thanks & Regards!
Ata E Husain Bohra
Student - CSE Department
University at Buffalo,
New York
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>