Bug 299569

Summary: No automount with hal-0.5.9_git20070807-7.4 external USB stick nor HD
Product: [openSUSE] openSUSE 10.3 Reporter: Lee Matheson <lee_matheson>
Component: HotplugAssignee: Danny Al-Gaaf <dalgaaf>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: francis
Version: Beta 1   
Target Milestone: ---   
Hardware: 32bit   
OS: openSUSE 10.3   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lee Matheson 2007-08-11 12:40:56 UTC
Automount doesn't work with hal-0.5.9_git20070807-7.4.

Fat32 USB stick automounted OK (with rw) under earlier version hal-0.58_git200704021230_sl@i586.

Specifics:

After updating to hal-0.5.9_git20070807-7.4, my USB Fat32 memory stick was no longer auto mounted. Error message: "hal-storage-mount-removeable no <--action result".  With new hal, I can (via konsole) manually mount it as ro, but not as rw.

Similar hal-0.5.9_git20070807-7.4 behaviour with external 500GByte Maxtor NTFS formatted drive. (I get error "hal-storage-mount-removeable no <--action result").   If I load ntfs-3g driver, I can via konsole manually mount (with rw).

History with openSUSE with these two hardware devices:

* USB memorystick (VFAT) auto mounts OK under SuSE-10.0, 10.1 and 10.2 with rw.  
* Maxtor 500 GB External NTFS drive automounts OK under SuSE-10.1 and 10.2 with ro (using NTFS driver. I haven't tried 10.0 with it).  
* Maxtor 500 GB External NTFS manually mounts OK under 10.2 with NTFS-3G driver.

With hal, as a minimum:
- external FAT32 should automount as rw
- external NTFS should automount as ro and preferably as rw.

My irc / suse-forum handle:  oldcpu
Comment 1 Lee Matheson 2007-08-11 12:49:22 UTC
Forgot to mention above in original bug report - My Desktop is KDE-3.5.7-5.
Comment 2 Hugo Costelha 2007-08-11 13:21:01 UTC
I am having the same problem with the new HAL installed on top of 10.3 Beta.  When I plugg the USB flash disk, the following appears in ".xsession-errors".The volume uses FAT32.

kpowersave: Received from org.freedesktop.Hal.Manager
kpowersave: WARNING: Property: info.capabilities for: /org/freedesktop/Hal/devices/usb_device_126f_1325_FF04071600012 doesn't exist.
kpowersave: org.freedesktop.Hal.Manager: uid: /org/freedesktop/Hal/devices/usb_device_126f_1325_FF04071600012 signal: DeviceAdded
kpowersave: Received from org.freedesktop.Hal.Manager
kpowersave: WARNING: Property: info.capabilities for: /org/freedesktop/Hal/devices/usb_device_126f_1325_FF04071600012_if0 doesn't exist.
kpowersave: org.freedesktop.Hal.Manager: uid: /org/freedesktop/Hal/devices/usb_device_126f_1325_FF04071600012_if0 signal: DeviceAdded
kpowersave: Received from org.freedesktop.Hal.Manager
kpowersave: Device with capability scsi_host unhandled
kpowersave: org.freedesktop.Hal.Manager: uid: /org/freedesktop/Hal/devices/usb_device_126f_1325_FF04071600012_if0_scsi_host signal: DeviceAdded
kpowersave: Received from org.freedesktop.Hal.Manager
kpowersave: WARNING: Property: info.capabilities for: /org/freedesktop/Hal/devices/usb_device_126f_1325_FF04071600012_if0_scsi_host_scsi_device_lun0 doesn't exist.
kpowersave: org.freedesktop.Hal.Manager: uid: /org/freedesktop/Hal/devices/usb_device_126f_1325_FF04071600012_if0_scsi_host_scsi_device_lun0 signal: DeviceAdded
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.50
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.50
kpowersave: Received from org.freedesktop.Hal.Manager
kpowersave: Device with capability scsi_generic unhandled
kpowersave: org.freedesktop.Hal.Manager: uid: /org/freedesktop/Hal/devices/usb_device_126f_1325_FF04071600012_if0_scsi_host_scsi_device_lun0_scsi_generic signal: DeviceAdded
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.51
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.51
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.52
kpowersave: Received from org.freedesktop.Hal.Manager
kpowersave: Device with capability storage, block unhandled
kpowersave: org.freedesktop.Hal.Manager: uid: /org/freedesktop/Hal/devices/storage_serial_USB_2_0_Mobile_Disk_FF04071600012_0_0 signal: DeviceAdded
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.53
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.53
kpowersave: Received from org.freedesktop.Hal.Manager
kpowersave: Device with capability volume, block unhandled
kpowersave: org.freedesktop.Hal.Manager: uid: /org/freedesktop/Hal/devices/volume_uuid_5864_AE26 signal: DeviceAdded
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.54
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.54
kded: ERROR: mount failed for /org/freedesktop/Hal/devices/volume_uuid_5864_AE26: org.freedesktop.Hal.Device.PermissionDeniedByPolicy - hal-storage-mount-removable no <-- (action, result)
kded: ERROR: mounting /org/freedesktop/Hal/devices/volume_uuid_5864_AE26 returned hal-storage-mount-removable no <-- (action, result)
 
-----------------------------------------------------------

When opening the USB flash disk, the following appears in ".xsession-errors".

kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.33
kpowersave: Received from DBUS_INTERFACE_DBUS
kpowersave: filter_function::SIGNAL=NameOwnerChanged VALUE=:1.33
kded: ERROR: mount failed for /org/freedesktop/Hal/devices/volume_uuid_5864_AE26: org.freedesktop.Hal.Device.PermissionDeniedByPolicy - hal-storage-mount-removable no <-- (action, result)
kded: ERROR: mounting /org/freedesktop/Hal/devices/volume_uuid_5864_AE26 returned hal-storage-mount-removable no <-- (action, result)

-----------------------------------------------------------

I also tryed with another flash disk and an IDE disk with USB cable (with reiserfs), and the same happened all the time.

My machine is an AMD x86-64 with an A8N-E motherboard and NVIDIA chipset.
Comment 3 Hugo Costelha 2007-08-11 13:50:20 UTC
Just want to add, that in my case, the hal that comes with Beta1 works fine with the USB disks.
Comment 4 Lee Matheson 2007-08-11 14:51:30 UTC
Further comments:

Downgrading Console Kit from 0.2.1-42 to 0.2.1-36 (different builds), followed by restarting hal (  /etc/init.d/haldaemon restart ) made no difference.  Same error.

Reference the automounting, the automount of USB external drives doesn't appear to work well with hal-0.5.9, but it does function with 0.5.8.  With hal-0.5.9, I also tested USB connection / download of still images over USB from Canon Ixus800 digital camera (with hal-0.5.9 installed) and it works well. Files can be copied from camera to hard drive ... digikam works,... etc ....
Comment 5 Lee Matheson 2007-08-11 14:54:04 UTC
Further note - I have PolicyKit-0.4-9.2 installed when encountering this external drive mounting problem.
Comment 6 Lee Matheson 2007-08-11 17:01:08 UTC
Note - I made a mistake in filing this bug report. Problem documented above was discovered in Beta1 and not Alpha 6.  Please, can an admin change that entry to read Beta1.
Comment 7 Danny Al-Gaaf 2007-08-11 18:28:01 UTC

*** This bug has been marked as a duplicate of bug 298943 ***