Hello Paul, On 09/04/2012 07:48 AM, Paul E. McKenney wrote: > 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 MX28 is ARM device. I removed following from my config and these warnings went away. CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y I have attached the kernel configuration file I used. It doesn't affect specific hw I am working with as device is not required to enter idle mode. I am Cc-ing linux-arm folks, in case someone on arm platform requires CPU idele &, RCU to work. -Subodh >>> [ 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 >