|
|
| ||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
| | Thread Tools |
| | #1 |
|
Posts: n/a Hébergeur: | Dear everybody, I seem to have a problem with the hal daemon in Debian Sarge. I think that hald doesn't start or it dies immediately. Let me first explain that I am working on this since my understanding is that any device manager (g-v-m, ivman, pmount, ...) needs hal. In the end, all I want is to have a mountpoint in /media with a recognizable name when I insert a USB stick and a way for a user to mount the volume withoutthe need of an fstab entry. Now back to the main issue. roccia:~# uname -a Linux roccia 2.6.19.2 #2 Thu Feb 8 02:06:19 CET 2007 i686 GNU/Linux Package versions (as I said, this is the latest sarge release): udev 0.056-3 hal 0.4.7-3sarge1 dbus-1 0.23.4-1 First, after boot, there's no "hald" process running on my system. If I run, as root, roccia:~# hald --daemon=yes --drop-privileges --verbose=yes 08:44:11.080 [i] hald.c:394: hal 0.4.7 08:44:11.080 [i] hald.c:396: Will daemonize 08:44:11.080 [i] hald.c:406: Becoming a daemon but hald doesn't seem to be running after that: roccia:~# ps ax |grep hal 6287 pts/1 R+ 0:00 grep hal and hal-device-manager does not work roccia:~# hal-device-manager Traceback (most recent call last): File "/usr/bin/hal-device-manager", line 8, in ? import gtk File "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ? from _gtk import * If I do instead: roccia:~# hald --daemon=no --drop-privileges --verbose=yes 08:48:20.505 [i] hald.c:394: hal 0.4.7 08:48:20.505 [i] hald.c:398: Will not daemonize 08:48:20.507 [i] linux/osspec.c:219: Mountpoint for sysfs is /sys Segmentation fault Any comments? Domande: 1) where does hald writes its logs? I read about an option --use-syslog ,but it is not recognized on my system 2) is this a known dbus/udev/hal issue in Debian sarge? 3) I am willing to upgrade to testing, but only if I am sure that this would solve the issue... Thanks a lot. Matteo _______________________________________________ pluto- mailing list pluto-@lists.pluto.it Per gestire la propria iscrizione alla lista: http://lists.pluto.it/listinfo/pluto- ------------------------------------------------------ Con Prometeo prestiti senza spese fino a 31.000 Euro! http://click.libero.it/webnation06marz07 |
|
| | #2 |
|
Posts: n/a Hébergeur: | On Tue, 2007-03-06 at 11:33 +0100, Matteo Semplice wrote: > Dear everybody, > I seem to have a problem with the hal daemon in Debian Sarge. I think that hald doesn't start or it dies immediately. [...] > If I do instead: > roccia:~# hald --daemon=no --drop-privileges --verbose=yes > 08:48:20.505 [i] hald.c:394: hal 0.4.7 > 08:48:20.505 [i] hald.c:398: Will not daemonize > 08:48:20.507 [i] linux/osspec.c:219: Mountpoint for sysfs is /sys > Segmentation fault > > Any comments? I found a bug report describing the behaviour above, but it happened with hal version 0.5.8.1-1 so I'm not sure it's relevant. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393670 Usually, the best way to track this down is make a debug package, capture a backtrace with gdb and file a bug report. See http://wiki.debian.org/?HowToGetABacktrace In your case, I would absolutely upgrade to etch first, I would be surprised if this problem wasn't fixed. > Domande: > 1) where does hald writes its logs? I read about an option --use-syslog ,but it is not recognized on my system AFAIK, syslog, see /var/log/syslog > 2) is this a known dbus/udev/hal issue in Debian sarge? I don't think so. > 3) I am willing to upgrade to testing, but only if I am sure that this would solve the issue... I give no guarantees, but if it isn't, and you can provide a backtrace and other information, I'm sure it will be fixed quickly. HTH, -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 760BDD22 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBF7VyaJ4SEkXYL3SIRAqJtAJ0eWgZ6Jya+QQNVhqTOqy 2IoMSf9gCgtcso WizctK5RcVSU1MZoknimLYU= =QBgg -----END PGP SIGNATURE----- |
|
![]() |
| Thread Tools | |
| |