[haiku-bugs] Re: [Haiku] #16546: KDL, laptop no longer boots

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 10 Jan 2021 15:45:31 -0000

#16546: KDL, laptop no longer boots
----------------------------+----------------------------
  Reporter:  luroh          |      Owner:  korli
      Type:  bug            |     Status:  assigned
  Priority:  high           |  Milestone:  R1/beta3
 Component:  System/Kernel  |    Version:  R1/Development
Resolution:                 |   Keywords:
Blocked By:                 |   Blocking:
  Platform:  All            |
----------------------------+----------------------------
Comment (by pulkomandy):

 timeStep is either set to BASE_TIME_STEP (500) or BASE_TIME_STEP / 4
 (125), and these are clearly non-negative.

 So, there is probably something resulting in a negative result, but it's
 not obvious how it could happen. The other involved value is a delta of
 two successive current_time call, which could only fail if the time goes
 back.

 Or it could be that the number of CPUs changed and we are accessing the
 array out of range.

 I don't see any reason one of these would happen, so I just logged all the
 values involved in the computation. We can then move our attention to the
 one that's not behaving as expected and investigate further.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16546#comment:9>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: