On Wed, May 20, 2009 at 2:38 AM, Ethan <[email protected]> wrote:
> ------------[ cut here ]------------
> (01:28.107202) [   84.126733] WARNING: at /home/law/3135/android/
> kernel/kernel/softirq.c:77 __local_bh_disable+0x48/0x94()
> (01:28.116248) [   84.136193] Modules linked in:
> (01:28.119704) [   84.139233] [<c002d420>] (dump_stack+0x0/0x14) from 
> [<c005edfc>] (warn_on_slowpath+0x4c/0x84)
> (01:28.128054) [   84.147739] [<c005edb0>] (warn_on_slowpath+0x0/0x84) from 
> [<c0063c54>] (__local_bh_disable+0x48/0x94)
> (01:28.137081) [   84.156939]  r6:c407dbe0 r5:c0237fe4 r4:c0459c40
> (01:28.141943) [   84.161539] [<c0063c0c>] (__local_bh_disable +0x0/0x94) 
> from [<c0063cb4>] (local_bh_disable+0x14/0x18)
> (01:28.150963) [   84.170739]  r5:c407dbe0 r4:c4119400
> (01:28.154440) [   84.174299] [<c0063ca0>] (local_bh_disable+0x0/0x18)
> from [<c0237fe4>] (sk_filter+0x1c/0xd8)
> (01:28.162773) [   84.182719] [<c0237fc8>] (sk_filter+0x0/0xd8) from
> [<c023b270>] (netlink_broadcast+0x20c/0x3c8)
> (01:28.171795) [   84.191399]  r6:c407dbe0 r5:c407dbe0 r4:c4119400
> (01:28.175963) [   84.195999] [<c023b064>] (netlink_broadcast
> +0x0/0x3c8) from [<c0154a74>] (kobject_uevent_env+0x2b8/0x3a0)
> (01:28.185690) [   84.205553] [<c01547bc>] (kobject_uevent_env
> +0x0/0x3a0) from [<c01fd18c>] (switch_set_state+0x114/0x16c)
> (01:28.195413) [   84.215013] [<c01fd078>] (switch_set_state
> +0x0/0x16c) from [<c004f9c8>] (hs_det_irq+0x74/0xa4)

I don't think you can do a kevent from irq context, which is what you are
doing here.  Fix that up and you should be fine.

Hope this helps,

greg k-h

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to