Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 1997 08:20:43 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        luigi@labinfo.iet.unipi.it (Luigi Rizzo)
Cc:        multimedia@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   WARNING about snd970903.tgz
Message-ID:  <199709040620.IAA09525@labinfo.iet.unipi.it>
In-Reply-To: <199709031724.TAA08293@labinfo.iet.unipi.it> from "Luigi Rizzo" at Sep 3, 97 07:24:34 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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/
_____________________________|______________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709040620.IAA09525>