can't get hald to mount my usb storage device
Edwin Schepers
yez at home.nl
Sat Apr 9 15:29:26 PDT 2005
Hi,
I compiled/installed dbus-0.32 and hal-0.5.0 and am trying to get my usb
camera mounted automatically. I can't get it to work.
Does someone know what's going wrong ?
Thanks,
Edwin
Logging on startup of hald when the USB Storage device is already plugged in :
22:12:32.195 [I] blockdev.c:267: entering; timed_out=0, return_code=0
22:12:32.195 [I] blockdev.c:169: Update mount point
for /org/freedesktop/Hal/devices/volume_part1_size_131047936
(device_file /dev/sda1)
22:12:32.195 [I] blockdev.c:194: Clearing mount point for /dev/sda1
22:12:32.197 [I] device_info.c:1370: *** Matched
file /usr/local/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi
22:12:32.197 [I] device_info.c:1370: *** Matched
file /usr/local/share/hal/fdi/policy/10osvendor/20-storage-add-selinux.fdi
22:12:32.198 [I] device_info.c:1370: *** Matched
file /usr/local/share/hal/fdi/policy/10osvendor/90-fstab-sync.fdi
22:12:32.198 [I] util.c:1041: Add callouts for
udi=/org/freedesktop/Hal/devices/volume_part1_size_131047936
22:12:32.698 [D] hald_dbus.c:1116: base_svc = :1.186
22:12:32.698 [I] hald_dbus.c:1124: uid for caller is 0
22:12:32.698 [D] hald_dbus.c:1183:
udi=/org/freedesktop/Hal/devices/volume_part1_size_131047936,
key=volume.policy.mount_option.fscontext=system_u:object_r:removable_
t
22:12:32.699 [I] util.c:495: child exited for pid 20584
20585: ###################################
20585: fstab-sync entering; (null)
udi=/org/freedesktop/Hal/devices/volume_part1_size_131047936
20585: Acquiring advisory lock on /etc/fstab
20585: Lock acquired
20585: mount_root='/media'
20585: use_managed=1
20585: managed primary='managed'
20585: managed secondary='kudzu'
Usage: fstab-sync [OPTION...]
-a, --add=UDI add an entry to fstab
-r, --remove=UDI remove an entry from fstab
-c, --clean Remove all generated entries from fstab
-v, --verbose Report detailed information about operation progress
Help options:
-?, --help Show this help message
--usage Display brief usage message
22:12:33.206 [I] util.c:495: child exited for pid 20585
22:12:33.206 [I] blockdev.c:133: Add callouts completed
udi=/org/freedesktop/Hal/devices/volume_part1_size_131047936
22:12:33.206 [I] hald.c:90: Added device to GDL;
udi=/org/freedesktop/Hal/devices/volume_part1_size_131047936
22:12:33.207 [I] blockdev.c:532: block_add: sysfs_path=/sys/block/md0
dev=/dev/md0 is_part=0, parent=0x00000000
22:12:33.207 [I] blockdev.c:444: get_luks_uuid: device_file=/dev/md0
22:12:33.207 [I] blockdev.c:574: Ignoring hotplug event - no parent
22:12:33.207 [I] blockdev.c:532: block_add: sysfs_path=/sys/block/fd0
dev=/dev/fd0 is_part=0, parent=0x00000000
22:12:33.207 [I] blockdev.c:605: doing floppy drive hack for floppy 0
22:12:33.208 [I] blockdev.c:357: Probing PC floppy /dev/fd0 to see if it is
present
-----------------------------------------------------------------------------------------------
Logging when hald is already running and the device is plugged in :
22:19:12.948 [I] osspec.c:243: total_read=165
buf='add@/devices/pci0000:00/0000:00:1d.0/usb1/1-2'
22:19:12.955 [I] osspec.c:243: total_read=240
buf='add@/devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0'
22:19:14.138 [I] osspec.c:243: total_read=171
buf='add@/class/scsi_host/host10'
22:19:14.167 [I] osspec.c:154: SEQNUM=878, TIMESTAMP=1113077954, ACTION=add,
SUBSYS=usb, SYSFSPATH=/devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0,
DEVNAME=, IFINDEX=-1
22:19:14.168 [I] physdev.c:911: phys_add: subsys=usb
sysfs_path=/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0,
parent=0x09911060
22:19:14.171 [I] physdev.c:836: Add callouts completed
udi=/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_0_if0_0
22:19:14.171 [I] hald.c:90: Added device to GDL;
udi=/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_0_if0_0
22:19:14.789 [I] osspec.c:154: SEQNUM=879, TIMESTAMP=1113077954, ACTION=add,
SUBSYS=scsi_host, SYSFSPATH=/class/scsi_host/host10, DEVNAME=, IFINDEX=-1
22:19:14.789 [I] classdev.c:890: class_add: subsys=scsi_host
sysfs_path=/sys/class/scsi_host/host10 dev= physdev=0x0991c858
22:19:14.792 [I] classdev.c:750: Add callouts completed
udi=/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_0_if0_0_scsi_host
22:19:14.792 [I] hald.c:90: Added device to GDL;
udi=/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_0_if0_0_scsi_host
22:19:18.167 [I] osspec.c:154: SEQNUM=877, TIMESTAMP=1113077958, ACTION=add,
SUBSYS=usb, SYSFSPATH=/devices/pci0000:00/0000:00:1d.0/usb1/1-2, DEVNAME=,
IFINDEX=-1
22:19:18.167 [I] physdev.c:911: phys_add: subsys=usb
sysfs_path=/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-2, parent=0x09911060
22:19:18.173 [E] util.c:356: Cannot read from
'/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-2/serial'
22:19:18.179 [E] util.c:356: Cannot read from
'/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-2/serial'
22:19:18.182 [I] physdev.c:836: Add callouts completed
udi=/org/freedesktop/Hal/devices/usb_device_7b4_105_noserial
22:19:18.182 [I] hald.c:90: Added device to GDL;
udi=/org/freedesktop/Hal/devices/usb_device_7b4_105_noserial
22:19:19.147 [I] osspec.c:243: total_read=223
buf='add@/devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0/host10/target10:0:0/10:0:0:0'
22:19:19.161 [I] osspec.c:243: total_read=196 buf='add@/block/sda'
22:19:19.190 [I] osspec.c:243: total_read=206 buf='add@/block/sda/sda1'
22:19:19.198 [I] osspec.c:243: total_read=236
buf='add@/class/scsi_device/10:0:0:0'
22:19:19.379 [I] osspec.c:154: SEQNUM=880, TIMESTAMP=1113077959, ACTION=add,
SUBSYS=scsi,
SYSFSPATH=/devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0/host10/target10:0:0/10:0:0:0,
DEVNAME=, IFINDEX=-1
22:19:19.380 [I] physdev.c:911: phys_add: subsys=scsi
sysfs_path=/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0/host10/target10:0:0/10:0:0:0,
parent=0x09954b30
22:19:19.382 [I] physdev.c:836: Add callouts completed
udi=/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_0_if0_0_scsi_host_scsi_device_lun0
22:19:19.383 [I] hald.c:90: Added device to GDL;
udi=/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_0_if0_0_scsi_host_scsi_device_lun0
22:19:19.383 [I] osspec.c:154: SEQNUM=881, TIMESTAMP=1113077959, ACTION=add,
SUBSYS=block, SYSFSPATH=/block/sda, DEVNAME=, IFINDEX=-1
22:19:19.383 [I] blockdev.c:532: block_add: sysfs_path=/sys/block/sda dev=
is_part=0, parent=0x09905c30
22:19:19.383 [I] blockdev.c:746: parent_bus is scsi
22:19:19.386 [I] blockdev.c:384: Probing storage device
22:19:19.389 [I] osspec.c:154: SEQNUM=883, TIMESTAMP=1113077959, ACTION=add,
SUBSYS=scsi_device, SYSFSPATH=/class/scsi_device/10:0:0:0, DEVNAME=,
IFINDEX=-1
22:19:19.389 [I] osspec.c:154: SEQNUM=882, TIMESTAMP=1113077959, ACTION=add,
SUBSYS=block, SYSFSPATH=/block/sda/sda1, DEVNAME=, IFINDEX=-1
21234: 22:19:19.418: probe-storage.c:151: Doing probe-storage for (bus usb)
(drive_type disk) (--only-check-for-fs==0)
21234: 22:19:19.418: probe-storage.c:378: Checking for file system on
21234: 22:19:19.418: probe-storage.c:384: Doing open ("", O_RDONLY)
21234: 22:19:19.418: probe-storage.c:387: Cannot open : No such file or
directory
22:19:19.419 [I] util.c:495: child exited for pid 21234
22:19:19.419 [I] blockdev.c:267: entering; timed_out=0, return_code=0
22:19:19.421 [I] device_info.c:1370: *** Matched
file /usr/local/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi
22:19:19.421 [I] blockdev.c:133: Add callouts completed
udi=/org/freedesktop/Hal/devices/storage_model_C765UZ
22:19:19.421 [I] hald.c:90: Added device to GDL;
udi=/org/freedesktop/Hal/devices/storage_model_C765UZ
22:19:19.424 [I] hald.c:107: Invoked addon hald-addon-storage with pid 21242
for udi /org/freedesktop/Hal/devices/storage_model_C765UZ
22:19:19.424 [I] classdev.c:890: class_add: subsys=scsi_device
sysfs_path=/sys/class/scsi_device/10:0:0:0 dev= physdev=0x09905c30
22:19:19.424 [I] blockdev.c:532: block_add: sysfs_path=/sys/block/sda/sda1
dev= is_part=1, parent=0x0991c748
21242: 22:19:19.925: addon-storage.c:289: open failed for : No such file or
directory
21243: 22:19:19.931: probe-volume.c:181: Doing probe-volume for
22:19:19.932 [I] util.c:495: child exited for pid 21243
22:19:19.932 [I] blockdev.c:267: entering; timed_out=0, return_code=1
21242: 22:19:21.926: addon-storage.c:289: open failed for : No such file or
directory
21242: 22:19:23.928: addon-storage.c:289: open failed for : No such file or
directory
21242: 22:19:25.930: addon-storage.c:289: open failed for : No such file or
directory
21242: 22:19:27.932: addon-storage.c:289: open failed for : No such file or
directory
21242: 22:19:29.933: addon-storage.c:289: open failed for : No such file or
directory
21242: 22:19:31.935: addon-storage.c:289: open failed for : No such file or
directory
21242: 22:19:33.937: addon-storage.c:289: open failed for : No such file or
directory
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list