Every few days my es1370 sound board quits working. The same thing happened
with 2.2.20. There's absolutely no kernel messages when this happens.
This has happened while playing sound on 2.2.20. When I attempt to play any
sound, it just stops. Here's part of an strace:
open("/dev/dsp", O_WRONLY) = 4
ioctl(4, SNDCTL_DSP_GETBLKSIZE, 0x806ae1c) = 0
ioctl(4, SNDCTL_DSP_RESET, 0) = 0
ioctl(4, SOUND_PCM_READ_BITS, 0xbffff880) = 0
ioctl(4, SNDCTL_DSP_STEREO, 0xbffff87c) = 0
ioctl(4, SOUND_PCM_READ_RATE, 0xbffff878) = 0
write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 16384) = 16384
write(4, "\7\374\276\0\177\3734\1\372\372\252\1Z\372\377\1\264\371"..., 16384) = 16384
write(4, "\275\366\361\5\1\366\\\5\207\365\334\4\5\365E\4t\364e\3"..., 16384) = 16384
write(4, "\312\v\344\20\370\v\262\21\231\n\256\20P\10\"\16\"\6[\v"..., 16384) = 16384
write(4, "\237\375P\376\23\376\310\376\336\376\306\377\256\377{\0"..., 16384) = 16384
write(4, "\31\0\n\2C\376\266\376G\376\313\375\7\0u\0r\1\332\0028"..., 16384) = 16384
write(4, "\330\374\307\374}\375\330\374\23\376\350\374\22\3765\375"..., 16384) = 16384
write(4, "_\374\343\3734\373\372\372H\3721\372\345\371p\371\301\371"..., 16384) = 16384
write(4, " \376+\376Y\377\32\0V\376\244\376n\375\352\374\n\376d\375"..., 16384
The last write just blocks and nothing is played. This is very annoying and
I have no clue what's going on.
here's LSPCI -v output:
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
Flags: bus master, medium devsel, latency 64
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 1.0
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fda00000-feafffff
Prefetchable memory behind bridge: f1800000-f58fffff
00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: medium devsel
I/O ports at ffa0 [disabled] [size=16]
00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 15
I/O ports at ef80 [size=32]
00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
Flags: medium devsel, IRQ 9
00:10.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at ef00 [size=64]
Expansion ROM at febe0000 [disabled] [size=64K]
00:11.0 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 03)
Subsystem: Adaptec: Unknown device 7895
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at e400 [disabled] [size=256]
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at febd0000 [disabled] [size=64K]
00:11.1 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 03)
Subsystem: Adaptec: Unknown device 7895
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at e800 [disabled] [size=256]
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
00:13.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI]
Subsystem: Unknown device 1274:5000
Flags: bus master, slow devsel, latency 64, IRQ 15
I/O ports at ee80 [size=64]
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04) (prog-if 00 [VGA])
Subsystem: Matrox Graphics, Inc. Millennium G400 MAX/Dual Head 32Mb
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at f2000000 (32-bit, prefetchable) [size=32M]
Memory at feafc000 (32-bit, non-prefetchable) [size=16K]
Memory at fe000000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at feae0000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Capabilities: [f0] AGP version 2.0
The only thing I can see is the fact it's on IRQ 15 with the usb controller.
I honestly don't know why I'm doing this, as no message I ever post gets
answered.
--
Lab tests show that use of micro$oft causes cancer in lab animals
> The only thing I can see is the fact it's on IRQ 15 with the usb controller.
That shouldn't matter. When it gets into this state is the IRQ counter still
ticking up when you try and play audio (you may need to unload the USB to
check that sanely)
> > This was mpg123 v0.59q. However, no player works (xmms, sound under wine,
> > bplay...)
>
> Are you running at the same time some sounds server esd or artsd ?
Nope, they don't work well IMO and since this card has 2 DSPs I didn't see a
need in it. I didn't mention that both DSPs stopped working. I haven't
used the 2nd dsp on this card since this boot, but I know it works since I
used it the last boot. When the first quits, they both are gone. But
seeing how no interrupts are being delivered, makes sense (see below)
> your previous strace below doesn't show any read i/o. Could you strace
> mpg123 -t and mpg123 -4 ?
I know, I only pasted the what was for the sound card, it is working
properly. mpg123 -a /dev/dsp2 works w/o any problem what so ever.
here's mpg123 -4:
execve("/usr/bin/mpg123", ["mpg123", "-4", "/sound/mp3/Aerosmith/Ain\'t_That_A_Bitch.mp3"], [/* 30 vars */]) = 0
uname({sys="Linux", node="ani", ...}) = 0
brk(0) = 0x8083118
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=20379, ...}) = 0
old_mmap(NULL, 20379, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 I\0\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=134668, ...}) = 0
old_mmap(NULL, 137220, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001b000
mprotect(0x4003c000, 2052, PROT_NONE) = 0
old_mmap(0x4003c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x4003c000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0(\327\1"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1171196, ...}) = 0
old_mmap(NULL, 1187968, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4003d000
mprotect(0x40155000, 41088, PROT_NONE) = 0
old_mmap(0x40155000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x117000) = 0x40155000
old_mmap(0x4015b000, 16512, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4015b000
close(3) = 0
munmap(0x40016000, 20379) = 0
write(2, "High Performance MPEG 1.0/2.0/2."..., 69High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
) = 69
write(2, "Version 0.59q (1999/Jan/26). Wri"..., 69Version 0.59q (1999/Jan/26). Written and copyrights by Michael Hipp.
) = 69
write(2, "Uses code from various people. S"..., 54Uses code from various people. See 'README' for more!
) = 54
write(2, "THIS SOFTWARE COMES WITH ABSOLUT"..., 71THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
) = 71
open("/dev/dsp", O_WRONLY) = 3
ioctl(3, SNDCTL_DSP_GETBLKSIZE, 0x806ae1c) = 0
ioctl(3, SNDCTL_DSP_RESET, 0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xbffff8c0) = 0
close(3) = 0
rt_sigaction(SIGINT, {0x804b340, [], 0x4000000}, {SIG_DFL}, 8) = 0
open("/sound/mp3/Aerosmith/Ain\'t_That_A_Bitch.mp3", O_RDONLY) = 3
lseek(3, 0, SEEK_END) = 5204427
lseek(3, -128, SEEK_END) = 5204299
read(3, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 128) = 128
lseek(3, 0, SEEK_SET) = 0
old_mmap(NULL, 5204427, PROT_READ, MAP_SHARED, 3, 0) = 0x40160000
brk(0) = 0x8083118
brk(0x8083158) = 0x8083158
brk(0x8084000) = 0x8084000
write(2, "\nDirectory: /sound/mp3/Aerosmith"..., 33
Directory: /sound/mp3/Aerosmith/) = 33
write(2, "\nPlaying MPEG stream from Ain\'t_"..., 53
Playing MPEG stream from Ain't_That_A_Bitch.mp3 ...
) = 53
gettimeofday({1009899458, 822546}, NULL) = 0
write(2, "MPEG 1.0 layer III, 128 kbit/s, "..., 54MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
) = 54
brk(0x808d000) = 0x808d000
open("/dev/dsp", O_WRONLY) = 4
ioctl(4, SNDCTL_DSP_GETBLKSIZE, 0x806ae1c) = 0
ioctl(4, SNDCTL_DSP_RESET, 0) = 0
ioctl(4, SOUND_PCM_READ_BITS, 0xbffff79c) = 0
ioctl(4, SNDCTL_DSP_STEREO, 0xbffff798) = 0
ioctl(4, SOUND_PCM_READ_RATE, 0xbffff794) = 0
close(4) = 0
open("/dev/dsp", O_WRONLY) = 4
ioctl(4, SNDCTL_DSP_GETBLKSIZE, 0x806ae1c) = 0
ioctl(4, SNDCTL_DSP_RESET, 0) = 0
ioctl(4, SOUND_PCM_READ_BITS, 0xbffff8a0) = 0
ioctl(4, SNDCTL_DSP_STEREO, 0xbffff89c) = 0
ioctl(4, SOUND_PCM_READ_RATE, 0xbffff898) = 0
write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 16384) = 16384
write(4, "\374\377\3\0\373\377\4\0\367\377\1\0\373\377\7\0\377\377"..., 16384) = 16384
write(4, "\344\377\333\377\5\0\316\377\362\377\234\377\f\0\212\377"..., 16384) = 16384
write(4, "P\0\202\0\367\377\263\0\353\377\274\0\274\377\353\0\235"..., 16384) = 16384
write(4, "\23\377S\0I\377U\0\200\377\215\0Z\377\222\377\330\377\16"..., 16384) = 16384
write(4, "@\377\376\375\344\376\355\377\263\3769\0%\377Y\376\255"..., 16384) = 16384
write(4, "\0\0\274\1:\377\365\1\17\0\301\1\0\0\332\0\360\377%\377"..., 16384) = 16384
write(4, "\r\375_\372{\377\356\373W\374\230\370\'\1\220\0\26\371"..., 16384) = 16384
write(4, "k\5j\5\337\1E\370<\10\346\5{\377;\3776\4\374\4F\376\24"..., 16384
<unfinished ...>
> > I assume so since this is a dual CPU machine. Alan mentioned something
> > about unloading the usb modules, I don't even use them and haven't since
> > this machine was booted.
>
>
> What is showing cat /proc/interrupts ?
CPU0 CPU1
0: 68416693 68502478 IO-APIC-edge timer
1: 400959 396781 IO-APIC-edge keyboard
2: 0 0 XT-PIC cascade
3: 184224466 184748725 IO-APIC-edge serial
4: 803073 799856 IO-APIC-edge serial
5: 666537 667971 IO-APIC-level aic7xxx
7: 126 106 IO-APIC-edge soundblaster
10: 10271518 10263624 IO-APIC-level eth0
11: 236351 237359 IO-APIC-level aic7xxx
15: 4438445 4431067 IO-APIC-level es1370
NMI: 0 0
LOC: 136921268 136921264
ERR: 0
MIS: 2
After attempting to play an mp3
CPU0 CPU1
0: 68420347 68505506 IO-APIC-edge timer
1: 401392 397000 IO-APIC-edge keyboard
2: 0 0 XT-PIC cascade
3: 184242407 184763513 IO-APIC-edge serial
4: 803633 800393 IO-APIC-edge serial
5: 666566 668012 IO-APIC-level aic7xxx
7: 126 106 IO-APIC-edge soundblaster
10: 10271726 10263824 IO-APIC-level eth0
11: 236351 237359 IO-APIC-level aic7xxx
15: 4438445 4431067 IO-APIC-level es1370
NMI: 0 0
LOC: 136927950 136927946
ERR: 0
MIS: 2
> > System:
> > tyan s1832dl board
> > 2 pII 450 cpus
> > 4 128mb pc100 sticks (EEPROM /w SPD)
> > Matrox g400max dual (was a g200 before when I used 2.2.20)
> > 3com 3c905a
> > Adaptec aha-2940U/UW dual channel
> > Soundblaster PCI 64 (ES1370 which is having the problem)
> > Zoom 28.8k ISA modem (IRQ 9 IO 0x02E8)
> > Soundblaster 16 ISA (IRQ 7 IO 0x0220)
--
Lab tests show that use of micro$oft causes cancer in lab animals
> used the 2nd dsp on this card since this boot, but I know it works since I
> used it the last boot. When the first quits, they both are gone. But
> seeing how no interrupts are being delivered, makes sense (see below)
Boot withg the "noapic" option. Quite how your system has managed to
lose an interrupt in the APIC hardware I don't know, but the APIC's
certainly have bugs. It could also be an edge/level trigger but if the BIOS
confused it because IRQ15 was for some kind of IDE device, but I see no
evidence of that.
If it happens with APIC disabled ("noapic") then the second option might
be worth investigating.
Wakko Warner wrote:
> Nope, they don't work well IMO and since this card has 2 DSPs
I assume one dsp is for es1370 and one is for the sb-16
> I know, I only pasted the what was for the sound card, it is working
> properly. mpg123 -a /dev/dsp2 works w/o any problem what so ever.
Yes, you can use one sound card or the other. You may hear a difference.
> here's mpg123 -4:
<snip>
> open("/sound/mp3/Aerosmith/Ain\'t_That_A_Bitch.mp3", O_RDONLY) = 3
<snip>
> open("/dev/dsp", O_WRONLY) = 4
> ioctl(4, SNDCTL_DSP_GETBLKSIZE, 0x806ae1c) = 0
> ioctl(4, SNDCTL_DSP_RESET, 0) = 0
> ioctl(4, SOUND_PCM_READ_BITS, 0xbffff8a0) = 0
> ioctl(4, SNDCTL_DSP_STEREO, 0xbffff89c) = 0
> ioctl(4, SOUND_PCM_READ_RATE, 0xbffff898) = 0
> write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 16384) = 16384
> write(4, "\374\377\3\0\373\377\4\0\367\377\1\0\373\377\7\0\377\377"..., 16384) = 16384
> write(4, "\344\377\333\377\5\0\316\377\362\377\234\377\f\0\212\377"..., 16384) = 16384
> write(4, "P\0\202\0\367\377\263\0\353\377\274\0\274\377\353\0\235"..., 16384) = 16384
> write(4, "\23\377S\0I\377U\0\200\377\215\0Z\377\222\377\330\377\16"..., 16384) = 16384
> write(4, "@\377\376\375\344\376\355\377\263\3769\0%\377Y\376\255"..., 16384) = 16384
> write(4, "\0\0\274\1:\377\365\1\17\0\301\1\0\0\332\0\360\377%\377"..., 16384) = 16384
> write(4, "\r\375_\372{\377\356\373W\374\230\370\'\1\220\0\26\371"..., 16384) = 16384
> write(4, "k\5j\5\337\1E\370<\10\346\5{\377;\3776\4\374\4F\376\24"..., 16384
> <unfinished ...>
The same as the previous one: write to dsp but never read even the
smallest sample of the sound file possibly by lack of interrupt.
> CPU0 CPU1
> 0: 68416693 68502478 IO-APIC-edge timer
> 1: 400959 396781 IO-APIC-edge keyboard
> 2: 0 0 XT-PIC cascade
> 3: 184224466 184748725 IO-APIC-edge serial
> 4: 803073 799856 IO-APIC-edge serial
> 5: 666537 667971 IO-APIC-level aic7xxx
> 7: 126 106 IO-APIC-edge soundblaster
> 10: 10271518 10263624 IO-APIC-level eth0
> 11: 236351 237359 IO-APIC-level aic7xxx
> 15: 4438445 4431067 IO-APIC-level es1370
> NMI: 0 0
> LOC: 136921268 136921264
> ERR: 0
> MIS: 2
>
> After attempting to play an mp3
>
> CPU0 CPU1
> 0: 68420347 68505506 IO-APIC-edge timer
> 1: 401392 397000 IO-APIC-edge keyboard
> 2: 0 0 XT-PIC cascade
> 3: 184242407 184763513 IO-APIC-edge serial
> 4: 803633 800393 IO-APIC-edge serial
> 5: 666566 668012 IO-APIC-level aic7xxx
> 7: 126 106 IO-APIC-edge soundblaster
> 10: 10271726 10263824 IO-APIC-level eth0
> 11: 236351 237359 IO-APIC-level aic7xxx
> 15: 4438445 4431067 IO-APIC-level es1370
> NMI: 0 0
> LOC: 136927950 136927946
> ERR: 0
> MIS: 2
My es1370 is happy with IRQ 9 which is shared with usb-uhci. IRQ 15 is
for ide1 here.
--
------------------------------------------------
Pierre Rousselet <[email protected]>
------------------------------------------------
> > Nope, they don't work well IMO and since this card has 2 DSPs
>
>
> I assume one dsp is for es1370 and one is for the sb-16
Nope. /dev/dsp and /dev/dsp1 are both on the es1370. /dev/dsp2 is the
sb-16
> > I know, I only pasted the what was for the sound card, it is working
> > properly. mpg123 -a /dev/dsp2 works w/o any problem what so ever.
>
>
> Yes, you can use one sound card or the other. You may hear a difference.
>
> > here's mpg123 -4:
>
> <snip>
> > open("/sound/mp3/Aerosmith/Ain\'t_That_A_Bitch.mp3", O_RDONLY) = 3
> <snip>
It read about 128 bytes form this file. I originally thought it didn't
read anything
> > open("/dev/dsp", O_WRONLY) = 4
> > ioctl(4, SNDCTL_DSP_GETBLKSIZE, 0x806ae1c) = 0
> > ioctl(4, SNDCTL_DSP_RESET, 0) = 0
> > ioctl(4, SOUND_PCM_READ_BITS, 0xbffff8a0) = 0
> > ioctl(4, SNDCTL_DSP_STEREO, 0xbffff89c) = 0
> > ioctl(4, SOUND_PCM_READ_RATE, 0xbffff898) = 0
> > write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 16384) = 16384
> > write(4, "\374\377\3\0\373\377\4\0\367\377\1\0\373\377\7\0\377\377"..., 16384) = 16384
> > write(4, "\344\377\333\377\5\0\316\377\362\377\234\377\f\0\212\377"..., 16384) = 16384
> > write(4, "P\0\202\0\367\377\263\0\353\377\274\0\274\377\353\0\235"..., 16384) = 16384
> > write(4, "\23\377S\0I\377U\0\200\377\215\0Z\377\222\377\330\377\16"..., 16384) = 16384
> > write(4, "@\377\376\375\344\376\355\377\263\3769\0%\377Y\376\255"..., 16384) = 16384
> > write(4, "\0\0\274\1:\377\365\1\17\0\301\1\0\0\332\0\360\377%\377"..., 16384) = 16384
> > write(4, "\r\375_\372{\377\356\373W\374\230\370\'\1\220\0\26\371"..., 16384) = 16384
> > write(4, "k\5j\5\337\1E\370<\10\346\5{\377;\3776\4\374\4F\376\24"..., 16384
> > <unfinished ...>
>
>
> The same as the previous one: write to dsp but never read even the
> smallest sample of the sound file possibly by lack of interrupt.
>
>
> > CPU0 CPU1
> > 0: 68416693 68502478 IO-APIC-edge timer
> > 1: 400959 396781 IO-APIC-edge keyboard
> > 2: 0 0 XT-PIC cascade
> > 3: 184224466 184748725 IO-APIC-edge serial
> > 4: 803073 799856 IO-APIC-edge serial
> > 5: 666537 667971 IO-APIC-level aic7xxx
> > 7: 126 106 IO-APIC-edge soundblaster
> > 10: 10271518 10263624 IO-APIC-level eth0
> > 11: 236351 237359 IO-APIC-level aic7xxx
> > 15: 4438445 4431067 IO-APIC-level es1370
> > NMI: 0 0
> > LOC: 136921268 136921264
> > ERR: 0
> > MIS: 2
> >
> > After attempting to play an mp3
> >
> > CPU0 CPU1
> > 0: 68420347 68505506 IO-APIC-edge timer
> > 1: 401392 397000 IO-APIC-edge keyboard
> > 2: 0 0 XT-PIC cascade
> > 3: 184242407 184763513 IO-APIC-edge serial
> > 4: 803633 800393 IO-APIC-edge serial
> > 5: 666566 668012 IO-APIC-level aic7xxx
> > 7: 126 106 IO-APIC-edge soundblaster
> > 10: 10271726 10263824 IO-APIC-level eth0
> > 11: 236351 237359 IO-APIC-level aic7xxx
> > 15: 4438445 4431067 IO-APIC-level es1370
> > NMI: 0 0
> > LOC: 136927950 136927946
> > ERR: 0
> > MIS: 2
>
> My es1370 is happy with IRQ 9 which is shared with usb-uhci. IRQ 15 is
> for ide1 here.
I have all ide disabled in bios. I had a nic on 14 and one on 15 w/o
problems. but this was with 2.2.13 and I had no problems with that kernel.
alan cox suggested using noapic when booting. I'll try that, but I'm going
to be disabling the usb since this system's usb hardware is junk.
--
Lab tests show that use of micro$oft causes cancer in lab animals
On Tue, Jan 01, 2002 at 05:15:28PM +0000, Alan Cox wrote:
> Boot withg the "noapic" option. Quite how your system has managed to
> lose an interrupt in the APIC hardware I don't know, but the APIC's
> certainly have bugs. It could also be an edge/level trigger but if the BIOS
> confused it because IRQ15 was for some kind of IDE device, but I see no
> evidence of that.
I also have had a lot of problems with /dev/dsp in a SMP setup and with
noapic, all at least lives for weeks without problems.
this was with a SB16, if that matters, with opensound.
--
Grobbebol's Home | Don't give in to spammers. -o)
http://www.xs4all.nl/~bengel | Use your real e-mail address /\
Linux 2.4.17 (noapic) SMP 466MHz/768 MB | on Usenet. _\_v
> > used the 2nd dsp on this card since this boot, but I know it works since I
> > used it the last boot. When the first quits, they both are gone. But
> > seeing how no interrupts are being delivered, makes sense (see below)
>
> Boot withg the "noapic" option. Quite how your system has managed to
> lose an interrupt in the APIC hardware I don't know, but the APIC's
> certainly have bugs. It could also be an edge/level trigger but if the BIOS
> confused it because IRQ15 was for some kind of IDE device, but I see no
> evidence of that.
>
> If it happens with APIC disabled ("noapic") then the second option might
> be worth investigating.
It's been a while since I've added more to this.
so far, alan, noapic has kept my es1370 card working w/o problems. Any clue
why it doesn't work when apic is used? It will usually stop working during
play and will not work again until a reboot. (I don't even need to
hardreset the system)
--
Lab tests show that use of micro$oft causes cancer in lab animals