Password is not accepted
Very strange indeed. Is this repeatable?
LUKS itself does not need any time to activate. LVM should not need more than fractions of a second.
Meybe a thermal issue with RAM, CPU or PSU that has the password iterations fail when cold and work when warmed up? For CPU/RAM this would be strance as cold CMOS circuits work better than hot ones. For the PSU, it is possible that failing capacitors reconstiture a bit after warm up. Anyways, sounds like a hardware issue to me.
Arno
Quoted 17 lines · Ask Me
Hi
Now I'm having a strange problem. First I thought that I was getting old and had forgot my password but now it happens more then once.
When I reboot my computer and try to open my encrypted device with "cryptsetup luksOpen
/dev/vg_home/home_privatelv_encr" I get the message that my password is not accepted. But if I reboot it again and wait for a few minutes and try the command again it's successful.
Is it possible that it needs time to activate? It's a LVM array. But my /tmp and swap is encrypted at boot and they works (I hope =) )My setup is
sda1 -> LVM ->dm_crypt-> xfs//Martin
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt
Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier
Quoted 1 line · Arno Wagner
Very strange indeed. Is this repeatable?
This is strictly an FYI in case anyone's interested.
This seems like a good time to mention a similar strange issue. I've chalked it up to too-new hardware and have yet to try with the latest kernel.org kernel, but running Debian Squeeze, with either the stock 2.6.32 kernel or the backports 2.6.39 kernel I see failure to enter the luks password. This is on an Acer Aspire One D255E-13647 with a manufacture date of 2011-01.
This is all driven by the initramfs. What happens is that, sometimes, the screen goes black for perhaps 15 or more seconds starting about 3 or 4 seconds after the luks password prompt. Attempts to enter the password or portion thereof during this time always result in failure. I believe I've seen the same problem without the screen going black as well. If I wait a long time to enter the password all is well.
In any case I've not tracked the details closely and am waiting until I get around to trying a newer kernel to see if the problem goes away.
Quoted 29 lines
Meybe a thermal issue with RAM, CPU or PSU that has the password iterations fail when cold and work when warmed up? For CPU/RAM this would be strance as cold CMOS circuits work better than hot ones. For the PSU, it is possible that failing capacitors reconstiture a bit after warm up. Anyways, sounds like a hardware issue to me.
Arno
Quoted 3 lines · Ask Me
Hi
Now I'm having a strange problem. First I thought that I was
getting
old and had forgot my password but now it happens more then once.Quoted 2 lines
When I reboot my computer and try to open my encrypted device with
"cryptsetup luksOpen
/dev/vg_home/home_privatelv_encr" I get the message that my password is not accepted.Quoted 1 line
But if I reboot it again and wait for a few minutes and try the
command again it's successful.
Quoted 1 line
Is it possible that it needs time to activate? It's a LVM array.
But
my /tmp and swap is encrypted at boot and they works (I hope =) )Quoted 4 lines
My setup is
sda1 -> LVM ->dm_crypt-> xfs
Quoted 24 lines
Quoted 6 lines
//Martin
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-cryptSignature · 13 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier _______________________________________________ dm-crypt mailing list [email protected] http://www.saout.de/mailman/listinfo/dm-crypt
Karl <[email protected]>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
Quoted 8 lines · Karl O. Pinc
This is all driven by the initramfs. What happens is that, sometimes, the screen goes black for perhaps 15 or more seconds starting about 3 or 4 seconds after the luks password prompt. Attempts to enter the password or portion thereof during this time always result in failure. I believe I've seen the same problem without the screen going black as well. If I wait a long time to enter the password all is well.
I had problems with late reset of usb devices
(with connected usb keyboard).
When I start to enter passphrase (in initramfs), usb kernel module resets usb devices (perhaps just initialization) and usually it cause lost of some entered characters.
Waiting few seconds helps - maybe this is the similar case or just problem with another hw interfering (like gpu).
To debug such issues - boot kernel, intramfs (dracut or whatever it is) with full debug to console, check what is logged immediately before it happens.
(If it is too quick, just use some camera and record screen or log it to serial console.)
With passphrase entered in late init where things run in parallel (like systemd these days) even more magic can happen;-)
Milan
Quoted 27 lines · Milan Broz
Quoted 8 lines · Karl O. Pinc
This is all driven by the initramfs. What happens is that, sometimes, the screen goes black for perhaps 15 or more seconds starting about 3 or 4 seconds after the luks password prompt. Attempts to enter the password or portion thereof during this time always result in failure. I believe I've seen the same problem without the screen going black as well. If I wait a long time to enter the password all is well.
I had problems with late reset of usb devices
(with connected usb keyboard).When I start to enter passphrase (in initramfs), usb kernel module resets usb devices (perhaps just initialization) and usually it cause lost of some entered characters.
Waiting few seconds helps - maybe this is the similar case or just problem with another hw interfering (like gpu).
To debug such issues - boot kernel, intramfs (dracut or whatever it is) with full debug to console, check what is logged immediately before it happens.
(If it is too quick, just use some camera and record screen or log it to serial console.)
Quoted 4 lines
With passphrase entered in late init where things run in parallel (like systemd these days) even more magic can happen;-)
Milan
Is there a way to determine if the USB connection to the encrypted disk is good... so that it won't drop any characters in the passphrase? E.g., how about running an "fdisk -l" on the drive first, then running the "cryptsetup" command?
Better: Is there perhaps an option to cryptsetup (just for testing of course) which would make it echo back the passphrase it received...? just to ensure that it received what I intended?