From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 6 10:05:52 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 9203E16A4DE for ; Thu, 6 Jul 2006 10:05:52 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60C4743D49 for ; Thu, 6 Jul 2006 10:05:51 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by nz-out-0102.google.com with SMTP id r28so1057848nza for ; Thu, 06 Jul 2006 03:05:50 -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=okxo8BTo9MvtYxXwAjvBJNooVrVqhdeQ4swfysalEIAP7OLLMvkWzT6sj5lRWIfuoZXjjYk02Qz2/JvZRCkrvco8jn4I7gxD4l1wl8HiBHkNJZhO9njpWo9qNIh3t1osslAnsRjmpYInvlh6bKluwz6BPwXSmP8JUowaunmIrg0= Received: by 10.36.139.3 with SMTP id m3mr610156nzd; Thu, 06 Jul 2006 03:05:50 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 20sm9184504nzp.2006.07.06.03.05.49; Thu, 06 Jul 2006 03:05:50 -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 k66A9Sob079977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Jul 2006 19:09:28 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k66A9Rvu079976; Thu, 6 Jul 2006 19:09:27 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 6 Jul 2006 19:09:27 +0900 From: Pyun YongHyeon To: Alexey Illarionov Message-ID: <20060706100927.GC76865@cdnetworks.co.kr> References: <200607060820.k668KKs7067297@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200607060820.k668KKs7067297@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@FreeBSD.org, netchild@FreeBSD.org Subject: Re: kern/99205: [snd_solo] FreeBSD 6.1 freezes after playing sound with snd_solo 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: Thu, 06 Jul 2006 10:05:52 -0000 On Thu, Jul 06, 2006 at 08:20:20AM +0000, Alexey Illarionov wrote: > The following reply was made to PR kern/99205; it has been noted by GNATS. > > From: Alexey Illarionov > To: bug-followup@FreeBSD.org, georgdorn@gmx.net > Cc: > Subject: Re: kern/99205: [snd_solo] FreeBSD 6.1 freezes after playing sound > with snd_solo > Date: Thu, 06 Jul 2006 12:17:28 +0400 > > Yes, I had the same problem. The patch that it seems fix this problem is > really simple: > > --- /usr/src/sys/dev/sound/pci/solo.c.old Thu Jul 6 10:10:37 2006 > +++ /usr/src/sys/dev/sound/pci/solo.c Thu Jul 6 09:52:05 2006 > @@ -313,7 +313,10 @@ > src |= 1; > > if (src == 0) > + { > + ess_unlock(sc); > return; > + } > > if (sc->duplex) { > pirq = (src & sc->pch.hwch)? 1 : 0; > Good catch. The patch looks ok except minor style(9) nit. Alexander, would you fix it? -- Regards, Pyun YongHyeon