[haiku-bugs] [Haiku] #11314: PANIC: acquire_spinlock: attempt to acquire lock twice on non-SMP system

  • From: "nicsma" <trac@xxxxxxxxxxxx>
  • Date: Sat, 04 Oct 2014 14:12:33 -0000

#11314: PANIC: acquire_spinlock: attempt to acquire lock twice on non-SMP system
-----------------------+------------------------------
 Reporter:  nicsma     |        Owner:  nobody
     Type:  bug        |       Status:  new
 Priority:  normal     |    Milestone:  R1
Component:  - General  |      Version:  R1/Development
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 I'm trying to get the GHC Haskell compiler running on Haiku. At some point
 in the configure script, it runs a C program which reliably gives the
 kernel panic above on the hrev47958 nightly (x86, GCC 2/4 hybrid). I've
 attached the C program (panic.c) but I haven't tried to minimise it
 because I don't really know what it does.

 I'm running on QEMU, single-processor. If I enable SMP I get a different
 panic most of the time:

 {{{
 PANIC: acquire_spinlock(): Failed to acquire spinlock 0xce99c850 for a
 long time!
 }}}

 I've also attached the serial debug output from the UP and SMP runs.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11314>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: