lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 25 Jul 2010 23:00:49 +0200
From:	Milan Broz <mbroz@...hat.com>
To:	Nils Radtke <lkml@...nk-Future.de>
CC:	linux-kernel@...r.kernel.org
Subject: Re: cryptsetup + lvm on usb disk, unusable /dev/dm-* after suspend/resume
 cycle

On 07/25/2010 06:06 PM, Nils Radtke wrote:

>   Using an external usb 2 hdd with recent kernels with cryptsetup containers that
>   contain lvm volumes. 
> 
>   After a suspend/resume cycle, with active lvm volumes, the mounted fs is "offline", 
>   the dm-* devices don't respond to commands issued. No more access possible.
>   
>   Have to reboot to free the devices.

I guess it is not dm/block layer problem but USB related - can you check syslog if
the device is not attached after resume with another major:minor?

If this happens - you can free the mappings using dmsetup:
- try to force umount fs (if mounted), then run "dmsetup table" and manually remove
orphaned mappings using "dmsetup remove".

Milan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