From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752176AbaJ0Rev (ORCPT ); Mon, 27 Oct 2014 13:34:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33932 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751623AbaJ0Ret (ORCPT ); Mon, 27 Oct 2014 13:34:49 -0400 Date: Mon, 27 Oct 2014 13:33:53 -0400 From: Richard Guy Briggs To: Fengguang Wu Cc: Peter Zijlstra , Peter Hurley , Marcel Holtmann , LKP , linux-kernel@vger.kernel.org, Eric Paris Subject: Re: [rfcomm_run] WARNING: CPU: 0 PID: 95 at kernel/sched/core.c:7312 __might_sleep() Message-ID: <20141027173353.GZ15532@madcap2.tricolour.ca> References: <20141027130621.GA6336@wfg-t540p.sh.intel.com> <20141027133627.GH3337@twins.programming.kicks-ass.net> <20141027134948.GA8977@wfg-t540p.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141027134948.GA8977@wfg-t540p.sh.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/10/27, Fengguang Wu wrote: > On Mon, Oct 27, 2014 at 02:36:27PM +0100, Peter Zijlstra wrote: > > On Mon, Oct 27, 2014 at 09:06:21PM +0800, Fengguang Wu wrote: > > > Hi Peter, > > > > > > FYI, this bug seems still there on v3.18-rc2. > > > > Oh, right, I commented out that patch and the audit one because I was > > waiting for some feedback. Lemme go prod people. > > audit? I do hit an kauditd_thread warning recently: > > [ 89.102903] ------------[ cut here ]------------ > [ 89.107650] WARNING: CPU: 6 PID: 3175 at /kbuild/src/lkp/kernel/sched/core.c:7310 __might_sleep+0x8e/0xc0() > [ 89.117606] do not call blocking ops when !TASK_RUNNING; state=1 set at [] kauditd_thread+0x168/0x220 > [ 89.128588] Modules linked in: btrfs raid456 async_raid6_recov async_memcpy async_pq async_xor xor async_tx raid6_pq ipmi_watchdog ipmi_msghandler ses enclosure sg s > d_mod ata_generic pata_acpi floppy parport_pc parport snd_pcm snd_timer snd ata_piix soundcore i2c_i801 serio_raw mptsas libata pcspkr i5400_edac shpchp mptscsih edac_core mptbase i5k_amb tpm_infineon scsi_transport_sas [ 89.165503] CPU: 6 PID: 3175 Comm: kauditd Tainted: G W 3.18.0-rc2-g8696cce #1 > [ 89.173988] Hardware name: Supermicro X7DW3/X7DWN, BIOS 6.00 09/28/2007 > [ 89.180735] 0000000000000009 ffff880229d8bd78 ffffffff81876101 ffff88022fd90478 > [ 89.188596] ffff880229d8bdc8 ffff880229d8bdb8 ffffffff8106a421 ffff880229d8bda8 > [ 89.196483] ffffffff81b345f0 0000000000000038 0000000000000000 ffff8800bd0fd850 > [ 89.204364] Call Trace: > [ 89.206945] [] dump_stack+0x4e/0x68 > [ 89.212209] [] warn_slowpath_common+0x81/0xa0 > [ 89.218362] [] warn_slowpath_fmt+0x46/0x50 > [ 89.224257] [] ? kauditd_thread+0x168/0x220 > [ 89.230216] [] ? kauditd_thread+0x168/0x220 > [ 89.236201] [] __might_sleep+0x8e/0xc0 > [ 89.241746] [] kauditd_thread+0x1eb/0x220 > [ 89.247536] [] ? wake_up_state+0x20/0x20 > [ 89.253247] [] ? audit_printk_skb+0x70/0x70 > [ 89.259237] [] kthread+0xef/0x110 > [ 89.264330] [] ? kthread_create_on_node+0x180/0x180 > [ 89.271010] [] ret_from_fork+0x7c/0xb0 > [ 89.276543] [] ? kthread_create_on_node+0x180/0x180 > [ 89.283205] ---[ end trace 4692477bd4539c42 ]--- > > However I'm not sure if it's a bug in 3.18-rc2, or one of the > following trees introduced that warning. My guess is that none of the trees below would likely have caused this except maybe top/locking/urgent (and obviously the peterz-queue ones), and even then, I'd look in the v3.18-rc2 code first. I'll have a look in the audit code to see if anything jumps out at me. There have been wait issues in audit recently and may not be entirely cleaned up. > amirv/driver_updates > arm-platforms/irq/irqchip_state > arm-platforms/irq/priority_drop > asoc/for-linus > asoc/for-next > asoc/topic/sgtl5000 > bluetooth/master > chanwoo-extcon/extcon-next > drm-intel/drm-intel-next-queued > drm-intel/drm-intel-nightly > hwmon/poweroff-handler > ipsec-next/master > ipsec-next/testing > jiangliu/ioapic/hotplug_v7 > kees/lsm/modpin.old > kvm/queue > m68k/for-3.19 > m68k/for-linus > m68k/for-next > m68k/m68k-queue > mips-john/mips-for-linux-next > net/master > net-next/master > peterz-queue/locking/urgent > peterz-queue/perf/core > peterz-queue/perf/urgent > peterz-queue/sched/urgent > peterz-queue/sched/wait > peterz-queue/timers/urgent > regulator/for-next > renesas/cleanup-for-v3.19 > renesas/devel > renesas/dt-clocksource-for-v3.19 > renesas/dt-du-for-v3.19 > renesas/dt-for-v3.19 > renesas/next > renesas/soc-for-v3.19 > sound/for-linus > spi/for-linus > spi/for-next > staging/staging-testing > tip/locking/urgent > usb/usb-linus > > Thanks, > Fengguang - RGB -- Richard Guy Briggs Senior Software Engineer, Kernel Security, AMER ENG Base Operating Systems, Red Hat Remote, Ottawa, Canada Voice: +1.647.777.2635, Internal: (81) 32635, Alt: +1.613.693.0684x3545