Re: hang in call_usermodehelper_exec()

From: Rusty Russell
Date: Sun Feb 21 2010 - 19:23:51 EST


On Thu, 18 Feb 2010 06:52:34 am Alexey Dobriyan wrote:
> I was stress-testing netns stuff in presence of removing modules.
>
> Kernel is 2.6.33-rc8-next-20100217+:
>
> At some point setkey(8) and modprobe hanged:
>
> 3541 pts/1 D 0:00 /usr/sbin/setkey -f /root/ipcomp-tunnel.setkey
> 3737 pts/2 D 0:00 modprobe -r des_generic sha1_generic md5 hmac xfrm_user crypto_null af_packet xfrm4_mode_beet ipcomp xfrm_ipcomp xfrm4_tunnel deflate zlib_deflate zlib_inflate esp4 xfrm4_mode_tran

Hmm, looks like sys_delete_module() is stuck trying to re-grab the
module_mutex. But who's holding it? We'd need a full task dump to see.

We do a stop_machine with the module mutex held, but not much else. This
doesn't seem like that. Do you have tracepoints, or dynamic debug enabled?

Puzzled,
Rusty.
--
Away travelling 25Feb-26Mar (6 .de + 1 .pl + 17 .lt + 2 .sg)
--
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/