From owner-freebsd-current Sun Aug 19 9:51:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id CFA6237B409 for ; Sun, 19 Aug 2001 09:51:25 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.11.3/8.11.3) id f7JGpVM21245; Sun, 19 Aug 2001 18:51:31 +0200 (CEST) (envelope-from sos) From: Søren Schmidt Message-Id: <200108191651.f7JGpVM21245@freebsd.dk> Subject: Re: Sound broken on -current again... In-Reply-To: "from Richard Todd at Aug 19, 2001 02:53:40 am" To: Richard Todd Date: Sun, 19 Aug 2001 18:51:31 +0200 (CEST) Cc: current@FreeBSD.ORG Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 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 It seems Richard Todd wrote: > > 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 Yups, reverting this, even in a newer kernel makes sound work again, well the VIA support is still not sounding proberly, but it didn't before as well so thats not related to this bogon... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message