On Mon, Nov 19, 2001 at 02:49:23PM +0100, Jaroslav Kysela wrote:
> static int snd_maximum_substreams = 4;
> MODULE_PARM(snd_maximum_substreams, "i");
> MODULE_PARM_DESC(snd_maximum_substreams, "Maximum substreams with preallocated DMA
>memory.");
> MODULE_PARM_SYNTAX(snd_maximum_substreams, SNDRV_BOOLEAN_TRUE_DESC);
Okay, options snd-pcm snd_maximum_substreams=16 allows me to open up to
16 devices, cool. However, on the 17th open attempt I get an OOP:
Unable to handle kernel NULL pointer dereference at virtual address
00000050
printing eip:
f8a6bb19
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<f8a6bb19>] Tainted: P
EFLAGS: 00010286
eax: ee0fc800 ebx: 00000000 ecx: f4873680 edx: f4873680
esi: f4a0c000 edi: f4873680 ebp: ed1fb3c0 esp: ed221e90
ds: 0018 es: 0018 ss: 0018
Process alsaplayer (pid: 541, stackpage=ed221000)
Stack: f4873680 eea3c9c0 f487e2a0 ed1fb3c0 f8a61324 f4873680 fffffff5 eea3c9c0
ed221f00 f8a61405 eea3c9c0 ed221f04 f487e320 f487e200 ed221f00 f4873680
f8a6156e ed1fb3c0 f487e200 00000000 ed221f00 f8a45320 00000000 f4863900
Call Trace: [<f8a61324>] [<f8a61405>] [<f8a6156e>] [<f8a45320>] [<f8a453a0>]
[<f8a3f1d0>] [<c0132af5>] [<c0131881>] [<c0131792>] [<c0131ae7>] [<c0106e4b>]
Code: 8b 6b 50 83 7e 20 00 74 18 8b 43 44 85 c0 74 11 50 56 e8 a0
---------------------------------------------------------------------------
EIP decodes to:
f8a6b3a0 snd_trident_stop_voice_Rd90f7438 [snd-trident]
f8a6b4c0 snd_trident_write_voice_regs_R81a9c453 [snd-trident]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f8a6d050 snd_trident_pcm_Rbf4ac9ce [snd-trident]
> You have probably no continuous DMA memory in your system. Try to increase
> the above parameter of the snd-pcm module.
It looks like it defaults to 4 even if contiguous DMA memory is
available.
> It means: get the maximum available configuration space. You should refine
> it to single configuration later.
Thanks, makes sense now...
Andy
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel