Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: is it a Xen strange behavior or a NetBSD one?
----- Mail Original -----
De: "Jean-Yves Migeon" <jeanyves.migeon%free.fr@localhost>
Ã: erinlalouve%free.fr@localhost
Cc: pkgsrc-users%netbsd.org@localhost
EnvoyÃ: Mardi 18 Mai 2010 13h39:48 GMT +01:00 Amsterdam / Berlin / Berne / Rome
/ Stockholm / Vienne
Objet: Re: is it a Xen strange behavior or a NetBSD one?
On Tue, 18 May 2010 00:46:00 +0200 (CEST), erinlalouve%free.fr@localhost wrote:
> xenstore-read: couldn't read path /local/domain/0/backend/vif/6/0/bridge
> Failed to read /local/domain/0/backend/console/6/0/script (No such file
or
> directory)
> Failed to read /local/domain/0/backend/console/6/0/script (No such file
or
> directory)
>
> I use a NetBSD 5.1_RC1 amd64 has Dom0 and DomU but I tried with 5.0.2
and
> I have the same problem with exactly the same log file.
>
> Don't know what to do... Is it an hardware/software limitation that I
> forget to change, or something else?
The "script" entry warning is harmless.
You will get more information by checking the logs in /var/log/xen* , as
well as dmesg.
Of interest, usually, failing to start multiple domUs is due to missing
/dev/vnd* nodes in /dev. To mount disk image files, the scripts use
vnconfig(8), and if all are already consumed by previously started domU,
vnconfig/mount will fail.
# cd /dev
# ./MAKEDEV vnd4 vnd5 vnd6 ...
NB: you should rather post this on port-xen@.
--
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost
Thank you,
I try your solution in vain...
here are the other log:
xend.log:
[2010-05-18 19:58:45 255] DEBUG (XendDomainInfo:89)
XendDomainInfo.create(['vm', ['name', 'cruachan'], ['memory', 256], ['vcpus',
1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image',
['linux', ['kernel', '/xenroot/kernels/netbsd-INSTALL_XEN3_DOMU']]], ['device',
['vbd', ['uname', 'file:/xenroot/domains/cruachan'], ['dev', '0x1'], ['mode',
'w']]], ['device', ['vif', ['mac', '00:16:3e:00:00:04 bridge=bridge0']]]])
[2010-05-18 19:58:45 255] DEBUG (XendDomainInfo:2043)
XendDomainInfo.constructDomain
[2010-05-18 19:58:45 255] DEBUG (balloon:132) Balloon: 3302380 KiB free; need
2048; done.
[2010-05-18 19:58:45 255] DEBUG (XendDomain:449) Adding Domain: 8
[2010-05-18 19:58:45 255] DEBUG (XendDomainInfo:2149)
XendDomainInfo.initDomain: 8 256
[2010-05-18 19:58:45 255] DEBUG (XendDomainInfo:2230)
_initDomain:shadow_memory=0x0, memory_static_max=0x10000000,
memory_static_min=0x0.
[2010-05-18 19:58:45 255] DEBUG (balloon:132) Balloon: 3302372 KiB free; need
263168; done.
[2010-05-18 19:58:45 255] INFO (image:166) buildDomain os=linux dom=8 vcpus=1
[2010-05-18 19:58:45 255] DEBUG (image:629) domid = 8
[2010-05-18 19:58:45 255] DEBUG (image:630) memsize = 256
[2010-05-18 19:58:45 255] DEBUG (image:631) image =
/xenroot/kernels/netbsd-INSTALL_XEN3_DOMU
[2010-05-18 19:58:45 255] DEBUG (image:632) store_evtchn = 1
[2010-05-18 19:58:45 255] DEBUG (image:633) console_evtchn = 2
[2010-05-18 19:58:45 255] DEBUG (image:634) cmdline =
[2010-05-18 19:58:45 255] DEBUG (image:635) ramdisk =
[2010-05-18 19:58:45 255] DEBUG (image:636) vcpus = 1
[2010-05-18 19:58:45 255] DEBUG (image:637) features =
[2010-05-18 19:58:46 255] INFO (XendDomainInfo:1907) createDevice: vbd :
{'uuid': '1c65308a-9223-e961-40d1-e5cb84227189', 'bootable': 1, 'driver':
'paravirtualised', 'dev': '0x1', 'uname': 'file:/xenroot/domains/cruachan',
'mode': 'w'}
[2010-05-18 19:58:46 255] DEBUG (DevController:122) DevController: writing
{'virtual-device': '1', 'device-type': 'disk', 'protocol': 'x86_64-abi',
'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/8/1'}
to /local/domain/8/device/vbd/1.
[2010-05-18 19:58:46 255] DEBUG (DevController:124) DevController: writing
{'domain': 'cruachan', 'frontend': '/local/domain/8/device/vbd/1', 'uuid':
'1c65308a-9223-e961-40d1-e5cb84227189', 'dev': '0x1', 'state': '1', 'params':
'/xenroot/domains/cruachan', 'mode': 'w', 'online': '1', 'frontend-id': '8',
'type': 'file'} to /local/domain/0/backend/vbd/8/1.
[2010-05-18 19:58:46 255] INFO (XendDomainInfo:1907) createDevice: vif :
{'mac': '00:16:3e:00:00:04 bridge=bridge0', 'uuid':
'87f4adbe-84c7-8873-b246-3ab0e8f3d094'}
[2010-05-18 19:58:46 255] DEBUG (DevController:122) DevController: writing
{'mac': '00:16:3e:00:00:04 bridge=bridge0', 'handle': '0', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/8/0'} to /local/domain/8/device/vif/0.
[2010-05-18 19:58:46 255] DEBUG (DevController:124) DevController: writing
{'domain': 'cruachan', 'frontend': '/local/domain/8/device/vif/0', 'uuid':
'87f4adbe-84c7-8873-b246-3ab0e8f3d094', 'script':
'/usr/pkg/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:00:00:04
bridge=bridge0', 'frontend-id': '8', 'state': '1', 'online': '1', 'handle':
'0'} to /local/domain/0/backend/vif/8/0.
[2010-05-18 19:58:46 255] DEBUG (XendDomainInfo:2738) Storing VM details:
{'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'4bc83f4e-1bc3-74c4-ef48-15a0bf13a9f8', 'on_reboot': 'restart', 'start_time':
'1274205526.17', 'on_poweroff': 'destroy', 'bootloader_args': '',
'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0',
'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': '(linux (kernel
/xenroot/kernels/netbsd-INSTALL_XEN3_DOMU) (notes))', 'name': 'cruachan'}
[2010-05-18 19:58:46 255] DEBUG (XendDomainInfo:1360) Storing domain details:
{'console/ring-ref': '822575', 'console/port': '2', 'name': 'cruachan',
'console/limit': '1048576', 'vm': '/vm/4bc83f4e-1bc3-74c4-ef48-15a0bf13a9f8',
'domid': '8', 'store/port': '1', 'cpu/0/availability': 'online',
'memory/target': '262144', 'control/platform-feature-multiprocessor-suspend':
'1', 'store/ring-ref': '822576', 'console/type': 'xenconsoled'}
[2010-05-18 19:58:46 255] DEBUG (DevController:122) DevController: writing
{'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/8/0'} to /local/domain/8/device/console/0.
[2010-05-18 19:58:46 255] DEBUG (DevController:124) DevController: writing
{'domain': 'cruachan', 'frontend': '/local/domain/8/device/console/0', 'uuid':
'99476944-96d8-215e-85cf-42a71447f6f4', 'frontend-id': '8', 'state': '1',
'location': '2', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/8/0.
[2010-05-18 19:58:46 255] DEBUG (XendDomainInfo:1450)
XendDomainInfo.handleShutdownWatch
[2010-05-18 19:58:46 255] DEBUG (DevController:166) Waiting for devices vif.
[2010-05-18 19:58:46 255] DEBUG (DevController:171) Waiting for 0.
[2010-05-18 19:58:46 255] DEBUG (DevController:656) hotplugStatusCallback
/local/domain/0/backend/vif/8/0/hotplug-status.
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:2409) XendDomainInfo.destroy:
domid=8
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:1946) Destroying device model
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:1953) Releasing devices
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:1966) Removing vif/0
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:910)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-05-18 20:00:26 255] ERROR (XendDomainInfo:1973) Device release failed:
cruachan; vif; vif/0
Traceback (most recent call last):
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line
1967, in _releaseDevices
self.destroyDevice(true_devclass, dev, False);
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line
924, in destroyDevice
rc = self.getDeviceController(deviceClass).destroyDevice(devid, force)
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/server/DevController.py",
line 255, in destroyDevice
self.writeBackend(dev, 'online', "0")
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/server/DevController.py",
line 501, in writeBackend
raise VmError("Device %s not connected" % devid)
VmError: Device 0 not connected
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:1966) Removing console/0
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:910)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:1966) Removing vbd/1
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:910)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/1
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:1951) No device model
[2010-05-18 20:00:26 255] DEBUG (XendDomainInfo:1953) Releasing devices
[2010-05-18 20:00:26 255] DEBUG (DevController:656) hotplugStatusCallback
/local/domain/0/backend/vif/8/0/hotplug-status.
and xend-debug.log:
Xend started at Mon May 17 18:33:35 2010.
brctl: not found
brctl: not found
/usr/pkg/lib/python2.6/site-packages/xen/xend/XendAPI.py:532:
DeprecationWarning: object.__new__() takes no parameters
return object.__new__(cls, *args, **kwds)
I saw on internet computers with much more domU, so I know it's a problem with
my configuration, but I haven't found anything usefull to be able to do the
same...
best regards,
Erin
Home |
Main Index |
Thread Index |
Old Index