From owner-freebsd-current Tue Apr 10 6:49:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id DB5E337B422 for ; Tue, 10 Apr 2001 06:49:23 -0700 (PDT) (envelope-from greid@FreeBSD.org) Received: from sobek.openirc.co.uk ([62.252.15.45]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010410134922.RASS283.mta03-svc.ntlworld.com@sobek.openirc.co.uk>; Tue, 10 Apr 2001 14:49:22 +0100 Date: Tue, 10 Apr 2001 14:49:21 +0100 (BST) From: George Reid X-Sender: greid@sobek.openirc.co.uk To: Ollivier Robert Cc: FreeBSD Current Users' list Subject: Re: Panic within sound driver In-Reply-To: <20010410154219.A795@caerdonn.eurocontrol.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 10 Apr 2001, Ollivier Robert wrote: > Stopped at _mtx_lock_sleep+0x2e2: movb 0x1d5(%edx),%al > _mtx_lock_sleep > snd_mtxlock > ad1816_lock Following patch should fix, I'll commit this to -current later. - greid Index: ad1816.c =================================================================== RCS file: /usr/home/ncvs/src/sys/dev/sound/isa/ad1816.c,v retrieving revision 1.17 diff -u -r1.17 ad1816.c --- ad1816.c 2001/03/24 23:10:25 1.17 +++ ad1816.c 2001/04/10 13:47:55 @@ -88,13 +88,13 @@ static void ad1816_lock(struct ad1816_info *ad1816) { - snd_mtxlock(ad1816); + snd_mtxlock(ad1816->lock); } static void ad1816_unlock(struct ad1816_info *ad1816) { - snd_mtxunlock(ad1816); + snd_mtxunlock(ad1816->lock); } static int To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message