2005-04-05 14:28:47

by John M Flinchbaugh

[permalink] [raw]
Subject: debug: sleeping function...slab.c:2090

I got the debug statement below during boot.

Environment:
Pentium M, Thinkpad R40
Debian unstable
Linux 2.6.12-rc2
Gnu C 3.3.5
binutils 2.15

Debug: sleeping function called from invalid context at mm/slab.c:2090
in_atomic():1, irqs_disabled():0
[<c0103707>] dump_stack+0x17/0x20
[<c0114e6c>] __might_sleep+0xac/0xc0
[<c014394e>] kmem_cache_alloc+0x5e/0x60
[<c0142aa3>] kmem_cache_create+0xe3/0x570
[<c0268d39>] proto_register+0x99/0xc0
[<e0bea096>] inet6_init+0x16/0x1d0 [ipv6]
[<c0132902>] sys_init_module+0x172/0x230
[<c01030e5>] syscall_call+0x7/0xb

--
John M Flinchbaugh
[email protected]


Attachments:
(No filename) (623.00 B)
signature.asc (189.00 B)
Digital signature
Download all attachments

2005-04-05 14:38:53

by linux-os (Dick Johnson)

[permalink] [raw]
Subject: Re: debug: sleeping function...slab.c:2090

On Tue, 5 Apr 2005, John M Flinchbaugh wrote:

> I got the debug statement below during boot.
>
> Environment:
> Pentium M, Thinkpad R40
> Debian unstable
> Linux 2.6.12-rc2
> Gnu C 3.3.5
> binutils 2.15
>
> Debug: sleeping function called from invalid context at mm/slab.c:2090
> in_atomic():1, irqs_disabled():0
> [<c0103707>] dump_stack+0x17/0x20
> [<c0114e6c>] __might_sleep+0xac/0xc0
> [<c014394e>] kmem_cache_alloc+0x5e/0x60
> [<c0142aa3>] kmem_cache_create+0xe3/0x570
> [<c0268d39>] proto_register+0x99/0xc0
> [<e0bea096>] inet6_init+0x16/0x1d0 [ipv6]
> [<c0132902>] sys_init_module+0x172/0x230
> [<c01030e5>] syscall_call+0x7/0xb
>
> --
> John M Flinchbaugh
> [email protected]
>

What module was being loaded at the time?

Cheers,
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.

2005-04-05 15:35:21

by Marcel Holtmann

[permalink] [raw]
Subject: Re: debug: sleeping function...slab.c:2090

Hi Richard,

> > I got the debug statement below during boot.
> >
> > Environment:
> > Pentium M, Thinkpad R40
> > Debian unstable
> > Linux 2.6.12-rc2
> > Gnu C 3.3.5
> > binutils 2.15
> >
> > Debug: sleeping function called from invalid context at mm/slab.c:2090
> > in_atomic():1, irqs_disabled():0
> > [<c0103707>] dump_stack+0x17/0x20
> > [<c0114e6c>] __might_sleep+0xac/0xc0
> > [<c014394e>] kmem_cache_alloc+0x5e/0x60
> > [<c0142aa3>] kmem_cache_create+0xe3/0x570
> > [<c0268d39>] proto_register+0x99/0xc0
> > [<e0bea096>] inet6_init+0x16/0x1d0 [ipv6]
> > [<c0132902>] sys_init_module+0x172/0x230
> > [<c01030e5>] syscall_call+0x7/0xb
> >
>
> What module was being loaded at the time?

this is the ipv6 module and the unix module has the same problem. I
posted this problem already to the netdev mailing list and it seems that
Arnaldo is looking at it.

Regards

Marcel


2005-04-05 15:47:08

by Steven Rostedt

[permalink] [raw]
Subject: Re: debug: sleeping function...slab.c:2090

On Tue, 2005-04-05 at 10:38 -0400, Richard B. Johnson wrote:
> On Tue, 5 Apr 2005, John M Flinchbaugh wrote:
>
> > I got the debug statement below during boot.
> >
> > Environment:
> > Pentium M, Thinkpad R40
> > Debian unstable
> > Linux 2.6.12-rc2
> > Gnu C 3.3.5
> > binutils 2.15
> >
> > Debug: sleeping function called from invalid context at mm/slab.c:2090
> > in_atomic():1, irqs_disabled():0
> > [<c0103707>] dump_stack+0x17/0x20
> > [<c0114e6c>] __might_sleep+0xac/0xc0
> > [<c014394e>] kmem_cache_alloc+0x5e/0x60
> > [<c0142aa3>] kmem_cache_create+0xe3/0x570
> > [<c0268d39>] proto_register+0x99/0xc0
> > [<e0bea096>] inet6_init+0x16/0x1d0 [ipv6]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


> > [<c0132902>] sys_init_module+0x172/0x230
> > [<c01030e5>] syscall_call+0x7/0xb
> >
> > --
> > John M Flinchbaugh
> > [email protected]
> >
>
> What module was being loaded at the time?
>

Looks to me that it happened while loading the inet6 module.

-- Steve


2005-04-05 16:55:43

by linux-os (Dick Johnson)

[permalink] [raw]
Subject: Re: debug: sleeping function...slab.c:2090

On Tue, 5 Apr 2005, Steven Rostedt wrote:

> On Tue, 2005-04-05 at 10:38 -0400, Richard B. Johnson wrote:
>> On Tue, 5 Apr 2005, John M Flinchbaugh wrote:
>>
>>> I got the debug statement below during boot.
>>>
>>> Environment:
>>> Pentium M, Thinkpad R40
>>> Debian unstable
>>> Linux 2.6.12-rc2
>>> Gnu C 3.3.5
>>> binutils 2.15
>>>
>>> Debug: sleeping function called from invalid context at mm/slab.c:2090
>>> in_atomic():1, irqs_disabled():0
>>> [<c0103707>] dump_stack+0x17/0x20
>>> [<c0114e6c>] __might_sleep+0xac/0xc0
>>> [<c014394e>] kmem_cache_alloc+0x5e/0x60
>>> [<c0142aa3>] kmem_cache_create+0xe3/0x570
>>> [<c0268d39>] proto_register+0x99/0xc0
>>> [<e0bea096>] inet6_init+0x16/0x1d0 [ipv6]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
>>> [<c0132902>] sys_init_module+0x172/0x230
>>> [<c01030e5>] syscall_call+0x7/0xb
>>>
>>> --
>>> John M Flinchbaugh
>>> [email protected]
>>>
>>
>> What module was being loaded at the time?
>>
>
> Looks to me that it happened while loading the inet6 module.

Yes and somebody is working on it.



Cheers,
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.