Solved

xen dom-u hangs on boot

Posted on 2009-05-04
2
982 Views
Last Modified: 2013-11-11
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 (mockbuild@builder6.centos.org) (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=24869
migration_cost=Initializing CPU#2
24869
migration_cost=24869
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: dm-devel@redhat.com
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
audit(1241445684.195:2): policy loaded auid=4294967295

<HANG>

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 tuxen.udfc.com 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 ?

alabun
alabun@udfc.com
0
Comment
Question by:udfc
2 Comments
 
LVL 3

Expert Comment

by:osintsev
ID: 24298336
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.
0
 

Accepted Solution

by:
udfc earned 0 total points
ID: 24299530
SOLVED !

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.

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

VMware Update Manager(VUM) “error code: 15” during ESXi 6.0 Remediate update in VUM operation
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now