[Pkg-xfce-devel] Bug#597474: Auto-mounting of USB devices stopped working

Stefan Ott stefan at ott.net
Mon Sep 20 01:14:11 UTC 2010


Package: exo-utils
Version: 0.3.107-1
Severity: important

Hi

I'm not sure which package to report this against - feel free to reassign.

Anyway. It seems that auto-mounting of USB storage devices recently stopped
working. When I connect a USB stick, I get a popup saying "Failed to mount
"/org/freedesktop/Hal/devices/volume_uuid_0041_3E54", "No property
info.interfaces on device with id
/org/freedesktop/Hal/devices/volume_uuid_0041_3E54.". I also get the following
entries in my .xsession-errors:

thunar-volman: No property info.capabilities on device with id
/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12.
thunar-volman: No property info.capabilities on device with id
/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0.
thunar-volman: No property info.capabilities on device with id
/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0_scsi_device_lun0.

(exo-mount:7639): GLib-WARNING **: GError set over the top of a previous GError
or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before
it's set.
The overwriting error message was: Given device
"/org/freedesktop/Hal/devices/volume_uuid_0041_3E54" is not a volume or drive

(I'm currently using latest squeeze with the latest vanilla kernel version -
the same thing happens with the current debian kernel, though).

Trying to mount the device directly with exo-mount fails too:

$ exo-mount -h /org/freedesktop/Hal/devices/volume_uuid_0041_3E54

(exo-mount:18236): GLib-WARNING **: GError set over the top of a previous
GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before
it's set.
The overwriting error message was: Given device
"/org/freedesktop/Hal/devices/volume_uuid_0041_3E54" is not a volume or drive

(also shows the same popup message).

I can, however, mount the device manually (with mount /dev/sdc1).

I attached the 'lshal' entries for the device in question (I also tried with a
different mass storage device, same result).



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages exo-utils depends on:
ii  eject           2.1.5+deb1+cvs20081104-7 ejects CDs and operates CD-Changer
ii  libatk1.0-0     1.30.0-1                 The ATK accessibility toolkit
ii  libc6           2.11.2-5                 Embedded GNU C Library: Shared lib
ii  libdbus-1-3     1.2.24-3                 simple interprocess messaging syst
ii  libexo-0.3-0    0.3.107-1                Library with extensions for Xfce
ii  libglib2.0-0    2.24.1-1                 The GLib library of C routines
ii  libgtk2.0-0     2.20.1-1+b1              The GTK+ graphical user interface 
ii  libhal-storage1 0.5.14-3                 Hardware Abstraction Layer - share
ii  libhal1         0.5.14-3                 Hardware Abstraction Layer - share
ii  libpango1.0-0   1.28.1-1                 Layout and rendering of internatio
ii  libxfce4util4   4.6.2-1                  Utility functions library for Xfce

exo-utils recommends no packages.

exo-utils suggests no packages.

-- no debconf information
-------------- next part --------------
udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12'
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_1d_7'  (string)
  info.product = 'Flash Disk'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12'  (string)
  info.vendor = 'CBM'  (string)
  linux.device_file = '/dev/bus/usb/002/033'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1'  (string)
  usb_device.bus_number = 2  (0x2)  (int)
  usb_device.can_wake_up = false  (bool)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_revision_bcd = 256  (0x100)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.linux.device_number = 33  (0x21)  (int)
  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1'  (string)
  usb_device.max_power = 100  (0x64)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.product = 'Flash Disk'  (string)
  usb_device.product_id = 8338  (0x2092)  (int)
  usb_device.serial = '25092700413D1C12'  (string)
  usb_device.speed = 480.0 (480) (double)
  usb_device.vendor = 'CBM'  (string)
  usb_device.vendor_id = 7741  (0x1e3d)  (int)
  usb_device.version = 2.0 (2) (double)

udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0'
  info.linux.driver = 'usb-storage'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12'  (string)
  info.product = 'USB Mass Storage Interface'  (string)
  info.subsystem = 'usb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0'  (string)
  usb.bus_number = 2  (0x2)  (int)
  usb.can_wake_up = false  (bool)
  usb.configuration_value = 1  (0x1)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.device_revision_bcd = 256  (0x100)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.interface.class = 8  (0x8)  (int)
  usb.interface.number = 0  (0x0)  (int)
  usb.interface.protocol = 80  (0x50)  (int)
  usb.interface.subclass = 6  (0x6)  (int)
  usb.is_self_powered = false  (bool)
  usb.linux.device_number = 33  (0x21)  (int)
  usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0'  (string)
  usb.max_power = 100  (0x64)  (int)
  usb.num_configurations = 1  (0x1)  (int)
  usb.num_interfaces = 1  (0x1)  (int)
  usb.num_ports = 0  (0x0)  (int)
  usb.product = 'USB Mass Storage Interface'  (string)
  usb.product_id = 8338  (0x2092)  (int)
  usb.serial = '25092700413D1C12'  (string)
  usb.speed = 480.0 (480) (double)
  usb.vendor = 'CBM'  (string)
  usb.vendor_id = 7741  (0x1e3d)  (int)
  usb.version = 2.0 (2) (double)

udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0'
  info.capabilities = {'scsi_host'} (string list)
  info.category = 'scsi_host'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0'  (string)
  info.product = 'SCSI Host Adapter'  (string)
  info.subsystem = 'scsi_host'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi_host'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host25'  (string)
  scsi_host.host = 25  (0x19)  (int)

udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0_scsi_device_lun0'
  info.linux.driver = 'sd'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0'  (string)
  info.product = 'SCSI Device'  (string)
  info.subsystem = 'scsi'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0_scsi_device_lun0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host25/target25:0:0/25:0:0:0'  (string)
  scsi.bus = 0  (0x0)  (int)
  scsi.host = 25  (0x19)  (int)
  scsi.lun = 0  (0x0)  (int)
  scsi.model = 'Flash Disk'  (string)
  scsi.target = 0  (0x0)  (int)
  scsi.type = 'disk'  (string)
  scsi.vendor = 'CBM'  (string)

udi = '/org/freedesktop/Hal/devices/storage_serial_CBM_Flash_Disk_25092700413D1C12_0_0'
  block.device = '/dev/sdc'  (string)
  block.is_volume = false  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 32  (0x20)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_CBM_Flash_Disk_25092700413D1C12_0_0'  (string)
  info.capabilities = {'storage', 'block'} (string list)
  info.category = 'storage'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0_scsi_device_lun0'  (string)
  info.product = 'Flash Disk'  (string)
  info.udi = '/org/freedesktop/Hal/devices/storage_serial_CBM_Flash_Disk_25092700413D1C12_0_0'  (string)
  info.vendor = 'CBM'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host25/target25:0:0/25:0:0:0/block/sdc'  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.bus = 'usb'  (string)
  storage.drive_type = 'disk'  (string)
  storage.firmware_version = '5.00'  (string)
  storage.hotpluggable = true  (bool)
  storage.lun = 0  (0x0)  (int)
  storage.media_check_enabled = true  (bool)
  storage.model = 'Flash Disk'  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0'  (string)
  storage.partitioning_scheme = 'mbr'  (string)
  storage.removable = true  (bool)
  storage.removable.media_available = true  (bool)
  storage.removable.media_size = 4072144896  (0xf2b80000)  (uint64)
  storage.removable.support_async_notification = false  (bool)
  storage.requires_eject = false  (bool)
  storage.serial = 'CBM_Flash_Disk_25092700413D1C12-0:0'  (string)
  storage.size = 0  (0x0)  (uint64)
  storage.vendor = 'CBM'  (string)

udi = '/org/freedesktop/Hal/devices/volume_uuid_0041_3E54'
  block.device = '/dev/sdc1'  (string)
  block.is_volume = true  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 33  (0x21)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_CBM_Flash_Disk_25092700413D1C12_0_0'  (string)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  info.parent = '/org/freedesktop/Hal/devices/storage_serial_CBM_Flash_Disk_25092700413D1C12_0_0'  (string)
  info.product = 'DISK_IMG'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_0041_3E54'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host25/target25:0:0/25:0:0:0/block/sdc/sdc1'  (string)
  volume.block_size = 512  (0x200)  (int)
  volume.fstype = 'vfat'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fsversion = 'FAT32'  (string)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = true  (bool)
  volume.label = 'DISK_IMG'  (string)
  volume.linux.is_device_mapper = false  (bool)
  volume.mount_point = ''  (string)
  volume.num_blocks = 7953344  (0x795bc0)  (uint64)
  volume.partition.media_size = 4072144896  (0xf2b80000)  (uint64)
  volume.partition.number = 1  (0x1)  (int)
  volume.partition.start = 32768  (0x8000)  (uint64)
  volume.size = 4072112128  (0xf2b78000)  (uint64)
  volume.uuid = '0041-3E54'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0_scsi_device_lun0_scsi_generic'
  info.capabilities = {'scsi_generic'} (string list)
  info.category = 'scsi_generic'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0_scsi_device_lun0'  (string)
  info.product = 'SCSI Generic Interface'  (string)
  info.subsystem = 'scsi_generic'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0_scsi_device_lun0_scsi_generic'  (string)
  linux.device_file = '/dev/sg3'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi_generic'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host25/target25:0:0/25:0:0:0/scsi_generic/sg3'  (string)
  scsi_generic.device = '/dev/sg3'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host'
  info.capabilities = {'scsi_host'} (string list)
  info.category = 'scsi_host'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0'  (string)
  info.product = 'SCSI Host Adapter'  (string)
  info.subsystem = 'scsi_host'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi_host'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host25/scsi_host/host25'  (string)
  scsi_host.host = 25  (0x19)  (int)



More information about the Pkg-xfce-devel mailing list