From owner-freebsd-current Sun Aug 19 8:26:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from kyle.tandemedia.com (kyle.tandemedia.com [216.29.169.3]) by hub.freebsd.org (Postfix) with ESMTP id 2EE3837B40F for ; Sun, 19 Aug 2001 08:26:13 -0700 (PDT) (envelope-from rmtodd@servalan.servalan.com) Received: by kyle.tandemedia.com (Postfix, from userid 66) id 0B1E955401; Sun, 19 Aug 2001 11:26:11 -0400 (EDT) Received: from localhost (1340 bytes) by servalan.servalan.com via sendmail with P:stdio/R:smart_host/T:hacked-uux (sender: ) (ident using unix) id for ; Sun, 19 Aug 2001 02:53:40 -0500 (CDT) (Smail-3.2.0.111 2000-Feb-17 #1 built 2001-Jan-15) Message-Id: Date: Sun, 19 Aug 2001 02:53:40 -0500 (CDT) From: rmtodd@servalan.servalan.com (Richard Todd) To: current@freebsd.org Subject: Re: Sound broken on -current again... Newsgroups: servalan.mailinglist.fbsd-current References: X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In servalan.mailinglist.fbsd-current Maxim Sobolev writes: >I found that after reverting the following deltas (jhb's 10 August commit) >sound starts working again: [list of deltas deleted] I found much the same thing; specifically, the problematic change is this one: jhb 2001/08/10 14:08:57 PDT Modified files: sys/kern kern_synch.c Log: Work around a race between msleep() and endtsleep() where it was possible for endtsleep() to be executing when msleep() resumed, for endtsleep() to spin on sched_lock long enough for the other process to loop on msleep() and sleep again resulting in endtsleep() waking up the "wrong" msleep. Obtained from: BSD/OS Revision Changes Path 1.154 +24 -4 src/sys/kern/kern_synch.c Kernels built from source immediately prior to this change work; kernels built from source immediately after this change have the sound-related problems mentioned in this thread. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message