Public feed #726885

momelod

public text v1 · immutable
Raw Edit
·published 2007-10-05 16:00 UTC
rendered paste body
### kernel images are in place ###
~# ls -l /boot/xen-images/

-rw-r--r-- 1 root root   65249 2006-10-16 15:23 config-2.6.18-1.2798.fc6xen
-rw------- 1 root root 1291869 2007-10-04 15:51 initrd-2.6.18-1.2798.fc6xen.img
-rw-r--r-- 1 root root   95032 2006-10-16 15:23 symvers-2.6.18-1.2798.fc6xen.gz
-rw-r--r-- 1 root root  865778 2006-10-16 15:23 System.map-2.6.18-1.2798.fc6xen
-rw-r--r-- 1 root root 1728127 2006-10-16 15:23 vmlinuz-2.6.18-1.2798.fc6xen
-rw-r--r-- 1 root root  272336 2006-10-16 14:34 xen.gz-2.6.18-1.2798.fc6
-rwxr-xr-x 1 root root  607044 2006-10-16 15:55 xen-syms-2.6.18-1.2798.fc6

### .cfg file for xen domU ###
~# cat /etc/xen/was-server2.it.devlin.ca 

kernel      = '/boot/xen-images/vmlinuz-2.6.18-1.2798.fc6xen'
ramdisk     = '/boot/xen-images/initrd-2.6.18-1.2798.fc6xen.img'
memory      = '1024'
root        = '/dev/hda1 ro'
disk        = [ 'phy:vg0/was.server-disk,hda1,w', 'phy:vg0/was.server-swap,hda2,w' ]
name        = 'was-server'
vif = [ '' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

### contents of the LVM partition was.server-disk ###
~# mount /dev/vg0/was.server-disk /mnt/
~# ls -l /mnt/

drwxr-xr-x  2 root root  4096 2007-10-04 15:17 bin
drwxr-xr-x  2 root root  4096 2007-10-04 15:51 boot
drwxr-xr-x  2 root root  4096 2007-10-04 16:25 dev
drwxr-xr-x 31 root root  4096 2007-10-05 11:33 etc
drwxr-xr-x  2 root root  4096 2006-10-10 18:06 home
drwxr-xr-x 10 root root  4096 2007-10-05 11:31 lib
drwx------  2 root root 16384 2007-10-04 15:57 lost+found
drwxr-xr-x  2 root root  4096 2006-10-10 18:06 media
drwxr-xr-x  2 root root  4096 2006-10-10 18:06 mnt
drwxr-xr-x  2 root root  4096 2006-10-10 18:06 opt
dr-xr-xr-x  2 root root  4096 2006-10-10 18:06 proc
drwxr-x---  2 root root  4096 2007-10-04 16:28 root
drwxr-xr-x  2 root root  4096 2007-10-04 15:58 sbin
drwxr-xr-x  2 root root  4096 2006-10-10 18:06 selinux
drwxr-xr-x  2 root root  4096 2006-10-10 18:06 srv
drwxr-xr-x  2 root root  4096 2006-10-10 18:06 sys
drwxrwxrwt  2 root root  4096 2007-10-04 15:51 tmp
drwxr-xr-x 13 root root  4096 2007-10-04 15:58 usr
drwxr-xr-x 17 root root  4096 2007-10-04 14:46 var

### contents of the fstab file ###
~# cat /mnt/etc/fstab 

/dev/hda1     /     ext3     errors=remount-ro   0     1
proc          /proc proc     rw,nodev,nosuid,noexec              0     0
/dev/hda2     none  swap     sw                    0     0

### kernel modules copied to lib/modules ###
~# ls -l /mnt/lib/modules/2.6.18-1.2798.fc6xen/

lrwxrwxrwx 1 root root     51 2007-10-04 15:58 build -> ../../../usr/src/kernels/2.6.18-1.2798.fc6-xen-i686
drwxr-xr-x 2 root root   4096 2006-10-16 15:24 extra
drwxr-xr-x 9 root root   4096 2007-10-04 15:51 kernel
-rw-r--r-- 1 root root 263049 2007-10-04 15:51 modules.alias
-rw-r--r-- 1 root root     69 2007-10-04 15:51 modules.ccwmap
-rw-r--r-- 1 root root 272318 2007-10-04 15:51 modules.dep
-rw-r--r-- 1 root root    813 2007-10-04 15:51 modules.ieee1394map
-rw-r--r-- 1 root root    375 2007-10-04 15:51 modules.inputmap
-rw-r--r-- 1 root root  12940 2007-10-04 15:51 modules.isapnpmap
-rw-r--r-- 1 root root     74 2007-10-04 15:51 modules.ofmap
-rw-r--r-- 1 root root 207215 2007-10-04 15:51 modules.pcimap
-rw-r--r-- 1 root root    841 2007-10-04 15:51 modules.seriomap
-rw-r--r-- 1 root root 113199 2007-10-04 15:51 modules.symbols
-rw-r--r-- 1 root root 303545 2007-10-04 15:51 modules.usbmap
lrwxrwxrwx 1 root root      5 2007-10-04 15:58 source -> build
drwxr-xr-x 2 root root   4096 2006-10-16 15:24 updates
drwxr-xr-x 2 root root   4096 2006-10-16 15:24 weak-updates

### dmesg of attepmted boot ###
~# xm create was-server -c
Using config file "/etc/xen/was-server".
Started domain was-server
                         Linux version 2.6.18-1.2798.fc6xen (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 15:11:19 EDT 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000040800000 (usable)
304MB HIGHMEM available.
727MB LOWMEM available.
Using x86 segment limits to approximate NX protection
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 264192
Kernel command line: root=/dev/hda1 ro 
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c078a000 soft=c076a000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 1994.335 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Software IO TLB disabled
vmalloc area: ee000000-f4ffe000, maxmem 2d7fe000
Memory: 1029288k/1056768k available (2097k kernel code, 18596k reserved, 840k data, 180k init, 311304k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4987.67 BogoMIPS (lpj=9975357)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 2784k freed
Grant table initialized
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.
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: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 9, 2621440 bytes)
TCP bind hash table entries: 65536 (order: 8, 1310720 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
IA-32 Microcode Update Driver: v1.14-xen <tigran@veritas.com>
audit: initializing netlink socket (disabled)
audit(1191599911.332:1): initialized
highmem bounce pool size: 64 pages
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 8BDC589434DBC709
- User ID: Red Hat, Inc. (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
Unable to read console/use_graphics
Linux version 2.6.18-1.2798.fc6xen (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 15:11:19 EDT 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000040800000 (usable)
304MB HIGHMEM available.
727MB LOWMEM available.
Using x86 segment limits to approximate NX protection
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 264192
Kernel command line: root=/dev/hda1 ro 
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c078a000 soft=c076a000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 1994.335 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Software IO TLB disabled
vmalloc area: ee000000-f4ffe000, maxmem 2d7fe000
Memory: 1029288k/1056768k available (2097k kernel code, 18596k reserved, 840k data, 180k init, 311304k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4987.67 BogoMIPS (lpj=9975357)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 2784k freed
Grant table initialized
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.
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: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 9, 2621440 bytes)
TCP bind hash table entries: 65536 (order: 8, 1310720 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
IA-32 Microcode Update Driver: v1.14-xen <tigran@veritas.com>
audit: initializing netlink socket (disabled)
audit(1191599911.332:1): initialized
highmem bounce pool size: 64 pages
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 8BDC589434DBC709
- User ID: Red Hat, Inc. (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
Unable to read console/use_graphics
Event-channel device installed.
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 libusual
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
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/769
XENBUS: Device with no driver: device/vbd/770
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
Freeing unused kernel memory: 180k freed
Write protecting the kernel read-only data: 356k
Red Hat nash version 5.1.19 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
Loading ohci-hcd.ko module
Loading ehci-hcd.ko module
Creating root device.
mkrootdev: expected fs options
Mounting root filesystem.
mount: missing mount point
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!