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

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Sun, 19 Apr 2015 17:11:51 -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
Has a Patch: 0 | Platform: All
---------------------------+----------------------------

Comment (by ttcoder):

I'm stuck.

1) First wanted to start nice with a 'live' restart of input_server
(instead of rebooting); but when I invoke `/system/servers/input_server
-q` nothing happens whatsoever. Does it work for others ? Here the mouse
movement does not get frozen for even a fraction of a second, and nothing
gets output to syslog, hence I believe input_server is refusing to
restart.

2) Next I gave up on the live restart for now and tried to
replace/override the system's instance, see what would occur after
rebooting, but there is still nothing output to Terminal; here's what I
did:
- black-listed the system instance
- made a copy of the system instance of input_server, hoping it would get
[http://code.metager.de/source/xref/haiku/src/servers/app/Desktop.cpp#2389
picked up by signature] (it does, see below).
- looked in syslog, no sign whatsoever of input_server logging, even
though there is a libbe.so built correctly next to the server (see below)


{{{
~/Desktop> ps
Team Id #Threads Gid
Uid
kernel_team 1 47 0
0
(..)
/boot/system/servers/app_server 399 48 0
0
/boot/system/servers/syslog_daemon 418 2 0
0
/boot/home/Desktop/hrev_input-server-CUSTDEV/_test_sandbox/inpu 425
10 0 0

~/Desktop> cd hrev_input-server-CUSTDEV/_test_sandbox
~/Desktop/hrev_input-server-CUSTDEV/_test_sandbox> ll
total 260
-r-xr-xr-x 1 user root 253202 Apr 16 05:31 input_server
drwxr-xr-x 1 user root 2048 Apr 19 18:54 lib
~/Desktop/hrev_input-server-CUSTDEV/_test_sandbox> strings lib/libbe.so |
grep B
Path
(..)
BPathMonitor: BPathMonitor::StartWatching(%s, %lx)
BPathMonitor: BPathMonitor::StopWatching(%s)
BPathMonitor: Create PathMonitor locker
BPathMonitor: Start PathMonitor looper
Q38BPrivate12BPathMonitor18BWatchingInterface
~/Desktop/hrev_input-server-CUSTDEV/_test_sandbox>

}}}

Any idea ?

Note -- the bug seems to no longer occur now that I upgraded to 49041,
went back lurking in the shadows :-/ But getting help on the above would
still be useful for the day when it comes back.

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

Other related posts: