On Sat, 2009-10-31 at 15:21 +0300, Michael Tokarev wrote:
> Ross Boylan wrote:
> > My XP VM was working OK, and then started crashing shortly after it
> > logged me in.  There were no obvious changes at the time.  I built the
> > latest qemu-kvm, but the problem persists.
> > 
> > I am running 32 bit XP on Intel(R) Xeon(R) CPU E5420  @ 2.50GHz (8 cores
> > total), Debian GNU/Linux mostly Lenny (amd64), but with some more recent
> > stuff.  In particular, the kernel is 2.6.30-8 and I pulled in the
> > kernel-headers package to match before building kvm.  However, libc6 and
> > libc6-dev are at Lenny's 2.7-18 version.
> 
> Libc is basically irrelevant here.  What matters are the host kernel
> and kvm version.
> 
> > $ ./XP.sh
> > ++ sudo vdeq bin/qemu-system-x86_64 -net 
> > nic,vlan=1,macaddr=52:54:a0:12:01:00 -net 
> > vde,vlan=1,sock=/var/run/vde2/tap0.ctl -boot c -vga std -hda 
> > /dev/turtle/XP01 -soundhw es1370 -localtime -m 1G -smp 2
> > arg ,vlan=1,sock=/var/run/vde2/tap0.ctl
> > TUNGETIFF ioctl() failed: Invalid argument
> > TUNSETOFFLOAD ioctl() failed: Bad address
> > oss: Could not initialize DAC
> > oss: Failed to open `/dev/dsp'
> > oss: Reason: Device or resource busy
> > oss: Could not initialize DAC
> > oss: Failed to open `/dev/dsp'
> > oss: Reason: Device or resource busy
> > audio: Failed to create voice `es1370.dac2'
> > # and more sound-related complaints
> 
> Switch to alsa to get your audio working.
I don't see an alsa option for kvm/qemu.  I'm already running alsa, but
under KDE which tends to grab the device.
> 
> > The VM starts; I see the initial XP screen with the 4 colors; I see the
> > background I get when I log in (it logs me in directly without prompt);
> > and then (pretty fast) I get a blue screen.  The stop code is 0x8E, and
> > the text says to check disk space and BIOS options.
> 
> What's the bios files your kvm uses?  Are they by a change
> from some old qemu install?
They appear to be from the latest install, since strace shows various
bios files loading from /usr/local/kvm/share.  The invoking environment
was a little different from the real run, since strace vdeq ....
apparently traced vdeq but not kvm calls.  So I just ran the kvm bare.

> 
> Does kvm deb from http://www.corpit.ru/debian/tls/kvm/ expose the same
> issue?
Yes.  However, as it fails it left a reverberating sound (fragment of
the Windows login tone).

I tried starting in safe mode.  XP said there was new hardware: the
video (-vga std).  It could not find a driver on the internet(!? the
device was identified as a VGA controller).  Then it told me the driver
had been installed (after I hit finish).  I rebooted in regular mode.
This time there was no sound, but the machine failed again with STOP
0x8E (as before).  The video appeared to be working throughout this,
showing a window that exceeded vanilla VGA resolution.

Ross


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to