lkml.org 
[lkml]   [2006]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: CONFIG_MK6 = lsof hangs unkillable
    Date

    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@ubb.ca
    -- 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-01-17 00:01    [W:0.022 / U:62.792 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site