> After attaching a device, entering your passphrase when prompted, and
> observing that it has not been mounted, run 'lshal' and attach the
> output to this bug report. We're looking for encrypted volumes that HAL
> thinks are of size 0.

Here you are.

Packages versions first:

udev 0.114-2
hal 0.5.11-2
nautilus 2.22.4-1
gnome-mount 0.7-2

Linux kernel is 2.6.25.


1) Device plugged in:

$ dmesg 
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
usb 1-7.4: New USB device found, idVendor=04fc, idProduct=0c15
usb 1-7.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
usb 1-7.4: Product: USB to Serial-ATA bridge
usb 1-7.4: Manufacturer: Sunplus Technology Inc.
usb 1-7.4: SerialNumber: MAXTOR STM            9QG4MWXL
usb-storage: device scan complete
scsi 7:0:0:0: Direct-Access     MAXTOR S TM3500630AS           PQ: 0
ANSI: 2
sd 7:0:0:0: [sdf] 976773168 512-byte hardware sectors (500108 MB)
sd 7:0:0:0: [sdf] Write Protect is off
sd 7:0:0:0: [sdf] Mode Sense: 38 00 00 00
sd 7:0:0:0: [sdf] Assuming drive cache: write through
sd 7:0:0:0: [sdf] 976773168 512-byte hardware sectors (500108 MB)
sd 7:0:0:0: [sdf] Write Protect is off
sd 7:0:0:0: [sdf] Mode Sense: 38 00 00 00
sd 7:0:0:0: [sdf] Assuming drive cache: write through
 sdf: unknown partition table
sd 7:0:0:0: [sdf] Attached SCSI disk


2) LUKS password entered and volume opened:

$ ls -la /dev/mapper/
...
crw-rw---- 1 root root  10, 61 13. čec 10.09 control
brw-rw---- 1 root disk 252,  0 13. čec 16.39 
luks_crypto_f3518263-2245-4ffc-b59e-f730a01f164e


3) Encrypted volume not mounted, lshal output:

$ lshal
...
udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0'
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_424_2504_noserial'  
(string)
  info.product = 'USB to Serial-ATA bridge'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0'
  (string)
  info.vendor = 'Sunplus Technology Co., Ltd'  (string)
  linux.device_file = '/dev/bus/usb/001/008'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4'  
(string)
  usb_device.bus_number = 1  (0x1)  (int)
  usb_device.can_wake_up = false  (bool)
  usb_device.configuration = 'Bulk Only Configuration'  (string)
  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 = 60418  (0xec02)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = true  (bool)
  usb_device.linux.device_number = 8  (0x8)  (int)
  usb_device.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4'  (string)
  usb_device.max_power = 2  (0x2)  (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 = 'USB to Serial-ATA bridge'  (string)
  usb_device.product_id = 3093  (0xc15)  (int)
  usb_device.serial = 'MAXTOR STM            9QG4MWXL'  (string)
  usb_device.speed = 480.0 (480) (double)
  usb_device.vendor = 'Sunplus Technology Co., Ltd'  (string)
  usb_device.vendor_id = 1276  (0x4fc)  (int)
  usb_device.version = 2.0 (2) (double)

udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_usbraw'
  info.capabilities = {'usbraw'} (string list)
  info.category = 'usbraw'  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0'
  (string)
  info.product = 'USB Raw Device Access'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_usbraw'
  (string)
  linux.device_file = '/dev/bus/usb/001/008'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb_device'  (string)
  linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4/usb_device/usbdev1.8'  
(string)
  usbraw.device = '/dev/bus/usb/001/008'  (string)

udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0'
  info.linux.driver = 'usb-storage'  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0'
  (string)
  info.product = 'USB Mass Storage Interface'  (string)
  info.subsystem = 'usb'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0'
  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4/1-7.4:1.0'  (string)
  usb.bus_number = 1  (0x1)  (int)
  usb.can_wake_up = false  (bool)
  usb.configuration = 'Bulk Only Configuration'  (string)
  usb.configuration_value = 1  (0x1)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.device_revision_bcd = 60418  (0xec02)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.interface.class = 8  (0x8)  (int)
  usb.interface.description = 'Bulk Only Interface'  (string)
  usb.interface.number = 0  (0x0)  (int)
  usb.interface.protocol = 80  (0x50)  (int)
  usb.interface.subclass = 6  (0x6)  (int)
  usb.is_self_powered = true  (bool)
  usb.linux.device_number = 8  (0x8)  (int)
  usb.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4/1-7.4:1.0'  (string)
  usb.max_power = 2  (0x2)  (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 = 3093  (0xc15)  (int)
  usb.serial = 'MAXTOR STM            9QG4MWXL'  (string)
  usb.speed = 480.0 (480) (double)
  usb.vendor = 'Sunplus Technology Co., Ltd'  (string)
  usb.vendor_id = 1276  (0x4fc)  (int)
  usb.version = 2.0 (2) (double)

udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0_scsi_host'
  info.capabilities = {'scsi_host'} (string list)
  info.category = 'scsi_host'  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0'
  (string)
  info.product = 'SCSI Host Adapter'  (string)
  info.subsystem = 'scsi_host'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0_scsi_host'
  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi_host'  (string)
  linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4/1-7.4:1.0/host7'  (string)
  scsi_host.host = 7  (0x7)  (int)

udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0_scsi_host_scsi_device_lun0'
  info.linux.driver = 'sd'  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0_scsi_host'
  (string)
  info.product = 'SCSI Device'  (string)
  info.subsystem = 'scsi'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0_scsi_host_scsi_device_lun0'
  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi'  (string)
  linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4/1-7.4:1.0/host7/target7:0:0/7:0:0:0'
  (string)
  scsi.bus = 0  (0x0)  (int)
  scsi.host = 7  (0x7)  (int)
  scsi.lun = 0  (0x0)  (int)
  scsi.model = 'TM3500630AS'  (string)
  scsi.target = 0  (0x0)  (int)
  scsi.type = 'disk'  (string)
  scsi.vendor = 'MAXTOR S'  (string)

udi = 
'/org/freedesktop/Hal/devices/storage_serial_MAXTOR_S_TM3500630AS_MAXTOR_STM_9QG4MWXL_0_0'
  block.device = '/dev/sdf'  (string)
  block.is_volume = false  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 80  (0x50)  (int)
  block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_MAXTOR_S_TM3500630AS_MAXTOR_STM_9QG4MWXL_0_0'
  (string)
  info.capabilities = {'storage', 'block'} (string list)
  info.category = 'storage'  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0_scsi_host_scsi_device_lun0'
  (string)
  info.product = 'TM3500630AS'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/storage_serial_MAXTOR_S_TM3500630AS_MAXTOR_STM_9QG4MWXL_0_0'
  (string)
  info.vendor = 'MAXTOR S'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4/1-7.4:1.0/host7/target7:0:0/7:0:0:0/block/sdf'
  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.bus = 'usb'  (string)
  storage.drive_type = 'disk'  (string)
  storage.firmware_version = 'ec02'  (string)
  storage.hotpluggable = true  (bool)
  storage.lun = 0  (0x0)  (int)
  storage.media_check_enabled = false  (bool)
  storage.model = 'TM3500630AS'  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL_0_if0'
  (string)
  storage.partitioning_scheme = 'none'  (string)
  storage.removable = false  (bool)
  storage.removable.media_available = true  (bool)
  storage.removable.media_size = 500107862016  (0x7470c06000)  (uint64)
  storage.requires_eject = false  (bool)
  storage.serial = 'MAXTOR_S_TM3500630AS_MAXTOR_STM_9QG4MWXL-0:0'  (string)
  storage.size = 500107862016  (0x7470c06000)  (uint64)
  storage.vendor = 'MAXTOR S'  (string)

udi = 
'/org/freedesktop/Hal/devices/volume_uuid_f3518263_2245_4ffc_b59e_f730a01f164e'
  block.device = '/dev/sdf'  (string)
  block.is_volume = true  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 80  (0x50)  (int)
  block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_MAXTOR_S_TM3500630AS_MAXTOR_STM_9QG4MWXL_0_0'
  (string)
  info.callouts.remove = {'hal-luks-remove'} (string list)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume.Crypto'} (string list)
  info.parent = 
'/org/freedesktop/Hal/devices/storage_serial_MAXTOR_S_TM3500630AS_MAXTOR_STM_9QG4MWXL_0_0'
  (string)
  info.product = 'Volume (crypto_LUKS)'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/volume_uuid_f3518263_2245_4ffc_b59e_f730a01f164e' 
 (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4/1-7.4:1.0/host7/target7:0:0/7:0:0:0/block/sdf/fakevolume'
  (string)
  org.freedesktop.Hal.Device.Volume.Crypto.method_argnames = {'passphrase', ''} 
(string list)
  org.freedesktop.Hal.Device.Volume.Crypto.method_execpaths = 
{'hal-luks-setup', 'hal-luks-teardown'} (string list)
  org.freedesktop.Hal.Device.Volume.Crypto.method_names = {'Setup', 'Teardown'} 
(string list)
  org.freedesktop.Hal.Device.Volume.Crypto.method_signatures = {'s', ''} 
(string list)
  storage.model = ''  (string)
  volume.block_size = 512  (0x200)  (int)
  volume.fstype = 'crypto_LUKS'  (string)
  volume.fsusage = 'crypto'  (string)
  volume.fsversion = ''  (string)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = false  (bool)
  volume.label = ''  (string)
  volume.linux.is_device_mapper = false  (bool)
  volume.mount_point = ''  (string)
  volume.num_blocks = 976773168  (0x3a386030)  (int)
  volume.size = 500107862016  (0x7470c06000)  (uint64)
  volume.uuid = 'f3518263-2245-4ffc-b59e-f730a01f164e'  (string)

udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL'
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_424_2504_noserial'  
(string)
  info.product = 'USB to Serial-ATA bridge'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_MAXTOR_STM____________9QG4MWXL'
  (string)
  info.vendor = 'Sunplus Technology Co., Ltd'  (string)
  linux.device_file = '/dev/bus/usb/001/007'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4'  
(string)
  usb_device.bus_number = 1  (0x1)  (int)
  usb_device.can_wake_up = false  (bool)
  usb_device.configuration = 'Bulk Only Configuration'  (string)
  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 = 60418  (0xec02)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = true  (bool)
  usb_device.linux.device_number = 7  (0x7)  (int)
  usb_device.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/1-7.4'  (string)
  usb_device.max_power = 2  (0x2)  (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 = 'USB to Serial-ATA bridge'  (string)
  usb_device.product_id = 3093  (0xc15)  (int)
  usb_device.serial = 'MAXTOR STM            9QG4MWXL'  (string)
  usb_device.speed = 480.0 (480) (double)
  usb_device.vendor = 'Sunplus Technology Co., Ltd'  (string)
  usb_device.vendor_id = 1276  (0x4fc)  (int)
  usb_device.version = 2.0 (2) (double)
...


Vit




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to