Messages in this thread Patch in this message |  | | Date | Sat, 19 Oct 2002 16:30:29 +0200 (CEST) | | From | Jaroslav Kysela <> | | Subject | Re: Call Trace from snd_emu10k1 |
| |
On Sat, 19 Oct 2002, Jan Dittmer wrote:
> Hello! > > Got a couple of these with 2.5.44, while playing with mplayer with ac3 > passthrough (on the sb live). > Let me know if I can provide you with anything else helpful. Perhaps I should > add, that the system isn't hanging, halting or anything else. Sound is > flawless (at least with mplayer). > > jan > > Complete system info at http://lx.sfhq.hn.org/ > > Debug: sleeping function called from illegal context at mm/slab.c:1374 > Call Trace: > [<c0118d34>] __might_sleep+0x54/0x60 > [<c01359ae>] kmalloc+0x4e/0x120 > [<e0900910>] snd_emu10k1_fx8010_playback_irq+0x0/0x10 [snd-emu10k1] > [<e09007bc>] snd_emu10k1_fx8010_register_irq_handler+0x6c/0x110 [snd-emu10k1]
This patch will help you:
--- emufx.c 11 Oct 2002 13:29:36 -0000 1.23 +++ emufx.c 19 Oct 2002 14:29:43 -0000 @@ -413,7 +413,7 @@
snd_runtime_check(emu, return -EINVAL); snd_runtime_check(handler, return -EINVAL); - irq = kmalloc(sizeof(*irq), GFP_KERNEL); + irq = kmalloc(sizeof(*irq), GFP_ATOMIC); if (irq == NULL) return -ENOMEM; irq->handler = handler;
Jaroslav
----- Jaroslav Kysela <perex@suse.cz> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |