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]
Message-ID: <4C4D8C25.8040704@redhat.com>
Date:	Mon, 26 Jul 2010 15:22:45 +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/26/2010 03:06 PM, Nils Radtke wrote:
> That's what I tried and failed gloriously. I'm trying to revive my memory about the 
> situation: fs could be unmounted, however, the cryptsetup luksClose failed (IRC) and 
> therefore the dmsetup remove consequently failed also.

So instead of "cryptsetup luksClose" use dmsetup remove for crypt device too
(There was a bug in some version of cryptsetup which failed close if underlying device
disappeared, should be fixed in >=1.1.2, anyway "dmsetup remove" is low-level equivalent.)

Also see man page and "dmsetup remove -f" flag.

The usb device reinitialization is separate problem, maybe someone can help if you provide
more logs.

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