Re: [2.4.28-rc1] process stuck in release_task() call

From: Andrey Melnikoff (temnota+news_at_kmv.ru)
Date: 11/11/04

  • Next message: Ingo Molnar: "[patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.25-0"
    Date:	Thu, 11 Nov 2004 16:37:31 +0300
    To: Willy Tarreau <willy@w.ods.org>, linux-kernel@vger.kernel.org
    
    

    Hello Willy Tarreau!
     In article <20041111083312.GE783@alpha.home.local> you wrote:

    > > > >>EIP; c012073d <release_task+1fd/230> <=====
    > (...)
    > > > c0120540 <release_task>:
    > > > c0120540: 55 push %ebp
    > > > ....
    > > > c0120736: 89 d8 mov %ebx,%eax
    > > > c0120738: e8 73 dd 01 00 call c013e4b0 <free_pages> <= here
    > >
    > > is this release_task+1fd? Can you send me the full disassemble of release_task?

    > Yes it is because the next instruction after call will be at c0120738+5 =
    > c012073d = release_task+1fd. (the return address on the stack is the
    > address of the next instruction after the call).

    > > It can't be blocked here, its a "call" instruction.

    > Seems rather strange indeed ! Perhaps this is not the disassembled function
    > of the *running* kernel ?

    This is also strange for me. Stack trace should point into __free_pages_ok()
    address space. Only this function work with lock's.

    > it would be good to disassemble vmlinux and ensure that it is exactly
    > the one currently running.

    This is code from vmlinux-2.4.28-rc1.

    > I too have already lost lots of time searching a wrong bug because I
    > disassembled the wrong kernel, so I'm certain it can happen even when
    > we're very careful :-(

    [skipp]

    PS: Please, keep CC: to me.
    -
    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/


  • Next message: Ingo Molnar: "[patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.25-0"

    Relevant Pages

    • How to apply -mm patch?
      ... I've looked everywhere but can't find any instruction on how to apply ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: __init poisoning for i386, too
      ... > instruction, so filling memory with 0xFF will do what you want. ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [ANNOUNCE] ktimers subsystem
      ... >> respect to random OS worst case behaviour then they should not complain ... >> that OS N is having an additional add instruction in one of the pathes. ... > just suggesting some reasons why apps might reasonably want to know the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Semaphore assembly-code bug
      ... >> obviously gets immediately overwritten by the next popl). ... > Hmm, I didn't check the instruction length but modern CPUs usually work best ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Problem with __alt_instructions array on IA-32
      ... Could you please suggest why these member are NULL? ... Discover Yahoo! ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)