Fails to auto-mount YP-U2R music player as USB storage

Bug #251114 reported by Alex Bennée
4
Affects Status Importance Assigned to Milestone
hal-info (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: hal-info

Usually this works once and then fails on future insertions. Occasionally the device will mount if the machine is under heavy load which may indicate some sort of race.

Looking at gnome-volume-manager it's fairly clear why it doesn't proceed:

manager.c/2950: Device added: /org/freedesktop/Hal/devices/usb_device_4e8_5050_4002FDCCDE858F1D
manager.c/2950: Device added: /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0
manager.c/2950: Device added: /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0_scsi_host
manager.c/2950: Device added: /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0_scsi_host_scsi_device_lun0
manager.c/2950: Device added: /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0_scsi_host_scsi_device_lun0_scsi_generic
manager.c/2950: Device added: /org/freedesktop/Hal/devices/volume_uuid_6868_78D8
manager.c/2733: Changed: /dev/sdg1
manager.c/2950: Device added: /org/freedesktop/Hal/devices/storage_serial_Samsung_YP_U2_4002FDCCDE858F1D_0_0
manager.c/2687: not a mountable volume: /org/freedesktop/Hal/devices/storage_serial_Samsung_YP_U2_4002FDCCDE858F1D_0_0

Looking at the hal info:

12:43 ajb@pitcairn/x86_64 [~ ] >hal-device /org/freedesktop/Hal/devices/storage_serial_Samsung_YP_U2_4002FDCCDE858F1D_0_0
udi = '/org/freedesktop/Hal/devices/storage_serial_Samsung_YP_U2_4002FDCCDE858F1D_0_0'
  storage.vendor = 'Samsung' (string)
  storage.serial = 'Samsung_YP-U2_4002FDCCDE858F1D-0:0' (string)
  info.vendor = 'Samsung' (string)
  storage.firmware_version = '0100' (string)
  storage.lun = 0 (0x0) (int)
  info.addons = { 'hald-addon-storage' } (string list)
  storage.originating_device = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0' (string)
  linux.hotplug_type = 3 (0x3) (int)
  storage.removable.support_async_notification = false (bool)
  storage.removable.media_available = true (bool)
  info.product = 'YP-U2' (string)
  storage.removable = true (bool)
  info.udi = '/org/freedesktop/Hal/devices/storage_serial_Samsung_YP_U2_4002FDCCDE858F1D_0_0' (string)
  storage.size = 0 (0x0) (uint64)
  storage.hotpluggable = true (bool)
  storage.requires_eject = false (bool)
  info.interfaces = { 'org.freedesktop.Hal.Device.Storage.Removable' } (string list)
  storage.removable.media_size = 2100035584 (0x7d2c0000) (uint64)
  storage.partitioning_scheme = 'mbr' (string)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Samsung_YP_U2_4002FDCCDE858F1D_0_0' (string)
  info.category = 'storage' (string)
  info.capabilities = { 'storage', 'block' } (string list)
  block.device = '/dev/sdg' (string)
  linux.sysfs_path = '/sys/block/sdg' (string)
  block.major = 8 (0x8) (int)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0_scsi_host_scsi_device_lun0' (string)
  block.minor = 96 (0x60) (int)
  block.is_volume = false (bool)
  storage.bus = 'usb' (string)
  storage.no_partitions_hint = false (bool)
  storage.media_check_enabled = true (bool)
  storage.automount_enabled_hint = true (bool)
  storage.drive_type = 'disk' (string)
  storage.model = 'YP-U2' (string)

12:43 ajb@pitcairn/x86_64 [~ ] >hal-device /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0_scsi_host_scsi_device_lun0
udi = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0_scsi_host_scsi_device_lun0'
  scsi.lun = 0 (0x0) (int)
  scsi.model = 'YP-U2' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-2/8-2:1.0/host14/target14:0:0/14:0:0:0' (string)
  info.subsystem = 'scsi' (string)
  scsi.vendor = 'Samsung' (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0_scsi_host' (string)
  info.product = 'SCSI Device' (string)
  scsi.type = 'disk' (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0_0_scsi_host_scsi_device_lun0' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'scsi' (string)
  info.linux.driver = 'sd' (string)
  scsi.host = 14 (0xe) (int)
  scsi.bus = 0 (0x0) (int)
  scsi.target = 0 (0x0) (int)

However I'm not sure where hal comes up with these values or why it works and then fails.

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

This Ubuntu version is EOL. Are you still affected from this bug? Thank you for telling us!

Changed in hal-info (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for hal-info (Ubuntu) because there has been no activity for 60 days.]

Changed in hal-info (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.