Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 19 Oct 2002 10:24:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 19 Oct 2002 10:24:40 -0400 Received: from gate.perex.cz ([194.212.165.105]:18447 "EHLO gate.perex.cz") by vger.kernel.org with ESMTP id ; Sat, 19 Oct 2002 10:24:39 -0400 Date: Sat, 19 Oct 2002 16:30:29 +0200 (CEST) From: Jaroslav Kysela X-X-Sender: To: Jan Dittmer cc: Linux Kernel List , "alsa-devel@alsa-project.org" Subject: Re: Call Trace from snd_emu10k1 In-Reply-To: <200210191346.22181.jan@jandittmer.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1567 Lines: 49 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: > [] __might_sleep+0x54/0x60 > [] kmalloc+0x4e/0x120 > [] snd_emu10k1_fx8010_playback_irq+0x0/0x10 [snd-emu10k1] > [] 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 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/