Improve company productivity with a Business Account.Sign Up

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1023
  • Last Modified:

xen dom-u hangs on boot

Friday we had a working installation.  We moved our computer room into new space
and for several reboots all was well.  Now I have one Xen domain that is hanging
during boot.

Here ais the boot log

[root@tuxen ~]# xm create -c zimbra
Using config file "/etc/xen/zimbra".
Started domain zimbra
Bootdata ok (command line is  ro root=/dev/disk/root rhgb)
Linux version 2.6.18-53.1.13.el5xen ( (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Tue Feb 12 13:33:07 EST 2008
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000400800000 (usable)
No mptable found.
Built 1 zonelists.  Total pages: 4196352
Kernel command line:  ro root=/dev/disk/root rhgb
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2659.998 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes)
Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes)
Software IO TLB disabled
Memory: 16419188k/16785408k available (2357k kernel code, 357308k reserved, 1326k data, 172k init)
Calibrating delay using timer specific routine.. 6654.99 BogoMIPS (lpj=13309992)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 0
(SMP-)alternatives turned off
Brought up 1 CPUs
checking if image is initramfs... it is
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 4DFD7A0 could not acquire Mutex [2] [20060707]
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 4DFD7A0 could not acquire Mutex [2] [20060707]
Initializing CPU#1
migration_cost=Initializing CPU#2
Brought up 4 CPUs
Initializing CPU#3
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.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 524288 (order: 10, 4194304 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1241445679.647:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key C03FF3A61AA023C3
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Xen virtual console successfully installed as xvc0
Event-channel device installed.
Console: switching to colour frame buffer device 100x37
input: Xen Virtual Keyboard/Mouse as /class/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
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
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vbd/51728
XENBUS: Device with no driver: device/vif/0
Write protecting the kernel read-only data: 445k
USB Universal Host Controller Interface driver v3.0
Registering block device major 202
 xvda: xvda1 xvda2
 xvdb: unknown partition table
device-mapper: ioctl: 4.11.0-ioctl (2006-09-14) initialised:
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
audit(1241445684.195:2): policy loaded auid=4294967295


Here is the config file for the virtual machine

name = "zimbra"
memory = 8192
#extra = 'console=xvc0'
#disk = [ "phy:zimbra/zimbra,xvda,w","phy:zimbrastore/zimbrastore,xvdb,w" ]
disk = [ "phy:zimbra/zimbra,xvda,w" ]
vif = [ "mac=00:16:3e:41:30:65,bridge=vlanbr104" ]
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
uuid = "47a0004e-0e86-d802-813b-a8864d507c10"
bootloader = "/usr/bin/pygrub"
vcpus = 4
on_reboot = "restart"
on_crash = "restart"

I have tried several values for the "extra" line but have not seen any change
in the output or the behavior.  I removed the second disk to try and simplfy
the configuration.

The domain-0 is
Linux 2.6.18-128.1.1.el5xen #1 SMP Mon Jan 26 14:19:09 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

Thats Redhat 5.3.  

I know this is a Centos group but all of the dom-u's are
centos 5.3.  

Where an I not looking ?

1 Solution
It seems that the xvdb device is broken or not have a correct partition table. You can try to boot the DomU without this device - you have changed the Xen configuration, but also need to remove /dev/xvdb from  DomU /etc/fstab file.

Very similar to mount attempt of a broken or non-existent partition.
udfcAuthor Commented:

This turned out to be a corrupted file system.  After we mounted the root file system and the data file system on another instance and run fsck all was well.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now