[Fedora-xen] CentOS 4.5 domU on FC6 dom0 won't boot

Kanwar Ranbir Sandhu m3freak at thesandhufamily.ca
Sat Jun 23 22:34:17 UTC 2007


Hi,

I'm running some test to see if I can take a physical CentOS 4.5 server
and convert it to a domU on a FC6 dom0 machine - a completely different
server.

I created a LV for the domU, and restored the CentOS 4.5 system from a
backup on the LV - that was the basic install.  I then cleaned
up /etc/fstab accordingly (on the domU), and made sure the domU's /boot
was set up properly.

When I run "xm create -c webster" or "virsh start webster", the boot
process gets to the point where SElinux starts, but than freezes.  I've
let the domU sit there for 2 hours, but it won't continue booting.  I've
tried setting SElinux in the domU to disabled or permissive, but neither
have helped fix the boot issue.

I'm not sure what's wrong.  Searching for similar problems hasn't turned
anything up either.  Does anyone have an idea about what the problem
could be?

Here's the domU's config:

name            = "webster"
bootloader      = "/usr/bin/pygrub"
memory          = 256
disk            = [ "phy:vg00/webster,sda1,w","phy:vg00/swap2,sda2,w" ]
vif             = [ '' ]
#vnc = "1"
#vncunused = "1"
on_poweroff = "destroy"
on_reboot   = "restart"
on_crash    = "restart"

And here's the boot log:

[root at xenmaster ~]# xm create -c webster
Using config file "/etc/xen/webster".
Going to boot CentOS (2.6.9-55.ELxenU)
  kernel: /boot/vmlinuz-2.6.9-55.ELxenU
  initrd: /boot/custom-initrd-2.6.9-55.ELxenU.img
Started domain webster
Linux version 2.6.9-55.ELxenU (mockbuild at builder6.centos.org) (gcc
version 3.4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP Wed May 2 14:49:26 EDT
2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010000000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
Using x86 segment limits to approximate NX protection
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  ro root=/dev/sda1 3
Initializing CPU#0
CPU 0 irqstacks, hard=c0338000 soft=c0318000
PID hash table entries: 2048 (order: 11, 32768 bytes)
Xen reported: 2392.028 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
vmalloc area: d1000000-f4ffe000, maxmem 2d800000
Memory: 253728k/270336k available (1450k kernel code, 8388k reserved,
539k data, 124k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Security Scaffold v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
There is already a security framework initialized, register_security
failed.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 1189k freed
Grant table initialized
NET: Registered protocol family 16
Brought up 1 VCPUs
xen_mem: Initialising balloon driver.
audit: initializing netlink socket (disabled)
audit(1182637492.361:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key FBAD6F8AE400BF26
- User ID: CentOS (Kernel Module GPG key)
rtc: IRQ 8 is not free.
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as xvc0
Linux version 2.6.9-55.ELxenU (mockbuild at builder6.centos.org) (gcc
version 3.4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP Wed May 2 14:49:26 EDT
2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010000000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
Using x86 segment limits to approximate NX protection
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  ro root=/dev/sda1 3
Initializing CPU#0
CPU 0 irqstacks, hard=c0338000 soft=c0318000
PID hash table entries: 2048 (order: 11, 32768 bytes)
Xen reported: 2392.028 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
vmalloc area: d1000000-f4ffe000, maxmem 2d800000
Memory: 253728k/270336k available (1450k kernel code, 8388k reserved,
539k data, 124k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Security Scaffold v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
There is already a security framework initialized, register_security
failed.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 1189k freed
Grant table initialized
NET: Registered protocol family 16
Brought up 1 VCPUs
xen_mem: Initialising balloon driver.
audit: initializing netlink socket (disabled)
audit(1182637492.361:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key FBAD6F8AE400BF26
- User ID: CentOS (Kernel Module GPG key)
rtc: IRQ 8 is not free.
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as xvc0
Event-channel device installed.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2049
XENBUS: Device with no driver: device/vbd/2050
XENBUS: Device with no driver: device/vif/0
Freeing unused kernel memory: 124k freed
Red Hat nash version 4.2.1.10 starting
Mounted /proc filesystem
Mounting sysfs
Creating /dev
Starting udev
Loading xenblk.ko module
Registering block device major 8
Using cfq io scheduler
Loading jbd.ko module
Loading ext3.ko module
Creating root device
Mounting root filesystem
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
mount: error 2 mounting none
Switching to new root
security:  3 users, 4 roles, 355 types, 26 bools
security:  55 classes, 22610 rules
SELinux:  Completing initialization.
SELinux:  Setting up existing superblocks.
SELinux: initialized (dev sda1, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev selinuxfs, type selinuxfs), uses
genfs_contexts
SELinux: initialized (dev mqueue, type mqueue), not configured for
labeling
SELinux: initialized (dev devpts, type devpts), uses transition SIDs
SELinux: initialized (dev eventpollfs, type eventpollfs), uses
genfs_contexts
SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts
SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts

Thanks,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.20-1.2944.fc6 i686 GNU/Linux 
18:25:35 up 14 days, 9:12, 2 users, load average: 0.18, 0.47, 0.46 





More information about the Fedora-xen mailing list