Odd oops in sound_timer_init [k7, gcc2.7.2.3, sscape]

Simon Huggins (huggie@earth.li)
Sun, 31 Oct 1999 22:19:54 +0000


Hi,

I've had a few oopses recently to do with sound stuff which are really
annoying since they require a reboot to get sound back.

I just got a k7 (500, 128Mb RAM) and am having problems with 2.2.12 and
my Ensoniq Soundscape.

It seems to oops in sound_timer_init sometimes. This often seems to
happen when I come back to my PC (i.e. it's been powersaving, I come
back, try to play mp3s and it oopses).

The oops output is followed by these messages.
sound_open_dma: DMA channel 0 busy or not allocated (0)
Unable to grab(2) DMA0 for the audio driver
Can't open /dev/dsp!

I have dmabuf=1 as an option so I thought I shouldn't see problems like
this?

And here's the oops.

ksymoops 0.7 on i686 2.2.12. Options used
-V (specified)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.2.12/ (default)
-m /usr/src/linux/System.map (default)

Warning (compare_ksyms_lsmod): module sscape is in lsmod but not in ksyms, probably no symbols exported
Unable to handle kernel paging request at virtual address c8834694
current->tss.cr3 = 0709d000, %cr3 = 0709d000
*pde = 07fdd063
Oops: 0000
CPU: 0
EIP: 0010:[<c882104c>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010202
eax: c8834690 ebx: c884e6bc ecx: 00000535 edx: c884e690
esi: c8852000 edi: c7307c18 ebp: 00000005 esp: c7091e88
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 768, process nr: 25, stackpage=c7091000)
Stack: c884d9a1 c884e690 c8852000 c884cfec 00000000 c88362c0 00000001 c883642c
ffffffea c7091eb4 00000080 6e756f53 61635364 28206570 38314441 00293534
00000a83 00000010 00000a87 00000040 00000a87 00000040 c884e6bc 00000a87
Call Trace: [<c884d9a1>] [<c884e690>] [<c8852000>] [<c884cfec>] [<c88362c0>] [<c883642c>] [<c884e6bc>]
[<c884cc64>] [<c884e6bc>] [<c88362c0>] [<c883642c>] [<c8835d1c>] [<c88360a4>] [<c8835000>] [<c8835000>]
[<c8835eb2>] [<c883642c>] [<c0115efb>] [<c8835000>] [<c8817000>] [<c8836504>] [<c884b000>] [<c8835048>]
[<c0109ee8>] [<c88363b4>] [<c8835000>]
Code: 8b 40 04 39 42 04 7e 41 89 15 c8 32 82 c8 5e 5f c3 8d 76 00

>>EIP; c882104c <[sound]sound_timer_init+18/64> <=====
Trace; c884d9a1 <[ad1848]ad1848_tmr_install+29/38>
Trace; c884e690 <cleanup_module+c3c/????>
Trace; c8852000 <cleanup_module+45ac/????>
Trace; c884cfec <[ad1848]ad1848_init+304/3b4>
Trace; c88362c0 <[parport_pc]irq+31bc/11f48>
Trace; c883642c <[parport_pc]irq+3328/11f48>
Trace; c884e6bc <cleanup_module+c68/????>
Trace; c884cc64 <[ad1848]ad1848_detect+574/5f8>
Trace; c884e6bc <cleanup_module+c68/????>
Trace; c88362c0 <[parport_pc]irq+31bc/11f48>
Trace; c883642c <[parport_pc]irq+3328/11f48>
Trace; c8835d1c <[parport_pc]irq+2c18/11f48>
Trace; c88360a4 <[parport_pc]irq+2fa0/11f48>
Trace; c8835000 <[parport_pc]irq+1efc/11f48>
Trace; c8835000 <[parport_pc]irq+1efc/11f48>
Trace; c8835eb2 <[parport_pc]irq+2dae/11f48>
Trace; c883642c <[parport_pc]irq+3328/11f48>
Trace; c0115efb <sys_init_module+43f/4a0>
Trace; c8835000 <[parport_pc]irq+1efc/11f48>
Trace; c8817000 <[soundcore]mod_firmware_load+1ab0/1afc>
Trace; c8836504 <[parport_pc]irq+3400/11f48>
Trace; c884b000 <[mpu401]cleanup_module+413c/4188>
Trace; c8835048 <[parport_pc]irq+1f44/11f48>
Trace; c0109ee8 <system_call+34/38>
Trace; c88363b4 <[parport_pc]irq+32b0/11f48>
Trace; c8835000 <[parport_pc]irq+1efc/11f48>
Code; c882104c <[sound]sound_timer_init+18/64>
00000000 <_EIP>:
Code; c882104c <[sound]sound_timer_init+18/64> <=====
0: 8b 40 04 movl 0x4(%eax),%eax <=====
Code; c882104f <[sound]sound_timer_init+1b/64>
3: 39 42 04 cmpl %eax,0x4(%edx)
Code; c8821052 <[sound]sound_timer_init+1e/64>
6: 7e 41 jle 49 <_EIP+0x49> c8821095 <[sound]sound_timer_init+61/64>
Code; c8821054 <[sound]sound_timer_init+20/64>
8: 89 15 c8 32 82 movl %edx,0xc88232c8
Code; c8821059 <[sound]sound_timer_init+25/64>
d: c8
Code; c882105a <[sound]sound_timer_init+26/64>
e: 5e popl %esi
Code; c882105b <[sound]sound_timer_init+27/64>
f: 5f popl %edi
Code; c882105c <[sound]sound_timer_init+28/64>
10: c3 ret
Code; c882105d <[sound]sound_timer_init+29/64>
11: 8d 76 00 leal 0x0(%esi),%esi

1 warning issued. Results may not be reliable.

--
----------(    It's all a bunch of tree hugging hippie crap. -     )----------
Simon ----(                        Cartman                         )---- Nomis
                                HuggieTag 0.0.2

- 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/