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

[Xen-users] moving ahead and new questions



Hi

I successfully boot Xen and load dom0 and boot 1 domU :-) Only to encounter the following problems: 1. Networking doesn't work. Even if I manually configure eth0 in domU I still cannot access anything (except for the own IP setup inside domU).
2. If I try to run more than 1 domU I get the following error:
"Error: Device 2049 (vbd) could not be connected. Backend device not found." I can run either of the domU images separately if the other doesn't run, but not both. I attached all the files that were changed when xm create failed and their relevant parts (except for xen-hotplug.log that didn't have any timestamps in the file). My system (and my images) all have /dev/loop10 as can be seen in the output of `ls -l /dev/loop` in the file loop-device-list.txt


I hope this is enough information. If it is not please bare with me and if I'm missing something ask me and I will reply.




TIA
Paolo


xenstore-read: couldn't read path backend/vbd/18/2050/node
/dev/loop10: No such device or address
xenstore-read: couldn't read path backend/vbd/20/2049/node
xenstore-read: couldn't read path backend/vbd/20/2050/node
xenstore-read: couldn't read path backend/vbd/20/2050/params
/dev/loop10: No such device or address
/dev/loop10: No such device or address
xenstore-read: couldn't read path backend/vbd/21/2049/node
xenstore-read: couldn't read path backend/vbd/21/2050/node
Jun 12 19:15:33 xen-test kernel: device vif21.0 entered promiscuous mode
Jun 12 19:15:33 xen-test kernel: xenbr0: port 2(vif21.0) entering learning state
Jun 12 19:15:33 xen-test kernel: xenbr0: topology change detected, propagating
Jun 12 19:15:33 xen-test kernel: xenbr0: port 2(vif21.0) entering forwarding 
state
Jun 12 19:15:39 xen-test kernel: xenbr0: port 2(vif21.0) entering disabled state
Jun 12 19:15:39 xen-test kernel: device vif21.0 left promiscuous mode
Jun 12 19:15:39 xen-test kernel: xenbr0: port 2(vif21.0) entering disabled state
Jun 12 19:15:32 xen-test logger: /etc/xen/scripts/block: losetup /dev/loop10 
/xen/images/wiki/slackware.swap failed
Jun 12 19:15:39 xen-test logger: /etc/xen/scripts/block: Forced to steal lock 
on /var/run/xen-hotplug/block from 18494: /etc/xen/scripts/block!
Jun 12 19:15:39 xen-test logger: /etc/xen/scripts/block: losetup /dev/loop10 
/xen/images/wiki/slackware.10-2.img failed
Jun 12 19:15:40 xen-test logger: /etc/xen/scripts/block: xenstore-read 
backend/vbd/21/2049/node failed.
Jun 12 19:15:40 xen-test logger: /etc/xen/scripts/block: /etc/xen/scripts/block 
failed; error detected.
Jun 12 19:15:44 xen-test logger: /etc/xen/scripts/xen-hotplug-cleanup: Forced 
to steal lock on /var/run/xen-hotplug/block from 18757: /etc/xen/scripts/block!
Jun 12 19:15:44 xen-test logger: /etc/xen/scripts/block: xenstore-read 
backend/vbd/21/2050/node failed.
Jun 12 19:15:44 xen-test logger: /etc/xen/scripts/block: /etc/xen/scripts/block 
failed; error detected.
[2006-06-12 19:15:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:178) 
XendDomainInfo.create(['vm', ['name', 'wiki'], ['memory', 96], ['vcpus', 1], 
['image', ['linux', ['kern
el', '/boot/vmlinuz-2.6-xen'], ['ip', 
':1.2.3.4:192.168.100.1:255.255.255.0::eth0:dhcp'], ['root', '/dev/sda1 ro']]], 
['device', ['vbd', ['uname', 'file:/xen/images/wiki/sl
ackware.10-2.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', 
['uname', 'file:/xen/images/wiki/slackware.swap'], ['dev', 'sda2'], ['mode', 
'w']]], ['device', ['v
if']]])
[2006-06-12 19:15:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:284) 
parseConfig: config is ['vm', ['name', 'wiki'], ['memory', 96], ['vcpus', 1], 
['image', ['linux', ['ker
nel', '/boot/vmlinuz-2.6-xen'], ['ip', 
':1.2.3.4:192.168.100.1:255.255.255.0::eth0:dhcp'], ['root', '/dev/sda1 ro']]], 
['device', ['vbd', ['uname', 'file:/xen/images/wiki/s
lackware.10-2.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', 
['uname', 'file:/xen/images/wiki/slackware.swap'], ['dev', 'sda2'], ['mode', 
'w']]], ['device', ['
vif']]]
[2006-06-12 19:15:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:380) 
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 
'on_reboot': None, 'image': ['
linux', ['kernel', '/boot/vmlinuz-2.6-xen'], ['ip', 
':1.2.3.4:192.168.100.1:255.255.255.0::eth0:dhcp'], ['root', '/dev/sda1 ro']], 
'on_poweroff': None, 'cpus': None, 'name'
: 'wiki', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 
'memory': 96, 'device': [('vbd', ['vbd', ['uname', 
'file:/xen/images/wiki/slackware.10-2.img'],
 ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 
'file:/xen/images/wiki/slackware.swap'], ['dev', 'sda2'], ['mode', 'w']]), 
('vif', ['vif'])], 'bootloader': Non
e, 'cpu': None, 'maxmem': None}
[2006-06-12 19:15:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164) 
XendDomainInfo.construct: None 0
[2006-06-12 19:15:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1196) 
XendDomainInfo.initDomain: 21 1.0
[2006-06-12 19:15:32 xend] DEBUG (balloon:126) Balloon: free 132; need 97; done.
[2006-06-12 19:15:32 xend] INFO (image:135) buildDomain os=linux dom=21 vcpus=1
[2006-06-12 19:15:32 xend] DEBUG (image:173) dom            = 21
[2006-06-12 19:15:32 xend] DEBUG (image:174) image          = 
/boot/vmlinuz-2.6-xen
[2006-06-12 19:15:32 xend] DEBUG (image:175) store_evtchn   = 1
[2006-06-12 19:15:32 xend] DEBUG (image:176) console_evtchn = 2
[2006-06-12 19:15:32 xend] DEBUG (image:177) cmdline        =  
ip=:1.2.3.4:192.168.100.1:255.255.255.0::eth0:dhcp root=/dev/sda1 ro
[2006-06-12 19:15:32 xend] DEBUG (image:178) ramdisk        =
[2006-06-12 19:15:32 xend] DEBUG (image:179) vcpus          = 1
[2006-06-12 19:15:32 xend] DEBUG (image:180) features       =
[2006-06-12 19:15:32 xend] DEBUG (DevController:103) DevController: writing 
{'virtual-device': '2049', 'backend-id': '0', 'state': '1', 'backend': 
'/local/domain/0/backend/
vbd/21/2049'} to /local/domain/21/device/vbd/2049.
[2006-06-12 19:15:32 xend] DEBUG (DevController:105) DevController: writing 
{'domain': 'wiki', 'frontend': '/local/domain/21/device/vbd/2049', 'dev': 
'sda1', 'state': '1',
'params': '/xen/images/wiki/slackware.10-2.img', 'mode': 'w', 'frontend-id': 
'21', 'type': 'file'} to /local/domain/0/backend/vbd/21/2049.
[2006-06-12 19:15:32 xend] DEBUG (DevController:103) DevController: writing 
{'virtual-device': '2050', 'backend-id': '0', 'state': '1', 'backend': 
'/local/domain/0/backend/
vbd/21/2050'} to /local/domain/21/device/vbd/2050.
[2006-06-12 19:15:32 xend] DEBUG (DevController:105) DevController: writing 
{'domain': 'wiki', 'frontend': '/local/domain/21/device/vbd/2050', 'dev': 
'sda2', 'state': '1',
'params': '/xen/images/wiki/slackware.swap', 'mode': 'w', 'frontend-id': '21', 
'type': 'file'} to /local/domain/0/backend/vbd/21/2050.
[2006-06-12 19:15:32 xend] DEBUG (DevController:103) DevController: writing 
{'backend-id': '0', 'mac': '00:16:3e:43:41:a0', 'handle': '0', 'state': '1', 
'backend': '/local/
domain/0/backend/vif/21/0'} to /local/domain/21/device/vif/0.
[2006-06-12 19:15:32 xend] DEBUG (DevController:105) DevController: writing 
{'mac': '00:16:3e:43:41:a0', 'state': '1', 'handle': '0', 'script': 
'/etc/xen/scripts/vif-bridge
', 'frontend-id': '21', 'domain': 'wiki', 'frontend': 
'/local/domain/21/device/vif/0'} to /local/domain/0/backend/vif/21/0.
[2006-06-12 19:15:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:671) Storing VM 
details: {'ssidref': '0', 'uuid': 'e5a5fdc6-4b4f-8e1c-2a06-f05f43ae8b18', 
'on_reboot': 'rest
art', 'start_time': '1150154132.59', 'on_poweroff': 'destroy', 'name': 'wiki', 
'vcpus': '1', 'vcpu_avail': '1', 'memory': '96', 'on_crash': 'restart', 
'image': "(linux (ker
nel /boot/vmlinuz-2.6-xen) (ip :1.2.3.4:192.168.100.1:255.255.255.0::eth0:dhcp) 
(root '/dev/sda1 ro'))", 'maxmem': '96'}
[2006-06-12 19:15:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) Storing 
domain details: {'console/ring-ref': '38574', 'console/port': '2', 'name': 
'wiki', 'console/lim
it': '1048576', 'vm': '/vm/e5a5fdc6-4b4f-8e1c-2a06-f05f43ae8b18', 'domid': 
'21', 'cpu/0/availability': 'online', 'memory/target': '98304', 
'store/ring-ref': '38575', 'store
/port': '1'}
[2006-06-12 19:15:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) 
XendDomainInfo.handleShutdownWatch
[2006-06-12 19:15:32 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-06-12 19:15:32 xend] DEBUG (DevController:138) Waiting for 0.
[2006-06-12 19:15:32 xend] DEBUG (DevController:403) hotplugStatusCallback 
/local/domain/0/backend/vif/21/0/hotplug-status.
[2006-06-12 19:15:33 xend] DEBUG (DevController:403) hotplugStatusCallback 
/local/domain/0/backend/vif/21/0/hotplug-status.
[2006-06-12 19:15:33 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-06-12 19:15:34 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-06-12 19:15:34 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-06-12 19:15:34 xend] DEBUG (DevController:138) Waiting for 2049.
[2006-06-12 19:15:34 xend] DEBUG (DevController:403) hotplugStatusCallback 
/local/domain/0/backend/vbd/21/2049/hotplug-status.
[2006-06-12 19:15:39 xend] DEBUG (DevController:403) hotplugStatusCallback 
/local/domain/0/backend/vbd/21/2049/hotplug-status.
[2006-06-12 19:15:39 xend] DEBUG (DevController:417) hotplugStatusCallback 2.
[2006-06-12 19:15:39 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327) 
XendDomainInfo.destroy: domid=21
[2006-06-12 19:15:39 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335) 
XendDomainInfo.destroyDomain(21)
Jun 12 19:15:32 xen-test logger: /etc/xen/scripts/block: add 
XENBUS_PATH=backend/vbd/21/2050
Jun 12 19:15:32 xen-test logger: /etc/xen/scripts/block: Writing 
backend/vbd/21/2050/hotplug-status error to xenstore.
Jun 12 19:15:33 xen-test logger: /etc/xen/scripts/vif-bridge: online 
XENBUS_PATH=backend/vif/21/0
Jun 12 19:15:33 xen-test logger: /etc/xen/scripts/vif-bridge: Successful 
vif-bridge online for vif21.0, bridge xenbr0.
Jun 12 19:15:33 xen-test logger: /etc/xen/scripts/vif-bridge: Writing 
backend/vif/21/0/hotplug-status connected to xenstore.
Jun 12 19:15:34 xen-test logger: /etc/xen/scripts/block: add 
XENBUS_PATH=backend/vbd/21/2049
Jun 12 19:15:39 xen-test logger: /etc/xen/scripts/block: Writing 
backend/vbd/21/2049/hotplug-status error to xenstore.
Jun 12 19:15:39 xen-test logger: /etc/xen/scripts/vif-bridge: offline 
XENBUS_PATH=backend/vif/21/0
Jun 12 19:15:39 xen-test logger: /etc/xen/scripts/vif-bridge: brctl delif 
xenbr0 vif21.0 failed
Jun 12 19:15:39 xen-test logger: /etc/xen/scripts/vif-bridge: ifconfig vif21.0 
down failed
Jun 12 19:15:39 xen-test logger: /etc/xen/scripts/vif-bridge: Successful 
vif-bridge offline for vif21.0, bridge xenbr0.
Jun 12 19:15:40 xen-test logger: /etc/xen/scripts/block: remove 
XENBUS_PATH=backend/vbd/21/2049
Jun 12 19:15:40 xen-test logger: /etc/xen/scripts/block: Writing 
backend/vbd/21/2049/hotplug-status error to xenstore.
Jun 12 19:15:40 xen-test logger: /etc/xen/scripts/block: Writing 
backend/vbd/21/2049/hotplug-status error to xenstore.
Jun 12 19:15:40 xen-test logger: /etc/xen/scripts/xen-hotplug-cleanup: 
XENBUS_PATH=backend/vbd/21/2049
Jun 12 19:15:44 xen-test logger: /etc/xen/scripts/block: remove 
XENBUS_PATH=backend/vbd/21/2050
Jun 12 19:15:44 xen-test logger: /etc/xen/scripts/xen-hotplug-cleanup: 
XENBUS_PATH=backend/vif/21/0
Jun 12 19:15:44 xen-test logger: /etc/xen/scripts/block: Writing 
backend/vbd/21/2050/hotplug-status error to xenstore.
Jun 12 19:15:44 xen-test logger: /etc/xen/scripts/block: Writing 
backend/vbd/21/2050/hotplug-status error to xenstore.
Jun 12 19:15:44 xen-test logger: /etc/xen/scripts/xen-hotplug-cleanup: 
XENBUS_PATH=backend/vbd/21/2050
root@xen-test:/dev# ls -l loop*
brw-rw----  1 root disk 7,  0 1996-06-03 21:47 loop0
brw-rw----  1 root disk 7,  1 1996-06-03 21:47 loop1
brw-rw----  1 root disk 7, 10 2002-03-19 20:13 loop10
brw-rw----  1 root disk 7, 11 2002-03-19 20:13 loop11
brw-rw----  1 root disk 7, 12 2002-03-19 20:13 loop12
brw-rw----  1 root disk 7, 13 2002-03-19 20:13 loop13
brw-rw----  1 root disk 7, 14 2002-03-19 20:13 loop14
brw-rw----  1 root disk 7, 15 2002-03-19 20:13 loop15
brw-rw----  1 root disk 7,  2 1996-06-03 21:47 loop2
brw-rw----  1 root disk 7,  3 1996-06-03 21:47 loop3
brw-rw----  1 root disk 7,  4 1996-06-03 21:47 loop4
brw-rw----  1 root disk 7,  5 1996-06-03 21:47 loop5
brw-rw----  1 root disk 7,  6 1996-06-03 21:47 loop6
brw-rw----  1 root disk 7,  7 1996-06-03 21:47 loop7
brw-rw----  1 root disk 7,  8 1996-06-03 21:48 loop8
brw-rw----  1 root disk 7,  9 2002-03-19 20:13 loop9
_______________________________________________
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®.