Content-Type: multipart/mixed; boundary="===============0346645143931215131==" MIME-Version: 1.0 From: Richard Guy Briggs To: lkp@lists.01.org Subject: Re: [rfcomm_run] WARNING: CPU: 0 PID: 95 at kernel/sched/core.c:7312 __might_sleep() Date: Mon, 27 Oct 2014 13:33:53 -0400 Message-ID: <20141027173353.GZ15532@madcap2.tricolour.ca> In-Reply-To: <20141027134948.GA8977@wfg-t540p.sh.intel.com> List-Id: --===============0346645143931215131== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=3D1 set= at [] kauditd_thread+0x168/0x220 > [ 89.128588] Modules linked in: btrfs raid456 async_raid6_recov async_m= emcpy async_pq async_xor xor async_tx raid6_pq ipmi_watchdog ipmi_msghandle= r ses enclosure sg s > d_mod ata_generic pata_acpi floppy parport_pc parport snd_pcm snd_timer s= nd ata_piix soundcore i2c_i801 serio_raw mptsas libata pcspkr i5400_edac sh= pchp 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 ffff88= 022fd90478 > [ 89.188596] ffff880229d8bdc8 ffff880229d8bdb8 ffffffff8106a421 ffff88= 0229d8bda8 > [ 89.196483] ffffffff81b345f0 0000000000000038 0000000000000000 ffff88= 00bd0fd850 > [ 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 --===============0346645143931215131==--