Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KomEq-0007F4-F5 for qemu-devel@nongnu.org; Sat, 11 Oct 2008 17:43:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KomEo-0007Dk-Hu for qemu-devel@nongnu.org; Sat, 11 Oct 2008 17:43:03 -0400 Received: from [199.232.76.173] (port=54386 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KomEo-0007Db-9a for qemu-devel@nongnu.org; Sat, 11 Oct 2008 17:43:02 -0400 Received: from gwyn.kn-bremen.de ([212.63.36.242]:35651) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KomEn-00017l-W8 for qemu-devel@nongnu.org; Sat, 11 Oct 2008 17:43:02 -0400 From: Juergen Lock Date: Sat, 11 Oct 2008 23:41:48 +0200 Subject: Re: [Qemu-devel] Re: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5457) Message-ID: <20081011214148.GA57939@saturn.kn-bremen.de> References: <20080921204025.GA81055@saturn.kn-bremen.de> <200809242210.m8OMAcSZ021572@saturn.kn-bremen.de> <48DCF9FC.2070708@codemonkey.ws> <20080926220445.GA13099@saturn.kn-bremen.de> <20080927204729.GA52209@saturn.kn-bremen.de> <200809302233.m8UMXdca045408@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809302233.m8UMXdca045408@saturn.kn-bremen.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juergen Lock Cc: unixmania@gmail.com, freebsd-emulation@freebsd.org, qemu-devel@nongnu.org On Wed, Oct 01, 2008 at 12:33:39AM +0200, Juergen Lock wrote: > In article you write: > >On Sat, Sep 27, 2008 at 5:47 PM, Juergen Lock wrote: > >> On Sat, Sep 27, 2008 at 12:04:45AM +0200, I wrote: > >>>[...] > >>> I'll see if I can prepare another update over the weekend and then go > >>> thru more of the patches that have accumulated in the port... > >> > >> OK, here we go :) First the update: (at r5331 now) > >> http://people.freebsd.org/~nox/qemu/qemu-devel-20080927.patch > >[...] > > > >I suggest applying the following patch (on top of yours). It includes > >options to build additional sound emulators. > > > >--- Makefile.orig 2008-09-28 00:11:29.000000000 -0300 > >+++ Makefile 2008-09-28 00:53:03.000000000 -0300 > >@@ -38,6 +38,10 @@ > > GNUTLS "gnutls dependency (vnc encryption)" On \ > > PCAP "pcap dependency (networking with bpf)" On \ > > CDROM_DMA "IDE CDROM DMA" On \ > >+ AC97 "Intel 82801AA AC97 sound card" Off \ > >+ ADLIB "Adlib card with Yamaha YM3812 (OPL2) chip" Off \ > >+ CS4231A "CS4231A sound card (Windows Sound System)" Off \ > >+ GUS "Gravis Ultrasound GF1 sound card" Off \ > > ALL_TARGETS "Also build dyngen targets (requires gcc34)" On > > > > .include > >@@ -76,6 +80,35 @@ > > CONFIGURE_ARGS+= --enable-pcap > > .endif > > > >+.if defined(WITH_AC97) > >+AUDIO_CARD_LIST= ac97 > >+.endif > >+ > >+.if defined(WITH_ADLIB) > >+.if defined(AUDIO_CARD_LIST) > >+AUDIO_CARD_LIST+= , > >+.endif > >+AUDIO_CARD_LIST+= adlib > >+.endif > >+ > >+.if defined(WITH_CS4231A) > >+.if defined(AUDIO_CARD_LIST) > >+AUDIO_CARD_LIST+= , > >+.endif > >+AUDIO_CARD_LIST+= cs4231a > >+.endif > >+ > >+.if defined(WITH_GUS) > >+.if defined(AUDIO_CARD_LIST) > >+AUDIO_CARD_LIST+= , > >+.endif > >+AUDIO_CARD_LIST+= gus > >+.endif > >+ > >+.if defined(AUDIO_CARD_LIST) > >+CONFIGURE_ARGS+= --audio-card-list="${AUDIO_CARD_LIST}" > >+.endif > >+ > > .if defined(WITH_SAMBA) > > RUN_DEPENDS+= ${LOCALBASE}/sbin/smbd:${PORTSDIR}/net/samba3 > > .endif > > > >Signed-off-by: Carlos Santos > > Hmm. I might just add one knob to compile in all of these instead, > they are still to be enabled individually at runtime, right? Ok, new update at: http://people.freebsd.org/~nox/qemu/qemu-devel-20081011.patch I have added an ADD_AUDIO knob to enable all of the above, and I have also added the aio emulation patch that makes qemu still work when aio is not loaded (although usually slower.) I have noticed tho that -soundhw ac97 together with -usb -drive if=scsi,... and -net nic,model=rtl8139 causes scsi resets and timeouts at least for my sidux-2008-03-ourea-pre1-kde-lite-i386-200809142136.iso livecd guest, can anyone reproduce this? A FreeBSD 7.1-BETA-i386-livefs.iso guest with the same parameters also hangs at boot with scsi problems... Oh and the other problems I mentioned also still seem to exist. Thanx, Juergen