On Thu, Apr 8, 2010 at 8:08 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> On Thu, Apr 08, 2010 at 06:54:44PM +0100, Andrew Lyon wrote:
>> Hi,
>>
>> Ive just tried Xen 4.0 on Gentoo with 2.6.32 (also tried 2.6.31)
>> forward ported dom0 kernel, Xen itself seems to boot up successfully
>> and everything else on the system is working normally, but when I try
>> to start a domain xm create appears to hang and eventually I get a
>> hotplug scripts error:
>>
>> Error: Device 2049 (vbd) could not be connected.
>> /etc/xen/scripts/block failed; error detected.
>>
>> Which logs and other data would be helpful in diagnosing this problem?
>>
>
> Is there more information in "xm log" ?
>
> Or /var/log/xen/qemu*
>
> -- Pasi
>
>
This is what happens when I start the vm:
xm create -c Gentoo-32-test.cfg
Using config file "./Gentoo-32-test.cfg".
pyGRUB version 0.6
┌────────────────────────────────────────────────────────────────────────┐
│ Gentoo Linux 2.6.32-xen │
└────────────────────────────────────────────────────────────────────────┘
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS. 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command line.
Will boot selected entry in 28 seconds
# Error: Device 2049 (vbd) could not be connected.
/etc/xen/scripts/block failed; error detected.
xm log:
[2010年04月08日 21:45:55 4069] INFO (SrvDaemon:220) Xend exited with status 0.
[2010年04月08日 21:46:55 3763] INFO (SrvDaemon:332) Xend Daemon started
[2010年04月08日 21:46:55 3763] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2010年04月08日 21:46:55 3763] DEBUG (XendDomainInfo:149)
XendDomainInfo.recreate({047円max_vcpu_id047円: 1, 047円cpu_time047円:
10944865631L, 047円ssidref047円: 0, 047円hvm047円: 0,
047円shutdown_reason047円: 0, 047円dying047円: 0, 047円online_vcpus047円: 2,
047円domid047円: 0, 047円paused047円: 0, 047円crashed047円: 0,
047円running047円: 1, 047円maxmem_kb047円: 17179869180L, 047円shutdown047円:
0, 047円mem_kb047円: 7751116L, 047円handle047円: [0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0], 047円blocked047円: 0, 047円name047円:
047円Domain-0047円})
[2010年04月08日 21:46:55 3763] INFO (XendDomainInfo:167) Recreating domain
0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2010年04月08日 21:46:55 3763] DEBUG (XendDomainInfo:3400) Storing VM
details: {047円on_xend_stop047円: 047円ignore047,円 047円shadow_memory047円:
0470円047,円 047円uuid047円: 04700000000円-0000-0000-0000-000000000000047,円
047円on_reboot047円: 047円restart047,円 047円image047円: 047円(linux (kernel
) (superpages 0) (nomigrate 0) (tsc_mode 0))047,円 047円on_poweroff047円:
047円destroy047,円 047円bootloader_args047円: 047円047,円
047円on_xend_start047円: 047円ignore047,円 047円on_crash047円:
047円restart047,円 047円xend/restart_count047円: 0470円047,円 047円vcpus047円:
0472円047,円 047円vcpu_avail047円: 0473円047,円 047円bootloader047円:
047円047,円 047円name047円: 047円Domain-0047円}
[2010年04月08日 21:46:55 3763] DEBUG (XendDomainInfo:1804) Storing domain
details: {047円description047円: 047円047,円 047円console/limit047円:
0471048576円047,円 047円memory/target047円: 0477751116円047,円 047円vm047円:
047円/vm/00000000-0000-0000-0000-000000000000047,円 047円domid047円:
0470円047,円 047円cpu/0/availability047円: 047円online047,円
047円cpu/1/availability047円: 047円online047,円
047円control/platform-feature-multiprocessor-suspend047円: 0471円047,円
047円console/type047円: 047円xenconsoled047,円 047円name047円:
047円Domain-0047円}
[2010年04月08日 21:46:55 3763] DEBUG (XendDomain:464) Adding Domain: 0
[2010年04月08日 21:46:55 3763] DEBUG (XendDomain:398) number of vcpus to use is 0
[2010年04月08日 21:46:55 3763] DEBUG (XendDomainInfo:1891)
XendDomainInfo.handleShutdownWatch
[2010年04月08日 21:46:55 3763] ERROR (XendDomain:353) Unable to open or
parse config.sxp:
/var/lib/xend/domains/46f22c82-8a3d-47e3-b9c5-3b5f6eaf7a12/config.sxp
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py",
line 344, in _managed_domains
cfg = XendConfig.XendConfig(filename = cfg_file)
File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
line 342, in __init__
self._sxp_to_xapi(sxp_obj)
File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
line 857, in _sxp_to_xapi
cfg = self._parse_sxp(sxp_cfg)
File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
line 805, in _parse_sxp
self.parse_cpuid(cfg, 047円cpuid047円)
File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
line 610, in parse_cpuid
cfg[field][input] = dict(regs)
ValueError: dictionary update sequence element #0 has length 1; 2 is required
[2010年04月08日 21:46:55 3763] WARNING (XendAPI:705) API call:
VBD.set_device not found
[2010年04月08日 21:46:55 3763] WARNING (XendAPI:705) API call:
VBD.set_type not found
[2010年04月08日 21:46:55 3763] WARNING (XendAPI:705) API call:
session.get_all_records not found
[2010年04月08日 21:46:55 3763] WARNING (XendAPI:705) API call:
event.get_record not found
[2010年04月08日 21:46:55 3763] WARNING (XendAPI:705) API call:
event.get_all not found
[2010年04月08日 21:46:55 3763] WARNING (XendAPI:705) API call:
VIF.set_device not found
[2010年04月08日 21:46:55 3763] WARNING (XendAPI:705) API call: VIF.set_MAC not found
[2010年04月08日 21:46:55 3763] WARNING (XendAPI:705) API call: VIF.set_MTU not found
[2010年04月08日 21:46:55 3763] WARNING (XendAPI:705) API call:
debug.get_all not found
[2010年04月08日 21:46:55 3763] INFO (XMLRPCServer:156) Opening Unix domain
socket XML-RPC server on /var/run/xend/xen-api.sock; authentication
has been disabled for this server.
[2010年04月08日 21:46:55 3763] INFO (XMLRPCServer:156) Opening Unix domain
socket XML-RPC server on /var/run/xend/xmlrpc.sock.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users