1 |
On Tuesday 17 July 2007 10:52, Alessandro del Gallo wrote: |
2 |
> Mick ha scritto: |
3 |
> > On Monday 16 July 2007 10:26, Alessandro del Gallo wrote: |
4 |
> >> Mick ha scritto: |
5 |
> >>> Hi All, |
6 |
> >>> |
7 |
> >>> I noticed on a box of mine that hald won't start: |
8 |
> >>> ========================================== |
9 |
> >>> # /etc/init.d/hald restart |
10 |
> >>> * Starting Hardware Abstraction Layer daemon ... [ !! ] |
11 |
> >>> ========================================== |
12 |
> >>> |
13 |
> >>> Confusingly, the logs don't show anything. How do I troubleshoot this? |
14 |
> >> |
15 |
> >> I had the same problem: |
16 |
> >> |
17 |
> >> hald was sucking 99% cpu, removables devices didn't work |
18 |
> >> and launching hald from terminal with the option "hald --daemon=no |
19 |
> >> --verbose=yes" i discovered it was on a infinite loop echo-ing |
20 |
> >> something about rules so I got in /etc/udev/rules.d |
21 |
> >> and found (by probing one by one) 99-libgphoto2.rules that |
22 |
> >> was HALS's murder. |
23 |
> > |
24 |
> > Thank you Alessandro, what do you mean by probing - how did you probe |
25 |
> > them? |
26 |
|
27 |
> moving it to /tmp and restart hald, |
28 |
> becouse the error I got when launching |
29 |
> # hald --daemon=no --verbose=yes |
30 |
> is "Unhandled Rule (0)" |
31 |
> so deleting the rules (delete de rule, start hald, if it doesn't |
32 |
> works put the rule back , and move another) from etc/udev/rules.d |
33 |
> I debugged the problem, the bad rule was owned by gphoto2 |
34 |
|
35 |
I've had a chance to get back to this machine and this is what it is showing: |
36 |
========================================== |
37 |
# hald --daemon=no --verbose=yes |
38 |
11:16:08.930 [I] hald.c:533: hal 0.5.9 |
39 |
11:16:08.931 [I] hald.c:598: Will not daemonize |
40 |
11:16:08.945 [I] hald_dbus.c:4807: local server is listening at |
41 |
unix:abstract=/var/run/hald/dbus-1LzyssbMzl,guid=faadd829b7aaff57dce0510046b451e8 |
42 |
11:16:09.174 [I] hald_runner.c:299: Runner has pid 31241 |
43 |
11:16:09.180 [W] ci-tracker.c:200: Could not get uid for connection: |
44 |
org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of |
45 |
name 'org.freedesktop.DBus': no such name |
46 |
11:16:09.181 [E] hald_dbus.c:4462: Cannot get caller info for |
47 |
org.freedesktop.DBus |
48 |
Runner started - allowed paths |
49 |
are '/usr/libexec:/usr/lib/hal/scripts:/usr/bin' |
50 |
11:16:09.196 [I] hald_runner.c:180: runner connection is 0x8096988 |
51 |
11:16:09.330 [I] mmap_cache.c:251: cache mtime is 1184442336 |
52 |
*** [DIE] osspec.c:watch_fdi_files():349 : Unable to initialize inotify: |
53 |
Function not implemented |
54 |
========================================== |
55 |
|
56 |
What do you make of this? |
57 |
-- |
58 |
Regards, |
59 |
Mick |