------- Comment From [email protected] 2020-10-29 09:59 EDT-------
With 2G, the crashkernel reservation will be 320K, which will not suffice to 
unlock the LUKS volume when processing kdump. The installation was done using 
2G.
Changing the VM size to 4+G will reserve 512K, and with this size kdump is 
working. I agree that 512K out of 2G is probably on the brink of too much.

As I said, a warning could be emitted that crashkernel < 512k will not
allow to unlock a LUKS volume (at least if argon2i is used as PBKDF).

Below is the luksDump output

LUKS header information
Version:        2
Epoch:          4
Metadata area:  16384 [bytes]
Keyslots area:  16744448 [bytes]
UUID:           ac7595b4-0b0f-45ef-b745-c6f571876158
Label:          (no label)
Subsystem:      (no subsystem)
Flags:          (no flags)

Data segments:
0: crypt
offset: 16777216 [bytes]
length: (whole device)
cipher: aes-xts-plain64
sector: 512 [bytes]

Keyslots:
0: luks2
Key:        512 bits
Priority:   normal
Cipher:     aes-xts-plain64
Cipher key: 512 bits
PBKDF:      argon2i
Time cost:  4
Memory:     270246
Threads:    1
Salt:       38 7f 60 45 c6 57 26 50 72 7a a7 e3 18 59 24 24
58 7a 9b 95 dd 87 3c 19 43 88 1e 5b 98 35 fd 3d
AF stripes: 4000
AF hash:    sha256
Area offset:32768 [bytes]
Area length:258048 [bytes]
Digest ID:  0
1: luks2
Key:        512 bits
Priority:   normal
Cipher:     aes-xts-plain64
Cipher key: 512 bits
PBKDF:      argon2i
Time cost:  4
Memory:     235479
Threads:    1
Salt:       02 b8 0a f3 7e 0b 1c 23 77 9b 0e b0 19 c8 69 b4
bb 0c 3c 1e fd f9 24 7d 8a bf 6e 64 3b 17 79 31
AF stripes: 4000
AF hash:    sha256
Area offset:290816 [bytes]
Area length:258048 [bytes]
Digest ID:  0
Tokens:
Digests:
0: pbkdf2
Hash:       sha256
Iterations: 142469
Salt:       62 73 02 e9 44 09 b0 44 0c 87 33 d4 8f 68 5e f7
3c f6 a5 68 5a 8f b6 2d a6 35 9c 02 9c ba c0 76
Digest:     df 1a 9f 29 0e 2f 25 87 5f 11 11 c7 01 85 fd 2e
e6 6a 98 65 bd b5 54 77 29 2d c5 b3 12 48 67 a1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877533

Title:
  [20.10 FEAT] Increase the crashkernel setting if the root volume is
  luks2-encrypted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1877533/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to