Re: 2.6.12-mm2

From: Andrew Morton (akpm_at_osdl.org)
Date: 06/27/05

  • Next message: Arjan van de Ven: "Re: [RFC] SPI core -- revisited"
    Date:	Mon, 27 Jun 2005 01:22:26 -0700
    To: Reuben Farrelly <reuben-lkml@reub.net>
    
    

    Reuben Farrelly <reuben-lkml@reub.net> wrote:
    >
    > > Anyway, scary trace. It look like some spinlock is thought to be in the
    > > wrong state in schedule(). Send the .config, please.
    >
    > Now online at http://www.reub.net/kernel/.config

    Me too.

    BUG: spinlock recursion on CPU#0, swapper/0, c120d520
     [<c01039ed>] dump_stack+0x19/0x20
     [<c01d9af2>] spin_bug+0x42/0x54
     [<c01d9bfa>] _raw_spin_lock+0x3e/0x84
     [<c031d0ad>] _spin_lock+0x9/0x10
     [<c031b9e9>] schedule+0x479/0xbc8
     [<c0100cb4>] cpu_idle+0x88/0x8c
     [<c01002c1>] rest_init+0x21/0x28
     [<c0442899>] start_kernel+0x151/0x158
     [<c010020f>] 0xc010020f
    Kernel panic - not syncing: bad locking

    The bug is in the new spinlock debugging code itself. Ingo, can you test
    that .config please?

    Reuben, I guess disabling CONFIG_DEBUG_SPINLOCK will get you going.
    -
    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: Arjan van de Ven: "Re: [RFC] SPI core -- revisited"

    Relevant Pages

    • Re: 2.6.4-rc1-mm1: queue-congestion-dm-implementation patch
      ... it must wait on an internal semaphore ... > problem is that the higher-level caller is holding a spinlock at the same ... reproduce it I can try a few things.. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH]: Clean up of __alloc_pages
      ... Not to mention that a spinlock is an atomic op (though that is getting ... cheaper these days) + 2 memory barriers. ... Send instant messages to your online friends http://au.messenger.yahoo.com ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: serial driver / tty issues
      ... we should drop the spinlock and re-acquire it afterwards. ... and eventually cancel the work queue. ... > won't call the ldisc functions after we've closed them down. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Help tracking down problem --- endless loop in __find_get_block_slow
      ... That it's not stuck on a ... to reproduce using subfs on kernels ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 1/2] pci: Block config access during BIST (resend)
      ... > the lock and thus force exclusive access to the cacheline. ... I reverted the patch to use a spinlock and added a comment. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)