Re: [Fedora-xen] Error creating Domain

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

 



Hi,

Think I got a bit further today. Got to know that in xen 3 the Dom0 and DomU kernels are the same.

Present config
1) Dom0 -- installed on /dev/hda1
2) DomU -- installed on /dev/hda8, swap /dev/hda6
    xen 3 rpm's installed on DomU
3) Create console device using MAKEDEV in domU

The DomU starts to boot. but does a kernel panic.

Attached please find the related conf and log files. The kernel panic is in xenU_panic.txt

Please could you help.

Regards
Shyamal


Henning Sprang wrote:

Sorry, I am bit slow:


shyamal thatte wrote:

Hi,

installed xen 3.0.1 from the xen-3.0-x86_32-fc4.bin.tar provided on xensource.
installed the 3 RPM's within it
1) xen-3.0.1-64.1_fc4.i386.rpm 2) xen-kernel-2.6.12-xen3_64.1_fc4.i686.rpm
3) xen-devel-3.0.1-64.1_fc4.i386.rpm
.... there is no User kernel RPM included with xen 3


Sorry, I don't know about that bin.tra package - does ist actualkly contain 3 rpm's then? Sounds a bit weird...

You don't always need two xen kernels, it's possible to mae one kernel that can be used for domU and dom0.



After reboot into the 2.6.12_xen3 kernel I can see DOM 0

I did a fresh install of FC4 into /dev/hda8 with root on the same system
I installed  vmlinuz-2.6.12-1.1390_FC4xenU into it

When I try to start the guest domain on /dev/hda8 I get the errors and it does not start.


What errrs are you exactly getting?

Should I install xen-kernel-2.6.12-xen3_64.1_fc4.i686.rpm on /dev/hda8 and try and boot it as a guest domain ?


Yes, I'd try to install the same kernel rpm in domU as in dom0!


Henning

[2006-04-17 17:15:30 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-04-17 17:15:30 xend] INFO (SrvDaemon:282) Xend changeset: Wed Mar 15 03:53:53 2006 +0100 .
[2006-04-17 17:15:30 xend.XendDomainInfo] DEBUG (XendDomainInfo:199) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 21490525203L, 'ssidref': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb': 717000, 'maxmem_kb': -4, 'max_vcpu_id': 0, 'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 1, 'blocked': 0})
[2006-04-17 17:15:30 xend.XendDomainInfo] INFO (XendDomainInfo:211) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2006-04-17 17:15:30 xend.XendDomainInfo] WARNING (XendDomainInfo:233) No vm path in store for existing domain 0
[2006-04-17 17:15:30 xend.XendDomainInfo] DEBUG (XendDomainInfo:666) Storing VM details: {'ssidref': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'on_poweroff': 'destroy', 'name': 'Domain-0', 'vcpus': '1', 'vcpu_avail': '3', 'memory': '701', 'on_crash': 'restart', 'maxmem': '701'}
[2006-04-17 17:15:30 xend.XendDomainInfo] DEBUG (XendDomainInfo:691) Storing domain details: {'cpu/0/availability': 'online', 'memory/target': '717824', 'name': 'Domain-0', 'console/limit': '1048576', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0'}
[2006-04-17 17:15:30 xend] DEBUG (XendDomain:151) number of vcpus to use is 0
[2006-04-17 17:15:30 xend] INFO (SrvServer:114) unix path=/var/lib/xend/xend-socket
[2006-04-17 17:15:30 xend.XendDomainInfo] DEBUG (XendDomainInfo:864) XendDomainInfo.handleShutdownWatch
[2006-04-17 17:17:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:932) Setting memory target of domain Domain-0 (0) to 256 MiB.
[2006-04-17 17:22:56 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'oratest'], ['memory', '256'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']]], ['device', ['vbd', ['uname', 'phy:/dev/hda6'], ['dev', 'hda6'], ['mode', 'w']]], ['device', ['vif']]])
[2006-04-17 17:22:56 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['vm', ['name', 'oratest'], ['memory', '256'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']]], ['device', ['vbd', ['uname', 'phy:/dev/hda6'], ['dev', 'hda6'], ['mode', 'w']]], ['device', ['vif']]]
[2006-04-17 17:22:56 xend.XendDomainInfo] DEBUG (XendDomainInfo:376) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']], 'on_poweroff': None, 'cpus': None, 'name': 'oratest', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/hda6'], ['dev', 'hda6'], ['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-04-17 17:22:56 xend.XendDomainInfo] DEBUG (XendDomainInfo:1151) XendDomainInfo.construct: None 0
[2006-04-17 17:22:56 xend.XendDomainInfo] DEBUG (XendDomainInfo:1183) XendDomainInfo.initDomain: 1 1.0
[2006-04-17 17:22:56 xend] DEBUG (balloon:84) Balloon: free 491; need 257; done.
[2006-04-17 17:22:56 xend] INFO (image:133) buildDomain os=linux dom=1 vcpus=1
[2006-04-17 17:22:56 xend] DEBUG (image:171) dom            = 1
[2006-04-17 17:22:56 xend] DEBUG (image:172) image          = /boot/vmlinuz-2.6.12.6-xen3_64.1_fc4
[2006-04-17 17:22:56 xend] DEBUG (image:173) store_evtchn   = 1
[2006-04-17 17:22:56 xend] DEBUG (image:174) console_evtchn = 2
[2006-04-17 17:22:56 xend] DEBUG (image:175) cmdline        =  root=/dev/hda8 ro selinux=0 
[2006-04-17 17:22:56 xend] DEBUG (image:176) ramdisk        = /boot/initrd-2.6.12.6-xen3_64.1_fc4.img
[2006-04-17 17:22:56 xend] DEBUG (image:177) vcpus          = 1
[2006-04-17 17:22:57 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '774', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/774'} to /local/domain/1/device/vbd/774.
[2006-04-17 17:22:57 xend] DEBUG (DevController:105) DevController: writing {'domain': 'oratest', 'frontend': '/local/domain/1/device/vbd/774', 'dev': 'hda6', 'state': '1', 'params': '/dev/hda6', 'mode': 'w', 'frontend-id': '1', 'type': 'phy'} to /local/domain/0/backend/vbd/1/774.
[2006-04-17 17:22:57 xend] DEBUG (DevController:103) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:11:4c:0e', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0.
[2006-04-17 17:22:57 xend] DEBUG (DevController:105) DevController: writing {'mac': '00:16:3e:11:4c:0e', 'state': '1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '1', 'domain': 'oratest', 'frontend': '/local/domain/1/device/vif/0'} to /local/domain/0/backend/vif/1/0.
[2006-04-17 17:22:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:666) Storing VM details: {'ssidref': '0', 'uuid': '4e780b0e-a0c1-316d-785b-6743d23a8943', 'on_reboot': 'restart', 'start_time': '1145274777.24', 'on_poweroff': 'destroy', 'name': 'oratest', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.12.6-xen3_64.1_fc4) (ramdisk /boot/initrd-2.6.12.6-xen3_64.1_fc4.img) (root /dev/hda8) (args 'ro selinux=0 '))", 'maxmem': '256'}
[2006-04-17 17:22:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:691) Storing domain details: {'console/ring-ref': '103427', 'console/port': '2', 'name': 'oratest', 'console/limit': '1048576', 'vm': '/vm/4e780b0e-a0c1-316d-785b-6743d23a8943', 'domid': '1', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '103428', 'store/port': '1'}
[2006-04-17 17:22:57 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-04-17 17:22:57 xend] DEBUG (DevController:138) Waiting for 0.
[2006-04-17 17:22:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:864) XendDomainInfo.handleShutdownWatch
[2006-04-17 17:22:57 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2006-04-17 17:22:58 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2006-04-17 17:22:58 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-04-17 17:22:58 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-04-17 17:22:58 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-04-17 17:22:58 xend] DEBUG (DevController:138) Waiting for 774.
[2006-04-17 17:22:58 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/1/774/hotplug-status.
[2006-04-17 17:22:58 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-04-17 17:22:58 xend] DEBUG (DevController:132) Waiting for devices pci.
[2006-04-17 17:22:58 xend] DEBUG (DevController:132) Waiting for devices ioports.
[2006-04-17 17:22:58 xend] DEBUG (DevController:132) Waiting for devices vtpm.
[2006-04-17 17:22:58 xend] INFO (XendDomain:360) Domain oratest (1) unpaused.
[2006-04-17 17:23:08 xend.XendDomainInfo] WARNING (XendDomainInfo:806) Domain has crashed: name=oratest id=1.
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:1317) XendDomainInfo.destroyDomain(1)
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['domain', ['domid', 1], ['uuid', '4e780b0e-a0c1-316d-785b-6743d23a8943'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 256], ['maxmem', 256], ['name', 'oratest'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']]], ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['mac', '00:16:3e:11:4c:0e']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda6'], ['uname', 'phy:/dev/hda6'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 6.4656136240000004], ['online_vcpus', 1], ['up_time', '11.1889719963'], ['start_time', '1145274777.24'], ['store_mfn', 103428], ['console_mfn', 103427]])
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['domain', ['domid', 1], ['uuid', '4e780b0e-a0c1-316d-785b-6743d23a8943'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 256], ['maxmem', 256], ['name', 'oratest'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']]], ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['mac', '00:16:3e:11:4c:0e']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda6'], ['uname', 'phy:/dev/hda6'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 6.4656136240000004], ['online_vcpus', 1], ['up_time', '11.1889719963'], ['start_time', '1145274777.24'], ['store_mfn', 103428], ['console_mfn', 103427]]
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:376) parseConfig: result is {'ssidref': 0, 'uuid': '4e780b0e-a0c1-316d-785b-6743d23a8943', 'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']], 'on_poweroff': 'destroy', 'cpus': None, 'name': 'oratest', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 256, 'device': [('vif', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['mac', '00:16:3e:11:4c:0e']]), ('vbd', ['vbd', ['backend', 0], ['dev', 'hda6'], ['uname', 'phy:/dev/hda6'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 256}
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:1151) XendDomainInfo.construct: None 0
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:1183) XendDomainInfo.initDomain: 2 1.0
[2006-04-17 17:23:08 xend] DEBUG (balloon:88) Balloon: free 237; need 257.
[2006-04-17 17:23:08 xend] DEBUG (balloon:97) Balloon: setting dom0 target to 236.
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:932) Setting memory target of domain Domain-0 (0) to 236 MiB.
[2006-04-17 17:23:08 xend] DEBUG (balloon:84) Balloon: free 282; need 257; done.
[2006-04-17 17:23:08 xend] INFO (image:133) buildDomain os=linux dom=2 vcpus=1
[2006-04-17 17:23:08 xend] DEBUG (image:171) dom            = 2
[2006-04-17 17:23:08 xend] DEBUG (image:172) image          = /boot/vmlinuz-2.6.12.6-xen3_64.1_fc4
[2006-04-17 17:23:08 xend] DEBUG (image:173) store_evtchn   = 1
[2006-04-17 17:23:08 xend] DEBUG (image:174) console_evtchn = 2
[2006-04-17 17:23:08 xend] DEBUG (image:175) cmdline        =  root=/dev/hda8 ro selinux=0 
[2006-04-17 17:23:08 xend] DEBUG (image:176) ramdisk        = /boot/initrd-2.6.12.6-xen3_64.1_fc4.img
[2006-04-17 17:23:08 xend] DEBUG (image:177) vcpus          = 1
[2006-04-17 17:23:08 xend] DEBUG (DevController:103) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:11:4c:0e', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0.
[2006-04-17 17:23:08 xend] DEBUG (DevController:105) DevController: writing {'mac': '00:16:3e:11:4c:0e', 'state': '1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '2', 'domain': 'oratest', 'frontend': '/local/domain/2/device/vif/0'} to /local/domain/0/backend/vif/2/0.
[2006-04-17 17:23:08 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '774', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/2/774'} to /local/domain/2/device/vbd/774.
[2006-04-17 17:23:08 xend] DEBUG (DevController:105) DevController: writing {'domain': 'oratest', 'frontend': '/local/domain/2/device/vbd/774', 'dev': 'hda6', 'state': '1', 'params': '/dev/hda6', 'mode': 'w', 'frontend-id': '2', 'type': 'phy'} to /local/domain/0/backend/vbd/2/774.
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:666) Storing VM details: {'ssidref': '0', 'uuid': '4e780b0e-a0c1-316d-785b-6743d23a8943', 'on_reboot': 'restart', 'start_time': '1145274788.87', 'on_poweroff': 'destroy', 'name': 'oratest', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.12.6-xen3_64.1_fc4) (ramdisk /boot/initrd-2.6.12.6-xen3_64.1_fc4.img) (root /dev/hda8) (args 'ro selinux=0 '))", 'maxmem': '256'}
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:691) Storing domain details: {'console/ring-ref': '23178', 'console/port': '2', 'name': 'oratest', 'console/limit': '1048576', 'vm': '/vm/4e780b0e-a0c1-316d-785b-6743d23a8943', 'domid': '2', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '23179', 'store/port': '1'}
[2006-04-17 17:23:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:864) XendDomainInfo.handleShutdownWatch
[2006-04-17 17:23:15 xend.XendDomainInfo] WARNING (XendDomainInfo:806) Domain has crashed: name=oratest id=2.
[2006-04-17 17:23:15 xend.XendDomainInfo] ERROR (XendDomainInfo:1449) VM oratest restarting too fast (7.344822 seconds since the last restart).  Refusing to restart to avoid loops.
[2006-04-17 17:23:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1309) XendDomainInfo.destroy: domid=2
[2006-04-17 17:23:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1317) XendDomainInfo.destroyDomain(2)
[2006-04-17 17:24:25 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'oratest'], ['memory', '256'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']]], ['device', ['vbd', ['uname', 'phy:/dev/hda6'], ['dev', 'hda6'], ['mode', 'w']]], ['device', ['vif']]])
[2006-04-17 17:24:25 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['vm', ['name', 'oratest'], ['memory', '256'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']]], ['device', ['vbd', ['uname', 'phy:/dev/hda6'], ['dev', 'hda6'], ['mode', 'w']]], ['device', ['vif']]]
[2006-04-17 17:24:25 xend.XendDomainInfo] DEBUG (XendDomainInfo:376) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']], 'on_poweroff': None, 'cpus': None, 'name': 'oratest', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/hda6'], ['dev', 'hda6'], ['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-04-17 17:24:25 xend.XendDomainInfo] DEBUG (XendDomainInfo:1151) XendDomainInfo.construct: None 0
[2006-04-17 17:24:25 xend.XendDomainInfo] DEBUG (XendDomainInfo:1183) XendDomainInfo.initDomain: 3 1.0
[2006-04-17 17:24:25 xend] DEBUG (balloon:84) Balloon: free 511; need 257; done.
[2006-04-17 17:24:25 xend] INFO (image:133) buildDomain os=linux dom=3 vcpus=1
[2006-04-17 17:24:25 xend] DEBUG (image:171) dom            = 3
[2006-04-17 17:24:25 xend] DEBUG (image:172) image          = /boot/vmlinuz-2.6.12.6-xen3_64.1_fc4
[2006-04-17 17:24:25 xend] DEBUG (image:173) store_evtchn   = 1
[2006-04-17 17:24:25 xend] DEBUG (image:174) console_evtchn = 2
[2006-04-17 17:24:25 xend] DEBUG (image:175) cmdline        =  root=/dev/hda8 ro selinux=0 
[2006-04-17 17:24:25 xend] DEBUG (image:176) ramdisk        = /boot/initrd-2.6.12.6-xen3_64.1_fc4.img
[2006-04-17 17:24:25 xend] DEBUG (image:177) vcpus          = 1
[2006-04-17 17:24:26 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '774', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/3/774'} to /local/domain/3/device/vbd/774.
[2006-04-17 17:24:26 xend] DEBUG (DevController:105) DevController: writing {'domain': 'oratest', 'frontend': '/local/domain/3/device/vbd/774', 'dev': 'hda6', 'state': '1', 'params': '/dev/hda6', 'mode': 'w', 'frontend-id': '3', 'type': 'phy'} to /local/domain/0/backend/vbd/3/774.
[2006-04-17 17:24:26 xend] DEBUG (DevController:103) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:38:3e:94', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/3/0'} to /local/domain/3/device/vif/0.
[2006-04-17 17:24:26 xend] DEBUG (DevController:105) DevController: writing {'mac': '00:16:3e:38:3e:94', 'state': '1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '3', 'domain': 'oratest', 'frontend': '/local/domain/3/device/vif/0'} to /local/domain/0/backend/vif/3/0.
[2006-04-17 17:24:26 xend.XendDomainInfo] DEBUG (XendDomainInfo:666) Storing VM details: {'ssidref': '0', 'uuid': '28342dc8-3d70-0c2d-7015-2c016abd97e6', 'on_reboot': 'restart', 'start_time': '1145274866.05', 'on_poweroff': 'destroy', 'name': 'oratest', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.12.6-xen3_64.1_fc4) (ramdisk /boot/initrd-2.6.12.6-xen3_64.1_fc4.img) (root /dev/hda8) (args 'ro selinux=0 '))", 'maxmem': '256'}
[2006-04-17 17:24:26 xend.XendDomainInfo] DEBUG (XendDomainInfo:691) Storing domain details: {'console/ring-ref': '23171', 'console/port': '2', 'name': 'oratest', 'console/limit': '1048576', 'vm': '/vm/28342dc8-3d70-0c2d-7015-2c016abd97e6', 'domid': '3', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '23172', 'store/port': '1'}
[2006-04-17 17:24:26 xend.XendDomainInfo] DEBUG (XendDomainInfo:864) XendDomainInfo.handleShutdownWatch
[2006-04-17 17:24:26 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-04-17 17:24:26 xend] DEBUG (DevController:138) Waiting for 0.
[2006-04-17 17:24:26 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2006-04-17 17:24:27 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2006-04-17 17:24:27 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-04-17 17:24:27 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-04-17 17:24:27 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-04-17 17:24:27 xend] DEBUG (DevController:138) Waiting for 774.
[2006-04-17 17:24:27 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/3/774/hotplug-status.
[2006-04-17 17:24:27 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-04-17 17:24:27 xend] DEBUG (DevController:132) Waiting for devices pci.
[2006-04-17 17:24:27 xend] DEBUG (DevController:132) Waiting for devices ioports.
[2006-04-17 17:24:27 xend] DEBUG (DevController:132) Waiting for devices vtpm.
[2006-04-17 17:24:27 xend] INFO (XendDomain:360) Domain oratest (3) unpaused.
[2006-04-17 17:24:37 xend.XendDomainInfo] WARNING (XendDomainInfo:806) Domain has crashed: name=oratest id=3.
[2006-04-17 17:24:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:1317) XendDomainInfo.destroyDomain(3)
[2006-04-17 17:24:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['domain', ['domid', 3], ['uuid', '28342dc8-3d70-0c2d-7015-2c016abd97e6'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 256], ['maxmem', 256], ['name', 'oratest'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']]], ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['mac', '00:16:3e:38:3e:94']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda6'], ['uname', 'phy:/dev/hda6'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 6.490770167], ['online_vcpus', 1], ['up_time', '11.1399788857'], ['start_time', '1145274866.05'], ['store_mfn', 23172], ['console_mfn', 23171]])
[2006-04-17 17:24:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['domain', ['domid', 3], ['uuid', '28342dc8-3d70-0c2d-7015-2c016abd97e6'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 256], ['maxmem', 256], ['name', 'oratest'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']]], ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['mac', '00:16:3e:38:3e:94']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda6'], ['uname', 'phy:/dev/hda6'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 6.490770167], ['online_vcpus', 1], ['up_time', '11.1399788857'], ['start_time', '1145274866.05'], ['store_mfn', 23172], ['console_mfn', 23171]]
[2006-04-17 17:24:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:376) parseConfig: result is {'ssidref': 0, 'uuid': '28342dc8-3d70-0c2d-7015-2c016abd97e6', 'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4'], ['ramdisk', '/boot/initrd-2.6.12.6-xen3_64.1_fc4.img'], ['root', '/dev/hda8'], ['args', 'ro selinux=0 ']], 'on_poweroff': 'destroy', 'cpus': None, 'name': 'oratest', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 256, 'device': [('vif', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['mac', '00:16:3e:38:3e:94']]), ('vbd', ['vbd', ['backend', 0], ['dev', 'hda6'], ['uname', 'phy:/dev/hda6'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 256}
[2006-04-17 17:24:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:1151) XendDomainInfo.construct: None 0
[2006-04-17 17:24:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:1183) XendDomainInfo.initDomain: 4 1.0
[2006-04-17 17:24:37 xend] DEBUG (balloon:84) Balloon: free 257; need 257; done.
[2006-04-17 17:24:37 xend] INFO (image:133) buildDomain os=linux dom=4 vcpus=1
[2006-04-17 17:24:37 xend] DEBUG (image:171) dom            = 4
[2006-04-17 17:24:37 xend] DEBUG (image:172) image          = /boot/vmlinuz-2.6.12.6-xen3_64.1_fc4
[2006-04-17 17:24:37 xend] DEBUG (image:173) store_evtchn   = 1
[2006-04-17 17:24:37 xend] DEBUG (image:174) console_evtchn = 2
[2006-04-17 17:24:37 xend] DEBUG (image:175) cmdline        =  root=/dev/hda8 ro selinux=0 
[2006-04-17 17:24:37 xend] DEBUG (image:176) ramdisk        = /boot/initrd-2.6.12.6-xen3_64.1_fc4.img
[2006-04-17 17:24:37 xend] DEBUG (image:177) vcpus          = 1
[2006-04-17 17:24:37 xend] DEBUG (DevController:103) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:38:3e:94', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/4/0'} to /local/domain/4/device/vif/0.
[2006-04-17 17:24:37 xend] DEBUG (DevController:105) DevController: writing {'mac': '00:16:3e:38:3e:94', 'state': '1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '4', 'domain': 'oratest', 'frontend': '/local/domain/4/device/vif/0'} to /local/domain/0/backend/vif/4/0.
[2006-04-17 17:24:37 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '774', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/774'} to /local/domain/4/device/vbd/774.
[2006-04-17 17:24:37 xend] DEBUG (DevController:105) DevController: writing {'domain': 'oratest', 'frontend': '/local/domain/4/device/vbd/774', 'dev': 'hda6', 'state': '1', 'params': '/dev/hda6', 'mode': 'w', 'frontend-id': '4', 'type': 'phy'} to /local/domain/0/backend/vbd/4/774.
[2006-04-17 17:24:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:666) Storing VM details: {'ssidref': '0', 'uuid': '28342dc8-3d70-0c2d-7015-2c016abd97e6', 'on_reboot': 'restart', 'start_time': '1145274877.5', 'on_poweroff': 'destroy', 'name': 'oratest', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.12.6-xen3_64.1_fc4) (ramdisk /boot/initrd-2.6.12.6-xen3_64.1_fc4.img) (root /dev/hda8) (args 'ro selinux=0 '))", 'maxmem': '256'}
[2006-04-17 17:24:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:691) Storing domain details: {'console/ring-ref': '162288', 'console/port': '2', 'name': 'oratest', 'console/limit': '1048576', 'vm': '/vm/28342dc8-3d70-0c2d-7015-2c016abd97e6', 'domid': '4', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '162289', 'store/port': '1'}
[2006-04-17 17:24:37 xend.XendDomainInfo] DEBUG (XendDomainInfo:864) XendDomainInfo.handleShutdownWatch
[2006-04-17 17:24:47 xend.XendDomainInfo] WARNING (XendDomainInfo:806) Domain has crashed: name=oratest id=4.
[2006-04-17 17:24:47 xend.XendDomainInfo] ERROR (XendDomainInfo:1449) VM oratest restarting too fast (10.480066 seconds since the last restart).  Refusing to restart to avoid loops.
[2006-04-17 17:24:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:1309) XendDomainInfo.destroy: domid=4
[2006-04-17 17:24:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:1317) XendDomainInfo.destroyDomain(4)
Nothing to flush.
#  -*- mode: python; -*-
#============================================================================
# Python configuration setup for 'xm create'.
# This script sets the parameters used when a domain is created using 'xm create'.
# You use a separate script for each domain you want to create, or 
# you can set the parameters for the domain on the xm command line.
#============================================================================

#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/boot/vmlinuz-2.6.12.6-xen3_64.1_fc4"

# Optional ramdisk.
#ramdisk = "/boot/initrd-2.6.12-1.1390_FC4xenU.img"
ramdisk = "/boot/initrd-2.6.12.6-xen3_64.1_fc4.img"

# The domain build function. Default is 'linux'.
#builder='linux'

# Initial memory allocation (in megabytes) for the new domain.
memory = 256

# A name for your domain. All domains must have different names.
name = "oratest" 

# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = ""         # leave to Xen to pick
#cpus = "0"        # all vcpus run on CPU0
#cpus = "0-3,5,^1" # run on cpus 0,2,3,5

# Number of Virtual CPUS to use, default is 1
#vcpus = 1

#----------------------------------------------------------------------------
# Define network interfaces.

# By default, no network interfaces are configured.  You may have one created
# with sensible defaults using an empty vif clause:
#
# vif = [ '' ]
#
# or optionally override backend, bridge, ip, mac, script, type, or vifname:
#
# vif = [ 'mac=00:16:3e:00:00:11, bridge=xenbr0' ]
#
# or more than one interface may be configured:
#
# vif = [ '', 'bridge=xenbr1' ]

vif = [ '' ]

#----------------------------------------------------------------------------
# Define the disk devices you want the domain to have access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write.

disk = [ 'phy:/dev/hda8,hda8,w' ]
disk = [ 'phy:/dev/hda6,hda6,w' ]

#----------------------------------------------------------------------------
# Define to which TPM instance the user domain should communicate.
# The vtpm entry is of the form 'instance=INSTANCE,backend=DOM'
# where INSTANCE indicates the instance number of the TPM the VM
# should be talking to and DOM provides the domain where the backend
# is located.
# Note that no two virtual machines should try to connect to the same
# TPM instance. The handling of all TPM instances does require
# some management effort in so far that VM configration files (and thus
# a VM) should be associated with a TPM instance throughout the lifetime
# of the VM / VM configuration file. The instance number must be
# greater or equal to 1.
#vtpm = [ 'instance=1,backend=0' ]

#----------------------------------------------------------------------------
# Set the kernel command line for the new domain.
# You only need to define the IP parameters and hostname if the domain's
# IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.
# You can use 'extra' to set the runlevel and custom environment
# variables used by custom rc scripts (e.g. VMID=, usr= ).

# Set if you want dhcp to allocate the IP address.
#dhcp="dhcp"
# Set netmask.
#netmask=255.255.255.0
# Set default gateway.
#gateway=192.168.5.7
# Set the hostname.
#hostname= "vm%d" % vmid
#hostname= "oratest" 
#vmid=1
# Set root device.
root = "/dev/hda8"

# Root device for nfs.
#root = "/dev/nfs"
# The nfs server.
#nfs_server = '169.254.1.0'  
# Root directory on the nfs server.
#nfs_root   = '/full/path/to/root/directory'

# Sets runlevel 4.
#extra = "4"
extra = "ro selinux=0 3"

#----------------------------------------------------------------------------
# Configure the behaviour when a domain exits.  There are three 'reasons'
# for a domain to stop: poweroff, reboot, and crash.  For each of these you
# may specify:
#
#   "destroy",        meaning that the domain is cleaned up as normal;
#   "restart",        meaning that a new domain is started in place of the old
#                     one;
#   "preserve",       meaning that no clean-up is done until the domain is
#                     manually destroyed (using xm destroy, for example); or
#   "rename-restart", meaning that the old domain is not cleaned up, but is
#                     renamed and a new domain started in its place.
#
# The default is
#
#   on_poweroff = 'destroy'
#   on_reboot   = 'restart'
#   on_crash    = 'restart'
#
# For backwards compatibility we also support the deprecated option restart
#
# restart = 'onreboot' means on_poweroff = 'destroy'
#                            on_reboot   = 'restart'
#                            on_crash    = 'destroy'
#
# restart = 'always'   means on_poweroff = 'restart'
#                            on_reboot   = 'restart'
#                            on_crash    = 'restart'
#
# restart = 'never'    means on_poweroff = 'destroy'
#                            on_reboot   = 'destroy'
#                            on_crash    = 'destroy'

#on_poweroff = 'destroy'
#on_reboot   = 'restart'
#on_crash    = 'restart'

#============================================================================
xm create -c oratest
Using config file "/etc/xen/oratest".
Started domain oratest
Linux version 2.6.12.6-xen3_64.1_fc4 (root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #1 SMP Sat Apr 1 12:16:14 PST 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010000000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
ACPI in unprivileged domain disabled
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  root=/dev/hda8 ro selinux=0
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Xen reported: 1395.470 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-fb7fe000, maxmem 34000000
Memory: 252672k/270336k available (2174k kernel code, 9108k reserved, 866k data, 188k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... disabled
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 2223k freed
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
ACPI: Subsystem revision 20050309
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: System does not support PCI
PCI: System does not support PCI

  ***************************************************************
  ***************************************************************
  ** WARNING: Currently emulating unsupported memory accesses  **
  **          in /lib/tls glibc libraries. The emulation is    **
  **          slow. To ensure full performance you should      **
  **          install a 'xen-friendly' (nosegneg) version of   **
  **          the library, or disable tls support by executing **
  **          the following as root:                           **
  **          mv /lib/tls /lib/tls.disabled                    **
  ** Offending process: hotplug (pid=42)                       **
  ***************************************************************
  ***************************************************************

Continuing...

IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xcdc00000
netfront: Initialising virtual ethernet driver.
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 3
ide-floppy driver 0.99.newide
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 8
NET: Registered protocol family 20
Freeing unused kernel memory: 188k freed
Red Hat nash version 4.2.15 starting
Mounted /proc filesystem
Mounting sysfs
Creating /dev
Starting udev
Loading jbd.ko module
jbd: no version for "struct_module" found: kernel tainted.
Loading ext3.ko module
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
Switching to new root
ERROR opening /dev/console!!!!: 2
error dup2'ing fd of 0 to 0
error dup2'ing fd of 0 to 1
error dup2'ing fd of 0 to 2
unmounting old /proc
unmounting old /sys
switchroot: mount failed: 22
Kernel panic - not syncing: Attempted to kill init!


[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux