Re: CONFIG_MK6 = lsof hangs unkillable

From: Brandon Low
Date: Thu Feb 16 2006 - 20:43:51 EST


I had this happen earlier today, but at the moment I can't reproduce it.

The offending kernel was 2.6.16-rc3 with CONFIG_MK7=y

I'll post an oops and config if it happens again.

Brandon

On Mon, 01/16/06 at 16:58:55 -0600, Tony Mantler wrote:
>
> 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/
-
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/