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

[Xen-users] Resolved: SDL for HVM DomU stops working after Gentoo 2007.0 Dom0 upgrade


  • To: "xen ml" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Derek <xen@xxxxxxxxxxxxxxxx>
  • Date: Thu, 31 May 2007 15:51:07 -0600
  • Delivery-date: Thu, 31 May 2007 14:49:25 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=hOSRbB0V6eCpKSXeXHS9s+o+7BIC0y3zlFFXjnZvwUXVjYLops4t/FKsh5obJz0Q+klpcmlXPwVH3o5ewFDkkRvCl+XhZCRB3zRA8nTzAdolD8QpTwS7nHgRUHEES8h1QOEUxy5axClFHkz5ut9akHNonsz2d6rid7Izx8txqfA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Unsurprisingly, this was  a Gentoo-specific problem.  In case anyone else has the same problem, here's what fixed it.
 
Gentoo  2007.0 needs the "sdl" USE flag to be set for xen domUs to use SDL.  (Maybe it was true of 2006.0 as well, and somehow I accidentally  unset the flag?)  At any rate, the fix was to set the "sdl" USE flag (I used the "profuse" tool), and then to run "emerge -N world".

Derek.

On 5/30/07, Derek <xen@xxxxxxxxxxxxxxxx> wrote:
Hi folks,
 
I've got a strange problem.
 
I just upgraded from Gentoo 2006.0 to 2007.0 for my Dom0.  I did not reinstall Xen, nor the Dom0 kernel.  And didn't change any Xen configuration files.
 
My SDL-based DomU running Win-XP no longer works.  After xm start, I see the domU in the xm list, but it never accumulates any run time, and the window never pops up.
 
If I switch to VNC-based instead (by setting sdl=0 in the file), it works fine.  I can connect to the Windows session from a VNC viewer, just fine.
 
Any suggestions?  There's nothing obvious in any files in /var/log, although I don't really know what I'm looking for.  I'll post a tail of any log file of interest if anyone has suggestions.
 
My config file, which has not changed since this worked under the older Gentoo Dom0:

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
name = "WindowsXP"
usb = 1
usbdevice = "tablet"
vif = [ 'type=ioemu, mac=00:16:3e:00:00:94, bridge=xenbr0' ]
disk = [ 'phy:/dev/main/win_xp_guest_domain,hda,w', 'phy:/dev/cdrom,hdc:cdrom,r']
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="c"
sdl=1
vnc=0
vncviewer=0
stdvga=0
serial='pty'
ne2000=0
audio=1
soundhw='all'
localtime=0


Derek.

_______________________________________________
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®.