[haiku-bugs] Re: [Haiku] #7092: boot fail when certain vesa resolution are selected

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 11 Jan 2011 16:59:12 -0000

#7092: boot fail when certain vesa resolution are selected
----------------------------+---------------------------
  Reporter:  euan           |        Owner:  axeld
      Type:  bug            |       Status:  new
  Priority:  normal         |    Milestone:  Unscheduled
 Component:  System/Kernel  |      Version:  R1/alpha2
Resolution:                 |     Keywords:
Blocked By:                 |  Has a Patch:  0
  Platform:  All            |     Blocking:
----------------------------+---------------------------

Comment (by bonefish):

 Replying to [comment:5 euan]:
 > Alas I have no serial to dump the debug and the file is gone. :(

 If the system boots far enough, you can access the syslog in the boot
 loader after reset. Have a look at [http://dev.haiku-
 os.org/wiki/ReportingBugs#Syslog].

 > If I could single step the boot sequence that would be useful.

 Not possible, I'm afraid.

 > Is there a function to force KDL from the main boot programatically?

 You can add `panic()` calls in `_start()` or -- it probably doesn't get
 this far in your case -- in `main2()`. Depending on how early that
 happens, the on-screen KDL might not be working yet. Since your problem
 seem to be graphics related, it probably doesn't work, anyway. The (debug)
 syslog might already show the output -- not that it will be of any help.
 You can just as well track the point of the crash down by adding an
 infinite loop in `_start()` (and called functions) and depending on
 whether it crashes or hang bisect further. A bit tedious, but it works, if
 the point of the crash is not affected by changes in the code.

 > Or maybe a way to say put delays in the startup function so we can
 record the event on camera?  I know we get as far as the splash screen but
 maybe it fails to completely draw the bottom lines and segfaults?

 You could enable the on-screen debut output in the boot loader. It is
 known to have issues and a full boot usually doesn't work when it is
 enabled, but maybe it suffices in your case to track the problem down.

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

Other related posts: