[Pkg-utopia-maintainers] hal + pmount broken?
David Spreen
netzwurm at debian.org
Tue Feb 14 21:36:27 UTC 2006
hey there,
after a recent dist-upgrade, hal + pmount stopped collaborating with the
gnome-volume-manager. If I insert a usb-storage device, the device gets
mounted in /media/usbdisk (sometimes pmount mounts both devices
to /media/usbdisk) but lshal still claims that the device is unmounted.
This makes gnome-volume-manager believe it has to mount the device but
that fails of course.
Here some stuff for debugging, but I don't really know how to start. I
also don't want to report a bug yet since this system is quite messy. So
if you have an idea, what I could have messed up I would be grateful for
your help. If you need more info, please be patient with me and ask for
it. :)
bye
David
the relevant chunks from lshal:
udi = '/org/freedesktop/Hal/devices/storage_model_6VLAT20'
storage.policy.should_mount = true (bool)
block.storage_device =
'/org/freedesktop/Hal/devices/storage_model_6VLAT20' (string)
info.udi = '/org/freedesktop/Hal/devices/storage_model_6VLAT20'
(string)
storage.requires_eject = true (bool)
storage.hotpluggable = true (bool)
info.capabilities = {'storage', 'block'} (string list)
info.category = 'storage' (string)
info.product = '6VLAT20' (string)
info.vendor = 'HDS72251' (string)
storage.removable = false (bool)
storage.physical_device =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_001400005598_if0'
(string)
storage.lun = 0 (0x0) (int)
storage.drive_type = 'disk' (string)
storage.vendor = 'HDS72251' (string)
storage.model = '6VLAT20' (string)
storage.automount_enabled_hint = true (bool)
storage.media_check_enabled = false (bool)
storage.no_partitions_hint = false (bool)
storage.bus = 'usb' (string)
block.is_volume = false (bool)
block.minor = 0 (0x0) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_001400005598_if0_scsi_host_scsi_device_lun0' (string)
linux.sysfs_path_device = '/sys/block/sda' (string)
linux.sysfs_path = '/sys/block/sda' (string)
udi = '/org/freedesktop/Hal/devices/volume_uuid_4220_AFA8'
volume.unmount.valid_options = {'lazy'} (string list)
volume.mount.valid_other_fs = {'subfs'} (string list)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime',
'nodiratime', 'noexec', 'quiet', 'utf8', 'shortname=', 'codepage=',
'iocharset=', 'umask=',
'uid='} (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths =
{'hal-system-storage-mount', 'hal-system-storage-unmount',
'hal-system-storage-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as',
'as'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount',
'Eject'} (string list)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
volume.ignore = false (bool)
volume.policy.desired_mount_point = 'usbdisk' (string)
volume.policy.mount_filesystem = 'vfat' (string)
volume.policy.should_mount = true (bool)
volume.policy.mount_option.quiet = true (bool)
volume.policy.mount_option.iocharset=utf8 = true (bool)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_4220_AFA8'
(string)
volume.partition.msdos_part_table_type = 12 (0xc) (int)
info.product = 'Volume (vfat)' (string)
volume.size = 39695201280 (0x93e04b400) (uint64)
volume.num_blocks = 77529690 (0x49f025a) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 2 (0x2) (int)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = false (bool)
volume.is_mounted = false (bool)
volume.mount_point = '' (string)
volume.label = '' (string)
volume.uuid = '4220-AFA8' (string)
volume.fsversion = 'FAT32' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'vfat' (string)
storage.model = '' (string)
block.storage_device =
'/org/freedesktop/Hal/devices/storage_model_6VLAT20' (string)
block.is_volume = true (bool)
block.minor = 2 (0x2) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda2' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent = '/org/freedesktop/Hal/devices/storage_model_6VLAT20'
(string)
linux.sysfs_path_device = '/sys/block/sda/sda2' (string)
linux.sysfs_path = '/sys/block/sda/sda2' (string)
udi =
'/org/freedesktop/Hal/devices/volume_uuid_6a521b16_e19e_4548_9065_7cfa0f1afd18'
volume.unmount.valid_options = {'lazy'} (string list)
volume.mount.valid_other_fs = {'subfs'} (string list)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime',
'nodiratime', 'noexec', 'quiet'} (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths =
{'hal-system-storage-mount', 'hal-system-storage-unmount',
'hal-system-storage-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as',
'as'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount',
'Eject'} (string list)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
volume.ignore = false (bool)
volume.policy.desired_mount_point = 'usbdisk' (string)
volume.policy.mount_filesystem = 'ext3' (string)
volume.policy.should_mount = true (bool)
info.udi =
'/org/freedesktop/Hal/devices/volume_uuid_6a521b16_e19e_4548_9065_7cfa0f1afd18' (string)
volume.partition.msdos_part_table_type = 131 (0x83) (int)
info.product = 'Volume (ext3)' (string)
volume.size = 124999547904 (0x1d1a8dbc00) (uint64)
volume.num_blocks = 244139742 (0xe8d46de) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 1 (0x1) (int)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = false (bool)
volume.is_mounted = false (bool)
volume.mount_point = '' (string)
volume.label = '' (string)
volume.uuid = '6a521b16-e19e-4548-9065-7cfa0f1afd18' (string)
volume.fsversion = '1.0' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'ext3' (string)
storage.model = '' (string)
block.storage_device =
'/org/freedesktop/Hal/devices/storage_model_6VLAT20' (string)
block.is_volume = true (bool)
block.minor = 1 (0x1) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda1' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent = '/org/freedesktop/Hal/devices/storage_model_6VLAT20'
(string)
linux.sysfs_path_device = '/sys/block/sda/sda1' (string)
linux.sysfs_path = '/sys/block/sda/sda1' (string)
at the same time:
netzwurm at homeless:~$ mount | grep sda
/dev/sda1 on /media/usbdisk type ext3 (rw,nosuid,nodev)
/dev/sda2 on /media/usbdisk type vfat
(rw,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077)
homeless:/home/netzwurm# umount /dev/sda1
homeless:/home/netzwurm# umount /media/usbdisk
homeless:/home/netzwurm# ls -la /media/usbdisk
total 0
drwxr-xr-x 2 root root 31 2006-02-14 19:33 .
drwxr-xr-x 7 root root 99 2006-02-14 19:38 ..
-rw------- 1 root root 0 2006-02-14 19:33 .created_by_pmount
here some dependencies:
Versions of packages hal depends on:
ii adduser 3.83 Add and remove users and groups
ii dbus 0.60-5 simple interprocess messaging syst
ii libc6 2.3.6-1 GNU C Library: Shared libraries an
ii libdbus-1-2 0.60-5 simple interprocess messaging syst
ii libdbus-glib-1-2 0.60-5 simple interprocess messaging syst
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libglib2.0-0 2.8.6-1 The GLib library of C routines
ii libhal1 0.5.6-4 Hardware Abstraction Layer - share
ii libusb-0.1-4 2:0.1.11-4 userspace USB programming library
ii lsb-base 3.0-15 Linux Standard Base 3.0 init scrip
ii pciutils 1:2.1.11-15.3 Linux PCI Utilities
ii udev 0.084-4 /dev/ and hotplug management daemo
ii usbutils 0.71+cvs20051029-4 USB console utilities
Versions of packages pmount depends on:
ii libc6 2.3.6-1 GNU C Library: Shared libraries an
ii libdbus-1-2 0.60-5 simple interprocess messaging syst
ii libhal-storage1 0.5.6-4 Hardware Abstraction Layer - share
ii libhal1 0.5.6-4 Hardware Abstraction Layer - share
ii libsysfs1 1.3.0-7 interface library to sysfs
Versions of packages gnome-volume-manager depends on:
ii gconf2 2.12.1-9 GNOME configuration database syste
ii hal 0.5.6-4 Hardware Abstraction Layer
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit
ii libbonobo2-0 2.10.1-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.10.1-2 The Bonobo UI library
ii libc6 2.3.6-1 GNU C Library: Shared libraries an
ii libcairo2 1.0.2-3 The Cairo 2D vector graphics libra
ii libdbus-1-2 0.60-5 simple interprocess messaging syst
ii libdbus-glib-1-2 0.60-5 simple interprocess messaging syst
ii libfontconfig1 2.3.2-1.1 generic font configuration library
ii libgconf2-4 2.12.1-9 GNOME configuration database syste
ii libgksuui1.0-1 1.0.7-1 a graphical fronted to su library
ii libglade2-0 1:2.5.1-2 library to load .glade files at ru
ii libglib2.0-0 2.8.6-1 The GLib library of C routines
ii libgnome-keyring0 0.4.6-2 GNOME keyring services library
ii libgnome2-0 2.12.0.1-5 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.12.0-2 A powerful object-oriented display
ii libgnomeui-0 2.12.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.12.2-5 GNOME virtual file-system (runtime
ii libgtk2.0-0 2.8.12-1 The GTK+ graphical user interface
ii libhal1 0.5.6-4 Hardware Abstraction Layer - share
ii libice6 6.9.0.dfsg.1-4 Inter-Client Exchange library
ii liborbit2 1:2.12.4-1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.10.3-1 Layout and rendering of internatio
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libsm6 6.9.0.dfsg.1-4 X Window System Session Management
ii libx11-6 6.9.0.dfsg.1-4 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii libxi6 6.9.0.dfsg.1-4 X Window System Input extension li
ii libxinerama1 6.9.0.dfsg.1-4 X Window System multi-head display
ii libxml2 2.6.23.dfsg.1-0.1 GNOME XML library
ii libxrandr2 6.9.0.dfsg.1-4 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0.2-1 X Rendering Extension client libra
ii pmount 0.9.7-2 mount removable devices as normal
ii zlib1g 1:1.2.3-9 compression library - runtime
More information about the Pkg-utopia-maintainers
mailing list