Re: 2.1.105 and Sound (SB16 ASP)

Dawid Kuroczko (dark@memax.krakow.pl)
21 Jun 1998 11:21:33 GMT


Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
:> I've got an SB16 ASP (4.05, ISA, non-PnP). It was working fine until the
:> around 2.1.70 or so (I think). I didn't mention it earlier because I was
:> hoping Alan's sound patches would fix it.
:>
:> I am using EGCS, but I tried compiling up a kernel in GCC 2.7.2.3 and had the
:> same results.

: SMP or uniprocessor, what I/O and IRQ. (Ditto for other folks seeing this)

I've got the same problem.

I'm using single Pentium 150, Intel/AS Atlantis motherboard with on-board
CS4232 sound unit. The problem's been there from at least 2.1.80 (I wrote
about it some time ago to the list).

Sound: DMA (output) timed out - IRQ/DRQ config error?

The sound stuff (from kernel 2.1.106) is compiled as modules with
gcc version pgcc-2.91.24 19980418 (gcc2 ss-980401 experimental).

The DMA/IRQ options are (from /etc/modules.conf):

options cs4232 io=0x534 irq=5 dma=1 dma2=0
options opl3 io=0x388
options mpu401 io=0x330 irq=9

For example, playing audio MPEG with mpg123 works fine, but when
I press Ctrl+C and try to play the file again, it _sometimes_
works sometimes go to "DMA timed out" routine. Unloading and
loading modules doesn't help...

By the way, after running:

modprobe -k cs4232;for x in `lsmod`;do rmmod $x;done

for couple of times (kernel 2.1.106), I get:

[root@atlantis misc]# lsmod
Module Size Used by
soundcore 1772 8 (autoclean)

and a message from kernel:

ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
Sound: Too many mixer drivers

But:

[root@atlantis misc]# insmod -k sound
[root@atlantis misc]# lsmod
Module Size Used by
sound 55752 0 (autoclean) (unused)
soundcore 1772 11 (autoclean) [sound]
[root@atlantis misc]# cat /proc/sound
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux atlantis.ssw.krakow.pl 2.1.106 #3 Sun Jun 21 12:15:09 CEST 1998 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:

Synth devices:

Midi devices:

Timers:
0: System clock

Mixers:

Regards,
Dawid Kuroczko

-- 
    .------------------.                                  .----------.
    | *Dawid Kuroczko* `-.------------------=[Atlantis]=-=' _Kraków_ |
    | d k @ssw.krakow.pl | http://__.___.______.__/ [Syg. w budowie] |
    `--------------------"-------------------------------------------'

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu