From: Johannes Martin <jmartin@notamusica.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] OS/2 Warp sound issues and patch (?)
Date: Sun, 11 Jul 2004 19:02:10 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.56.0407111853540.2008@hatatitla.NotaMusica.com> (raw)
Hi,
I just compiled qemu from cvs on a Debian Linux system. Then I tried to
install OS/2 Warp 4. The install worked fine except that I got a
segmenation fault during network install, so my final OS/2 installation
does not have any network drivers installed, but that's another issue...
qemu crashed pretty predictably whenever I tried to open a folder and for
some other system events that caused sound output (I use qemu with
-enable-audio). I got an error message saying:
oss: write audio
system error: Unknown error 572
(the error number would change)
I found the place in oss.c that causes the abort and tried to fix it. The
patch below works fine for me: sound continues to work and I no longer get
any aborts (just the occasional error message on the console).
Another issue: when qemu aborts, I sometimes lose my mouse pointer.
Restarting qemu fixes that problem. Maybe qemu should clean up a little
bit before aborting, such as resetting mouse and terminal.
Great work! I'm impressed.
Johannes
*** oss.c Sun Jul 11 18:02:19 2004
--- oss.c.~1.5.~ Mon Jul 5 23:25:11 2004
***************
*** 410,420 ****
return;
}
else {
! int _errno = errno;
! fprintf (stderr, "oss: write audio\n");
! fprintf (stderr, "system error: %s\n", strerror (_errno));
! // ERRFail ("write audio");
! written = play;
}
}
--- 410,416 ----
return;
}
else {
! ERRFail ("write audio");
}
}
reply other threads:[~2004-07-11 17:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.56.0407111853540.2008@hatatitla.NotaMusica.com \
--to=jmartin@notamusica.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).