From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 23 11:37:18 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9714F16A4CE for ; Thu, 23 Sep 2004 11:37:18 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7EBC43D2D for ; Thu, 23 Sep 2004 11:37:15 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.1/8.12.11/NinthNine) with SMTP id i8NBbDjt051259; Thu, 23 Sep 2004 20:37:13 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Thu, 23 Sep 2004 20:37:13 +0900 (JST) Message-Id: <200409231137.i8NBbDjt051259@sakura.ninth-nine.com> From: Norikatsu Shigemura To: yongari@kt-is.co.kr In-Reply-To: <20040923024038.GA11717@kt-is.co.kr> References: <20040923024038.GA11717@kt-is.co.kr> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (sakura.ninth-nine.com [219.127.74.121]); Thu, 23 Sep 2004 20:37:14 +0900 (JST) cc: freebsd-multimedia@FreeBSD.org cc: gabor@zahemszky.hu Subject: Re: Maestro3 and 5.3-beta5 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 11:37:18 -0000 On Thu, 23 Sep 2004 11:40:38 +0900 Pyun YongHyeon wrote: > Since it worked before, it sounds like DMA buffer allocation issue. > Can you try attached patch? It doesn't fix your issue but it checks > return code correctly and we can know whether DMA buffer allocation > was successful or not. I was in trouble with this problem, too. So I tested your patch. It looks good with Onkyo SE-120PCI(Maestro3). Would you plase commit to CURRENT and RELENG_5? > If DMA buffer allocation was successful I have no idea. If you see > DMA buffer allocation failure you probably can workaround the > issue like this: > Step 1. Make static kernel with your sound drivers. > Step 2. add vm.old_contigmalloc=1 in /etc/sysctl.conf > If you needed step2, maestro3 driver needs rewriting for its memory > management code. So I didn't try to do it.