[opensuse] opensuse 11.2 not recognising an encrypted luks partition on external USB drive
Hi all I have installed opensuse 11.2 on one of my laptops (fresh install and not upgrade), however, whenever I plug in an external usb drive which has 3 partitions (part 1 is vfat, 2 is ext3, 3 is luks encrypted ext4) on it there is no recognition of the encrypted partition by the device notifier. When I insert it into my other machines (opensuse 11.0 and 11.1) the device notifier recognises it and I get prompted for the password for the partition. At first I though it may be the predicate for encrypted volume (as it used to be for previous kde4 installs) but that is the same as the setting on my kde 4.3 on opensuse 11.0 and 11.1 installs For info the luks is installed and working as the whole drive is encrypted and I can also do cryptsetup luksOpen and manually mount I then checked the device with hal-device and what I found showed that hal is recognising the partition exists but not that it is encrypted Below is the output from my opensuse 11.0 server which is working ok but on the 11.2 install I get empty strings where ever there should be crypto references eg volume.fsusage = '' (string) [sorry cant give the output in this mail as I left the laptop at work] To make sure this hasnt been caused by incompatible old versions or partitioning I reformatted the drive under 11.2 as well Does anybody know how to resolve this or seen it before. Andrew --------output from hal-device on working server------------ : udi = '/org/freedesktop/Hal/devices/volume_uuid_a6cef798_eee7_460e_9a2f_8b010c36e33c' volume.partition.media_size = 250059350016 (0x3a38b2e000) (uint64) block.is_volume = true (bool) volume.partition.scheme = 'mbr' (string) volume.partition.type = '0x83' (string) volume.partition.label = '' (string) volume.partition.uuid = '' (string) info.product = 'Volume (crypto_LUKS)' (string) volume.partition.flags = { } (string list) info.udi = '/org/freedesktop/Hal/devices/volume_uuid_a6cef798_eee7_460e_9a2f_8b010c36e33c' (string) linux.hotplug_type = 3 (0x3) (int) info.category = 'volume' (string) info.capabilities = { 'volume', 'block' } (string list) org.freedesktop.Hal.Device.Volume.Crypto.method_names = { 'Setup', 'Teardown' } (string list) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_USB_2_5__HDD_00126ae0_0_0' (string) org.freedesktop.Hal.Device.Volume.Crypto.method_signatures = { 's', '' } (string list) org.freedesktop.Hal.Device.Volume.Crypto.method_argnames = { 'passphrase', '' } (string list) volume.fstype = 'crypto_LUKS' (string) org.freedesktop.Hal.Device.Volume.Crypto.method_execpaths = { 'hal-luks- setup', 'hal-luks-teardown' } (string list) volume.fsusage = 'crypto' (string) volume.fsversion = '2' (string) volume.uuid = 'a6cef798-eee7-460e-9a2f-8b010c36e33c' (string) volume.label = '' (string) volume.mount_point = '' (string) volume.is_mounted = false (bool) volume.is_mounted_read_only = false (bool) volume.linux.is_device_mapper = false (bool) volume.is_disc = false (bool) volume.is_partition = true (bool) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:13.5/usb6/6-4/6-4.4/6-4.4:1.0/host9/target9:0:0/9:0:0:0/block/sdh/sdh3' (string) volume.partition.number = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_USB_2_5__HDD_00126ae0_0_0' (string) volume.block_size = 512 (0x200) (int) block.device = '/dev/sdh3' (string) volume.num_blocks = 71312534 (0x4402496) (int) info.interfaces = { 'org.freedesktop.Hal.Device.Volume.Crypto' } (string list) volume.size = 36512017408 (0x880492c00) (uint64) block.major = 8 (0x8) (int) volume.partition.start = 211011333632 (0x3121416e00) (uint64) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Here is the output of hal-device on the opensuse 11.2 laptop 3: udi = '/org/freedesktop/Hal/devices/volume_part3_size_36512017408' block.is_volume = true (bool) linux.hotplug_type = 3 (0x3) (int) info.product = 'Volume' (string) info.udi = '/org/freedesktop/Hal/devices/volume_part3_size_36512017408' (string) volume.partition.scheme = 'mbr' (string) volume.partition.type = '0x83' (string) volume.partition.label = '' (string) volume.partition.uuid = '' (string) volume.partition.flags = { } (string list) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_USB_2_5__HDD_00126ae0_0_0' (string) volume.fstype = '' (string) volume.fsusage = '' (string) volume.fsversion = '' (string) volume.uuid = '' (string) volume.label = '' (string) volume.mount_point = '' (string) volume.is_mounted = false (bool) volume.is_mounted_read_only = false (bool) volume.linux.is_device_mapper = false (bool) volume.is_disc = false (bool) volume.is_partition = true (bool) volume.partition.number = 3 (0x3) (int) volume.block_size = 512 (0x200) (int) volume.num_blocks = 71312534 (0x4402496) (uint64) volume.size = 36512017408 (0x880492c00) (uint64) volume.partition.start = 211011333632 (0x3121416e00) (uint64) volume.partition.media_size = 250059350016 (0x3a38b2e000) (uint64) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0/host2/target2:0:0/2:0:0:0/block/sdb/sdb3' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_USB_2_5__HDD_00126ae0_0_0' (string) info.category = 'volume' (string) info.capabilities = { 'volume', 'block' } (string list) block.device = '/dev/sdb3' (string) block.major = 8 (0x8) (int) block.minor = 19 (0x13) (int) Note that it hasn't recognised the partition as encrypted. Does no one have any idea why or how I can resolve the issue, is my HAL broken? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Mittwoch, 25. November 2009 schrieb Andrew Colvin:
I have installed opensuse 11.2 on one of my laptops (fresh install and not upgrade),
Me too.
however, whenever I plug in an external usb drive which has 3 partitions (part 1 is vfat, 2 is ext3, 3 is luks encrypted ext4) on it there is no recognition of the encrypted partition by the device notifier.
Works for me as before on 11.1, but I encrypted the only partition on the drive (ext3).
[...] Does anybody know how to resolve this or seen it before.
Which KDE version do you use? The one shipped with 11.2 or the one from the KDE43 repository? I am using the latter. Just to make sure... Gruß Jan -- All religions issue Bibles against Satan, and say the most injurious things against him, but we never hear his side! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 25 November 2009 19:23:33 Andrew Colvin wrote:
Hi all
I have installed opensuse 11.2 on one of my laptops (fresh install and not upgrade), however, whenever I plug in an external usb drive which has 3 partitions (part 1 is vfat, 2 is ext3, 3 is luks encrypted ext4) on it there is no recognition of the encrypted partition by the device notifier.
Ok I have found that this has been raised as a fault. https://bugzilla.novell.com/show_bug.cgi?id=541118 Seems that luksFormat does not fully wipe the header and the new devicekit is very picky The solution was to reformat the partition as a swap and then again partition it as an encrypted partition and all works under 11.2 This has been a bit of a pain to resolve but now it works fine. Now if only I can get the screen redraw artifacts to go on the T41 when compositing is on Andrew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Mittwoch, 2. Dezember 2009 schrieb Andrew Colvin:
[...] Ok I have found that this has been raised as a fault. https://bugzilla.novell.com/show_bug.cgi?id=541118
Thanks!
Seems that luksFormat does not fully wipe the header and the new devicekit is very picky
The solution was to reformat the partition as a swap and then again partition it as an encrypted partition and all works under 11.2
Ah, okay. I never had anything else on my encrypted hard disks, that might explain why I have no problems.
[...]. Now if only I can get the screen redraw artifacts to go on the T41 when compositing is on
I had artifacts months ago on my R61, but newer NVidia drivers and newer KDE4 solved this issue. Gruß Jan -- Not all men are fools, some are bachelors. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Andrew Colvin
-
Jan Ritzerfeld