From alsa-devel-owner@alsa.jcu.cz  Fri Feb 19 02:51:46 1999
Received: from phair.csh.rit.edu (IDENT:ghall@phair.csh.rit.edu [129.21.60.213])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id CAA01942
	for <alsa-devel@alsa.jcu.cz>; Fri, 19 Feb 1999 02:51:24 +0100
Received: from localhost (ghall@localhost)
	by phair.csh.rit.edu (8.8.8/8.8.8) with SMTP id UAA22465
	for <alsa-devel@alsa.jcu.cz>; Thu, 18 Feb 1999 20:51:20 -0500
Date: Thu, 18 Feb 1999 20:51:20 -0500 (EST)
From: giles francis hall <ghall@phair.csh.rit.edu>
To: alsa-devel@alsa.jcu.cz
Subject: bug report
Message-ID: <Pine.LNX.3.96.990218204529.22429C-100000@phair.csh.rit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

ALSA Bug Report:

This issue is weird.  Any PCM based app for ALSA will not work, such as
mikmod.  Not only will Mikmod sit there and spin, it becomes un-killable.
An strace revealed the following: Leading up to the offending syscall, it
open()s '/dev/snd/controlC0' and frobs it with 6 ioctl()s.  After that, it
then open()s '/dev/snd/pcmC0D0' and just sits and spins.  'ps' shows the
process at 0.0% CPU usage.  However, if you abort Mikmod (using Crtl-C or
kill), the process not only sticks around but progressively eats up CPU
time.  During this scenario no sound is heard. 

BTW, ALSA has worked beautifully for me in the past.  Mad props to
everyone who has worked on this.

thanks,
 giles francis hall

------------------------------------------------------------------------------
/proc/asound/version:

Advanced Linux Sound Architecture Driver Version 0.3.0-pre4.
Compiled in Feb 18 1999 for kernel 2.2.1 with versioned symbols.
------------------------------------------------------------------------------
/proc/asound/cards:

0 [card1          ]: GUS - Gravis UltraSound Classic (3.7)
                     Gravis UltraSound Classic (3.7) at 0x260, irq 11, dma 6&3
1 [card2          ]: GUS - Gravis UltraSound Classic (2.4)
                     Gravis UltraSound Classic (2.4) at 0x240, irq 5, dma 5&7
------------------------------------------------------------------------------
/etc/conf.modules:

# ALSA
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=2
alias snd-card-0 snd-gusclassic
alias snd-card-1 snd-gusclassic
options snd-gusclassic snd_index=1,2 snd_port=0x260,0x240 snd_irq=11,5
snd_dma1=6,5 snd_dma2=3,7
# OSS/Lite
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss
alias sound-slot-1 snd-card-1
alias sound-service-1-3 snd-pcm1-oss
alias sound-service-1-12 snd-pcm1-oss
------------------------------------------------------------------------------
Odd messages:

[root@yohko alsa]# modprobe snd-gusclassic
err = -12
snd: unable to register OSS rawmidi device 1:0
err = -12
snd: unable to register OSS mixer device 1:0
------------------------------------------------------------------------------
Module Load Hierarchy:

Module                  Size  Used by
snd-gusclassic          2924   0  (unused)
snd-gus                25100   0  [snd-gusclassic]
snd-pcm1               15856   0  [snd-gus]
snd-synth               1168   0  [snd-gus]
snd-mixer              13688   0  [snd-gusclassic snd-gus]
snd-pcm                 8964   0  [snd-gusclassic snd-gus snd-pcm1]
snd-seq-midi            4040   0  [snd-gusclassic]
snd-midi               13988   0  [snd-gusclassic snd-gus snd-seq-midi]
snd-seq                24912   0  [snd-seq-midi]
snd-timer               3108   0  [snd-gus snd-seq]
snd                    30348   2  [snd-gusclassic snd-gus snd-pcm1 snd-synth
snd-mixer snd-pcm snd-seq-midi snd-midi snd-seq snd-timer]
soundcore               2192   3  [snd]
------------------------------------------------------------------------------


