On Sat, 05 Apr 2008 15:05:55 +0200
Aurelien Jarno <[EMAIL PROTECTED]> wrote:

> Daniel Dickinson a écrit :
> > Package: qemu
> > Version: 0.9.1-3
> > Severity: normal
> > 
> > 
> > With both Windows 98 SE and Ubuntu 7.10 (Gutsy) as the guest OS I
> > have been having issues with qemu where the virtual machine will
> > hang, and, if the mouse is grabbed, prevent any mouse or keyboard
> > under X when that happens (for all of X; only way out is to kill
> > qemu from a VT, then I can use the keyboard to exit X, which is
> > necessary to reset the grabbed mouse).
> > 
> > I haven't found a pattern, and when I exit X and restart it
> > (usually automatically by logging out of a gnome session, which
> > restart the X server) X starts on a new VT leaving the old VT
> > empty.  Also some X programs that try to access display :0.0 report
> > they cannot when this happens; it seems the qemu forced exit is
> > leaving X in a state it can't get out of.
> > 
> > I haven't been able to find a pattern to these crashes; they just
> > happen in middle of some activity like installing or running a
> > program (as mentioned, with both Win98SE and Gutsy) and is
> > disturbing because it screws up X in the process.
> > 
> 
> Are you using kqemu? If yes, please retry with -no-kqemu.

Already doing so, in fact, for testing I have stopped loading kqemu on
boot as well, just in case.  The script I am using for the
windows vm is:

#!/bin/bash
export QEMU_AUDIO_DRV=sdl
export SDL_VIDEO_WINDOW_POS=0,33

qemu -name "Windows 98 Second Edition" \
    -boot c \
    -hda /home/daniel/Qemu/windows/98se.qcow2 \
    -cdrom /home/daniel/Qemu/static-images/98se/98se.iso \
    -localtime \
    -m 256 \
    -no-acpi \
    -net nic,vlan=0,macaddr='04:11:de:2a:ee:39' \
    -net tap,vlan=0,script=/etc/qemu-ifup \
    -soundhw sb16 \
    -no-kqemu \
    $* &

I have, at various times, tried without the network and/or sound
emulation, and was using sparse raw images for most trials, but tried
qcow2 to see if made a difference (it doesn't for this, though I've
decided I like it better anyway).

I am using the network with a bridge that the tapX device is
automatically added to and address assigned via dhcp (although I have
also used static IP and no bridge and used uml-utilities to assign IP
to the tapX devices in /etc/network/interfaces)

For the ubuntu I image I use:

#!/bin/bash
export SDL_VIDEO_WINDOW_POS=0,33
export QEMU_AUDIO_DRV=sdl

qemu -name "Ubuntu 7.10 (Gutsy)" \
    -boot c \
    -hda /home/daniel/Qemu/ubuntu/gutsy-dfd.img \
    -cdrom /srv/Archives/Libre/ISO/ubuntu-7.10-alternate-i386.iso \
    -m 256 \
    -no-acpi \
    -std-vga \
    -net nic,vlan=0,macaddr='03:53:FD:E2:AA:23' \
    -net tap,vlan=0,ifname=tap1,script=no \
    -soundhw es1370 \
    -usb -usbdevice tablet \
    -no-frame \
    $* &    

Though I have also tried it with -no-kqemu as well.

Regards,

Daniel
-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C      http://gnupg.org
No more sea shells:  Daniel's Weblog    http://cshore.wordpress.com

Attachment: signature.asc
Description: PGP signature

Reply via email to