Bug 13641
Summary: | Fails to boot with encrypted filesystem | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Jean-Luc Coulon (jean.luc.coulon) |
Component: | LVM2/DM | Assignee: | Alasdair G Kergon (agk) |
Status: | CLOSED INVALID | ||
Severity: | normal | CC: | agk, snitzer |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.31-rc1 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
.config
Boot log |
Description
Jean-Luc Coulon
2009-06-28 09:12:49 UTC
Created attachment 22130 [details]
.config
I've built several kernels from 2.6.30-git[*] Everything is fine with the ones I've tested included 2.6.30-git22. The problem appears from 2.6.31-rc1 I managed to boot it (the passphrase was probabmy a "who knows" problem with the keyboard map. So I see that the message appears for all the md devices. I attach an excerpt of dmesg. Created attachment 22132 [details]
Boot log
The following fix was posted to LKML and should be pulled in before 2.6.31 final: http://lkml.org/lkml/2009/6/25/384 Patch header: dm table: pass device's data start to blk_stack_limits() in bytes The offset passed to blk_stack_limits() must be in bytes not sectors. Fixes false warnings like the following: device-mapper: table: 254:1: target device sda6 is misaligned Signed-off-by: Mike Snitzer <snitzer@redhat.com> Reported-by: Frans Pop <elendil@planet.nl> Tested-by: Frans Pop <elendil@planet.nl> So actually, it booted OK once the right passphrase was used, but the warning messages are bogus and fixed with the patch in comment #4. Warning messages removed by commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ea9df47cc92573b159ef3b4fda516c32cba9c4fd |