[haiku-development] Re: PPC: kernel elf load debugging.

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: <haiku-development@xxxxxxxxxxxxx>
  • Date: Tue, 29 Sep 2009 23:30:02 -0500

On Tue, 29 Sep 2009 22:48:04 -0500, Alexander von Gluck
<kallisti5@xxxxxxxxxxx> wrote:
> So!  I went ahead and enabled elf tracing in the sources of the boot
loader
> to try and figure out why the boot process is locking so early in the
> kernel load on PPC...
> 
> http://tinypic.com/view.php?pic=14wr68n&s=4
> 
> Am I crazy or does that last elf load look incomplete (file_systems/bfs)
> prior to jumping to the kernel?

wait a minute... why the heck is elf_load_image defined twice in
haiku/src/system/boot/loader/elf.cpp ?

http://dev.haiku-os.org/browser/haiku/trunk/src/system/boot/loader/elf.cpp#L206
http://dev.haiku-os.org/browser/haiku/trunk/src/system/boot/loader/elf.cpp#L391

That looks like a fairly large oops to me, as it is code that effects all
platforms I won't be touching it :)

-- 
Thanks!
Alexander von Gluck
http://haikufire.com

Other related posts: