WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Problem accessing console of HVM DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem accessing console of HVM DomU
From: Jason Martens <me@xxxxxxxxxxxxxxxx>
Date: Thu, 26 Oct 2006 14:29:00 -0500
Delivery-date: Thu, 26 Oct 2006 12:30:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: url=hkp://subkeys.pgp.net
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20060927)
Hey All,
   I've been trying to boot a windows DomU on my Dell 2950, but I'm
having issues accessing the console.  When I start the domain, I get the
following:

xm create windows.hvm -c
Using config file "/etc/xen/windows.hvm".
Started domain windows
xenconsole: Could not read tty from store: No such file or directory

At this point, it's running, but there is no VNC process spawned
anywhere.  Here is my .hvm file:
kernel = "/usr/lib/xen-3.0.3-rc1/boot/hvmloader"
builder='hvm'
memory = 512
name = "windows"
vcpus=1
pae=0
acpi=0
apic=0
cpus = ""
vif = [ 'type=ioemu, mac=00:16:3e:00:00:94, bridge=xenbr0' ]
disk = [ 'phy:/dev/sunvg00/win2k01,ioemu:hda,w' ]
on_poweroff = 'destroy'
on_reboot   = 'destroy'
on_crash    = 'destroy'
device_model = '/usr/lib/usr/lib/xen-3.0.3-rc1/bin/qemu-dm'
cdrom='/home/jmartens/win2k3.iso'
boot='d'
sdl=0
vnc=1
vncviewer=0
stdvga=0
serial='pty'
ne2000=0


And yes, xenconsoled *is* running.  Below is the output from my
xend.log.  Any thoughts?   I've seen a few references to this when I
googled, but I couldn't find any solutions. :(

Thanks,
Jason Martens


