[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sid + gnome + automount



hi all of you!

since yesterday i'm facing problems with automounting. i use gnome and
my debian version is sid.

when i plug my usb hd nothing happens on my desktop. :-(

i tried to restart dbus. i tried to purge and then reinstall hal. i
even tried to log on as root to see if it could be a matter of
permission policies. nothing to do.

in /media i have .hal-mtab and .hal-mtab-lock.

when i restart dbus, it doesn't complain.

##################################################

in syslog i can see

May 16 09:59:53 localhost kernel: SCSI device sdb: 127840 512-byte hdwr sectors (65 MB)
May 16 09:59:53 localhost kernel: sdb: Write Protect is off
May 16 09:59:53 localhost kernel: sdb: Mode Sense: 45 00 00 08
May 16 09:59:53 localhost kernel: sdb: assuming drive cache: write through
May 16 09:59:53 localhost kernel:  sdb: sdb1
May 16 09:59:53 localhost kernel: sd 18:0:0:0: Attached scsi removable disk sdb

##################################################

while if i run "hald --daemon=no" i get

$ sudo hald --daemon=no
Runner started - allowed paths are '/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin'
Run started hald-probe-smbios (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-smbios', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-smbios exited
Run started hal-storage-cleanup-all-mountpoints (10000) (0) 
!  full path is '/usr/lib/hal/hal-storage-cleanup-all-mountpoints', program_dir is '/usr/lib/hal'
12114: XYA attempting to get lock on /media/.hal-mtab-lock
12114: XYA got lock on /media/.hal-mtab-lock
in hal-storage-cleanup-all-mountpoints
org.freedesktop.Hal.Device.Volume.UnknownFailure
Cannot open /media/.hal-mtab
/usr/lib/hal/hal-storage-cleanup-all-mountpoints exited
Run started hald-addon-keyboard (0) (0) 
!  full path is '/usr/lib/hal/hald-addon-keyboard', program_dir is '/usr/lib/hal'
Run started hald-addon-keyboard (0) (0) 
!  full path is '/usr/lib/hal/hald-addon-keyboard', program_dir is '/usr/lib/hal'
Run started hald-addon-keyboard (0) (0) 
!  full path is '/usr/lib/hal/hald-addon-keyboard', program_dir is '/usr/lib/hal'
Run started hald-probe-serial (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-serial', program_dir is '/usr/lib/hal'
Run started hald-addon-cpufreq (0) (0) 
!  full path is '/usr/lib/hal/hald-addon-cpufreq', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-serial exited
10:13:12.474 [W] addon-cpufreq.c:1363: CPUFreq not supported. Exiting...
/usr/lib/hal/hald-addon-cpufreq exited
Run started hald-addon-acpi (0) (0) 
!  full path is '/usr/lib/hal/hald-addon-acpi', program_dir is '/usr/lib/hal'
Run started hald-probe-serial (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-serial', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-serial exited
Run started hald-probe-serial (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-serial', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-serial exited
Run started hald-probe-serial (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-serial', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-serial exited
Run started hald-probe-hiddev (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-hiddev', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-hiddev exited
Run started hald-probe-storage (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-storage', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-storage exited
Run started hald-addon-storage (0) (0) 
!  full path is '/usr/lib/hal/hald-addon-storage', program_dir is '/usr/lib/hal'
Run started hald-probe-storage (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-storage', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-storage exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited

##################################################

btw, i deleted /media/.hal-mtab since i was sure it was in the hald
package. i was wrong, so hald complains for it. i tried to create a
.hal-media on my own:

/dev/sdb1 1000 0 vfat uid=1000

and i chmod-ed it --reference to .hal-media-lock

anyway, it doesn't work. i just get a bit different output:

# hald --daemon=no
Runner started - allowed paths are '/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin'
Run started hald-probe-smbios (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-smbios', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-smbios exited
Run started hal-storage-cleanup-all-mountpoints (10000) (0) 
!  full path is '/usr/lib/hal/hal-storage-cleanup-all-mountpoints', program_dir is '/usr/lib/hal'
13148: XYA attempting to get lock on /media/.hal-mtab-lock
13148: XYA got lock on /media/.hal-mtab-lock
in hal-storage-cleanup-all-mountpoints
hal_mtab = '/dev/sdb1 1000 0 vfat uid=1000
'
 line = '/dev/sdb1 1000 0 vfat uid=1000'
 line = ''
13148: XYA released lock on /media/.hal-mtab-lock
/usr/lib/hal/hal-storage-cleanup-all-mountpoints exited
Run started hald-addon-keyboard (0) (0) 
!  full path is '/usr/lib/hal/hald-addon-keyboard', program_dir is '/usr/lib/hal'
Run started hald-addon-keyboard (0) (0) 
!  full path is '/usr/lib/hal/hald-addon-keyboard', program_dir is '/usr/lib/hal'
Run started hald-addon-keyboard (0) (0) 
!  full path is '/usr/lib/hal/hald-addon-keyboard', program_dir is '/usr/lib/hal'

##################################################

many thanks and best regards,

-- 
fabio natali



Reply to: