WARNING: at include/linux/iocontext.h:140 copy_io+0xb9/0x130()

From: Sasha Levin
Date: Tue May 01 2012 - 08:05:38 EST


Hi all,

I've stumbled on the warning at the bottom with today's linux-next within a KVM guest doing syscall fuzzing using trinity.

I haven't encountered this warning before, and it looks like it's not easy to reproduce it within the guest. Looking at the code in that area I guess it's some sorts of a rare race condition.

The only recent commits in that area are the work done on blk cgroup. It is enabled in the test kernel.

[ 418.101833] WARNING: at include/linux/iocontext.h:140 copy_io+0xb9/0x130()
[ 418.108177] Pid: 29267, comm: trinity Tainted: G W 3.4.0-rc5-next-20120501-sasha #104
[ 418.108180] Call Trace:
[ 418.108186] [<ffffffff810b6c67>] warn_slowpath_common+0x87/0xb0
[ 418.108189] [<ffffffff810b6ca5>] warn_slowpath_null+0x15/0x20
[ 418.108192] [<ffffffff810b44d9>] copy_io+0xb9/0x130
[ 418.108196] [<ffffffff810b5ae4>] copy_process+0x884/0xf90
[ 418.108200] [<ffffffff810f17c5>] ? sched_clock_local+0x25/0x90
[ 418.108203] [<ffffffff810b65b7>] do_fork+0x137/0x240
[ 418.108208] [<ffffffff810e808e>] ? sub_preempt_count+0xae/0xf0
[ 418.108212] [<ffffffff82d92cf9>] ? _raw_spin_unlock_irq+0x59/0x80
[ 418.108216] [<ffffffff82d93be5>] ? sysret_check+0x22/0x5d
[ 418.108219] [<ffffffff81057b13>] sys_clone+0x23/0x30
[ 418.108222] [<ffffffff82d93f43>] stub_clone+0x13/0x20
[ 418.108225] [<ffffffff82d93bb9>] ? system_call_fastpath+0x16/0x1b
[ 418.108228] ---[ end trace 8f6ca168297608bb ]---

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/