From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757332Ab2IDO47 (ORCPT ); Tue, 4 Sep 2012 10:56:59 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:54105 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757157Ab2IDO45 (ORCPT ); Tue, 4 Sep 2012 10:56:57 -0400 Date: Tue, 4 Sep 2012 07:48:13 -0700 From: "Paul E. McKenney" To: Artem Bityutskiy Cc: Subodh Nijsure , linux-mtd@lists.infradead.org, Linux Kernel Maling List Subject: Re: RCU warning during UBI file system mount Message-ID: <20120904144813.GC2593@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <5042EC5D.1010207@grid-net.com> <1346744796.12610.6.camel@sauron.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1346744796.12610.6.camel@sauron.fi.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12090414-6078-0000-0000-00000F060738 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 04, 2012 at 10:46:36AM +0300, Artem Bityutskiy wrote: > Let's CC LKML and Paul. > > > On Sat, 2012-09-01 at 22:19 -0700, Subodh Nijsure wrote: > > Hello, > > > > I am running 3.6-rc4 kernel on my MX28 based board and every time I > > mount UBI file system I see following warning. > > Anybody else seen this errors, particularly those running it on MXS > > platform? > > > > I haven't debugged RCU warnings before any clues as to what is the > > source of this warning is, should I be looking at > > start_dma_without_bch_irq() code? Would appreciate any pointers in > > fixing this... RCU is upset because what it believes to be a non-idle task is telling RCU that it is entering the idle loop. Does the MX28 kernel have any unusual idle features? (This is a subarch of ARM, correct?) Thanx, Paul > > [ 4.280000] WARNING: at /opt/git/kernel-mainline/kernel/rcutiny.c:75 > > rcu_idle_enter_common.clone.7+0x90/0xac() > > [ 4.280000] Current pid: 1 comm: swapper / Idle pid: 0 comm: swapper > > [ 4.280000] Modules linked in: > > [ 4.280000] [] (unwind_backtrace+0x0/0x130) from > > [] (warn_slowpath_common+0x4c/0x64) > > [ 4.280000] [] (warn_slowpath_common+0x4c/0x64) from > > [] (warn_slowpath_fmt+0x30/0x40) > > [ 4.280000] [] (warn_slowpath_fmt+0x30/0x40) from > > [] (rcu_idle_enter_common.clone.7+0x90/0xac) > > [ 4.280000] [] (rcu_idle_enter_common.clone.7+0x90/0xac) > > from [] (rcu_irq_exit+0x3c/0x78) > > [ 4.280000] [] (rcu_irq_exit+0x3c/0x78) from [] > > (handle_IRQ+0x34/0x84) > > [ 4.280000] [] (handle_IRQ+0x34/0x84) from [] > > (__irq_svc+0x34/0x58) > > [ 4.280000] [] (__irq_svc+0x34/0x58) from [] > > (schedule_timeout+0xdc/0x16c) > > [ 4.280000] [] (schedule_timeout+0xdc/0x16c) from > > [] (wait_for_common+0xb4/0x160) > > [ 4.280000] [] (wait_for_common+0xb4/0x160) from > > [] (start_dma_without_bch_irq+0x6c/0xa8) > > [ 4.280000] [] (start_dma_without_bch_irq+0x6c/0xa8) from > > [] (gpmi_send_command+0x120/0x154) > > [ 4.280000] [] (gpmi_send_command+0x120/0x154) from > > [] (gpmi_cmd_ctrl+0x44/0x6c) > > [ 4.280000] [] (gpmi_cmd_ctrl+0x44/0x6c) from [] > > (nand_command_lp+0xe8/0x270) > > [ 4.280000] [] (nand_command_lp+0xe8/0x270) from > > [] (nand_do_read_ops+0x124/0x444) > > [ 4.280000] [] (nand_do_read_ops+0x124/0x444) from > > [] (nand_read+0x54/0x78) > > [ 4.280000] [] (nand_read+0x54/0x78) from [] > > (part_read+0x48/0x80) > > [ 4.280000] [] (part_read+0x48/0x80) from [] > > (mtd_read+0x88/0xb4) > > [ 4.280000] [] (mtd_read+0x88/0xb4) from [] > > (ubi_io_read+0xb0/0x3e8) > > [ 4.280000] [] (ubi_io_read+0xb0/0x3e8) from [] > > (ubi_eba_read_leb+0x198/0x4bc) > > [ 4.280000] [] (ubi_eba_read_leb+0x198/0x4bc) from > > [] (ubi_leb_read+0xf4/0x16c) > > [ 4.280000] [] (ubi_leb_read+0xf4/0x16c) from [] > > (ubifs_leb_read+0x24/0x88) > > [ 4.280000] [] (ubifs_leb_read+0x24/0x88) from [] > > (ubifs_read_node+0xa8/0x2e4) > > [ 4.280000] [] (ubifs_read_node+0xa8/0x2e4) from > > [] (ubifs_read_sb_node+0x54/0x78) > > [ 4.280000] [] (ubifs_read_sb_node+0x54/0x78) from > > [] (ubifs_read_superblock+0xc8c/0x133c) > > [ 4.280000] [] (ubifs_read_superblock+0xc8c/0x133c) from > > [] (ubifs_mount+0x73c/0x1bc0) > > [ 4.280000] [] (ubifs_mount+0x73c/0x1bc0) from [] > > (mount_fs+0x44/0x184) > > [ 4.280000] [] (mount_fs+0x44/0x184) from [] > > (vfs_kern_mount+0x4c/0xc0) > > [ 4.280000] [] (vfs_kern_mount+0x4c/0xc0) from [] > > (do_kern_mount+0x34/0xd0) > > [ 4.280000] [] (do_kern_mount+0x34/0xd0) from [] > > (do_mount+0x15c/0x73c) > > [ 4.280000] [] (do_mount+0x15c/0x73c) from [] > > (sys_mount+0x84/0xc4) > > [ 4.280000] [] (sys_mount+0x84/0xc4) from [] > > (do_mount_root+0x24/0xb0) > > [ 4.280000] [] (do_mount_root+0x24/0xb0) from [] > > (mount_block_root+0xe8/0x214) > > [ 4.280000] [] (mount_block_root+0xe8/0x214) from > > [] (prepare_namespace+0x8c/0x180) > > [ 4.280000] [] (prepare_namespace+0x8c/0x180) from > > [] (kernel_init+0x16c/0x1b4) > > [ 4.280000] [] (kernel_init+0x16c/0x1b4) from [] > > (kernel_thread_exit+0x0/0x8) > > [ 4.280000] ---[ end trace 4d36b722759fdc4f ]--- > > [ 4.950000] UBIFS DBG (pid 58): ubifs_bg_thread: background thread > > "ubifs_bgt0_0" started, PID 58 > > > > -Subodh > > > > ______________________________________________________ > > Linux MTD discussion mailing list > > http://lists.infradead.org/mailman/listinfo/linux-mtd/ > > -- > Best Regards, > Artem Bityutskiy