Messages in this thread | | | From | Mario Mikocevic <> | Subject | Sound system in 2.2.x | Date | Fri, 5 Feb 1999 13:35:07 +0100 (CET) |
| |
Hi,
I need a bit of help.
I have one P120 machine, IDE only with sb16fmi radio card. It's purpose is realaudio encoding, but everything works up to point where system is a bit overloaded and dreadfull `Sound: DMA (input) timed out - IRQ/DRQ config error?` pops up. Then realaudio encoder just stops working properly. I know that without rmenc source we can't do much but I want to know what can I do to debug this !? Any other tools, methods I can use ?
Here's strace output ->
execve("/root/radio/bin/rmenc", ["rmenc", "-A1", "-Otest.ra", "-a2", "-x1", "-t01:00:00"], [/* 15 vars */]) = 0
[skipped init]
sigaction(SIGQUIT, {0x80611e0, [], 0}, {SIG_DFL}) = 0 sigaction(SIGBUS, {0x80611e0, [], 0}, {SIG_DFL}) = 0 sigaction(SIGINT, {0x80611e0, [], 0}, {SIG_DFL}) = 0 open("/dev/dsp", O_RDONLY) = 3 open("/dev/mixer", O_RDWR) = 4 ioctl(4, SOUND_MIXER_READ_DEVMASK, 0xbffffc68) = 0 ioctl(3, SOUND_PCM_READ_RATE, 0xbffffc68) = 0 ioctl(3, SOUND_PCM_READ_CHANNELS, 0xbffffc68) = 0 ioctl(3, SOUND_PCM_READ_BITS, 0xbffffc68) = 0 ioctl(3, SOUND_PCM_READ_RATE, 0xbffffc84) = 0 ioctl(3, SOUND_PCM_READ_CHANNELS, 0xbffffc80) = 0 ioctl(4, SOUND_MIXER_READ_PCM, 0xbffffc7c) = 0 ioctl(3, SOUND_PCM_READ_BITS, 0xbffffc78) = 0 open("test.ra", O_RDONLY) = 5 close(5) = 0 unlink("test.ra") = 0 open("test.ra", O_RDWR|O_CREAT|O_TRUNC, 0644) = 5 brk(0x80d9000) = 0x80d9000 stat("/etc/ld.so.cache", {st_mode=0, st_size=0, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 6 mmap(0, 8859, PROT_READ, MAP_SHARED, 6, 0) = 0x40008000 close(6) = 0 open("/usr/lib/librasipr.so", O_RDONLY) = 6 read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096 mmap(0, 311296, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4014c000 mmap(0x4014c000, 109792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0x4014c000 mmap(0x40167000, 31132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x1a000) = 0x40167000 mmap(0x4016f000, 166196, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4016f000 close(6) = 0 mprotect(0x4014c000, 109792, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 munmap(0x40008000, 8859) = 0 brk(0x80da000) = 0x80da000 brk(0x80db000) = 0x80db000 brk(0x80dc000) = 0x80dc000 brk(0x80de000) = 0x80de000 brk(0x80df000) = 0x80df000 ioctl(3, SNDCTL_DSP_RESET, 0) = 0 ioctl(3, SOUND_PCM_WRITE_CHANNELS, 0xbffffc24) = 0 ioctl(3, SNDCTL_DSP_SETFMT, 0xbffffc20) = 0 ioctl(3, SNDCTL_DSP_SPEED, 0xbffffc1c) = 0 ioctl(4, SOUND_MIXER_WRITE_PCM, 0xbffffc18) = 0 ioctl(3, SOUND_PCM_READ_RATE, 0xbffffbf4) = 0 ioctl(3, SOUND_PCM_READ_CHANNELS, 0xbffffbf0) = 0 ioctl(4, SOUND_MIXER_READ_PCM, 0xbffffbec) = 0 ioctl(3, SOUND_PCM_READ_BITS, 0xbffffbe8) = 0 ioctl(4, SOUND_MIXER_WRITE_RECSRC, 0xbffffc28) = 0 ioctl(4, SOUND_MIXER_READ_RECSRC, 0xbffffc24) = 0 read(3, "\201\10\374\370(\373O\371", 8) = 8 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, "M\371\27\367\366\362\202\367\202"..., 4608) = 4608 time([918213782]) = 918213782 time([918213782]) = 918213782 write(2, "\r[RealEncoder Live] Elapsed tim"..., 42[RealEncoder Live] Elapsed time: 00:00:01) = 42 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, "\261\356u\365\267\360\263\365d\375"..., 4608) = 4608 time([918213782]) = 918213782 time([918213782]) = 918213782 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, "\21\375\252\376\22\377\334\376\27"..., 4608) = 4608 time([918213782]) = 918213782 time([918213782]) = 918213782 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, "\3\1y\376\372\373|\375\n\1\214\2"..., 4608) = 4608 time([918213782]) = 918213782 time([918213782]) = 918213782 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, " \367!\364\325\366f\372\367\375P"..., 4608) = 4608 time([918213783]) = 918213783 time([918213783]) = 918213783 write(2, "\r[RealEncoder Live] Elapsed tim"..., 42[RealEncoder Live] Elapsed time: 00:00:02) = 42 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, "t\353>\354\215\356\363\361:\361\220"..., 4608) = 4608 time([918213783]) = 918213783 lseek(5, 0, SEEK_SET) = 0 fstat(5, {st_mode=0, st_size=0, ...}) = 0 brk(0x80e1000) = 0x80e1000 write(5, ".RMF\0\0\0\22\0\0\0\0\0\0\0\0\0\5"..., 18) = 18 fstat(5, {st_mode=0, st_size=0, ...}) = 0 write(5, "PROP\0\0\0002\0\0\0\0!4\0\0!4\0\0"..., 50) = 50 fstat(5, {st_mode=0, st_size=0, ...}) = 0 write(5, "CONT\0\0\0\22\0\0\0\0\0\0\0\0\0\0"..., 18) = 18 fstat(5, {st_mode=0, st_size=0, ...}) = 0 write(5, "MDPR\0\0\0\233\0\0\0\0\0\0!4\0\0"..., 155) = 155 fstat(5, {st_mode=0, st_size=0, ...}) = 0 write(5, "DATA\0\0\0\22\0\0\0\0\0\0\0\0\0\0"..., 18) = 18 time([918213783]) = 918213783 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, "\322\376\245\374\31\1\247\2E\1\244"..., 4608) = 4608 time([918213783]) = 918213783 time([918213783]) = 918213783 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, "\265\377\212\0005\1\205\376\30\1"..., 4608) = 4608 time([918213784]) = 918213784 time([918213784]) = 918213784 write(2, "\r[RealEncoder Live] Elapsed tim"..., 42[RealEncoder Live] Elapsed time: 00:00:03) = 42
[ time warp :) ... ]
write(2, "\r[RealEncoder Live] Elapsed tim"..., 42[RealEncoder Live] Elapsed time: 00:13:38) = 42 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, "T\376\255\2\220\376\234\0017\10#"..., 4608) = 4608 time([918214599]) = 918214599 time([918214599]) = 918214599 oldselect(4, [3], [], NULL, {1, 0}) = 1 (in [3], left {1, 0}) read(3, "\236\366\303\365X\366\202\372\26"..., 4608) = 4600 time([918214604]) = 918214604 fstat(5, {st_mode=0, st_size=0, ...}) = 0 write(5, "\0\0\1<\0\0\0\f\6\0\0\2-F\305\4\203"..., 316) = 316 write(5, "\0\0\1<\0\0\0\f\6\0\0\0F\350\361"..., 316) = 316 write(5, "\0\0\1<\0\0\0\f\6\0\0\0\266H\362"..., 316) = 316 write(5, "\0\0\1<\0\0\0\f\6\0\0\0\367e\27\22"..., 316) = 316 write(5, "\0\0\1<\0\0\0\f\6\0\0\0reJ\303Dx"..., 316) = 316 write(5, "\0\0\1<\0\0\0\f\6\0\0\0\355\305\347"..., 316) = 316 time([918214604]) = 918214604 write(2, "\r[RealEncoder Live] Elapsed tim"..., 42[RealEncoder Live] Elapsed time: 00:13:43) = 42
[ *BOOM* , sound IRQ/DRQ error ...]
oldselect(4, [3], [], NULL, {1, 0}) = 0 (Timeout) oldselect(4, [3], [], NULL, {1, 0}) = 0 (Timeout) oldselect(4, [3], [], NULL, {1, 0}) = 0 (Timeout) oldselect(4, [3], [], NULL, {1, 0}) = 0 (Timeout) oldselect(4, [3], [], NULL, {1, 0}) = 0 (Timeout) oldselect(4, [3], [], NULL, {1, 0} <unfinished ...>
[ Ctrl-C here ]
-- Mario Mikocevic (Mozgy) My favourite FUBAR ...
- 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/
| |