From owner-freebsd-multimedia@FreeBSD.ORG Sat Oct 28 08:20:31 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 149C516A47C for ; Sat, 28 Oct 2006 08:20:31 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0055843D5D for ; Sat, 28 Oct 2006 08:20:24 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so866552wxd for ; Sat, 28 Oct 2006 01:20:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=EVdFWiEm/fRzF3dGZ8RJyiNblfdIlmFPgxNfmfGmVPGpqLTHHBrd4SwlWOzp/JXKCYPJzc6spfLAHjA3qNZy749jAfotdQQ3Qr1j8Hi8Hx3YMFrfpKf+l/cJ5Qx/aj2K+c5K2acOwo8sWEl2kW/ZzrAOIofJ6Ru1iz2bEiPdqgU= Received: by 10.70.100.14 with SMTP id x14mr185318wxb; Sat, 28 Oct 2006 01:20:24 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 67sm588414wra.2006.10.28.01.20.22; Sat, 28 Oct 2006 01:20:24 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k9S8Ll5s045766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Oct 2006 17:21:47 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k9S8Ll7K045765; Sat, 28 Oct 2006 17:21:47 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 28 Oct 2006 17:21:47 +0900 From: Pyun YongHyeon To: Nikolas Britton Message-ID: <20061028082147.GB44390@cdnetworks.co.kr> References: <200606072039.13422.shoesoft@gmx.net> <8103ad500607180035t50633780wbf585805464b8696@mail.gmail.com> <787520ee0607180732r6bcb1ae4h1591230d2db366a@mail.gmail.com> <200610111331.39605.lrntct@gmail.com> <8103ad500610111048v756778c6pcac4006746ec3f0a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@freebsd.org Subject: Re: Status of VIA Envy24 audio controller X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Oct 2006 08:20:31 -0000 On Sat, Oct 28, 2006 at 02:43:53AM -0500, Nikolas Britton wrote: > Hey Konstantin, I think I found a bug in the code. If I boot FreeBSD > with verbose logging the envy24 driver will panic the system during > the boot process. fatal trap 12, page fault, and something about > "envy24(play): setmap; xxxxx", I'd have to build a debug kernel etc. > if you want the full message and backtrace but this should be easy to > reproduce. I'm using envy24 sources from -CURRENT that I manually > MFC'd to FreeBSD 6.2-PRERELEASE. Oh... I'm using an M Audio Audiophile > 2496. > I saw the panic on envy24ht(4) too and sent a mail to Konstantin but got no reply yet. With WITNESS enabled kernel it shows several LORs and panicked due to use of recursed mutex(channel lock can't be acquired recursively). I guess correct fix could be done by moving buffer resizing code to channel_setblocksize method instead of channel_setformat method. Unfortunately I haven't have free time to investiage further due to msk(4) work and still have little time. :-( -- Regards, Pyun YongHyeon