[haiku-bugs] Re: [Haiku] #6601: boot problem

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 14 Sep 2010 18:51:22 -0000

#6601: boot problem
----------------------------+-----------------------------------------------
  Reporter:  czeidler       |         Owner:  bonefish 
      Type:  bug            |        Status:  new      
  Priority:  normal         |     Milestone:  R1       
 Component:  System/Kernel  |       Version:  R1/alpha2
Resolution:                 |      Keywords:           
Blocked By:                 |   Has a Patch:  0        
  Platform:  All            |      Blocking:           
----------------------------+-----------------------------------------------

Comment (by bonefish):

 Replying to [ticket:6601 czeidler]:
 > I add return -1 at the top of the _start kernel function. In r37677 my
 pc reboots in r37679 just a black screen. So not even reach _start.

 That pretty much rules out that the referred to change sets are to blame.
 One of the things secondary things that change when adding something to
 the kernel is the size of the kernel. We used to have boot problems from
 time to time due to a limited amount of space the boot loader reserved for
 the kernel. Since we bumped the size only a bit each time, the problem
 recurred with the ever-growing kernel size. But in r35726 I increased the
 reservation dramatically, so that we should be safe for a few years
 (unless something doesn't work as it is suppose to).

 Anyway without debug output this might be a bit hard to debug. Things you
 could try:
  - Check whether you can enter the boot loader menu. If not, narrowing
 down the exact place of the hang or panic via bisecting (platform_exit()
 can be inserted to reset the machine). The (C part of the) control flow
 starts `_start()` in `src/system/boot/platform/bios_ia32/start.cpp`.
 `main()` is in `src/system/boot/loader/main.cpp`.
  - Best start by resetting in `panic()`
 (`.../platform/bios_ia32/debug.cpp`). If it actually is a panic, you might
 want to find a way to bring it on screen to save the time for bisecting.
  - Test whether the nightlies have the same problem. Just to rule out an
 obscure build problem.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6601#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: