[haiku-bugs] Re: [Haiku] #11280: Intermittent no USB on boot

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 25 Oct 2015 08:05:38 -0000

#11280: Intermittent no USB on boot
---------------------------+---------------------------------
Reporter: vidrep | Owner: mmlr
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Drivers/USB | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking: 11234, 11432, 12355
Has a Patch: 0 | Platform: All
---------------------------+---------------------------------

Comment (by pulkomandy):

WRT to how the input_server is found at boot: the launch daemon takes care
of it, and does a search by application signature. This means the first
app matching the signature, anywhere on your boot disk, will be used, in
your case it was a copy in the home directory, apparently.

Now that you know how to build haiku, an useful thing to try is using git
bisect to further narrow down which commit created the problem.

From your Haiku source directory, run:
{{{
git bisect start
git bisect good hrev47380
git bisect bad hrev47458
}}}

This will checkout a version of Haiku in between these two. You can then
build it (run jam with the usual options) and boot the generated build. If
you hit the problem, come back to your source dir and tell git:

{{{
git bisect bad
}}}

If the tested revision works, enter:

{{{
git bisect good
}}}

This will allow to pinpoint the exact commit that broke things. Git will
even tell you at each step how many builds you still have to try.

---

The debug builds of libbe.so and src/kits/storage are a good idea too (as
suggested above). It is important to use the second command (to get a
debug report for the path monitor thread specifically). And yes, since
doing so stops the input server, it's expected that it appears to freeze
the system (keyboard and mouse will stop working). If you have ssh access
to the machine from another computer, you could use that to restart the
input_server at that point. After a reboot (you can shut down the machine
cleanly by pressing the power button), you will still get the debug report
on the desktop, even if the system appears frozen.
----

----

--
Ticket URL: <https://dev.haiku-os.org/ticket/11280#comment:75>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: