public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alessandro del Gallo <delgallo@pic.es>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] hald won't start
Date: Mon, 06 Aug 2007 11:48:58 +0200	[thread overview]
Message-ID: <46B6EE8A.7010508@pic.es> (raw)
In-Reply-To: <200708042101.37247.michaelkintzios@gmail.com>

Hi,

Last 2 lines of your log:
  Unable to initialize inotify:
 > > Function not implemented

inotify comes from kernel, in my config:

  elwood linux # zcat /proc/config.gz |grep -i notify
  CONFIG_INOTIFY=y
  CONFIG_INOTIFY_USER=y
  CONFIG_DNOTIFY=y

in menuconfig:

  ┌─────── File systems

[...]

      [*] Inotify file change notification support

      [*]   Inotify support for userspace

bye bye


Mick ha scritto:
> On Saturday 04 August 2007 11:21, Mick wrote:
>> On Tuesday 17 July 2007 10:52, Alessandro del Gallo wrote:
>>> Mick ha scritto:
>>>> On Monday 16 July 2007 10:26, Alessandro del Gallo wrote:
>>>>> Mick ha scritto:
>>>>>> Hi All,
>>>>>>
>>>>>> I noticed on a box of mine that hald won't start:
>>>>>> ==========================================
>>>>>> # /etc/init.d/hald restart
>>>>>>  * Starting Hardware Abstraction Layer daemon ...          [ !! ]
>>>>>> ==========================================
>>>>>>
>>>>>> Confusingly, the logs don't show anything.  How do I troubleshoot
>>>>>> this?
>>>>> I had the same problem:
>>>>>
>>>>> hald was sucking 99% cpu, removables devices didn't work
>>>>> and launching hald from terminal with the option "hald --daemon=no
>>>>> --verbose=yes" i discovered it was on a infinite loop echo-ing
>>>>> something about rules so I got in /etc/udev/rules.d
>>>>> and found (by probing one by one) 99-libgphoto2.rules that
>>>>> was HALS's murder.
>>>> Thank you Alessandro, what do you mean by probing - how did you probe
>>>> them?
>>> moving it to /tmp and restart hald,
>>> becouse the error I got when launching
>>> # hald --daemon=no --verbose=yes
>>> is "Unhandled Rule (0)"
>>> so deleting the rules (delete de rule, start hald, if it doesn't
>>> works put the rule back , and move another) from etc/udev/rules.d
>>> I debugged the problem, the bad rule was owned by gphoto2
>> I've had a chance to get back to this machine and this is what it is
>> showing: ==========================================
>> # hald --daemon=no --verbose=yes
>> 11:16:08.930 [I] hald.c:533: hal 0.5.9
>> 11:16:08.931 [I] hald.c:598: Will not daemonize
>> 11:16:08.945 [I] hald_dbus.c:4807: local server is listening at
>> unix:abstract=/var/run/hald/dbus-1LzyssbMzl,guid=faadd829b7aaff57dce0510046
>> b451e8 11:16:09.174 [I] hald_runner.c:299: Runner has pid 31241
>> 11:16:09.180 [W] ci-tracker.c:200: Could not get uid for connection:
>> org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of
>> name 'org.freedesktop.DBus': no such name
>> 11:16:09.181 [E] hald_dbus.c:4462: Cannot get caller info for
>> org.freedesktop.DBus
>> Runner started - allowed paths
>> are '/usr/libexec:/usr/lib/hal/scripts:/usr/bin'
>> 11:16:09.196 [I] hald_runner.c:180: runner connection is 0x8096988
>> 11:16:09.330 [I] mmap_cache.c:251: cache mtime is 1184442336
>> *** [DIE] osspec.c:watch_fdi_files():349 : Unable to initialize inotify:
>> Function not implemented
>> ==========================================
>>
>> What do you make of this?
> 
> I removed /usr/share/hal and tried to remerge it.  It complained that I "MUST" 
> compile pciutils without the zlib flag.  Not sure why pciutils has the zlib 
> flag as a default, but if it is causing a problem with hal shouldn't it be 
> removed?
> 
> Anyway, after masking zlib for pciutils and remerging both packages it now 
> seems to be working again . . .
> 
> Thanks for your suggestions.

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-08-06  9:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-14 19:11 [gentoo-user] hald won't start Mick
2007-07-14 19:28 ` [gentoo-user] " Mick
2007-07-14 20:08   ` Dale
2007-07-14 20:22     ` Mick
2007-07-16  9:26 ` [gentoo-user] " Alessandro del Gallo
2007-07-16 17:03   ` Mick
2007-07-17  9:52     ` Alessandro del Gallo
2007-07-18 20:27       ` Mick
2007-08-04 10:21       ` Mick
2007-08-04 20:01         ` Mick
2007-08-06  9:48           ` Alessandro del Gallo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-27  8:51 Alexander Skwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46B6EE8A.7010508@pic.es \
    --to=delgallo@pic.es \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox