Re: 2.2.0-pre4 sound problems

Wakko Warner (wakko@animx.eu.org)
Fri, 8 Jan 1999 20:19:18 -0500


> > On my system (since this crashes this way), I have /dev/dsp (the sb16) as
> > /dev/dsp2, and I have dsp1 and dsp2 (the pci64) as dsp and dsp1.
> >
> > Well, when I record from /dev/dsp2 (maj 14 min 3), It always says device or
> > resource busy.
>
> Not sure, but it may be related

I just found something out about this. If I attempt to record from dev
/dev/dsp (it's dsp2 on my machine until the kernel oops below is resolved)
I get a nice recorded sound file. I can *STILL* record, but I can't play
anything (I get dev or resource busy). If I unload it and load it back, I
can play or record. Which ever one I do, I can't do the other until I unload
it and load it back.. I haven't tried to see what happens if I open for RW
(quake2 does it for some odd reason)

Ok guys, here's the ksym thing (thanx green for telling me how)
I'm not sure why it gave me the warning below. Remember, this is when sb.o
is loaded after es1370.o (i'm not sure about other sound cards as I only
own 2)

By the way, I'm not on the linux-kernel mailing list so make sure my address
is in the reply

Here's how I load the modules (again)
insmod soundcore
insmod es1370
insmod sound
insmod uart401
insmod sb irq=7 io=0x220 dma=1 dma16=5 <oops here>

It also does it if I:
insmod soundcore
insmod sound
insmod uart401
insmod es1370
insmod sb <opts as above>

It doesn't if I:
insmod soundcore
insmod sound
insmod uart401
insmod sb <opts as above>
insmod es1370

-- cut --
Options used: -V -o /lib/modules/2.2.0-pre4/ -k /proc/ksyms -l /proc/modules -m /usr/src/linux/System.map

Unable to handle kernel NULL pointer dereference at virtual address 000000a0
current->tss.cr3 = 09dd0000, %cr3 = 09dd0000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<ca82f8b5>]
EFLAGS: 00010246
eax: 00000001 ebx: 00000018 ecx: 00000005 edx: 00000000
esi: c00066e0 edi: c9dbfed4 ebp: ffffffea esp: c9dbfeb4
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 27, process nr: 5, stackpage=c9dbf000)
Stack: ca834868 ca830bfb c00066e0 c9dbfed4 ca834868 00000003 ca82e000 ffffffea
6e756f53 6c422064 65747361 36312072 2e342820 00293331 ffffffff 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Call Trace: [<ca834868>] [<ca830bfb>] [<ca834868>] [<ca82e000>] [<ca82f917>] [<ca834868>] [<ca82e000>]
[<ca82fa2a>] [<ca834868>] [<c011426f>] [<ca82e000>] [<ca813000>] [<ca832ae8>] [<ca82b000>] [<ca82e048>]
[<c01088fc>] [<ca82e000>] [<ca82e000>]
Code: 89 82 a0 00 00 00 8b 86 b0 00 00 00 8b 04 85 2c 7c 82 ca c7

>>EIP: ca82f8b5 <als007_mixer_operations+48a9/18040>
Trace: ca834868 <als007_mixer_operations+985c/18040>
Trace: ca830bfb <als007_mixer_operations+5bef/18040>
Trace: ca834868 <als007_mixer_operations+985c/18040>
Trace: ca82e000 <als007_mixer_operations+2ff4/18040>
Trace: ca82f917 <als007_mixer_operations+490b/18040>
Trace: ca834868 <als007_mixer_operations+985c/18040>
Trace: ca82e000 <als007_mixer_operations+2ff4/18040>
Trace: ca82fa2a <als007_mixer_operations+4a1e/18040>
Trace: ca834868 <als007_mixer_operations+985c/18040>
Trace: c011426f <sys_init_module+433/494>
Trace: ca82e000 <als007_mixer_operations+2ff4/18040>
Trace: ca813000 <mod_firmware_load+1b84/1bd0>
Trace: ca832ae8 <als007_mixer_operations+7adc/18040>
Trace: ca82b000 <sb_mixer_operations+50/5c>
Trace: ca82e048 <als007_mixer_operations+303c/18040>
Trace: c01088fc <system_call+34/38>
Trace: ca82e000 <als007_mixer_operations+2ff4/18040>
Trace: ca82e000 <als007_mixer_operations+2ff4/18040>
Code: ca82f8b5 <als007_mixer_operations+48a9/18040> 00000000 <_EIP>:
Code: ca82f8b5 <als007_mixer_operations+48a9/18040> 0: 89 82 a0 00 00 movl %eax,0xa0(%edx)
Code: ca82f8ba <als007_mixer_operations+48ae/18040> 5: 00
Code: ca82f8bb <als007_mixer_operations+48af/18040> 6: 8b 86 b0 00 00 movl 0xb0(%esi),%eax
Code: ca82f8c0 <als007_mixer_operations+48b4/18040> b: 00
Code: ca82f8c1 <als007_mixer_operations+48b5/18040> c: 8b 04 85 2c 7c movl 0xca827c2c(,%eax,4),%eax
Code: ca82f8c6 <als007_mixer_operations+48ba/18040> 11: 82 ca
Code: ca82f8c8 <als007_mixer_operations+48bc/18040> 13: c7 00 00 00 00 movl $0x0,(%eax)
Code: ca82f8cd <als007_mixer_operations+48c1/18040> 18: 00

5 warnings issued. Results may not be reliable.
-- cut --

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