#9321 NORM Not Tri: sleeping function called from invalid context at drivers/net/wireless/libertas/cmd.c:2084

Zarro Boogs per Child bugtracker at laptop.org
Mon Jun 8 16:05:31 EDT 2009


#9321: sleeping function called from invalid context at
drivers/net/wireless/libertas/cmd.c:2084
--------------------------+-------------------------------------------------
 Reporter:  pgf           |                 Owner:  DiegoZacarao 
     Type:  defect        |                Status:  new          
 Priority:  normal        |             Milestone:  Not Triaged  
Component:  not assigned  |               Version:  not specified
 Keywords:                |           Next_action:  never set    
 Verified:  0             |   Deployment_affected:               
Blockedby:                |              Blocking:               
--------------------------+-------------------------------------------------
 i've been seeing this frequently with my build of 2.6.30-rc5 on my gen1
 laptop.  git head is 88a3ec24bf756c49e1f8a24efa6796e265204d48.

 my network connection script (shtumble) uses iwconfig heavily to fetch
 network status.

 {{{
 Jun  7 11:06:00 localhost hcid[1322]: HCI dev 0 up
 Jun  7 11:06:00 localhost hcid[1322]: Device hci0 has been added
 Jun  7 11:06:00 localhost hcid[1322]: Starting security manager 0
 Jun  7 11:06:01 localhost hcid[1322]: Device hci0 has been activated
 Jun  7 11:06:01 localhost olpc-kbdshim-hal[1221]: idle timers set to 10
 180 300
 Jun  7 11:06:01 localhost kernel: [465256.604904] BUG: sleeping function
 called from invalid context at drivers/net/wireless/libertas/cmd.c:2084
 Jun  7 11:06:01 localhost kernel: [465256.604940] in_atomic(): 1,
 irqs_disabled(): 0, pid: 1624, name: iwconfig
 Jun  7 11:06:01 localhost kernel: [465256.604971] Pid: 1624, comm:
 iwconfig Tainted: G        W  2.6.30-rc5pgf #1
 Jun  7 11:06:01 localhost kernel: [465256.604993] Call Trace:
 Jun  7 11:06:01 localhost kernel: [465256.605038]  [<c041174b>]
 __might_sleep+0xd6/0xdb
 Jun  7 11:06:01 localhost kernel: [465256.605177]  [<cc7f64d8>]
 __lbs_cmd+0x8d/0x17c [libertas]
 Jun  7 11:06:01 localhost kernel: [465256.605216]  [<c051ed21>] ?
 vsnprintf+0x22a/0x267
 Jun  7 11:06:01 localhost kernel: [465256.605312]  [<cc7f4366>]
 lbs_get_wireless_stats+0x1c9/0x2f3 [libertas]
 Jun  7 11:06:01 localhost kernel: [465256.605409]  [<cc7f5d7f>] ?
 lbs_cmd_copyback+0x0/0x48 [libertas]
 Jun  7 11:06:01 localhost kernel: [465256.605462]  [<c065b5a4>]
 wireless_seq_show+0x45/0xdd
 Jun  7 11:06:01 localhost kernel: [465256.605496]  [<c0484524>]
 seq_read+0x2a3/0x372
 Jun  7 11:06:01 localhost kernel: [465256.605544]  [<c04a2f8f>]
 proc_reg_read+0x6a/0x84
 Jun  7 11:06:01 localhost kernel: [465256.605573]  [<c0484281>] ?
 seq_read+0x0/0x372
 Jun  7 11:06:01 localhost kernel: [465256.605605]  [<c04a2f8f>] ?
 proc_reg_read+0x6a/0x84
 Jun  7 11:06:01 localhost kernel: [465256.605640]  [<c0470617>]
 vfs_read+0x88/0x106
 Jun  7 11:06:01 localhost kernel: [465256.605673]  [<c04a2f25>] ?
 proc_reg_read+0x0/0x84
 Jun  7 11:06:01 localhost kernel: [465256.605705]  [<c047074e>]
 sys_read+0x4a/0x7a
 Jun  7 11:06:01 localhost kernel: [465256.605742]  [<c0403434>]
 sysenter_do_call+0x12/0x26
 Jun  7 11:06:01 localhost kernel: [465256.605773]  [<c0403434>] ?
 sysenter_do_call+0x12/0x26
 Jun  7 11:06:01 localhost kernel: [465256.605806] BUG: scheduling while
 atomic: iwconfig/1624/0x00000002
 Jun  7 11:06:01 localhost kernel: [465256.605826] Modules linked in:
 rfcomm psmouse bnep l2cap uinput usb8xxx libertas btusb bluetooth usbhid
 mousedev lib8021>
 Jun  7 11:06:01 localhost kernel: [465256.605975] Pid: 1624, comm:
 iwconfig Tainted: G        W  2.6.30-rc5pgf #1
 Jun  7 11:06:01 localhost kernel: [465256.605996] Call Trace:
 Jun  7 11:06:01 localhost kernel: [465256.606029]  [<c0412414>]
 __schedule_bug+0x47/0x4c
 Jun  7 11:06:01 localhost kernel: [465256.606071]  [<c06624d5>]
 __schedule+0x6e/0x47e
 Jun  7 11:06:01 localhost kernel: [465256.606108]  [<c0405371>] ?
 show_trace+0x10/0x14
 Jun  7 11:06:01 localhost kernel: [465256.606146]  [<c06628f7>]
 schedule+0x12/0x2b
 Jun  7 11:06:01 localhost kernel: [465256.606178]  [<c06628f7>] ?
 schedule+0x12/0x2b
 Jun  7 11:06:01 localhost kernel: [465256.606271]  [<cc7f6532>]
 __lbs_cmd+0xe7/0x17c [libertas]
 Jun  7 11:06:01 localhost kernel: [465256.606318]  [<c0427f21>] ?
 autoremove_wake_function+0x0/0x2f
 Jun  7 11:06:01 localhost kernel: [465256.606414]  [<cc7f4366>]
 lbs_get_wireless_stats+0x1c9/0x2f3 [libertas]
 Jun  7 11:06:01 localhost kernel: [465256.606509]  [<cc7f5d7f>] ?
 lbs_cmd_copyback+0x0/0x48 [libertas]
 Jun  7 11:06:01 localhost kernel: [465256.606555]  [<c065b5a4>]
 wireless_seq_show+0x45/0xdd
 Jun  7 11:06:01 localhost kernel: [465256.606588]  [<c0484524>]
 seq_read+0x2a3/0x372
 Jun  7 11:06:01 localhost kernel: [465256.606627]  [<c04a2f8f>]
 proc_reg_read+0x6a/0x84
 Jun  7 11:06:01 localhost kernel: [465256.606657]  [<c0484281>] ?
 seq_read+0x0/0x372
 Jun  7 11:06:01 localhost kernel: [465256.606689]  [<c04a2f8f>] ?
 proc_reg_read+0x6a/0x84
 Jun  7 11:06:01 localhost kernel: [465256.606723]  [<c0470617>]
 vfs_read+0x88/0x106
 Jun  7 11:06:01 localhost kernel: [465256.606756]  [<c04a2f25>] ?
 proc_reg_read+0x0/0x84
 Jun  7 11:06:01 localhost kernel: [465256.606787]  [<c047074e>]
 sys_read+0x4a/0x7a
 Jun  7 11:06:01 localhost kernel: [465256.606823]  [<c0403434>]
 sysenter_do_call+0x12/0x26
 Jun  7 11:06:01 localhost kernel: [465256.606854]  [<c0403434>] ?
 sysenter_do_call+0x12/0x26
 Jun  7 11:06:01 localhost kernel: [465256.607819] BUG: scheduling while
 atomic: iwconfig/1624/0x00000002
 Jun  7 11:06:01 localhost kernel: [465256.607840] Modules linked in:
 rfcomm psmouse bnep l2cap uinput usb8xxx libertas btusb bluetooth usbhid
 mousedev lib8021>
 Jun  7 11:06:01 localhost kernel: [465256.607989] Pid: 1624, comm:
 iwconfig Tainted: G        W  2.6.30-rc5pgf #1
 Jun  7 11:06:01 localhost kernel: [465256.608011] Call Trace:
 Jun  7 11:06:01 localhost kernel: [465256.608045]  [<c0412414>]
 __schedule_bug+0x47/0x4c
 Jun  7 11:06:01 localhost kernel: [465256.608082]  [<c06624d5>]
 __schedule+0x6e/0x47e
 Jun  7 11:06:01 localhost kernel: [465256.608114]  [<c041130b>] ?
 __wake_up+0x32/0x3b
 Jun  7 11:06:01 localhost kernel: [465256.608152]  [<c06628f7>]
 schedule+0x12/0x2b
 Jun  7 11:06:01 localhost kernel: [465256.608184]  [<c06628f7>] ?
 schedule+0x12/0x2b
 Jun  7 11:06:01 localhost kernel: [465256.608284]  [<cc7f6532>]
 __lbs_cmd+0xe7/0x17c [libertas]
 Jun  7 11:06:01 localhost kernel: [465256.608327]  [<c0427f21>] ?
 autoremove_wake_function+0x0/0x2f
 Jun  7 11:06:01 localhost kernel: [465256.608424]  [<cc7f4366>]
 lbs_get_wireless_stats+0x1c9/0x2f3 [libertas]
 Jun  7 11:06:01 localhost kernel: [465256.608520]  [<cc7f5d7f>] ?
 lbs_cmd_copyback+0x0/0x48 [libertas]
 Jun  7 11:06:01 localhost kernel: [465256.608568]  [<c065b5a4>]
 wireless_seq_show+0x45/0xdd
 Jun  7 11:06:01 localhost kernel: [465256.608603]  [<c0484524>]
 seq_read+0x2a3/0x372
 Jun  7 11:06:01 localhost kernel: [465256.608643]  [<c04a2f8f>]
 proc_reg_read+0x6a/0x84
 Jun  7 11:06:01 localhost kernel: [465256.608673]  [<c0484281>] ?
 seq_read+0x0/0x372
 Jun  7 11:06:01 localhost kernel: [465256.608705]  [<c04a2f8f>] ?
 proc_reg_read+0x6a/0x84
 Jun  7 11:06:01 localhost kernel: [465256.608739]  [<c0470617>]
 vfs_read+0x88/0x106
 Jun  7 11:06:01 localhost kernel: [465256.608772]  [<c04a2f25>] ?
 proc_reg_read+0x0/0x84
 Jun  7 11:06:01 localhost kernel: [465256.608804]  [<c047074e>]
 sys_read+0x4a/0x7a
 Jun  7 11:06:01 localhost kernel: [465256.608839]  [<c0403434>]
 sysenter_do_call+0x12/0x26
 Jun  7 11:06:01 localhost kernel: [465256.608871]  [<c0403434>] ?
 sysenter_do_call+0x12/0x26
 Jun  7 11:06:01 localhost avahi-daemon[1348]: Interface eth0.IPv4 no
 longer relevant for mDNS.
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/9321>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list