[solved] What's wrong with dm-crypt/luks recently?several attempts now

Hello,
I run a full encrypted LVM on LUKS system, so I'm prompted for a password immediately after GRUB. That went fine long time, but starting with about linux 4.0.1, I have to enter my (long!) password several times until it finally works. It takes up to about 10 times before it is recognized. And no, I haven't forgot the passphrase and I am able to type. And my keyboard works, I'm using it right now to type this.
For now, I added a shorter key as a second password, with that it only takes about 2 or 3 attempts, but still, there seems to be something wrong. (And having a shorter password can't be the solution....)
As I haven't any typing feedback, I can't tell what's going wrong.
Do you have an idea how to debug this? Any sort of keyboard feedback would be appreciated. I wouldn't mind seeing the things I typed on my display, I'm alone when entering it.
Thanks.
Last edited by Carl Karl (2015-05-20 20:00:58)

Hm, that's strange: Now I had 5 reboots and only one failed attempt, even with the long passphrase!
(In german we call this „Vorführ-Effekt“, something like "show effect": the problem doesn't appear if you try to show it...)
But in that one failed attempt the message was:
No key available with this passphrase.
You can generate this message by tying a wrong passphrase any time obviously... ;-)
But OK, if it stays that way, that would be good enough. (Maybe my problem was fixed with the today released linux 4.0.3?) However, having more feedback while typing than just void would be nice...
Last edited by Carl Karl (2015-05-20 19:50:42)

Similar Messages

  • [SOLVED] What is wrong with VIM?

    I am using Vim 7.2.411 and none of the commands work except saving files. Ex:
    I can do:
    :w file.c
    or
    Shift+ZZ
    However, none of the other commands work. For example, I can't even enter insert mode (i). I have tried reinstalling to no prevail. This isn't an urgent problem (for me at least), I just want to know what the hell is wrong with it so I can get back to coding
    Last edited by itsbrad212 (2010-05-11 20:39:23)

    Solved
    I copied the contents of /var/abs/testing/vim/vimrc:
    " All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
    " /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
    " you can find below. If you wish to change any of those settings, you should
    " do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
    " everytime an upgrade of the vim packages is performed. It is recommended to
    " make changes after sourcing archlinux.vim since it alters the value of the
    " 'compatible' option.
    " This line should not be removed as it ensures that various options are
    " properly set to work with the Vim-related packages.
    runtime! archlinux.vim
    " If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
    " Or better yet, read /usr/share/vim/vim72/vimrc_example.vim or the vim manual
    " and configure vim to your own liking!
    to a new file I created (/etc/vimrc)

  • [solved] What's wrong with xbindkeys ?

    Hello,
    After an update last month, xbindkeys doesn't work anymore. I first thought it was comming from the package update from version 1.8.5-4 to 1.8.6-1. But the downgrading changes nothing.
    So, I decided to reduce my ~/.xbindkeysrc to a very simple key binding:
    "xdotool key o"
    b
    Then, I have tested the command with:
    $ sleep 3 && xdotool key o
    and it works fine, the letter 'o' is output as expected. So, the problem is from xbindkeys. Here is what I get:
    $ xbindkeys -v
    displayName = :0
    rc file = /home/user/.xbindkeysrc
    rc guile file = /home/user/.xbindkeysrc.scm
    getting rc guile file /home/user/.xbindkeysrc.scm.
    WARNING : /home/user/.xbindkeysrc.scm not found or reading not allowed.
    1 keys in /home/user/.xbindkeysrc
    min_keycode=8 max_keycode=255 (ie: know keycodes)
    "xdotool key o"
    b
    starting loop...
    # when I press the key "b"
    Key press !
    e.xkey.keycode=24
    e.xkey.state=16
    "xdotool key o"
    b
    got screen 0 for window 264
    Start program with fork+exec call
    Key press !
    e.xkey.keycode=27
    e.xkey.state=16
    Key release !
    e.xkey.keycode=27
    e.xkey.state=16
    Key release !
    e.xkey.keycode=24
    e.xkey.state=16
    So, the key "b" is well detected and the command seems to be executed. In order to check that, I have changed the ~/.xbindkeysrc to:
    "env > /tmp/xbtest.log"
    b
    I start again:
    $ xbindkeys -v
    displayName = :0
    rc file = /home/user/.xbindkeysrc
    rc guile file = /home/user/.xbindkeysrc.scm
    getting rc guile file /home/user/.xbindkeysrc.scm.
    WARNING : /home/user/.xbindkeysrc.scm not found or reading not allowed.
    1 keys in /home/user/.xbindkeysrc
    min_keycode=8 max_keycode=255 (ie: know keycodes)
    "env > /tmp/xbtest.log"
    b
    starting loop...
    Key press !
    e.xkey.keycode=24
    e.xkey.state=16
    "env > /tmp/xbtest.log"
    b
    got screen 0 for window 264
    Start program with fork+exec call
    Key release !
    e.xkey.keycode=24
    e.xkey.state=16
    We can see that this time the output is shorted because the key "o" is not detected. So, now:
    $ cat /tmp/xbtest.log
    XDG_VTNR=7
    KDE_MULTIHEAD=false
    XDG_SESSION_ID=c1
    DM_CONTROL=/var/run/xdmctl
    SHELL=/bin/bash
    TERM=xterm
    XDM_MANAGED=method=classic
    KONSOLE_DBUS_SERVICE=:1.34
    GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/user/.gtkrc-2.0:/home/user/.kde4/share/config/gtkrc-2.0
    KONSOLE_PROFILE_NAME=Terminal
    GS_LIB=/home/user/.fonts
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/user/.gtkrc:/home/user/.kde4/share/config/gtkrc
    WINDOWID=37748742
    SHELL_SESSION_ID=e40298450a414000a0d0344051d20a7c
    GTK_MODULES=canberra-gtk-module
    KDE_FULL_SESSION=true
    USER=user
    SESSION_MANAGER=local/userarch:@/tmp/.ICE-unix/519,unix/userarch:/tmp/.ICE-unix/519
    MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
    DESKTOP_SESSION=default
    PATH=/home/user/.gem/ruby/2.0.0/bin:/home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
    MAIL=/var/spool/mail/user
    _=/usr/bin/env
    QT_IM_MODULE=compose
    PWD=/home/user
    KONSOLE_DBUS_WINDOW=/Windows/1
    EDITOR=vim
    LANG=fr_FR.UTF-8
    KDE_SESSION_UID=1000
    KONSOLE_DBUS_SESSION=/Sessions/5
    COLORFGBG=15;0
    XDG_SEAT=seat0
    HOME=/home/user
    SHLVL=3
    KDE_SESSION_VERSION=4
    LANGUAGE=
    XCURSOR_THEME=Oxygen_White
    LOGNAME=user
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Y7rDDAnc7H,guid=929aa65abfe44e2c6f9a20a654d0c5c7
    XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share
    WINDOWPATH=7
    PROFILEHOME=
    DISPLAY=:0.0
    XDG_RUNTIME_DIR=/run/user/1000
    QT_PLUGIN_PATH=/home/user/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/
    XDG_CURRENT_DESKTOP=KDE
    The command is perfectly run. So, what's wrong ? Why
    "xdotool key o"
    b
    does not work ? It does not work like before.
    I have also tried xvkbd, even with full path (/usr/bin/xdotool, /usr/bin/xvkbd), nothing works.
    Any suggestions ?
    Thanks.
    Last edited by quasar (2015-02-07 00:15:49)

    It works :-) Thank you ^^
    But it was maybe a too simple case. This one does not work:
    "xdotool getwindowfocus key ctrl+o"
    k
    After a lot of testing, xbindkeys works fine, xdotool and xvkbd work fine too. I have tried that
    "xdotool getwindowfocus key --clearmodifiers ctrl+o"
    k
    without success.
    But since
    "sleep 2 && xdotool getwindowfocus key --clearmodifiers ctrl+o"
    works fine in the console, I have tried:
    "sleep 2 && xdotool getwindowfocus key --clearmodifiers ctrl+o"
    k
    and it worked fine. The difference is, when xdotool is running, thanks to sleep, I have no keys pressed.
    To be clear, the problem seems to come from the keys pressed (hardware) during xdotool sends key (software). But since all software haven't changed (xbindkeys, xdotool, xvkbd), and since kde has been updated to 5.6 during the pacman update, I suspect it comes from KDE.
    So, I have tested under a software under GTK (Firefox, inside KDE, LibreOffice, Inkscape), and miracle, everything works fine.
    I have then tested other KDE software, like KColourPaint, KDevelop, Konqueror, and it worked fine. So, it's a bug related to Kate and KWrite (KatePart?), I will just drop these software until they are fixed, btw, I have already seen another bug in Kate, KDE 5.6 has broken a lot of things :-(

  • [SOLVED]What is wrong with this invocation of prename?

    Hi
    I've got a bunch of files with numbers in the name. I want to rename the ones numbered 1 - 9 to add a leading zero, so they sort correctly lexicographically.
    I used $1 to back-reference the digit, but it didn't work and I don't know why:
    [~] prename -n "s/_(\d)\.txt/_0$1\.txt/" *
    file_1.txt renamed as file_0.txt
    file_2.txt renamed as file_0.txt
    file_3.txt renamed as file_0.txt
    file_4.txt renamed as file_0.txt
    file_5.txt renamed as file_0.txt
    file_6.txt renamed as file_0.txt
    file_7.txt renamed as file_0.txt
    file_8.txt renamed as file_0.txt
    file_9.txt renamed as file_0.txt
    Any help appreciated.
    Last edited by anotherjohn (2009-09-25 21:46:27)

    Hi folks, thanks for your replies.
    brisbin33: The -n option to prename makes it tell you what it would have done, without actually doing it. Also, your solution would add a leading '0' to the two-digit numbers as well, but thanks for trying
    N-Acc wrote:try escaping the `$1' in your regex or use single quotes.. otherwise it is intepreted by the shell.
    We have a winner!
    I can't *believe* I didn't try that. In fact, I'm pretty sure I did try that. Either way, it works now, thanks
    [~] prename -n "s/_(\d)\.txt/_0\$1\.txt/" *
    file_1.txt renamed as file_01.txt
    file_2.txt renamed as file_02.txt
    file_3.txt renamed as file_03.txt
    file_4.txt renamed as file_04.txt
    file_5.txt renamed as file_05.txt
    file_6.txt renamed as file_06.txt
    file_7.txt renamed as file_07.txt
    file_8.txt renamed as file_08.txt
    file_9.txt renamed as file_09.txt
    Incidentally, 'echo' shows the problem immediately:
    [~] echo prename -n "s/_(\d)\.txt/_0$1\.txt/"
    prename -n s/_(\d)\.txt/_0\.txt/
    [~] echo prename -n "s/_(\d)\.txt/_0\$1\.txt/"
    prename -n s/_(\d)\.txt/_0$1\.txt/
    Last edited by anotherjohn (2009-09-25 21:04:59)

  • What's wrong with the internet conection on my ipad now i have upgraded to ios7

    Before I installed the new operating system my ipad was working fine and safari was pretty quick loading but now safari is hit and niss , mostly miss ! so frustrating.

    (A) Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.
    (B) Reset all settings
    Settings>General>Reset>Reset all settings
    Note: Data will not be affected but settings will be reset.

  • HT201304 I don't what is wrong with my card I can't buy anything on apple store even free ones I can't download, they said my previous purchase have a problem but I don't how wil I do to solve this problem, I need a help pls

    I don't what is wrong with my card I can't buy anything on apple store even free ones I can't download, they said my previous purchase have a problem but I don't how wil I do to solve this problem, I need a help pls

    What is the exact error message you're receiving?

  • My FaceTime is active but it does not connect. Any one know what is wrong with it or how to solve the problem?

    My FaceTime is active but it does not connect. Any one know what is wrong with it or how to solve the problem?

    Please sign out of FaceTime and sign back in. If there's no change, log out or restart the computer and try again.

  • What is wrong with my XPath Query ??

    Hi Guys,
    please help me to solve the following problem. Trying to execute :
    XPathAPI.selectNodeList(MyNode,"//*[starts-with()='WType']")
    throws always an exception :
    javax.xml.transform.TransformerException: FuncStartsWith only allows 2 arguments
    What doesn't that mean ? What's wrong with my query ?

    According to my XSLT book, the starts-with() function requires 2 arguments. You haven't given it any arguments, and that seems to be exactly what the error message is telling you. And it returns a boolean, so comparing that with a string isn't going to work either.
    I suggest you will find Mulberry's xsl-list a better place to ask questions about XSLT than a Java forum. You can find it here:
    http://www.mulberrytech.com/xsl/xsl-list/

  • What's wrong with my vi

    What's wrong with my VI?
    When i'm using a string control to select on the case structure, my vi  is working as expected. But when i'm using the output of the read visa which outputs exactly the same string as the one i used in control string, the vi is not working as i expect it.
    The output of the read visa string is "HP8593E", an id query from agilent spectrum analyzer.
    thank you for your help..
    JLS
    Solved!
    Go to Solution.

    altenbach wrote:
    crossrulz wrote:
     I recommend using a Trim Whitespace on the string going into your case selector to remove this End Of Line.
    I agree that trim whitespace should be all you need. For good measure, you should also set the case structure for case insensitive matching.
    The instrument's FW has a 50 char buffer for the ID response.  Without knowing the exact FW on the device the ranged case is recommended.   HP has a nasty habit of adding fields where buffers exist (And sometimes even entire alternate language support SCPI) so, a response of "ModelID, FWVER, SER" is to be expected in later FW  "HP8593E..HP8593E\FF" permits this flexibility.  (Especially since the instrument is obsolete and you don't know what FW is on the next device you can buy.)   It may cost just a bit in performace Really? a nanosecond or two for each ID?  we don't ID? the device a million times, it will not impact test cycle time.  Yes a Case insensitive match would be perfered.  Match pattern may be better.
    Its not all that often I would disagree with the two of you...But in this instance
    Jeff

  • What's wrong with my VI Project?

    when i add a "time" project in my vi,there was wrong----i cannot stop it when i press stop".
    can you help me ?  what's wrong with it ?
                                                                                                                                                       --------------from  1110340027
    Solved!
    Go to Solution.

    The input to that function is SECONDS, not ms.  If you want 500ms, you need to put in 0.5.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • What's wrong with my syntax?

    I'm getting an error with this. What's wrong with my syntax?
    Error: Scene 1, Layer 'actions', Frame 1, Line 21 1084: Syntax error: expecting rightparen before semicolon.
    // Line 21
    holder.load(new URLRequest("Interactive_StrategyMap.swf" + "?random=" + Math.random();));

    Hi Ned,
    I'm trying to force my preloader to load the .swf every time. I do not want it stored in cache (because I'm trying to solve the issue where the dynamic text doesn't load on refresh)
    So, I've added this math.random to the end of the string... but now the preloader .swf apparently can't see the .swf I want it to load because the path is Interactive_StrategyMap.swf?random=123 instead of Interactive_StrategyMap.swf
    The error I get is:
    completeHandler: Interactive_StrategyMap.swf?random=123
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    My full code is:
    //THIS IS THE PRELOADER CONTAINER THAT LOADS THE INTERACTIVE
    //STRATEGY MAP (Interactive_StrategyMap.swf).
    // CREATE A NEW LOADER OBJECT TO HOLD THE LOADED CONTENT
    var holder:Loader = new Loader();
    var myString:String = "Interactive_StrategyMap.swf" + "?random=123" + Math.random();
    addChild(holder);
    // CREATE EVENT HANDLERS TO TRACK THE LOADING PROGRESS
    // AND TO TRACK THE COMPLETION OF THE LOADED CONTENT
    holder.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onLoading);
    holder.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
    function onComplete(e:Event):void {
    this.loadingClip.visible = false;
    function onLoading(e:ProgressEvent):void {
    var pcent:Number = e.target.bytesLoaded / e.target.bytesTotal * 100;
    loadingClip.loadingText.text = int(pcent) + "%";
    // LOAD THE EXTERNAL CONTENT
    holder.load(new URLRequest(myString));
    trace("completeHandler: " + myString);

  • Borderless URXVT, what's wrong with my .Xdefaults?

    I'm trying to get my URXVT on my Openbox desktop.  I followed the little guide here:  http://wiki.archlinux.org/index.php/Ope … background.  That doesn't work for me.
    I run URXVT with the .Xdefaults urxvt.borderLess: true and it shows up, but I can't type in it.  If I remove it, it shows up and I can type in it.  What am I doing wrong?
    urxvt.termName: urxvt
    urxvt.scrollBar: false
    !urxvt.internalBorder: 0
    !urxvt.externalBorder: 0
    urxvt.transparent: true
    !urxvt.foreground: white
    !urxvt.borderLess: true
    urxvt.font: xft:Terminus:pixelsize=12;antialias=false
    urxvt.geometry: 60x30
    urxvt.borderLess: 1
    urxvt.fadeColor: black
    urxvt.shading: 80
    urxvt.depth: 24
    urxvt.background: #000000
    urxvt.foreground: #c7c7c7
    I've tried commenting out each line and seeing what works.  What's wrong with my .Xdefaults   I want the urxvt to start with Openbox and be on my desktop like the wiki says.  That wiki page isn't working for me so I don't know what to do to get that.  Then, borderLess: true isn't working for me either.
    I've had this working perfectly about 10 months ago, but as a stupid person I formatted and lost it all.  So, can anyone help me please?
    Thanks.

    Nope, didn't work   It hates me.  Why would it work on my desktop x86_64 and not my laptop x86_64?
    sHyLoCk wrote:
    Zetsumei wrote:Still nothing.
    I had a tough time with it as well, but managed to solve the issue by using wiki. What I've done is used the urxvt part of Xdefaults from wiki. And just modified it a bit, like reduced the geom since I don't use fullscreen. And added this as well:
    URxvt*borderLess: false
    transparent=0000 opaque=ffff
    URxvt.buffered: true
    URxvt.background: black
    URxvt.foreground: white
    URxvt.cursorColor: green
    URxvt.underlineColor: yellow
    Yes my urxvt borderless is kept false but it still works because of rc.xml:
    <application name="urxvt">
    <decor>no</decor>
    <focus>yes</focus>
    <position>
    <x>285</x>
    <y>center</y>
    </position>
    <layer>below</layer>
    <desktop>1</desktop>
    <maximized>false</maximized>
    </application>
    Here's the result as I wanted:
    http://omploader.org/tMXoyaw

  • WHAT IS WRONG WITH 5230???

    What is wrong with my 5230?
    For like 2 weeks now I do not get any alert for a message.
    I do not get a vibrate, or alert on my homescreen.
    I always have to go to messages and when in inbox it has new messages?
    **bleep**????
    C'mon nokia help here?
    I have rebooted my phone plenty times.
    Let me rephrase that "it reboots ITSELF".
    Thank you
    Lumia 810 (T-Mobile) Owner

    Try 2 things..
    A.) Take a back up of only 'Messages' on your PC using OVI Suite..
    Delete all messages from the phone ... Reboot and try... If problem is solved then the Message qty is problem..(though going by your details it may not be.) But no harm in trying as you have to just restore them back if the problem lies somewhere else..
    B.) Take back-up.. All data without 'Settings' (Just for Safety.. may not be needed at all..)
    Do a 'Factory Reset'  thru' phone menu and check.. This should not delete anything from your phone but you will have to only do the Settings / Personalisations again.. 
    --------------------------------------------------​--------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

  • What is wrong with snippet?

    Guys,
    What is wrong with snippet below? Why both conditions sometimes are true:
    if ( fine != suspect ) {
    if ( fine == suspect ) {
    I am new to Java and had a long arguments, but failed to prove anything.
    Could you help me please? What do you think?
    public class VWC {
      private volatile boolean     suspect;
      private boolean               fine;
      private boolean               anotherFine;
      private Object               lock = new Object();
      private int               failures;
      private int               iterations;
      private VWC() {
        new Thread() {
          public void run() {
            while( true ) {
              synchronized( lock ) {
                try {
                  lock.wait();
                } catch ( Exception exception ) {
              synchronized( lock ) {
                if ( fine != suspect ) {
                  System.err.println( "be aware: " + (++failures) + "/ " + iterations);
                  if ( fine == suspect ) {
                    System.err.println( "is it real?" );
                if ( fine != anotherFine ) {
                  System.err.println( "should never be printed out" );
        }.start();
      private void run() {
        while( true ) {
          synchronized( lock ) {
            ++iterations;
            fine = ! fine;
            anotherFine = ! anotherFine;
          suspect = ! suspect;
          synchronized( lock ) {
            lock.notify();
      public static void main(String[] args) {
        new VWC().run();
    }

    jalligator wrote:
    Steve, thank you very much for the comprehensive explanation. Sorry, actually I wanted to see how many developers are aware of volatile variables specifics and how many of them are open minded. Not sure how this question addresses either of those questions.
    This snippet is a stripped down version of production code. Developer relied of volatility, inverted boolean in one thread and expected to see the change right away in other thread. Unfortunately value propagation takes time (not a milliseconds though), Without volatile, yes it takes time. With volatile, no, the updated value is seen instantly (though accessing the volatile variable is less efficient than accessing a thread local variable because it has to retrieve it from main memory first and then use it...)
    so second thread sometimes misses value change; it happens approximately once per million on my box. That is not what is happening in your example code. It is not that suspect is being changed and the second thread misses the change. What is happening is approximately once per million times through your loop the value of suspect is being switched between the two if statements. Sequentially your computer is doing this:
    1) [Thread A] if ( fine != suspect ) {
    2) [Thread A] System.err.println( "be aware: " + (++failures) + "/ " + iterations);
    3) [Thread B] suspect = ! suspect;
    4) [Thread A] if ( fine == suspect ) {
    5) [Thread A] System.err.println( "is it real?" );
    I found that bug in production code and proposed to use synchronized blocks at least. However, all team members said volatile variables work perfectly. I typed this snippet as a concept proof, however, nobody took a look and f course nobody tried to compile and see how volatile vars work in reality. I would ignore this issue unless I had to fix this bug. However, they still disagree and claim there is some other problem and I have to solve it. I am absolutely out of options now; I found the bug, however, they ignore my finding and demand me to find something else.Edited by: stevejluke on Jul 5, 2008 10:10 PM

  • I get a message saying safari cannot open a page because "too many redirects have occurred". These pages open perfectly well in a rival browser. What is wrong with Safari? My platform is iPad

    I get a message saying safari cannot open a page because "too many redirects have occurred". These pages open perfectly well in a rival browser. What is wrong with Safari? My platform is iPad
    John E Staton

    hey, i got the same problem before but maybe this solve the problem to you. (on ipad)
    1. go to setting and tap "general"
    2. in privacy section see "accept cookies" and select "from visited"
    some website manage their domain with cookies, a lot of them.  and is more frequently on marketing web sites,  like banks, shopping, etc...
    be sure to select "fraud warning" always. is up to you to accept cookies or not. affortunatly, u can always turn off and on.
    madboypr.

Maybe you are looking for