Subject: port-i386/318: i386/sb driver hangs and interferes with floppy
To: None <gnats-admin>
From: John Brezak <brezak@ch.hp.com>
List: netbsd-bugs
Date: 07/02/1994 05:50:11
>Number:         318
>Category:       port-i386
>Synopsis:       Using the soundblaster driver can hang openning process. Using floppy driver will release it.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul  2 05:50:09 1994
>Originator:     John Brezak
>Organization:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 John Brezak                    UUCP:     uunet!apollo.hp!brezak
 Hewlett Packard/Apollo         Internet: brezak@ch.hp.com
 300 Apollo Drive               Phone:    (508) 436-4915
 Chelmsford, Massachusetts      Fax:      (508) 436-5103
>Release:        0.9B
>Environment:
	
System: NetBSD sussex 0.9B NetBSD 0.9B (SUSSEX) #13: Mon Jun 13 08:38:44 EDT 1994 brezak@sussex:/u0/src/netbsd/sys/arch/i386/compile/SUSSEX i386


>Description:
When using cat to play .au files to the /dev/audio interface with the
bsd_audio and soundblaster drivers configured, the cat process will
occationally hang waiting on "audio". It is not interruptable. To
further confuse things, if I try to use the floppy device when this
happens, it gets a series of errors on the console, but appears to
work. And the "cat" process is waked and the sounds get played.

Here is the 'ps axl' state of the "cat":
10066 25319 25309   4  10  0    60   16 audio  I    ??    0:00.08 cat src/audio/sounds/BigBen.au

Here are the messages from the console:
fd0: read failed st0 40<abnrml> st1 10<data_overrun> st2 0 cyl 0 head 0 sec 6
blkno 4 skip 0 cylin 0 status 40
fd0: seek failed st0 80<invld> cyl 16
fd0: read failed st0 40<abnrml> st1 10<data_overrun> st2 0 cyl 0 head 0 sec 13
blkno 12 skip 0 cylin 0 status 40
fd0: seek failed st0 80<invld> cyl 16
fd0: read failed st0 44<abnrml,top_head> st1 10<data_overrun> st2 0 cyl 0 head 1 sec 1
blkno 16 skip 0 cylin 0 status 44
fd0: seek failed st0 80<invld> cyl 16
fd0: read failed st0 44<abnrml,top_head> st1 10<data_overrun> st2 0 cyl 0 head 1 sec 2
blkno 16 skip 0 cylin 0 status 44
fd0: read failed st0 44<abnrml,top_head> st1 10<data_overrun> st2 0 cyl 0 head 1 sec 8
blkno 24 skip 0 cylin 0 status 44
fd0: seek failed st0 80<invld> cyl 16

>How-To-Repeat:

do
	cat BigBen.au > /dev/audio
until sleeps...

mdir 'a:'
>Fix:
>Audit-Trail:
>Unformatted:




------------------------------------------------------------------------------