From owner-freebsd-multimedia Thu Sep 4 00:33:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA12555 for multimedia-outgoing; Thu, 4 Sep 1997 00:33:25 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id AAA12524; Thu, 4 Sep 1997 00:32:50 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA09525; Thu, 4 Sep 1997 08:20:43 +0200 From: Luigi Rizzo Message-Id: <199709040620.IAA09525@labinfo.iet.unipi.it> Subject: WARNING about snd970903.tgz To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Thu, 4 Sep 1997 08:20:43 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG, hackers@FreeBSD.ORG In-Reply-To: <199709031724.TAA08293@labinfo.iet.unipi.it> from "Luigi Rizzo" at Sep 3, 97 07:24:34 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Whoops... yesterday's version of the sound code had a stupid bug in snd_sync() which would put your machine in a tight loop with interrupts disabled... I have fixed it, and updated the distribution, which is now at the same URL but with a different date & size: http://www.iet.unipi.it/~luigi/snd970903.tgz -rw-r--r-- 1 luigi luigi 155747 Sep 4 10:03 snd970903.tgz (I have chosen not to change name because people tends not to read followup mails...) Programs which use the SNDCTL_DSP_SYNC ioctl are affected by the bug (e.g. timidity). Those with the old code can fetch the new code or just apply the following patch to /sys/i386/isa/snd/dmabuf.c --- /tmp/dmabuf.c Thu Sep 4 09:29:21 1997 +++ dmabuf.c Thu Sep 4 09:14:51 1997 @@ -718,7 +718,8 @@ printf("tsleep returns %d\n", ret); return -1 ; } - } + } else + break; } splx(s); return 0 ; Sorry for the inconvenience Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________