problems with es1370 and 2.2.16pre7 (2.2.15pre15 too)

From: Sven Koch (haegar@comunit.net)
Date: Mon Jun 05 2000 - 14:28:01 EST


hi...

I've got a problem with the es1370 sounddriver and 2.2.16pre7 (also in
2.2.15pre15, 2.2.13acX was ok):

  if I output data to /dev/dsp, the process blocks afterwards and
  does not finish

example:

: SETUP-TEST:~ # strace cat /tmp/test.au >/dev/dsp
(I expect to hear some ugly beeping-sound (and I know that .au is not the
perfect thing for /dev/dsp, but for this test it doesn't matter))

[...]
fstat(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(14, 3), ...}) = 0
open("/cut/lib/test.au", O_RDONLY|O_LARGEFILE) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=15435, ...}) = 0
brk(0x804e000) = 0x804e000
read(3, ".snd\0\0\0 \0\0<+\0\0\0\1\0\0\37@\0\0\0\1\0\0\0\0\0\0\0"...,
4096) = 4096
write(1, ".snd\0\0\0 \0\0<+\0\0\0\1\0\0\37@\0\0\0\1\0\0\0\0\0\0\0"...,
4096) = 4096
read(3, "F53;Q\314\267\257\265\316H86=X\310\265\257\267\332B76>"...,
4096) = 4096
write(1, "F53;Q\314\267\257\265\316H86=X\310\265\257\267\332B76>"...,
4096) = 4096
read(3, "\267\276\315\357M;46@_\322\300\271\267\274\313\362VC85"...,
4096) = 4096
write(1, "\267\276\315\357M;46@_\322\300\271\267\274\313\362VC85"...,
4096) = 4096
read(3, "uk\376\361\357\343\345\367~qeiyv\370\356\376{\370\375}"...,
4096) = 3147
write(1, "uk\376\361\357\343\345\367~qeiyv\370\356\376{\370\375}"...,
3147) = 3147
read(3, "", 4096) = 0
close(3) = 0
close(1) = 0
_exit(0) = ?

(and here it locks up, the process does not finish)
(the sound output comes, and repeats itself with 5 to 15 seconds pause
between the repeats till eternity)

the "cat" is no longer visible in "ps ax", but the shell does not return
- ctrl-c'in does not work.

opening another shell, doing "cat /tmp/test2.au" (different sound) blocks
too, but this time the new sound is not played, the old one continues in
its "loop" - but this cat can be aborted with ctrl-c

lspci -v -n of the card in question:

00:0b.0 Class 0401: 1274:5000 (rev 01)
        Subsystem: 4942:4c4c
        Flags: bus master, slow devsel, latency 32, IRQ 12
        I/O ports at b400

on two other machine with the following lspci output, and the same
kernel, the tests work ok:
(note: this is not rev 01)

00:0c.0 Class 0401: 1274:5000
        Subsystem: 4942:4c4c
        Flags: bus master, slow devsel, latency 32, IRQ 11
        I/O ports at b400

Do you know what to do?
(no - swapping the card is not possible - both types are out in the field)

thanks for your answers

c'ya
sven

-- 

The Internet treats censorship as a routing problem, and routes around it. (John Gilmore on http://www.cygnus.com/~gnu/)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:22 EST