[Fedora-xen] Centos5 Dom0 and Fedora7 DomU

Brian McDonald brian.mcdonald at mcdees-specialties.com
Wed Jun 6 17:21:58 UTC 2007



How exactly do you start your guest?

What does starting your guest write to /var/log/xen/ and xm dmesg ?

I start using the xm command
xm create -c fed7inst
Where fed7inst is the name of the config file

Xend.log

[2007-06-06 13:18:41 xend.XendDomainInfo 2642] DEBUG (XendDomainInfo:190)
XendDomainInfo.create(['vm', ['name', 'fed7'], ['memory', '230'], ['
on_reboot', 'destroy'], ['on_crash', 'destroy'], ['vcpus', 1], ['image',
['linux', ['kernel', '/boot/vmlinuz-f7xeninstall'], ['ramdisk', '/boo
t/initrd-f7xeninstall'], ['ip',
'192.168.1.202:1.2.3.4:192.168.1.1:255.255.255.0::eth0:off'], ['args', 'text
ks=http://www.mcdees-specialties.
com/fed7/minimal-ks.cf']]], ['device', ['tap', ['uname',
'tap:aio:/var/lib/xen/images/fed7.img'], ['dev', 'xvda'], ['mode', 'w']]],
['device',
 ['vif', ['bridge', 'xenbr0']]]])
