From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 11 21:43:01 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80BFF106568C for ; Sat, 11 Oct 2008 21:43:01 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 011A28FC16 for ; Sat, 11 Oct 2008 21:43:00 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id CE051191A4E; Sat, 11 Oct 2008 23:42:58 +0200 (CEST) Received: from saturn.kn-bremen.de (noident@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id m9BLfpQ9058425; Sat, 11 Oct 2008 23:41:51 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id m9BLfmsU058424; Sat, 11 Oct 2008 23:41:48 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 11 Oct 2008 23:41:48 +0200 To: Juergen Lock Message-ID: <20081011214148.GA57939@saturn.kn-bremen.de> Mail-Followup-To: Juergen Lock , unixmania@gmail.com, qemu-devel@nongnu.org, Anthony Liguori , freebsd-emulation@freebsd.org 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> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: unixmania@gmail.com, freebsd-emulation@freebsd.org, qemu-devel@nongnu.org, Anthony Liguori Subject: Re: [Qemu-devel] Re: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5457) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 21:43:01 -0000 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