[pkg-cryptsetup-devel] Bug#807600: Which package?

Ben Hutchings ben at decadent.org.uk
Sun Dec 27 23:58:43 UTC 2015


On Sun, 2015-12-27 at 15:49 +0000, John Talbut wrote:
> Thank you all for looking at this.
> 
> Ben, you think this is not a problem with initramfs-tools but it might 
> be in cryptsetup.  Jonas, you consider that it is not a problem with 
> cryptsetup.
> 
> The possibility that I might have something wrong with my kernel 
> configuration did occur to me in the first place.  I spent a 
> considerable amount of time both before submitting this bug and after 
> checking this and I cannot find anything missing.  As I wrote, I have 
> compiled kernels successfully many times before.

Based on this:

[custom kernel]
/dev/sdb: PTUUID="25169f0a-30ad-47e5-81a9-d74ae8286776" PTTYPE="gpt"

[standard kernel]
/dev/sda: PTUUID="25169f0a-30ad-47e5-81a9-d74ae8286776" PTTYPE="gpt"
/dev/sda1: PARTUUID="1e4484e1-1499-4f9a-bd2f-e0f4d61e9920"
/dev/sda2: UUID="48537739-1f62-4c12-8bf1-9d662d8cc74f" TYPE="crypto_LUKS" PARTLABEL="dk" PARTUUID="6b5c5648-1b4b-4be5-83d7-7c47eb8b53a6"
/dev/sda3: UUID="bf028ceb-d1fa-4f62-b41f-d9d44adbe65a" TYPE="ext4" PARTUUID="5970fa70-34fa-4eca-aaf7-f085c9b55a27"

I would guess that you didn't enable CONFIG_EFI_PARTITION and thus the
kernel can't decode the partition table.

> What I notice in the attached dmesgs is that the item:
> 
> device-mapper: ioctl: 4.33.0-ioctl (2015-8-18) initialised: 
> dm-devel at redhat.com
> 
> which occurs on the console immediately before "Please unlock disk 
> sda2_crypt:" comes after (at 3.128778) the items about ata, and sda when 
> the boot succeeds using a stock, modular kernel.
> 
> When using the static kernel and the boot the device-mapper: ioctl: item 
> (at 1.413366) comes before the ata and sda items.
> 
> In other words, it seems to me, that the system is trying to decrypt the 
> disk before it has been accessed.

That shouldn't be a problem, as it will be retried at intervals (as
you've seen).

> If this is the problem, then which package is causing it?  If not, what 
> else could the problem be?

It is your kernel configuration.

Ben.

-- 
Ben Hutchings
Power corrupts.  Absolute power is kind of neat.
                           - John Lehman, Secretary of the US Navy 1981-1987
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20151227/f58ddb19/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list