From owner-freebsd-bugs Wed Apr 16 15:52:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA05599 for bugs-outgoing; Wed, 16 Apr 1997 15:52:00 -0700 (PDT) Received: from bsd.fs.bauing.th-darmstadt.de (bsd.fs.bauing.th-darmstadt.de [130.83.63.241]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA05560 for ; Wed, 16 Apr 1997 15:51:56 -0700 (PDT) Received: from campa.panke.de (anonymous223.ppp.cs.tu-berlin.de [130.149.17.223]) by bsd.fs.bauing.th-darmstadt.de (8.8.5/8.8.5) with ESMTP id AAA00490; Thu, 17 Apr 1997 00:51:35 +0200 (MET DST) Received: (from wosch@localhost) by campa.panke.de (8.8.5/8.6.12) id AAA00688; Thu, 17 Apr 1997 00:47:42 +0200 (MET DST) To: Brett Glass Cc: freebsd-bugs@freebsd.org Subject: Re: Problem with /dev/spkr driver can cause crashes References: <3.0.32.19970414003125.0068c68c@lariat.org> From: Wolfram Schneider Date: 17 Apr 1997 00:47:40 +0200 In-Reply-To: Brett Glass's message of Mon, 14 Apr 1997 00:31:28 -0600 Message-ID: Lines: 18 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I had the same problem ;-( Workaround: don't use /dev/spkr Brett Glass writes: > I've written a Perl script that uses the /dev/spkr driver to sound an alarm > when certain events occur. Recently, I came home to find my FreeBSD 2.1.0-R > system playing random tones continuously. I found that a process which had > opened the device and played a few tones had wedged. When I killed the > process, > the system squealed like a stuck pig, made a few other strange noises, and > abruptly rebooted without syncing the disk. There were several bad file > descriptors, > including some in /dev that took a bit of time to clean up. I was lucky that > no more data than this was lost. -- Wolfram Schneider http://www.apfel.de/~wosch/