[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] FC5 and Kernel panic - not syncing: Attempted to kill init!


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Frank Whitestone" <me@xxxxxxxxxx>
  • Date: Wed, 21 Jun 2006 12:23:49 -0400
  • Cc: me@xxxxxxxxxx
  • Delivery-date: Wed, 21 Jun 2006 09:25:21 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcaVTxOdiiDFSg+lSMelIcfwPRIMHA==

Hi all,

I have recently installed FC5 along with xen via yum.  I've successfully 
rebooted using the dom0 (2.6.16-1.2133_FC5) kernel, started xend, and trying to 
start my first domU after following the instructions in the user guide.  
However, I keep receiving a kernel panic and an error about XENBUS timeout.  
Any help greatly appreciated as I am stumped.  Should I be using the provided 
initrd?

Below I have included output of xm create, xend.log, /etc/fstab in the vm, and 
the vm conf file.

Output of xm create (without provided initrd):
----------------------------------------------

Using config file "/etc/xen/hz-web.conf".
Started domain hz-web
Linux version 2.6.16-1.2133_FC5xenU (brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) 
(gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)) #1 SMP Tue Jun 6 02:58:27 EDT 
2006
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:  ip=:1.2.3.4::::eth0:dhcp root=/dev/sda1 ro 4
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Xen reported: 2992.580 MHz processor.
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Software IO TLB disabled
vmalloc area: d1000000-fb3fe000, maxmem 33ffe000
Memory: 254976k/270336k available (1675k kernel code, 6916k reserved, 617k 
data, 132k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 7485.76 BogoMIPS (lpj=14971534)
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: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
0
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
xen_mem: Initialising balloon driver.
audit: initializing netlink socket (disabled)
audit(1150906539.407: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 B90BB6BF503FCE2A
- 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)
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 tty1
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
Registering block device major 8
ide-floppy driver 0.99.newide
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 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 6, 327680 bytes)
TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Timeout connecting to devices!
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 132k freed
Kernel panic - not syncing: Attempted to kill init!
 [<c0117a18>] panic+0x3c/0x188
 [<c011a61d>] do_exit+0x6a/0x743
 [<c034e2dc>] vesafb_init+0x15a/0x262
 [<c011ad7f>] sys_exit_group+0x0/0x11
 [<c0104b4d>] syscall_call+0x7/0xb

Output of xm create (with provided initrd):
-------------------------------------------

Using config file "/etc/xen/hz-web.conf".
Started domain hz-web
Linux version 2.6.16-1.2133_FC5xenU (brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) 
(gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)) #1 SMP Tue Jun 6 02:58:27 EDT 
2006
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:  ip=:1.2.3.4::::eth0:dhcp root=/dev/sda1 ro 4
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Xen reported: 2992.578 MHz processor.
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Software IO TLB disabled
vmalloc area: d1000000-fb3fe000, maxmem 33ffe000
Memory: 251520k/270336k available (1675k kernel code, 10340k reserved, 617k 
data, 132k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 7485.78 BogoMIPS (lpj=14971564)
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: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
0
checking if image is initramfs... it is
Freeing initrd memory: 3423k freed
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
xen_mem: Initialising balloon driver.
audit: initializing netlink socket (disabled)
audit(1150906805.432: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 B90BB6BF503FCE2A
- 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)
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 tty1
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
Registering block device major 8
ide-floppy driver 0.99.newide
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 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 6, 327680 bytes)
TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Timeout connecting to devices!
Freeing unused kernel memory: 132k freed
Red Hat nash version 5.0.32 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading dm-mod.ko module
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@xxxxxxxxxx
Loading dm-mirror.ko module
Loading dm-zero.ko module
Loading dm-snapshot.ko module
Making device-mapper control node
Scanning logical volumes
  Reading all physical volumes.  This may take a while...
  No volume groups found
Activating logical volumes
  Unable to find volume group "VolGroup00"
Creating root device.
Mounting root filesystem.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Setting up other filesystems.
Setting up new root fs
no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
Kernel panic - not syncing: Attempted to kill init!
 [<c0117a18>] panic+0x3c/0x188
 [<c011a61d>] do_exit+0x6a/0x743
 [<c011ad7f>] sys_exit_group+0x0/0x11
 [<c0104b4d>] syscall_call+0x7/0xb

/etc/xen/hz-web.conf:
---------------------

kernel = "/boot/vmlinuz-2.6.16-1.2133_FC5xenU"
#ramdisk = "/boot/initrd-2.6.16-1.2133_FC5xenU.img"
memory = 256
name = "hz-web"
vif = [ '' ]
disk = ['file:/vm-disks/web.img,sda1,w','file:/vm-disks/web-swap.img,sda2,w']
dhcp="dhcp"
# Set root device.
root = "/dev/sda1 ro"
extra = "4"