[2006-10-25 17:05:39 xend.util.security 11446] INFO (__init__:1072)
Resource label file not found.
[2006-10-25 17:05:39 xend.XendDomainInfo 2838] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'windows'], ['memory', 512],
['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash',
'destroy'], ['vcpus', 1], ['cpus', ''], ['image', ['hvm', ['kernel',
'/usr/lib/xen-3.0.3-rc1/boot/hvmloader'], ['vcpus', 1], ['boot', 'd'],
['serial', 'pty'], ['vnc', 1], ['vncunused', 1], ['display',
'localhost:10.0'], ['xauthority', '/home/jmartens/.Xauthority'],
['device_model', '/usr/lib/usr/lib/xen-3.0.3-rc1/bin/qemu-dm']]],
['device', ['vbd', ['uname', 'phy:/dev/sunvg00/win2k01'], ['dev',
'ioemu:hda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'],
['mac', '00:16:3e:00:00:94'], ['type', 'ioemu']]]])
[2006-10-25 17:05:39 xend.XendDomainInfo 2838] DEBUG (__init__:1072)
parseConfig: config is ['vm', ['name', 'windows'], ['memory', 512],
['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash',
'destroy'], ['vcpus', 1], ['cpus', ''], ['image', ['hvm', ['kernel',
'/usr/lib/xen-3.0.3-rc1/boot/hvmloader'], ['vcpus', 1], ['boot', 'd'],
['serial', 'pty'], ['vnc', 1], ['vncunused', 1], ['display',
'localhost:10.0'], ['xauthority', '/home/jmartens/.Xauthority'],
['device_model', '/usr/lib/usr/lib/xen-3.0.3-rc1/bin/qemu-dm']]],
['device', ['vbd', ['uname', 'phy:/dev/sunvg00/win2k01'], ['dev',
'ioemu:hda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'],
['mac', '00:16:3e:00:00:94'], ['type', 'ioemu']]]]
[2006-10-25 17:05:39 xend.XendDomainInfo 2838] DEBUG (__init__:1072)
parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash':
'destroy', 'on_reboot': 'destroy', 'localtime': None, 'image': ['hvm',
['kernel', '/usr/lib/xen-3.0.3-rc1/boot/hvmloader'], ['vcpus', 1],
['boot', 'd'], ['serial', 'pty'], ['vnc', 1], ['vncunused', 1],
['display', 'localhost:10.0'], ['xauthority',
'/home/jmartens/.Xauthority'], ['device_model',
'/usr/lib/usr/lib/xen-3.0.3-rc1/bin/qemu-dm']], 'on_poweroff':
'destroy', 'bootloader_args': None, 'cpus': '', 'name': 'windows',
'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None,
'vcpu_avail': None, 'memory': 512, 'device': [('vbd', ['vbd', ['uname',
'phy:/dev/sunvg00/win2k01'], ['dev', 'ioemu:hda'], ['mode', 'w']]),
('vif', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e:00:00:94'],
['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-10-25 17:05:39 xend.XendDomainInfo 2838] DEBUG (__init__:1072)
XendDomainInfo.construct: None
[2006-10-25 17:05:39 xend.XendDomainInfo 2838] DEBUG (__init__:1072)
XendDomainInfo.initDomain: 11 1.0
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: boot, val: d
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: fda, val: None
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: fdb, val: None
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: soundhw,
val: None
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: localtime,
val: None
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: serial, val: pty
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: std-vga,
val: None
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: isa, val: None
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: vcpus, val: 1
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: acpi, val: None
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: usb, val: None
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) args: usbdevice,
val: None
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) Balloon: 542876
KiB free; need 541904; done.
[2006-10-25 17:05:39 xend 2838] INFO (__init__:1072) buildDomain os=hvm
dom=11 vcpus=1
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) dom            = 11
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) image          =
/usr/lib/xen-3.0.3-rc1/boot/hvmloader
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) store_evtchn   = 1
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) memsize        = 512
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) vcpus          = 1
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) pae            = 0
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) acpi           = 0
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) apic           = 0
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) hvm shutdown watch
registered
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) DevController:
writing {'backend-id': '0', 'virtual-device': '768', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/11/768'}
to /local/domain/11/device/vbd/768.
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) DevController:
writing {'domain': 'windows', 'frontend':
'/local/domain/11/device/vbd/768', 'dev': 'hda', 'state': '1', 'params':
'/dev/sunvg00/win2k01', 'mode': 'w', 'online': '1', 'frontend-id': '11',
'type': 'phy'} to /local/domain/0/backend/vbd/11/768.
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vif/11/0'} to /local/domain/11/device/vif/0.
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) DevController:
writing {'bridge': 'xenbr0', 'domain': 'windows', 'handle': '0',
'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/11/device/vif/0', 'mac': '00:16:3e:00:00:94', 'online':
'1', 'frontend-id': '11', 'type': 'ioemu'} to
/local/domain/0/backend/vif/11/0.
[2006-10-25 17:05:39 xend 2838] INFO (__init__:1072) spawning device
models: /usr/lib/usr/lib/xen-3.0.3-rc1/bin/qemu-dm
['/usr/lib/usr/lib/xen-3.0.3-rc1/bin/qemu-dm', '-d', '11', '-m', '512',
'-boot', 'd', '-serial', 'pty', '-vcpus', '1', '-domain-name',
'windows', '-net', 'nic,vlan=1,macaddr=00:16:3e:00:00:94,model=rtl8139',
'-net', 'tap,vlan=1,bridge=xenbr0', '-vnc', '11', '-k', 'en-us',
'-vncunused']
[2006-10-25 17:05:39 xend 2838] INFO (__init__:1072) device model pid: 11478
[2006-10-25 17:05:39 xend.XendDomainInfo 2838] DEBUG (__init__:1072)
Storing VM details: {'shadow_memory': '4', 'uuid':
'9db2a265-2ef0-cf1b-a489-212b317c5918', 'on_reboot': 'destroy',
'start_time': '1161813939.95', 'on_poweroff': 'destroy', 'name':
'windows', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1',
'memory': '512', 'on_crash': 'destroy', 'image': '(hvm (kernel
/usr/lib/xen-3.0.3-rc1/boot/hvmloader) (vcpus 1) (boot d) (serial pty)
(vnc 1) (vncunused 1) (display localhost:10.0) (xauthority
/home/jmartens/.Xauthority) (device_model
/usr/lib/usr/lib/xen-3.0.3-rc1/bin/qemu-dm))', 'maxmem': '512'}
[2006-10-25 17:05:39 xend.XendDomainInfo 2838] DEBUG (__init__:1072)
Storing domain details: {'console/port': '2', 'name': 'windows',
'console/limit': '1048576', 'vm':
'/vm/9db2a265-2ef0-cf1b-a489-212b317c5918', 'domid': '11',
'cpu/0/availability': 'online', 'memory/target': '524288',
'store/ring-ref': '331304', 'store/port': '1'}
[2006-10-25 17:05:39 xend 2838] DEBUG (__init__:1072) hvm_shutdown
fired, shutdown reason=None
[2006-10-25 17:05:39 xend.XendDomainInfo 2838] DEBUG (__init__:1072)
XendDomainInfo.handleShutdownWatch
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for
devices vif.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for 0.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/11/0/hotplug-status.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vif/11/0/hotplug-status.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072)
hotplugStatusCallback 1.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for
devices usb.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for
devices vbd.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for 768.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vbd/11/768/hotplug-status.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072)
hotplugStatusCallback /local/domain/0/backend/vbd/11/768/hotplug-status.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072)
hotplugStatusCallback 1.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for
devices irq.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for
devices pci.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for
devices ioports.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for
devices tap.
[2006-10-25 17:05:40 xend 2838] DEBUG (__init__:1072) Waiting for
devices vtpm.
[2006-10-25 17:05:40 xend 2838] INFO (__init__:1072) Domain windows (11)
unpaused.





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>