[xen-tools] Re: Xen Image Not Booting
Jocelyn
jhabib at gmail.com
Tue Sep 26 01:34:01 CEST 2006
sorry this is what i am getting
[2006-09-26 05:27:03 xend 5920] INFO (__init__:1072) Xend Daemon started
[2006-09-26 05:27:03 xend 5920] INFO (__init__:1072) Xend changeset: Wed Aug
30 13:51:12 2006 +0100 .
[2006-09-26 05:27:03 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
XendDomainInfo.recreate({'paused': 0, 'cpu_time': 780156554950L
, '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': 37
2736, 'maxmem_kb': -4, 'max_vcpu_id': 0, 'crashed': 0, 'running': 1,
'shutdown': 0, 'online_vcpus': 1, 'blocked': 0})
[2006-09-26 05:27:03 xend.XendDomainInfo 5920] INFO (__init__:1072)
Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2006-09-26 05:27:03 xend 5920] DEBUG (__init__:1072) number of vcpus to use
is 0
[2006-09-26 05:27:03 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
XendDomainInfo.handleShutdownWatch
[2006-09-26 05:27:09 xend.util.security 6327] INFO (__init__:1072) Resource
label file not found.
[2006-09-26 05:27:09 xend.util.security 6327] INFO (__init__:1072) Resource
label file not found.
[2006-09-26 05:27:09 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'vm01'], ['memory', '128'
], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash',
'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boo
t/vmlinuz-2.6.17-2-xen-686'], ['ramdisk', '/boot/initrd.img-2.6.17-2-xen-686'],
['root', '/dev/sda1 ro']]], ['device', ['vbd', ['una
me', 'file:/home/vps1/domains/vm01/disk.img'], ['dev', 'sda1'], ['mode',
'w']]], ['device', ['vbd', ['uname', 'file:/home/vps1/domai
ns/vm01/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif',
['ip', '192.168.0.10']]]])
[2006-09-26 05:27:09 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
parseConfig: config is ['vm', ['name', 'vm01'], ['memory', '128
'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash',
'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/bo
ot/vmlinuz-2.6.17-2-xen-686'], ['ramdisk', '/boot/initrd.img-
2.6.17-2-xen-686'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['un
ame', 'file:/home/vps1/domains/vm01/disk.img'], ['dev', 'sda1'], ['mode',
'w']]], ['device', ['vbd', ['uname', 'file:/home/vps1/doma
ins/vm01/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif',
['ip', '192.168.0.10']]]]
[2006-09-26 05:27:09 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
parseConfig: result is {'shadow_memory': None, 'uuid': None, 'o
n_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image':
['linux', ['kernel', '/boot/vmlinuz-2.6.17-2-xen-686'], ['r
amdisk', '/boot/initrd.img-2.6.17-2-xen-686'], ['root', '/dev/sda1 ro']],
'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus':
None, 'name': 'vm01', 'backend': [], 'vcpus': 1, 'cpu_weight': None,
'features': None, 'vcpu_avail': None, 'memory': 128, 'device':
[('vbd', ['vbd', ['uname', 'file:/home/vps1/domains/vm01/disk.img'],
['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'f
ile:/home/vps1/domains/vm01/swap.img'], ['dev', 'sda2'], ['mode', 'w']]),
('vif', ['vif', ['ip', '192.168.0.10']])], 'bootloader': N
one, 'cpu': None, 'maxmem': None}
[2006-09-26 05:27:09 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
XendDomainInfo.construct: None
[2006-09-26 05:27:09 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
XendDomainInfo.initDomain: 27 1.0
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) Balloon: 131452 KiB
free; need 131072; done.
[2006-09-26 05:27:09 xend 5920] INFO (__init__:1072) buildDomain os=linux
dom=27 vcpus=1
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) dom = 27
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) image =
/boot/vmlinuz-2.6.17-2-xen-686
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) store_evtchn = 1
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) console_evtchn = 2
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) cmdline =
root=/dev/sda1 ro
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) ramdisk =
/boot/initrd.img-2.6.17-2-xen-686
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) vcpus = 1
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) features =
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) exception looking up
device number for sda1: [Errno 2] No such file or directo
ry: '/dev/sda1'
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) DevController: writing
{'backend-id': '0', 'virtual-device': '2049', 'device-t
ype': 'disk', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/27/2049'} to /local/domain/27/device/vbd/2049.
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) DevController: writing
{'domain': 'vm01', 'frontend': '/local/domain/27/device
/vbd/2049', 'dev': 'sda1', 'state': '1', 'params':
'/home/vps1/domains/vm01/disk.img', 'mode': 'w', 'frontend-id': '27',
'type': 'fi
le'} to /local/domain/0/backend/vbd/27/2049.
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) exception looking up
device number for sda2: [Errno 2] No such file or directo
ry: '/dev/sda2'
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) DevController: writing
{'backend-id': '0', 'virtual-device': '2050', 'device-t
ype': 'disk', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/27/2050'} to /local/domain/27/device/vbd/2050.
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) DevController: writing
{'domain': 'vm01', 'frontend': '/local/domain/27/device
/vbd/2050', 'dev': 'sda2', 'state': '1', 'params':
'/home/vps1/domains/vm01/swap.img', 'mode': 'w', 'frontend-id': '27',
'type': 'fi
le'} to /local/domain/0/backend/vbd/27/2050.
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:34:a0:df', 'handle
': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/27/0'} to
/local/domain/27/device/vif/0.
[2006-09-26 05:27:09 xend 5920] DEBUG (__init__:1072) DevController: writing
{'domain': 'vm01', 'handle': '0', 'script': '/etc/xen/s
cripts/vif-bridge', 'ip': '192.168.0.10', 'state': '1', 'frontend':
'/local/domain/27/device/vif/0', 'mac': '00:16:3e:34:a0:df', 'fr
ontend-id': '27'} to /local/domain/0/backend/vif/27/0.
[2006-09-26 05:27:09 xend.XendDomainInfo 5920] DEBUG (__init__:1072) Storing
VM details: {'shadow_memory': '0', 'uuid': '6cdc6f90-37
73-2998-6546-61cf7e8df28b', 'on_reboot': 'restart', 'start_time': '
1159237629.86', 'on_poweroff': 'destroy', 'name': 'vm01', 'xend/r
estart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '128',
'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-
2.6.17-2-xen-686) (ramdisk /boot/initrd.img-2.6.17-2-xen-686) (root
'/dev/sda1 ro'))", 'maxmem': '128'}
[2006-09-26 05:27:09 xend.XendDomainInfo 5920] DEBUG (__init__:1072) Storing
domain details: {'console/ring-ref': '34491', 'console/
port': '2', 'name': 'vm01', 'console/limit': '1048576', 'vm':
'/vm/6cdc6f90-3773-2998-6546-61cf7e8df28b', 'domid': '27', 'cpu/0/avai
lability': 'online', 'memory/target': '131072', 'store/ring-ref': '34492',
'store/port': '1'}
[2006-09-26 05:27:09 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
XendDomainInfo.handleShutdownWatch
[2006-09-26 05:27:10 xend 5920] DEBUG (__init__:1072) Waiting for devices
vif.
[2006-09-26 05:27:10 xend 5920] DEBUG (__init__:1072) Waiting for 0.
[2006-09-26 05:27:10 xend 5920] DEBUG (__init__:1072) hotplugStatusCallback
/local/domain/0/backend/vif/27/0/hotplug-status.
[2006-09-26 05:27:10 xend 5920] DEBUG (__init__:1072) hotplugStatusCallback
/local/domain/0/backend/vif/27/0/hotplug-status.
[2006-09-26 05:27:10 xend 5920] DEBUG (__init__:1072) hotplugStatusCallback
2.
[2006-09-26 05:27:10 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
XendDomainInfo.destroy: domid=27
[2006-09-26 05:27:10 xend.XendDomainInfo 5920] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(27)
if i comment the vif comand in the config file everything will run fine but
i can not see the network at not interface will be loaded.
Regards
On 9/26/06, Steve Kemp <steve at steve.org.uk> wrote:
>
> On Tue, Sep 26, 2006 at 02:11:03AM +0300, Jocelyn wrote:
>
> > i am trying to boot the image that i created with xen tools this is
> what i
> > have .
> >
> > VM:/etc/xen# xm create vm01.cfg -c
> > Using config file "vm01.cfg".
> > Error: Device 0 (vif) could not be connected. Backend device not
> found.
>
> This is almost certainly a problem with your xen setup, rather than
> an issue with the image that xen-tools has created.
>
> I'd suggest that you double-check that you've setup
> /etc/xen/xend-config.sxp correctly. Specifically you'll probably
> want:
>
> (network-script network-bridge) - not "network-dummy"
> (vif-script vif-bridge)
>
> You should also take a look and see if there is anything obvious
> in /var/log/xend.log + /var/log/xen-debug.log
>
> Steve
> --
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sym.noone.org/pipermail/xen-tools-discuss/attachments/20060926/70d4cca2/attachment.htm>
More information about the xen-tools-discuss
mailing list