The domU /etc/fstab:
--------------------

/dev/sda1               /                       ext3    defaults        1 1
/dev/sda2               swap                    swap    defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0

The dom0 /etc/fstab:
--------------------
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

Xend.log:
---------

[2006-06-21 12:16:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:179) 
XendDomainInfo.create(['domain', ['domid', 43], ['uuid', 
'74e7b8cc-e671-1993-1abc-c7f5df28b1b1'], ['ssidref', 0], ['vcpus', 1], 
['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 256], ['maxmem', 256], 
['features', ''], ['name', 'hz-web'], ['on_poweroff', 'destroy'], ['on_reboot', 
'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', 
'/boot/vmlinuz-2.6.16-1.2133_FC5xenU'], ['ip', ':1.2.3.4::::eth0:dhcp'], 
['root', '/dev/sda1 ro'], ['args', '4']]], ['device', ['vif', ['backend', 0], 
['script', 'vif-bridge'], ['mac', '00:16:3e:79:66:07']]], ['device', ['vbd', 
['backend', 0], ['dev', 'sda1'], ['uname', 'file:/vm-disks/web.img'], ['mode', 
'w']]], ['device', ['vbd', ['backend', 0], ['dev', 'sda2'], ['uname', 
'file:/vm-disks/web-swap.img'], ['mode', 'w']]], ['state', '----c-'], 
['shutdown_reason', 'crash'], ['cpu_time', 0.16723993700000001], 
['online_vcpus', 1], ['up_time', '15.182721138'], ['start_time', 
'1150906557.57'], ['store_mfn', 70791], ['console_mfn', 197903]])
[2006-06-21 12:16:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:285) 
parseConfig: config is ['domain', ['domid', 43], ['uuid', 
'74e7b8cc-e671-1993-1abc-c7f5df28b1b1'], ['ssidref', 0], ['vcpus', 1], 
['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 256], ['maxmem', 256], 
['features', ''], ['name', 'hz-web'], ['on_poweroff', 'destroy'], ['on_reboot', 
'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', 
'/boot/vmlinuz-2.6.16-1.2133_FC5xenU'], ['ip', ':1.2.3.4::::eth0:dhcp'], 
['root', '/dev/sda1 ro'], ['args', '4']]], ['device', ['vif', ['backend', 0], 
['script', 'vif-bridge'], ['mac', '00:16:3e:79:66:07']]], ['device', ['vbd', 
['backend', 0], ['dev', 'sda1'], ['uname', 'file:/vm-disks/web.img'], ['mode', 
'w']]], ['device', ['vbd', ['backend', 0], ['dev', 'sda2'], ['uname', 
'file:/vm-disks/web-swap.img'], ['mode', 'w']]], ['state', '----c-'], 
['shutdown_reason', 'crash'], ['cpu_time', 0.16723993700000001], 
['online_vcpus', 1], ['up_time', '15.182721138'], ['start_time', 
'1150906557.57'], ['store_mfn', 70791], ['console_mfn', 197903]]
[2006-06-21 12:16:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:381) 
parseConfig: result is {'ssidref': 0, 'uuid': 
'74e7b8cc-e671-1993-1abc-c7f5df28b1b1', 'on_crash': 'restart', 'on_reboot': 
'restart', 'image': ['linux', ['kernel', 
'/boot/vmlinuz-2.6.16-1.2133_FC5xenU'], ['ip', ':1.2.3.4::::eth0:dhcp'], 
['root', '/dev/sda1 ro'], ['args', '4']], 'on_poweroff': 'destroy', 'cpus': 
None, 'name': 'hz-web', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 
'features': '', 'vcpu_avail': 1, 'memory': 256, 'device': [('vif', ['vif', 
['backend', 0], ['script', 'vif-bridge'], ['mac', '00:16:3e:79:66:07']]), 
('vbd', ['vbd', ['backend', 0], ['dev', 'sda1'], ['uname', 
'file:/vm-disks/web.img'], ['mode', 'w']]), ('vbd', ['vbd', ['backend', 0], 
['dev', 'sda2'], ['uname', 'file:/vm-disks/web-swap.img'], ['mode', 'w']])], 
'bootloader': None, 'cpu': None, 'maxmem': 256}
[2006-06-21 12:16:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:1169) 
XendDomainInfo.construct: None 0
[2006-06-21 12:16:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:1201) 
XendDomainInfo.initDomain: 44 1.0
[2006-06-21 12:16:12 xend] DEBUG (balloon:126) Balloon: free 272; need 257; 
done.
[2006-06-21 12:16:12 xend] INFO (image:133) buildDomain os=linux dom=44 vcpus=1
[2006-06-21 12:16:12 xend] DEBUG (image:171) dom            = 44
[2006-06-21 12:16:12 xend] DEBUG (image:172) image          = 
/boot/vmlinuz-2.6.16-1.2133_FC5xenU
[2006-06-21 12:16:12 xend] DEBUG (image:173) store_evtchn   = 1
[2006-06-21 12:16:12 xend] DEBUG (image:174) console_evtchn = 2
[2006-06-21 12:16:12 xend] DEBUG (image:175) cmdline        =  
ip=:1.2.3.4::::eth0:dhcp root=/dev/sda1 ro 4
[2006-06-21 12:16:12 xend] DEBUG (image:176) ramdisk        = 
[2006-06-21 12:16:12 xend] DEBUG (image:177) vcpus          = 1
[2006-06-21 12:16:12 xend] DEBUG (image:178) features       = 
[2006-06-21 12:16:13 xend] DEBUG (DevController:103) DevController: writing 
{'backend-id': '0', 'mac': '00:16:3e:79:66:07', 'handle': '0', 'state': '1', 
'backend': '/local/domain/0/backend/vif/44/0'} to /local/domain/44/device/vif/0.
[2006-06-21 12:16:13 xend] DEBUG (DevController:105) DevController: writing 
{'mac': '00:16:3e:79:66:07', 'state': '1', 'handle': '0', 'script': 
'/etc/xen/scripts/vif-bridge', 'frontend-id': '44', 'domain': 'hz-web', 
'frontend': '/local/domain/44/device/vif/0'} to 
/local/domain/0/backend/vif/44/0.
[2006-06-21 12:16:13 xend] DEBUG (DevController:103) DevController: writing 
{'virtual-device': '2049', 'backend-id': '0', 'state': '1', 'backend': 
'/local/domain/0/backend/vbd/44/2049'} to /local/domain/44/device/vbd/2049.
[2006-06-21 12:16:13 xend] DEBUG (DevController:105) DevController: writing 
{'domain': 'hz-web', 'frontend': '/local/domain/44/device/vbd/2049', 'dev': 
'sda1', 'state': '1', 'params': '/vm-disks/web.img', 'mode': 'w', 
'frontend-id': '44', 'type': 'file'} to /local/domain/0/backend/vbd/44/2049.
[2006-06-21 12:16:13 xend] DEBUG (DevController:103) DevController: writing 
{'virtual-device': '2050', 'backend-id': '0', 'state': '1', 'backend': 
'/local/domain/0/backend/vbd/44/2050'} to /local/domain/44/device/vbd/2050.
[2006-06-21 12:16:13 xend] DEBUG (DevController:105) DevController: writing 
{'domain': 'hz-web', 'frontend': '/local/domain/44/device/vbd/2050', 'dev': 
'sda2', 'state': '1', 'params': '/vm-disks/web-swap.img', 'mode': 'w', 
'frontend-id': '44', 'type': 'file'} to /local/domain/0/backend/vbd/44/2050.
[2006-06-21 12:16:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:673) Storing VM 
details: {'ssidref': '0', 'uuid': '74e7b8cc-e671-1993-1abc-c7f5df28b1b1', 
'on_reboot': 'restart', 'start_time': '1150906573.15', 'on_poweroff': 
'destroy', 'name': 'hz-web', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 
'on_crash': 'restart', 'image': "(linux (kernel 
/boot/vmlinuz-2.6.16-1.2133_FC5xenU) (ip :1.2.3.4::::eth0:dhcp) (root 
'/dev/sda1 ro') (args 4))", 'maxmem': '256'}
[2006-06-21 12:16:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:698) Storing 
domain details: {'console/ring-ref': '56220', 'console/port': '2', 'name': 
'hz-web', 'console/limit': '1048576', 'vm': 
'/vm/74e7b8cc-e671-1993-1abc-c7f5df28b1b1', 'domid': '44', 
'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': 
'37558', 'store/port': '1'}
[2006-06-21 12:16:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:882) 
XendDomainInfo.handleShutdownWatch
[2006-06-21 12:16:27 xend.XendDomainInfo] WARNING (XendDomainInfo:824) Domain 
has crashed: name=hz-web id=44.
[2006-06-21 12:16:27 xend.XendDomainInfo] ERROR (XendDomainInfo:1483) VM hz-web 
restarting too fast (14.621433 seconds since the last restart).  Refusing to 
restart to avoid loops.
[2006-06-21 12:16:27 xend.XendDomainInfo] DEBUG (XendDomainInfo:1343) 
XendDomainInfo.destroy: domid=44
[2006-06-21 12:16:27 xend.XendDomainInfo] DEBUG (XendDomainInfo:1351) 
XendDomainInfo.destroyDomain(44)


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.