Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2008 23:41:48 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Juergen Lock <nox@jelal.kn-bremen.de>
Cc:        unixmania@gmail.com, freebsd-emulation@freebsd.org, qemu-devel@nongnu.org, Anthony Liguori <anthony@codemonkey.ws>
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>
In-Reply-To: <200809302233.m8UMXdca045408@saturn.kn-bremen.de>
References:  <20080921204025.GA81055@saturn.kn-bremen.de> <cd6b4a5b0809230639x27e94477k315796c2cfb650f2@mail.gmail.com> <200809242210.m8OMAcSZ021572@saturn.kn-bremen.de> <cd6b4a5b0809241954p159dd86u17fdc2a485008e7d@mail.gmail.com> <48DCF9FC.2070708@codemonkey.ws> <20080926220445.GA13099@saturn.kn-bremen.de> <20080927204729.GA52209@saturn.kn-bremen.de> <200809302233.m8UMXdca045408@saturn.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 01, 2008 at 12:33:39AM +0200, Juergen Lock wrote:
> In article <e71790db0809272104p1b3f383epb753fff72bb6f101@mail.gmail.com> you write:
> >On Sat, Sep 27, 2008 at 5:47 PM, Juergen Lock <nox@jelal.kn-bremen.de> 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 <bsd.port.pre.mk>
> >@@ -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 <unixmania@gmail.com>
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081011214148.GA57939>