Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbbBJQm0 (ORCPT ); Tue, 10 Feb 2015 11:42:26 -0500 Received: from arcturus.aphlor.org ([188.246.204.175]:46516 "EHLO arcturus.aphlor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbbBJQmZ (ORCPT ); Tue, 10 Feb 2015 11:42:25 -0500 Date: Tue, 10 Feb 2015 11:42:17 -0500 From: Dave Jones To: Peter Zijlstra Cc: Linux Kernel Subject: 3.19 scheduler might_sleep triggered from module loading during boot. Message-ID: <20150210164217.GA5547@codemonkey.org.uk> Mail-Followup-To: Dave Jones , Peter Zijlstra , Linux Kernel MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Report: Spam report generated by SpamAssassin on "arcturus.aphlor.org" Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Authenticated-User: davej@codemonkey.org.uk Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2067 Lines: 35 I don't recall seeing this one until now.. Dave [ 3.559609] WARNING: CPU: 0 PID: 181 at kernel/sched/core.c:7326 __might_sleep+0xd0/0xf0() [ 3.559701] do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_event+0x93/0x1f0 [ 3.559800] CPU: 0 PID: 181 Comm: modprobe Not tainted 3.19.0+ #5 [ 3.559932] ffffffff950b75b0 ffff88020da3fba8 ffffffff9573726a ffffffff95101ec3 [ 3.560174] ffff88020da3fbf8 ffff88020da3fbe8 ffffffff950742f2 ffffffff964c1fa0 [ 3.561927] ffffffff95ad86e8 000000000000026d 0000000000000000 ffff88020da9aac0 [ 3.562159] Call Trace: [ 3.562218] [] ? __might_sleep+0xd0/0xf0 [ 3.562288] [] dump_stack+0x84/0xb9 [ 3.562359] [] ? console_unlock+0x373/0x690 [ 3.562431] [] warn_slowpath_common+0xd2/0x140 [ 3.562495] [] warn_slowpath_fmt+0x57/0x70 [ 3.562569] [] ? prepare_to_wait_event+0x93/0x1f0 [ 3.562641] [] ? prepare_to_wait_event+0x93/0x1f0 [ 3.562728] [] __might_sleep+0xd0/0xf0 [ 3.562799] [] mutex_lock_nested+0x41/0x760 [ 3.562870] [] ? local_clock+0x4d/0x60 [ 3.562933] [] ? _raw_spin_unlock_irqrestore+0x5f/0xc0 [ 3.563009] [] resolve_symbol.isra.35+0x48/0x150 [ 3.563081] [] load_module+0x1134/0x20b0 [ 3.563149] [] ? trace_hardirqs_on_thunk+0x3a/0x3f [ 3.563221] [] ? wait_woken+0x110/0x110 [ 3.563290] [] ? retint_restore_args+0xe/0xe [ 3.563359] [] SyS_init_module+0x132/0x190 [ 3.563433] [] system_call_fastpath+0x12/0x17 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/