New: Debug: sleeping function called from invalid context at mm/slab.c:2090
Subsystems (2)
proto_register() is doing kmem_cache_create() inside write_lock().
Begin forwarded message:
Date: Sun, 10 Apr 2005 05:09:39 -0700
From: [email protected]
To: [email protected]
Subject: [Bug 4467] New: Debug: sleeping function called from invalid context at mm/slab.c:2090
http://bugme.osdl.org/show_bug.cgi?id=4467
Summary: Debug: sleeping function called from invalid context at
mm/slab.c:2090
Kernel Version: 2.6.12.rc2
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]Distribution: Ubuntu 5.04
Hardware Environment: Asus M6Ne Laptop
Software Environment: gcc 3.3.5, libc6 2.3.2
Problem Description:
On startup, at ipv6 module loading dmesg prints this error:
Debug: sleeping function called from invalid context at mm/slab.c:2090 in_atomic():1, irqs_disabled():0
[<c01160f6>] __might_sleep+0xa6/0xb0 [<c01345dd>] load_module+0x8cd/0xb70 [<c014463d>] kmem_cache_alloc+0x6d/0x70 [<c0143740>] kmem_cache_create+0x100/0x5b0 [<c02e4324>] proto_register+0xa4/0xd0 [<e1bb00b9>] inet6_init+0x19/0x200 [ipv6] [<c0134a32>] sys_init_module+0x182/0x240 [<c010319b>] sysenter_past_esp+0x54/0x75
I'll attach my config
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
David S. Miller
maintainerQuoted 2 lines · On Sun, 10 Apr 2005 13:49:34 -0700 Andrew Morton <[email protected]> wrote:
proto_register()is doingkmem_cache_create()insidewrite_lock().
Didn't you integrate Arnaldo's patch to fix this into -mm? I was certain I got an ACK email back from your -mm automatic thingy.
Quoted 8 lines · David S. Miller
Quoted 2 lines · On Sun, 10 Apr 2005 13:49:34 -0700 Andrew Morton <[email protected]> wrote:
proto_register()is doingkmem_cache_create()insidewrite_lock().Didn't you integrate Arnaldo's patch to fix this into -mm?
Seems I did.
Quoted 2 lines
I was certain I got an ACK email back from your -mm automatic thingy.
This report is against 2.6.12-rc2.