From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [97.65.115.18] (helo=mail.grid-net.com) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T82gH-0006UD-34 for linux-mtd@lists.infradead.org; Sun, 02 Sep 2012 05:25:10 +0000 Message-ID: <5042EC5D.1010207@grid-net.com> Date: Sat, 1 Sep 2012 22:19:25 -0700 From: Subodh Nijsure MIME-Version: 1.0 To: Subject: RCU warning during UBI file system mount Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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... [ 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