Gros Probleme HAL

bonjour

# dpkg --configure hal
Paramétrage de hal (0.5.13-3) ...
Reloading system message bus config...done.
Starting Hardware abstraction layer: haldinvoke-rc.d: initscript hal, action "start" failed.
dpkg : erreur de traitement de hal (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 hal

que faire ?

Marrant, j’ai la même sur kdb…

oui , lourd dingue , c’est depuis une mise a jour je pense … je fouille le net a la recherche d’un soluce , il se pourrais que se soit un probleme de Udev et/ Dbus !!!
mais apres mises a jour de ceux la ca n’avance pas a grand chose faut il aller fouiller dans /etc/rc.d???

oui , lourd dingue , c’est depuis une mise a jour je pense … je fouille le net a la recherche d’un soluce , il se pourrais que se soit un probleme de Udev et/ Dbus !!!
mais apres mises a jour de ceux la ca n’avance pas a grand chose faut il aller fouiller dans /etc/rc.d???[/quote]

Je ne sais pas, je regarderai ce soir en rentrant

okay ^^

je regarderais si tu y est parvenus !!

[quote=“Grhim”]okay ^^

je regarderais si tu y est parvenus !![/quote]

Ca c’est pas gagné … :smt005

/etc/init.d/hal appele /usr/sbin/hald

Donc pour avoir plus d’infos:
killall -9 hald
/usr/sbin/hald --verbose=yes --daemon=no

salut ignatioza

voici :

$ killall -9 hald
hald(5029): Opération non permise
hald: aucun processus tué
$ kdesu killall -9 hald
kdesu: Option <-9> inconnue.
$ /usr/sbin/hald --verbose=yes --daemon=no
18:29:36.509 [I] hald.c:680: hal 0.5.13
18:29:36.518 [I] hald.c:681: using child timeout 250s
18:29:36.518 [I] hald.c:746: Will not daemonize
18:29:36.519 [I] hald_dbus.c:5421: local server is listening at unix:abstract=/var/run/hald/dbus-FIMturmH0R,guid=c376642f9d0742e78fed3fc94a8ecb70
18:29:36.525 [I] ck-tracker.c:391: got seat '/org/freedesktop/ConsoleKit/Seat1'
18:29:36.526 [I] ck-tracker.c:342: Got all sessions on seat '/org/freedesktop/ConsoleKit/Seat1'
18:29:36.526 [I] ck-tracker.c:418: Got seats
18:29:36.526 [I] ck-tracker.c:816: Got seats and sessions
18:29:36.552 [I] hald_runner.c:301: Runner has pid 20179
Runner started - allowed paths are '/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin'
18:29:36.563 [I] hald_runner.c:182: runner connection is 0x80a5ec0
18:29:36.565 [D] util_helper.c:126: drop_privileges: could not set group id

et j’ai re essayer apres :

$ killall -9 hald
hald: aucun processus tué

y vois tu quelquechose ?

En root, tout ca en roooooot.
Vu que c’est de la console, essaye plutot
su -
pour devenir root

okay okay !!! ^^

milles excuses …je pensais qu’avec kdesu ca marcherais aussi ^^ :blush:

donc voila , mais j’ai peur car voici un bout du log qui est super long …

19:36:13.701 [I] hotplug.c:435: checking event /sys/class/tty/ttyz5
19:36:13.701 [I] hotplug.c:145: /sys/class/tty/ttyz5 is a device (subsystem)
19:36:13.701 [I] device.c:4905: add_dev: subsys=tty sysfs_path=/sys/class/tty/ttyz5 dev= parent_dev=0x00000000
19:36:13.701 [D] hotplug.c:453: events queued = 0, events in progress = 1
19:36:13.701 [I] coldplug.c:94: creating HotplugEvent for /sys/class/tty/ttyz6
19:36:13.701 [I] coldplug.c:285: new event (dev node from udev) '/sys/class/tty/ttyz6' ''
19:36:13.701 [I] coldplug.c:319: new event (no dev node) '/sys/class/tty/ttyz6'
19:36:13.701 [I] hotplug.c:435: checking event /sys/class/tty/ttyz6
19:36:13.701 [I] hotplug.c:145: /sys/class/tty/ttyz6 is a device (subsystem)
19:36:13.701 [I] device.c:4905: add_dev: subsys=tty sysfs_path=/sys/class/tty/ttyz6 dev= parent_dev=0x00000000
1ains 'camera'
19:36:13.749 [I] device_info.c:624: Checking sibling '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_11_3_if0' of '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_11_3_usbraw' whether 'info.capabilities' contains 'scanner'
19:36:13.749 [I] device_info.c:624: Checking sibling '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_11_3_if0' of '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_11_3_usbraw' whether 'info.capabilities' contains 'biometic.fingerprint_reader'
19:36:13.749 [I] device_info.c:624: Checking sibling '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_11_3_if0' of '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_11_3_usbraw' whether 'info.capabilities' contains 'smart_card_reader'
19:36:13.749 [I] device.c:4753: Add callouts completed udi=/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_11_3_usbraw
19:36:13.749 [D] device_store.c:516: adding 0x80de6a0 to (linux.sysfs_path,/sys/class/usb_device/usbdev2.1)
19:36:13.749 [I] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_11_3_usbraw

etc…c’est grave ??
?? houlaaaa ^^

Bon, il me manquait une dépendance : console-tools.
Une fois chargée, plus de soucis :slightly_smiling:

Donc rien à voir avec ton problème visiblement

Aie aie aie aie!!

Euh… aucune idée :slightly_smiling:

En fait, probablement que les dernieres lignes sont importantes (avant que ca deconne?)

Et normalement, cette commande ne doit pas te rendre la main (–daemon==no)
C’est le cas? (lance la commande et attend que ca s’arrete. si tu retourne au shell, c’est pas normal)

Après, pour l’interpretation de ce charabia… c’est une autre histoire…

salut

je n’etait pas chez moi hier soir donc voici ce que donne la commande aujourdhui , cela a l’air un peu mieux et beauuucoup moins long qu’hier ^^ :

# /usr/sbin/hald --verbose=yes --daemon=no
13:36:43.837 [I] hald.c:680: hal 0.5.13
13:36:43.837 [I] hald.c:681: using child timeout 250s
13:36:43.837 [I] hald.c:746: Will not daemonize
13:36:43.838 [I] hald_dbus.c:5421: local server is listening at unix:abstract=/var/run/hald/dbus-G9y1h4KgrT,guid=c0de04bcbfcf9f9566d1e6f84a8fd84b
13:36:43.844 [I] ck-tracker.c:391: got seat '/org/freedesktop/ConsoleKit/Seat1'
13:36:43.846 [I] ck-tracker.c:321: got session '/org/freedesktop/ConsoleKit/Session1' for seat '/org/freedesktop/ConsoleKit/Seat1'
13:36:43.849 [I] ck-tracker.c:274: Got active state (ACTIVE) and uid 1000 on session '/org/freedesktop/ConsoleKit/Session1'
13:36:43.849 [I] ck-tracker.c:321: got session '/org/freedesktop/ConsoleKit/Session8' for seat '/org/freedesktop/ConsoleKit/Seat1'
13:36:43.853 [I] ck-tracker.c:274: Got active state (INACTIVE) and uid 0 on session '/org/freedesktop/ConsoleKit/Session8'
13:36:43.853 [I] ck-tracker.c:342: Got all sessions on seat '/org/freedesktop/ConsoleKit/Seat1'
13:36:43.853 [I] ck-tracker.c:418: Got seats
13:36:43.853 [I] ck-tracker.c:816: Got seats and sessions
Runner started - allowed paths are '/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin'
13:36:43.858 [I] hald_runner.c:301: Runner has pid 2048
13:36:43.859 [I] hald_runner.c:182: runner connection is 0x80a75d0
13:36:43.864 [I] mmap_cache.c:278: cache mtime is 1250595460
Error binding udev_event socket: Address already in use

Salut
Tu n’as pas répondu a ma question… ;p
Alors je repete (je ne suis pas sûr que tu avais fait le kill avant)
su -
killall -9 hald

/usr/sbin/hald --verbose=yes --daemon=no

  1. Affiche les dernieres lignes
  2. Le processus te rend-il la main (en gros est ce que tu reviens dans le shell ou c’est en attente?)

C’est bien une debian au fait? Pas une ubuntu au moins? C’est pas contre toi mais je trouve que c’est vraiment pourri, il y a trop de bug introduits par eux (ou non corrigés comme debian l’a fait, je ne sais pas)

salut ^^

voiala ce que cela donne , ca bloque a la fin et ne rend pas la main

12:25:25.142 [I] hald.c:120: Started addon hald-addon-acpi for udi /org/freedesktop/Hal/devices/computer
12:25:25.142 [D] hotplug.c:453: events queued = 0, events in progress = 0
12:25:25.142 [D] hotplug.c:458: Hotplug-queue empty now ... no hotplug events in progress
12:25:25.142 [I] hald_runner.c:110: runner_server_message_handler: destination=(null) obj_path=/org/freedesktop/HalRunner interface=org.freedesktop.HalRunner method=StartedProcessExited
12:25:25.142 [I] hald_runner.c:125: Previously started process with pid 3294 exited
12:25:25.142 [I] hald.c:84: in addon_terminated for udi=/org/freedesktop/Hal/devices/computer
12:25:25.143 [D] hald_dbus.c:3338: udi=/org/freedesktop/Hal/devices/computer
12:25:25.143 [I] hald_dbus.c:3364: AddonIsReady on udi '/org/freedesktop/Hal/devices/computer'
[3295]: 12:25:25.144 [D] addon-acpi.c:52: acpid installed, not using the kernel acpi event interface
[3295]: 12:25:25.158 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
[3295]: 12:25:30.161 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
[3295]: 12:25:35.168 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
[3295]: 12:25:40.171 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
[3295]: 12:25:45.175 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
[3295]: 12:25:50.178 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
[3295]: 12:25:55.181 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
[3295]: 12:26:00.185 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
[3295]: 12:26:05.188 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory

[quote]
C’est bien une debian au fait? Pas une ubuntu au moins?[/quote]

non non pas d’ubuntu chez moi ni de mandriva ^^ nan mais :wink: :wink: ^^

Désolé pour l’insulte :blush: mais je n’etais pas sûr qu’on parle du meme hald.

[quote][3295]: 12:25:25.144 [D] addon-acpi.c:52: acpid installed, not using the kernel acpi event interface
[3295]: 12:25:25.158 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory[/quote]
Il detecte que acpid est installé et donc décide de l’utiliser, plutot que d’aller piocher directement dans /proc/acpi
Mais… il n’arrive pas a se connecter à la socket pour communiquer avec acpid.
Pas sûr que ce soit ton problème mais essayons…

Peux tu lister les fichiers ouverts par acpid:
lsof -n | grep acpid

kacpid 84 root cwd DIR 8,5 4096 2 /
kacpid 84 root rtd DIR 8,5 4096 2 /
kacpid 84 root txt unknown /proc/84/exe
acpid 2476 root cwd DIR 8,5 4096 2 /
acpid 2476 root rtd DIR 8,5 4096 2 /
acpid 2476 root txt REG 8,5 36552 10982 /usr/sbin/acpid
acpid 2476 root mem REG 8,5 1367432 21199 /lib/libc-2.9.so
acpid 2476 root mem REG 8,5 123472 21196 /lib/ld-2.9.so
acpid 2476 root 0u CHR 1,3 0t0 749 /dev/null
acpid 2476 root 1u CHR 1,3 0t0 749 /dev/null
acpid 2476 root 2u CHR 1,3 0t0 749 /dev/null
acpid 2476 root 3r CHR 13,65 0t0 4478 /dev/input/event1
acpid 2476 root 4r CHR 13,68 0t0 4667 /dev/input/event4
acpid 2476 root 5r CHR 13,69 0t0 4687 /dev/input/event5
acpid 2476 root 6r CHR 13,70 0t0 4677 /dev/input/event6
acpid 2476 root 7r CHR 13,71 0t0 4695 /dev/input/event7
acpid 2476 root 8u sock 0,4 0t0 6642 can’t identify protocol
acpid 2476 root 9u unix 0xffff8800379e3080 0t0 6643 /var/run/acpid.socket
acpid 2476 root 10u unix 0xffff88006e156080 0t0 7667 /var/run/acpid.socket
acpid 2476 root 11u unix 0xffff8800378f1080 0t0 6645 socket
acpid 2476 root 12u unix 0xffff8800559d69c0 0t0 21132 /var/run/acpid.socket

salut ^^

# lsof -n | grep acpid
kacpid      84       root  cwd       DIR        3,2      696          2 /
kacpid      84       root  rtd       DIR        3,2      696          2 /
kacpid      84       root  txt   unknown                                /proc/84/exe
acpid     3868       root  cwd       DIR        3,2      696          2 /
acpid     3868       root  rtd       DIR        3,2      696          2 /
acpid     3868       root  txt       REG        3,2    30512     337404 /usr/sbin/acpid
acpid     3868       root  mem       REG        3,2  1425856     408591 /lib/i686/cmov/libc-2.9.so
acpid     3868       root  mem       REG        3,2   117408     408257 /lib/ld-2.9.so
acpid     3868       root    0u      CHR        1,3      0t0        644 /dev/null
acpid     3868       root    1u      CHR        1,3      0t0        644 /dev/null
acpid     3868       root    2u      CHR        1,3      0t0        644 /dev/null
acpid     3868       root    3r      REG        0,3        0 4026531939 /proc/acpi/event
acpid     3868       root    4u     unix 0xdfa93d80      0t0       8650 /var/run/acpid.socket
acpid     3868       root    5u     unix 0xdfbcb840      0t0      16242 /var/run/acpid.socket

Franchement…
Je vois pas :slightly_smiling:

La socket acpi est là mais hal arrive pas a se connecter…

Sinon il faut que tu postes quelquepart l’output COMPLET de la commande…

/usr/sbin/hald --verbose=yes --daemon=no &> log_hal.txt

Tu auras peut-etre plus de chance avec quelqu’un d’autre…

Soyez pas timides les autres :slightly_smiling:

:frowning:

merci beaucoup pour ses debuts de precision , j’espere m’en sortir ^^