What is in include/linux/kernel.h line 158

Aioanei Rares fedora.listen at gmail.com
Sun Apr 11 12:12:02 UTC 2010


On 04/10/2010 11:29 PM, Antonio Olivares wrote:
> Dear folks,
>
> I have encountered this so called sleeping function several times in a good while (kernel 2.6.27, 2.6.29, 2.6.30, 2.6.31, 2.6.32) Fedora based kernels and compiled kernels from kernel.org,
>
> I am asking this because I see this again and again.  I would like to know what is in there so if I can do something about it, or just live with it since it appears to be harmless, but anyhow it is annoying :(
>
> BUG: sleeping function called from invalid context at include/linux/kernel.h:158
> in_atomic(): 0, irqs_disabled(): 1, pid: 9713, name: slmodemd
> Pid: 9713, comm: slmodemd Tainted: P           2.6.32.10-90.fc12.i686.PAE #1
> Call Trace:
>   [<c043372f>] __might_sleep+0xca/0xd1
>   [<c05c6c3a>] might_fault+0x19/0x20
>   [<c05c6d8e>] copy_to_user+0x34/0x10a
>   [<fe2b32ca>] amrmo_read+0x50/0x66 [slamr]
>   [<fe2b327a>] ? amrmo_read+0x0/0x66 [slamr]
>   [<c04e15fc>] vfs_read+0x82/0xe1
>   [<c04e9d17>] ? path_put+0x1a/0x1d
>   [<c04e16f9>] sys_read+0x40/0x62
>   [<c040907b>] sysenter_do_call+0x12/0x28
>
>
> Regards.
>
> Antonio
>
>
>
>    
If you compile your own kernels, you have the source code. If you have 
it, look for yourself and obviously report a bug, either upstream or in 
Fedora's bugzilla.


More information about the users mailing list