[2007-06-06 13:18:41 xend.XendDomainInfo 2642] DEBUG (XendDomainInfo:296)
parseConfig: config is ['vm', ['name', 'fed7'], ['memory', '230'], [
'on_reboot', 'destroy'], ['on_crash', 'destroy'], ['vcpus', 1], ['image',
['linux', ['kernel', '/boot/vmlinuz-f7xeninstall'], ['ramdisk', '/bo
ot/initrd-f7xeninstall'], ['ip',
'192.168.1.202:1.2.3.4:192.168.1.1:255.255.255.0::eth0:off'], ['args', 'text
ks=http://www.mcdees-specialties
.com/fed7/minimal-ks.cf']]], ['device', ['tap', ['uname',
'tap:aio:/var/lib/xen/images/fed7.img'], ['dev', 'xvda'], ['mode', 'w']]],
['device'
, ['vif', ['bridge', 'xenbr0']]]]
[2007-06-06 13:18:41 xend.XendDomainInfo 2642] DEBUG (XendDomainInfo:397)
parseConfig: result is {'shadow_memory': None, 'start_time': None, '
uuid': None, 'on_crash': 'destroy', 'on_reboot': 'destroy', 'localtime':
None, 'image': ['linux', ['kernel', '/boot/vmlinuz-f7xeninstall'], ['
ramdisk', '/boot/initrd-f7xeninstall'], ['ip',
'192.168.1.202:1.2.3.4:192.168.1.1:255.255.255.0::eth0:off'], ['args', 'text
ks=http://www.mcde
es-specialties.com/fed7/minimal-ks.cf']], 'on_poweroff': None,
'bootloader_args': None, 'cpus': None, 'name': 'fed7', 'backend': [],
'vcpus':
1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 230,
'device': [('tap', ['tap', ['uname', 'tap:aio:/var/lib/xen/images/
fed7.img'], ['dev', 'xvda'], ['mode', 'w']]), ('vif', ['vif', ['bridge',
'xenbr0']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2007-06-06 13:18:41 xend.XendDomainInfo 2642] DEBUG (XendDomainInfo:1264)
XendDomainInfo.construct: None
[2007-06-06 13:18:41 xend.XendDomainInfo 2642] DEBUG (XendDomainInfo:1296)
XendDomainInfo.initDomain: 28 1.0
[2007-06-06 13:18:41 xend 2642] DEBUG (balloon:127) Balloon: 236344 KiB
free; need 235520; done.
[2007-06-06 13:18:41 xend 2642] INFO (image:136) buildDomain os=linux dom=28
vcpus=1
[2007-06-06 13:18:41 xend 2642] DEBUG (image:199) dom            = 28
[2007-06-06 13:18:41 xend 2642] DEBUG (image:200) image          =
/boot/vmlinuz-f7xeninstall
[2007-06-06 13:18:41 xend 2642] DEBUG (image:201) store_evtchn   = 1
[2007-06-06 13:18:41 xend 2642] DEBUG (image:202) console_evtchn = 2
[2007-06-06 13:18:41 xend 2642] DEBUG (image:203) cmdline        =
ip=192.168.1.202:1.2.3.4:192.168.1.1:255.255.255.0::eth0:off text ks=http:
//www.mcdees-specialties.com/fed7/minimal-ks.cf
[2007-06-06 13:18:41 xend 2642] DEBUG (image:204) ramdisk        =
/boot/initrd-f7xeninstall
[2007-06-06 13:18:41 xend 2642] DEBUG (image:205) vcpus          = 1
[2007-06-06 13:18:41 xend 2642] DEBUG (image:206) features       =
[2007-06-06 13:18:41 xend 2642] DEBUG (blkif:24) exception looking up device
number for xvda: [Errno 2] No such file or directory: '/dev/xvda'
[2007-06-06 13:18:41 xend 2642] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'virtual-device': '51712', 'device-type':
 'disk', 'state': '1', 'backend': '/local/domain/0/backend/tap/28/51712'} to
/local/domain/28/device/vbd/51712.
[2007-06-06 13:18:41 xend 2642] DEBUG (DevController:112) DevController:
writing {'domain': 'fed7', 'frontend': '/local/domain/28/device/vbd/5
1712', 'dev': 'xvda', 'state': '1', 'params':
'aio:/var/lib/xen/images/fed7.img', 'mode': 'w', 'online': '1',
'frontend-id': '28', 'type': 'ta
p'} to /local/domain/0/backend/tap/28/51712.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'mac': '00:16:3e:4f:c2:71', 'handle': '0'
, 'state': '1', 'backend': '/local/domain/0/backend/vif/28/0'} to
/local/domain/28/device/vif/0.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:112) DevController:
writing {'bridge': 'xenbr0', 'domain': 'fed7', 'handle': '0', 'script
': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/28/device/vif/0', 'mac': '00:16:3e:4f:c2:71', 'online': '1',
'front
end-id': '28'} to /local/domain/0/backend/vif/28/0.
[2007-06-06 13:18:42 xend.XendDomainInfo 2642] DEBUG (XendDomainInfo:715)
Storing VM details: {'shadow_memory': '0', 'uuid': '4a437037-a07f-7c
e9-4128-086fb2a1ae92', 'on_reboot': 'destroy', 'start_time':
'1181150322.24', 'on_poweroff': 'destroy', 'name': 'fed7',
'xend/restart_count':
'0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '230', 'on_crash':
'destroy', 'image': "(linux (kernel /boot/vmlinuz-f7xeninstall) (ramdisk /b
oot/initrd-f7xeninstall) (ip
192.168.1.202:1.2.3.4:192.168.1.1:255.255.255.0::eth0:off) (args 'text
ks=http://www.mcdees-specialties.com/fed7/
minimal-ks.cf'))", 'maxmem': '230'}
[2007-06-06 13:18:42 xend.XendDomainInfo 2642] DEBUG (XendDomainInfo:750)
Storing domain details: {'console/ring-ref': '103594', 'console/port
': '2', 'name': 'fed7', 'console/limit': '1048576', 'vm':
'/vm/4a437037-a07f-7ce9-4128-086fb2a1ae92', 'domid': '28',
'cpu/0/availability': 'on
line', 'memory/target': '235520', 'store/ring-ref': '103595', 'store/port':
'1'}
[2007-06-06 13:18:42 xend.XendDomainInfo 2642] DEBUG (XendDomainInfo:940)
XendDomainInfo.handleShutdownWatch
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices vif.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:149) Waiting for 0.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:471)
hotplugStatusCallback /local/domain/0/backend/vif/28/0/hotplug-status.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:485)
hotplugStatusCallback 1.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices usb.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices vbd.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices irq.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices vkbd.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices vfb.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices pci.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices ioports.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices tap.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:149) Waiting for 51712.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:471)
hotplugStatusCallback /local/domain/0/backend/tap/28/51712/hotplug-status.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:485)
hotplugStatusCallback 1.
[2007-06-06 13:18:42 xend 2642] DEBUG (DevController:143) Waiting for
devices vtpm.
[2007-06-06 13:18:42 xend 2642] INFO (XendDomain:370) Domain fed7 (28)
unpaused.
 





More information about the Fedora-xen mailing list