From: Lucio Maciel <abslucio@terra.com.br>
To: Michael Dreher <dreher@math.tu-freiberg.de>
Cc: linux-kernel@vger.kernel.org, perex@perex.cz
Subject: Re: sleeping function called from illegal context at mm/slab.c:1304
Date: Fri, 22 Nov 2002 17:14:54 -0200 [thread overview]
Message-ID: <20021122171454.4905404f.abslucio@terra.com.br> (raw)
In-Reply-To: <200211221933.22395.dreher@math.tu-freiberg.de>
[-- Attachment #1: Type: text/plain, Size: 1590 bytes --]
Hello..
Try this patch..
best regards
On Fri, 22 Nov 2002 19:33:22 +0100
Michael Dreher <dreher@math.tu-freiberg.de> wrote:
> Hello all,
>
> this is with 2.5.48 (and several kernels before).
>
> Best regards,
> Michael
>
>
>
>
> Debug: sleeping function called from illegal context at mm/slab.c:1304
> kernel: Call Trace:
> kernel: [__might_sleep+84/96] __might_sleep+0x54/0x60
> kernel: [kmem_flagcheck+30/80] kmem_flagcheck+0x1e/0x50
> kernel: [kmalloc+75/288] kmalloc+0x4b/0x120
> kernel: [<e08a80bb>] build_via_table+0x5b/0x190 [snd-via82xx]
> kernel: [__delay+19/48] __delay+0x13/0x30
> kernel: [<e08a858e>] snd_via82xx_setup_periods+0x2e/0x130 [snd-via82xx]
> kernel: [<e08a888e>] snd_via82xx_playback_prepare+0x7e/0x90
> [snd-via82xx]
> kernel: [<e0897ed1>] snd_pcm_prepare+0x21/0x210 [snd-pcm]
> kernel: [<e0897fd9>] snd_pcm_prepare+0x129/0x210 [snd-pcm]
> kernel: [<e0899ce6>] snd_pcm_common_ioctl1+0x1d6/0x2b0 [snd-pcm]
> kernel: [<e089a05e>] snd_pcm_playback_ioctl1+0x29e/0x2b0 [snd-pcm]
> kernel: [<e089a300>] snd_pcm_playback_ioctl+0x20/0x30 [snd-pcm]
> kernel: [sys_ioctl+537/624] sys_ioctl+0x219/0x270
> kernel: [error_code+45/56] error_code+0x2d/0x38
> kernel: [syscall_call+7/11] syscall_call+0x7/0xb
>
> -
> 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/
>
--
::: Lucio F. Maciel
::: abslucio@terra.com.br
::: icq 93065464
::: Absoluta.net
[-- Attachment #2: via82xx.diff --]
[-- Type: application/octet-stream, Size: 406 bytes --]
--- sound/pci/via82xx.c~ 2002-11-22 17:06:30.000000000 -0200
+++ sound/pci/via82xx.c 2002-11-22 17:06:38.000000000 -0200
@@ -222,7 +222,7 @@
return -ENOMEM;
}
if (! dev->idx_table) {
- dev->idx_table = kmalloc(sizeof(*dev->idx_table) * VIA_TABLE_SIZE, GFP_KERNEL);
+ dev->idx_table = kmalloc(sizeof(*dev->idx_table) * VIA_TABLE_SIZE, GFP_ATOMIC);
if (! dev->idx_table)
return -ENOMEM;
}
prev parent reply other threads:[~2002-11-22 19:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-22 18:33 Michael Dreher
2002-11-22 19:14 ` Lucio Maciel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021122171454.4905404f.abslucio@terra.com.br \
--to=abslucio@terra.com.br \
--cc=dreher@math.tu-freiberg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®