kernel panic

Gabe Yoder <[email protected]>
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <[email protected]>
Hey guys,

I finally got around to trying to boot haiku on my machine, and I've hit a 
snag.  When I boot haiku, just after the splash screen occurs, I get a kernel 
panic due to malloc being called with interrupts disabled.  I took a brief 
look through the code, but I don't really know enough about what is going on 
to find the problem.  I did a bt from the kernel debugger and here's the 
interesting part of the output:

<kernel>:panic
<kernel>:memalign
<kernel>:malloc
<kernel>:create_thread_struct
<kernel>:create_thread
<kernel>:spawn_kernel_thread
<acpi>:AcpiOsExecute
<acpi>:AcpiEvGpeDispatch
<acpi>:AcpiEvGpeDetect
<acpi>:AcpiEvSciXruptHandler
<kernel>:int_io_interrupt_handler
<kernel>:i386_handle_trap

Based on that stack information and the little bit I saw in the code, I think 
that while it is detecting the acpi stuff, it runs out of thread structures 
and tries to malloc more.  Any ideas on what needs to be fixed?  Let me know 
if there is any other information that you would like.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.