Re: CONFIG_MK6 = lsof hangs unkillable

From: Tony Mantler
Date: Mon Jan 16 2006 - 17:57:28 EST



On 15-Jan-06, at 10:43 PM, Tony Mantler wrote:

I'm having trouble running lsof on 2.6.15.1 when the kernel is compiled with CONFIG_MK6. When run as root, lsof will segfault, and when run as a user lsof will hang unkillable.

The same kernel, same machine, but compiled with CONFIG_MK7 runs just lsof just fine.

To follow up on this, it appears that things are getting stuck while reading /proc/*/maps, specifically it hangs in fs/proc/task_mmu.c in m_start() at down_read(&mm->mmap_sem). The same thing happens when trying to readlink /proc/*/exe.

I'm really not sure why this lock is getting stuck. Can anyone reproduce this?

--
Tony 'Nicoya' Mantler -- Master of Code-fu -- nicoya@xxxxxx
-- http://nicoya.feline.pp.se/ -- http://www.ubb.ca/ --

-
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/