Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[semi-RISOLTO] hal non parte più
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Wed Jun 20, 2007 4:30 pm    Post subject: [semi-RISOLTO] hal non parte più Reply with quote

Ciao a tutti,
oggi ho aggiornato hal, e questo non parte più.

L'errore è il seguente:

Code:

AppleOne ~ 00.00 # hald --version
HAL package version: 0.5.9

AppleOne ~ 00.00 # hald --daemon=no --verbose=yes
18:24:05.474 [I] hald.c:533: hal 0.5.9
18:24:05.474 [I] hald.c:598: Will not daemonize
18:24:05.475 [I] hald_dbus.c:4807: local server is listening at unix:abstract=/var/run/hald/dbus-tw1ImVYebF,guid=f838fb2e58005f2e49267500467954a5
18:24:05.476 [I] hald_runner.c:299: Runner has pid 1961
18:24:05.476 [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
Runner started - allowed paths are '/usr/libexec:/usr/lib/hal/scripts:/usr/bin'
18:24:05.476 [E] hald_dbus.c:4462: Cannot get caller info for org.freedesktop.DBus
18:24:05.477 [I] hald_runner.c:180: runner connection is 0x8093920
18:24:05.477 [I] mmap_cache.c:251: cache mtime is 1182349365
*** [DIE] osspec.c:watch_fdi_files():349 : Unable to initialize inotify: Function not implemented


Ovviamente in genere non lo lancio a mano, ma questo è l'unico modo in cui sono riuscito a vedere perchè non partiva (anche se non ci ho capito niente...)

Mi sono riletto il log di emerge (circa l'aggiornamento di hal appunto) e non ci ho trovato niente di anormale.
Ho anche provato a fare un revdep-rebuild, il quale mi dice che non c'è niente da ricompilare.


Scrivendo mi è venuto in mente che forse il problema è il seguente:

Code:

AppleOne ~ 00.00 # grep INOTIFY /usr/src/linux/.config
# CONFIG_INOTIFY is not set


nel senso che effettivamente il messaggio di errore è proprio circa inotify...
Però la configurazione del mio kernel non è cambiata, e fino a prima dell'aggiornamento hal andava tranquillamente...

Boh, mo provo a ricompilare il kernel con inotify attivo e vi fo sapere

[edit]
Dimenticavo,
ovviamente dopo l'aggiornamento di hal ho anche aggiornato i file di configurazione (con etc-update)

[edit 2]
Ho ricompilato il kernel con inotify, adesso hal funziona...
A questo punto le domanda sono:
- perchè questa versione di hal necessita di inotify e la precedente no?
- perchè (come molti altri ebuild fanno) l'ebuild di hal non controlla che inotify sia attivo nel kernel?


Tnz
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Fri Jun 22, 2007 2:53 pm    Post subject: Re: [semi-RISOLTO] hal non parte più Reply with quote

stefanonafets wrote:
- perchè questa versione di hal necessita di inotify e la precedente no?


http://en.wikipedia.org/wiki/Inotify

riassumendo brevemente:
Code:
 its functionality permits reindexing of changed files without scanning the filesystem for changes every few minutes, which would entail a lengthy delay and be very CPU intensive.


stefanonafets wrote:
- perchè (come molti altri ebuild fanno) l'ebuild di hal non controlla che inotify sia attivo nel kernel?


a me l'ha fatto il check, forse in portage c'era una versione dell'ebuild senza quel check.
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
Mamon
n00b
n00b


Joined: 08 May 2006
Posts: 38
Location: Oristano

PostPosted: Fri Jun 22, 2007 5:33 pm    Post subject: Reply with quote

Anche io ho lo stesso problema, tuttavia inotify è già abilitato nel kernel:

Code:
grep INOTIFY /usr/src/linux/.config
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y


e hal non parte lo stesso.

Qualcuno ha suggerimenti?
Back to top
View user's profile Send private message
^Stefano^
Guru
Guru


Joined: 20 Nov 2005
Posts: 394
Location: Ferrara

PostPosted: Sat Jun 23, 2007 12:14 pm    Post subject: Reply with quote

Fallo partire a mano come ha fatto stefanonafets e postaci l'errore. A me comunque l'aggiornamento non ha dato alcun problema :wink:
_________________
8-09 V-Day con una raccolta firme. Vi aspettiamo
Raccolta Firme
Progetto tRicicloPC con Linux
Back to top
View user's profile Send private message
Mamon
n00b
n00b


Joined: 08 May 2006
Posts: 38
Location: Oristano

PostPosted: Mon Jun 25, 2007 1:12 pm    Post subject: Reply with quote

L'errore è proprio quello di stefanonafets
Back to top
View user's profile Send private message
^Stefano^
Guru
Guru


Joined: 20 Nov 2005
Posts: 394
Location: Ferrara

PostPosted: Tue Jun 26, 2007 7:19 am    Post subject: Reply with quote

prova ad andare a questo link https://bugs.gentoo.org/show_bug.cgi?id=178526
8° e 9° post dicono che il problema è derivato dall'aggiornamento di linux-heders senza la ricompilazione di glibc.
_________________
8-09 V-Day con una raccolta firme. Vi aspettiamo
Raccolta Firme
Progetto tRicicloPC con Linux
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Wed Jul 04, 2007 12:08 pm    Post subject: Reply with quote

Leggendo lo stesso bug , precisamente commento 18, il problema veniva risolto installando hal-info, infatti avevo lo stesso problema e ho risolto così.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum