Distribution: Debian Sid Architecture: X86_64 System: AMD64 x2 4200+ Last (tested) version wihtout this problem: 2.6.30 Still exists in 2.6.31-rc1-git3 I've not tested 2.6.30-git[*] ----- Hi I've some filessytems using luks fir encryption. The filesystem is XFS, over LVM2, over a raid1. (/, /usr and /var are on an other unencrypted raid1) At boot, when I enter the passphrase, I've the following spurious messages: --- Jun 25 13:53:23 tangerine kernel: device-mapper: table: 254:4: target device md2 is misaligned Jun 25 13:53:23 tangerine kernel: device-mapper: table: 254:4: target device md2 is misaligned Jun 25 13:53:23 tangerine kernel: device-mapper: table: 254:4: target device md2 is misaligned Jun 25 13:53:23 tangerine kernel: device-mapper: table: 254:4: target device md2 is misaligned Jun 25 13:53:23 tangerine kernel: device-mapper: table: 254:4: target device md2 is misaligned Jun 25 13:53:23 tangerine kernel: device-mapper: table: 254:4: target device md2 is misaligned Jun 25 13:53:23 tangerine kernel: device-mapper: table: 254:4: target device md2 is misaligned Jun 25 13:53:23 tangerine kernel: device-mapper: table: 254:4: target device md2 is misaligned --- Then it asks me again for the passĥrase. After it gives up, I'm prompted for the root password and it doesnt accept it neither. Regards Jean-Luc
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