Re: 3.5.1: WARNING: at include/linux/iocontext.h:140 copy_process.part.56+0x1041/0x1190()

From: Jeff Moyer
Date: Thu Aug 16 2012 - 10:05:40 EST


Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx> writes:

> Hi,
>
> Kernel: 3.5.1 x86_64
> Just FYI, this may have been due to an NFS issue (remote host turned
> off during dump possibly) but reporting just incase:
>
> [41793.725267] ------------[ cut here ]------------
> [41793.725273] WARNING: at include/linux/iocontext.h:140
> copy_process.part.56+0x1041/0x1190()
> [41793.725274] Hardware name: X9SCL/X9SCM
> [41793.725276] Pid: 20378, comm: dump Not tainted 3.5.1 #2
> [41793.725276] Call Trace:
> [41793.725279] [<ffffffff8102f0d5>] warn_slowpath_common+0x75/0xb0
> [41793.725280] [<ffffffff8102f1e5>] warn_slowpath_null+0x15/0x20
> [41793.725282] [<ffffffff8102e371>] copy_process.part.56+0x1041/0x1190
> [41793.725283] [<ffffffff8102e62b>] do_fork+0x13b/0x2f0
> [41793.725285] [<ffffffff8103cc02>] ? recalc_sigpending+0x12/0x30
> [41793.725287] [<ffffffff8103f4aa>] ? __set_current_blocked+0x3a/0x60
> [41793.725290] [<ffffffff8100a1e3>] sys_clone+0x23/0x30
> [41793.725293] [<ffffffff815c0a33>] stub_clone+0x13/0x20
> [41793.725294] [<ffffffff815c07e6>] ? system_call_fastpath+0x1a/0x1f
> [41793.725295] ---[ end trace 6afd1df8f82f60e4 ]---

This should be fixed by the following:

commit 4638a83e8615de9c16c39dfed234951d0f468cf1
Author: Olof Johansson <olof@xxxxxxxxx>
Date: Wed Aug 1 12:17:27 2012 +0200

block: uninitialized ioc->nr_tasks triggers WARN_ON
--
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/