Your message dated Wed, 07 Jan 2009 23:17:42 +0100
with message-id <[email protected]>
and subject line Re: Bug#510001: lshal reports incorrect volume.label and  
volume.fstype after reformat
has caused the Debian Bug report #510001,
regarding lshal reports incorrect volume.label and volume.fstype after reformat
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
510001: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510001
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hal
Version: 0.5.11-6
Severity: normal


`/usr/bin/lshal` incorrectly reports the volume.fstype and volume.label 
(in this case, for a preformatted VFAT Toshiba 31/2" External USB HD which 
was reformatted to Ext3. The drive has only one partition.).

lshal reports that
  
  block.device = '/dev/sde1'  (string)
  volume.fstype = 'vfat'  (string)
  volume.fsversion = 'FAT32'  (string)

whereas this should be
  
  block.device = '/dev/sde1'  (string)
  volume.fstype = 'ext3'  (string)
  volume.fsversion = '1.0'  (string)

(The complete, relevant sections from lshal's output are below.)

Output from `/usr/bin/vol_id /dev/sde1` (correctly) reports

ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=632bf4bc-93ef-4dc5-b5df-00f340d1c16f
ID_FS_UUID_ENC=632bf4bc-93ef-4dc5-b5df-00f340d1c16f
ID_FS_LABEL=200812241405
ID_FS_LABEL_ENC=200812241405
ID_FS_LABEL_SAFE=200812241405

(vol_id does not give any version information, but the udev-package is version 
0.125-7).

I'm running 'testing' on a IBM Thinkpad R51, linux-image-2.6.26-1-686, version 
2.6.26-12
(Note that `uname -a` reports 'Linux hostname 2.6.22-3-686 #1 SMP Sun Feb 10 
20:20:49 UTC 2008 i686 GNU/Linux')
Package libc6/libc-686 is version 2.7-16

Sections of lshal's output that may prove useful (or not):

udi = '/org/freedesktop/Hal/devices/computer'
  info.addons = {'hald-addon-cpufreq', 'hald-addon-acpi'} (string list)
  info.callouts.add = {'hal-storage-cleanup-all-mountpoints'} (string list)
  info.capabilities = {'cpufreq_control'} (string list)
  info.interfaces = {'org.freedesktop.Hal.Device.SystemPowerManagement', 
'org.freedesktop.Hal.Device.CPUFreq'} (string list)
  info.product = 'Computer'  (string)
  info.subsystem = 'unknown'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer'  (string)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = 
{'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '', 
'enable_power_save'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = 
{'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 
'hal-system-power-hibernate', 'hal-system-power-shutdown', 
'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_names = {'Suspend', 
'SuspendHybrid', 'Hibernate', 'Shutdown', 'Reboot', 'SetPowerSave'} (string 
list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i', 
'i', '', '', '', 'b'} (string list)
  power_management.acpi.linux.version = '20070126'  (string)
  power_management.can_hibernate = true  (bool)
  power_management.can_suspend = true  (bool)
  power_management.can_suspend_hybrid = true  (bool)
  power_management.is_powersave_set = false  (bool)
  power_management.quirk.none = true  (bool)
  power_management.type = 'acpi'  (string)
  system.chassis.manufacturer = 'IBM'  (string)
  system.chassis.type = 'Notebook'  (string)
  system.firmware.release_date = '02/21/2005'  (string)
  system.firmware.vendor = 'IBM'  (string)
  system.firmware.version = '1VET63WW (1.21 )'  (string)
  system.formfactor = 'laptop'  (string)
  system.hardware.primary_video.product = 13698  (0x3582)  (int)
  system.hardware.primary_video.vendor = 32902  (0x8086)  (int)
  system.hardware.product = '2887K2G'  (string)
  system.hardware.serial = '99WXRW1'  (string)
  system.hardware.uuid = 'F06EB201-4824-11CB-82D0-94B85A95F133'  (string)
  system.hardware.vendor = 'IBM'  (string)
  system.hardware.version = 'ThinkPad R51'  (string)
  system.kernel.machine = 'i686'  (string)
  system.kernel.name = 'Linux'  (string)
  system.kernel.version = '2.6.22-3-686'  (string)
  system.product = '2887K2G ThinkPad R51'  (string)

udi = 
'/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_USB_3_5__HDD_000DE559_0_0'
  block.device = '/dev/sde'  (string)
  block.is_volume = false  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 64  (0x40)  (int)
  block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_USB_3_5__HDD_000DE559_0_0' 
 (string)
  info.capabilities = {'storage', 'block'} (string list)
  info.category = 'storage'  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/usb_device_930_b09_000DE559_if0_scsi_host_scsi_device_lun0'
  (string)
  info.product = 'USB 3.5"-HDD'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_USB_3_5__HDD_000DE559_0_0' 
 (string)
  info.vendor = 'TOSHIBA'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sde'  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.bus = 'usb'  (string)
  storage.drive_type = 'disk'  (string)
  storage.firmware_version = '100'  (string)
  storage.hotpluggable = true  (bool)
  storage.lun = 0  (0x0)  (int)
  storage.media_check_enabled = false  (bool)
  storage.model = 'USB 3.5"-HDD'  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device = 
'/org/freedesktop/Hal/devices/usb_device_930_b09_000DE559_if0'  (string)
  storage.partitioning_scheme = 'mbr'  (string)
  storage.removable = false  (bool)
  storage.removable.media_available = true  (bool)
  storage.removable.media_size = 1000204886016  (0xe8e0db6000)  (uint64)
  storage.requires_eject = false  (bool)
  storage.serial = 'TOSHIBA_USB_3.5"-HDD_000DE559-0:0'  (string)
  storage.size = 1000204886016  (0xe8e0db6000)  (uint64)
  storage.vendor = 'TOSHIBA'  (string)

udi = '/org/freedesktop/Hal/devices/volume_uuid_0C0D_1111'
  block.device = '/dev/sde1'  (string)
  block.is_volume = true  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 65  (0x41)  (int)
  block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_USB_3_5__HDD_000DE559_0_0' 
 (string)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  info.parent = 
'/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_USB_3_5__HDD_000DE559_0_0' 
 (string)
  info.product = 'USB-HDD'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_0C0D_1111'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sde/sde1'  (string)
  org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype 
extra_options', 'extra_options', 'extra_options'} (string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 
'hal-storage-unmount', 'hal-storage-eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 
'Eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} 
(string list)
  storage.model = ''  (string)
  volume.block_size = 512  (0x200)  (int)
  volume.fstype = 'vfat'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fsversion = 'FAT32'  (string)
  volume.ignore = false  (bool)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = true  (bool)
  volume.label = 'USB-HDD'  (string)
  volume.linux.is_device_mapper = false  (bool)
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 
'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=', 'flush'} 
(string list)
  volume.mount_point = ''  (string)
  volume.num_blocks = 1953520002  (0x74705982)  (int)
  volume.partition.flags = {} (string list)
  volume.partition.label = ''  (string)
  volume.partition.media_size = 1000204886016  (0xe8e0db6000)  (uint64)
  volume.partition.number = 1  (0x1)  (int)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.start = 32256  (0x7e00)  (uint64)
  volume.partition.type = '0x83'  (string)
  volume.partition.uuid = ''  (string)
  volume.size = 1000202241024  (0xe8e0b30400)  (uint64)
  volume.unmount.valid_options = {'lazy'} (string list)
  volume.uuid = '0C0D-1111'  (string)

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=nl_NL, LC_CTYPE=nl_NL (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser           3.110                  add and remove users and groups
ii  dbus              1.2.1-4                simple interprocess messaging syst
ii  hal-info          20080508+git20080601-1 Hardware Abstraction Layer - fdi f
ii  libc6             2.7-16                 GNU C Library: Shared libraries
ii  libdbus-1-3       1.2.1-4                simple interprocess messaging syst
ii  libdbus-glib-1-2  0.76-1                 simple interprocess messaging syst
ii  libexpat1         2.0.1-4                XML parsing C library - runtime li
ii  libgcc1           1:4.3.2-1              GCC support library
ii  libglib2.0-0      2.16.6-1               The GLib library of C routines
ii  libhal-storage1   0.5.11-6               Hardware Abstraction Layer - share
ii  libhal1           0.5.11-6               Hardware Abstraction Layer - share
ii  libsmbios2        2.0.3.dfsg-1           Provide access to (SM)BIOS informa
ii  libstdc++6        4.3.2-1                The GNU Standard C++ Library v3
ii  libusb-0.1-4      2:0.1.12-13            userspace USB programming library
ii  libvolume-id0     0.125-7                libvolume_id shared library
ii  lsb-base          3.2-20                 Linux Standard Base 3.2 init scrip
ii  mount             2.13.1.1-1             Tools for mounting and manipulatin
ii  pciutils          1:3.0.0-6              Linux PCI Utilities
ii  pm-utils          1.1.2.4-1              utilities and scripts for power ma
ii  udev              0.125-7                /dev/ and hotplug management daemo
ii  usbutils          0.73-10                Linux USB utilities

Versions of packages hal recommends:
ii  eject                       2.1.5+deb1-4 ejects CDs and operates CD-Changer
pn  libsmbios-bin               <none>       (no description available)

Versions of packages hal suggests:
pn  gnome-device-manager          <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Richard Prosper wrote:
> Hi Michael,
> 
> You'll probably be glad to hear that when I got home and rebooted, lshal
> performed as I had originally assumed. Here's the snippet:

Hi Richard,

I consulted with Sjoerd, a co-maintainers of hal, and the opinion was, that this
is not a bug in hal, as hal can't know automatically about the changed file 
system.

The app calling mkfs should instead call the HAL Rescan() method, so hal can
pick up the changed file system.



Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to