From owner-freebsd-stable@FreeBSD.ORG Mon Nov 7 11:27:53 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49EE816A41F for ; Mon, 7 Nov 2005 11:27:53 +0000 (GMT) (envelope-from sebster@sebster.com) Received: from smtp.profdata.nl (server.profdata.nl [213.196.2.244]) by mx1.FreeBSD.org (Postfix) with SMTP id 8C4C943D45 for ; Mon, 7 Nov 2005 11:27:52 +0000 (GMT) (envelope-from sebster@sebster.com) Received: (qmail 64264 invoked from network); 7 Nov 2005 11:27:51 -0000 Received: from unknown (HELO ?10.0.0.6?) (80.126.244.3) by server.profdata.nl with SMTP; 7 Nov 2005 11:27:51 -0000 Message-ID: <436F3A36.3070608@sebster.com> Date: Mon, 07 Nov 2005 12:27:50 +0100 From: Sebastiaan van Erk User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <436DEB56.4050505@sebster.com> <20051106210447.2145e551.skywizard@MyBSD.org.my> In-Reply-To: <20051106210447.2145e551.skywizard@MyBSD.org.my> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ariff Abdullah Subject: Re: Sound skipping problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 11:27:53 -0000 Hi, Thank you for your reply! I tried the patch, but unfortunately when I reboot with the patch (which cleanly applies and compiles), audio stops working. The device (pcm0) is still there, the mixer is set ok, and everything looks normal, just no sound comes out of the speakers. I have no idea why the patch doesn't work, but if you want any more information I'll be happy to supply it to you. The sound skipping seems at least fixed by just increasing the buffer size, but don't know how reliable this workaround is compared to a structural workaround. Furthermore I don't know if this message is relevant, but it seems the snd_8233 driver doesn't like my audio codec very much: pcm0: port 0xec00-0xecff irq 22 at device 17.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: Greetings, Sebastiaan van Erk Ariff Abdullah wrote: > On Sun, 06 Nov 2005 12:39:02 +0100 > Sebastiaan van Erk wrote: > >>Hi, >> >>I have major sound skipping problems on FreeBSD 6.0. I checked the >>mailing list archives and found a related thread: >> >>http://lists.freebsd.org/pipermail/freebsd-current/2005-June/051103.html >> >>To quote Jeff Roberson: >> >> > I have a patch that should greatly improve the sound skipping >> > problems people have under heavy io load. Several people sent me >> > traces that showed the buf daemon running for hundreds of >> > milliseconds with Giant held, which can hold up the pcm code. >> > The patch is available at: >> > >> > http://www.chesapeake.net/~jroberson/flushbuf.diff >> >>The problems are definately correlated to io load, however I can't >>say that I have HEAVY io loads. A simple: # sync;sync;sync; will >>already cause the sound to skip. >> >>I have DMA enabled on all drives, and it seems the above patch is >>already merged into FreeBSD 6.0-STABLE. This leaves me at a loss, >>and I don't know what else to try... >> >>Does anybody have any ideas of what I could do to solve this >>problem? >> >> > > Recompile your kernel with "options PREEMPTION", and apply this patch: > > http://people.freebsd.org/~ariff/snd_RELENG_6_0_20051030_058.diff > > > -- > Ariff Abdullah > MyBSD > > http://www.MyBSD.org.my (IPv6/IPv4) > http://staff.MyBSD.org.my (IPv6/IPv4) > http://tomoyo.MyBSD.org.my (IPv6/IPv4) > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"