Port-xen archive

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

netbsd-5 i386 PAE dom0 + hvm domU winxp?



Hi,

More info (sorry for the new thread, forgot to cc: to me):

I'm using netbsd-5 and xen*33.

Before the PAE upgrade, with an older version of Xen and NetBSD 4.0,
the hvm/winxp domain worked.  The qemu log under /var/log/xen looked
like this:

domid: 8
qemu: the number of cpus is 1
Watching /local/domain/8/logdirty/next-active
qemu_map_cache_init nr_buckets = 4000 size 196608
shared page at pfn 1ffff
buffered io page at pfn 1fffd
Time offset set 10800
xs_read(): vncpasswd get error. 
/vm/d000cf79-d4ff-8c89-39ea-c297d0ec4193/vncpasswd.
Register xen platform.
Done register platform.
register acpi io
Triggered log-dirty buffer switch
reset requested in cpu_handle_ioreq.
Issued domain 8 reboot

Now, the log looks like this:

domid: 13
qemu: the number of cpus is 1
qemu: could not open vbd ¿local/domain/13/device/vbd/768/phantom_vbd' or
hard disk image ¿dev/sd2e' (drv 'phy' format 'raw')
Watching /local/domain/0/device-model/13/logdirty/next-active
Watching /local/domain/0/device-model/13/command
xs_read(): vncpasswd get error. 
/vm/e520689a-6f73-ce74-8452-99e7ed4e4179/vncpasswd.
qemu_map_cache_init nr_buckets = 4000 size 196608
shared page at pfn 3fffe
buffered io page at pfn 3fffc
Time offset set 7200
Register xen platform.
Done register platform.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0

In xend.log, there's lots of gibberish and then:

[2010-03-21 19:56:33 268] DEBUG (XendDomainInfo:1450)
XendDomainInfo.handleShutdownWatch
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices vif.
[2010-03-21 19:56:33 268] DEBUG (DevController:171) Waiting for 0.
[2010-03-21 19:56:33 268] DEBUG (DevController:656) hotplugStatusCallback
/local/domain/0/backend/vif/13/0/hotplug-status.
[2010-03-21 19:56:33 268] DEBUG (DevController:670) hotplugStatusCallback 1.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices vscsi.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices vbd.
[2010-03-21 19:56:33 268] DEBUG (DevController:171) Waiting for 768.
[2010-03-21 19:56:33 268] DEBUG (DevController:656) hotplugStatusCallback
/local/domain/0/backend/vbd/13/768/hotplug-status.
[2010-03-21 19:56:33 268] DEBUG (DevController:670) hotplugStatusCallback 1.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices irq.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices vkbd.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices vfb.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices
console.
[2010-03-21 19:56:33 268] DEBUG (DevController:171) Waiting for 0.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices pci.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices
ioports.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices tap.
[2010-03-21 19:56:33 268] DEBUG (DevController:166) Waiting for devices vtpm.
[2010-03-21 19:56:33 268] INFO (XendDomain:1174) Domain winxp (13) unpaused.
[2010-03-21 19:56:34 268] INFO (XendDomainInfo:1641) Domain has shutdown:
name=winxp id=13 reason=poweroff.
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:2409)
XendDomainInfo.destroy: domid=13
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:1946) Destroying device model
[2010-03-21 19:56:34 268] WARNING (image:470) domain winxp: device model
failure: no longer running; see /var/log/xen/qemu-dm-winxp.log 
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:1953) Releasing devices
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:1966) Removing vif/0
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:910)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:1966) Removing vbd/768
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:910)
XendDomainInfo.destroyDevice: deviceClass = None, device = vbd/768
[2010-03-21 19:56:34 268] ERROR (XendDomainInfo:1973) Device release failed:
winxp; None; vbd/768
Traceback (most recent call last):
  File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 1967, in _releaseDevices
    self.destroyDevice(true_devclass, dev, False);
  File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 924, in destroyDevice
    rc = self.getDeviceController(deviceClass).destroyDevice(devid, force)
  File "usr/pkg/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 1988, in getDeviceController
    raise XendError("Unknown device type: %s" % name)
XendError: Unknown device type: None
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:1966) Removing vfb/0
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:910)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:1966) Removing console/0
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:910)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:1951) No device model
[2010-03-21 19:56:34 268] DEBUG (XendDomainInfo:1953) Releasing devices


The "Domain has shutdown: name=winxp id=13 reason=poweroff"
part looks suspicious.. :-o

Any ideas?  Please :-)

  -jm


Home | Main Index | Thread Index | Old Index