[DRBD-user] The 'cram-hmac-alg' you specified is not known in the kernel. (Maybe you need to modprobe it, or modprobe hmac?)

Martin Gombac martin at isg.si
Thu May 29 15:03:17 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,

I usually don't use encryption but decided it's time to start using it.

Here is the problem I get:
--
/dev/drbd1_webftp: Failure: (120) The 'cram-hmac-alg' you specified  
is not known in the kernel. (Maybe you need to modprobe it, or  
modprobe hmac?)
Command 'drbdsetup /dev/drbd1_webftp net 192.168.0.2:19001  
192.168.0.1:19001 C --set-defaults --create-device --cram-hmac- 
alg=twofish --shared-secret=mypassword :-) --after-sb-0pri=discard- 
least-changes --after-sb-1pri=consensus --after-sb-2pri=disconnect -- 
rr-conflict=disconnect' terminated with exit code 10
--

I either have written drbd.conf wrong or I don't have the appropriate  
modules in kernel. Please advise me on this.
I've added HMAC support in, since i got that error, but it persists.

Thank you.

drbd.conf:
     cram-hmac-alg "twofish";

kernel:
  --- Cryptographic  
API                                                                      
                        x x
   x x                                          ---   Cryptographic  
algorithm  
manager                                                                  
            x x
   x x                                          <*>   HMAC  
support                                                                  
                               x x
   x x                                          < >   XCBC  
support                                                                  
                               x x
   x x                                          < >   Null  
algorithms                                                               
                               x x
   x x                                          <*>   MD4 digest  
algorithm                                                                
                         x x
   x x                                          <*>   MD5 digest  
algorithm                                                                
                         x x
   x x                                          < >   SHA1 digest  
algorithm                                                                
                        x x
   x x                                          ---   SHA256 digest  
algorithm                                                                
                      x x
   x x                                          < >   SHA384 and  
SHA512 digest  
algorithms                                                               
           x x
   x x                                          < >   Whirlpool  
digest  
algorithms                                                               
                   x x
   x x                                          < >   Tiger digest  
algorithms                                                               
                       x x
   x x                                          < >   GF(2^128)  
multiplication functions  
(EXPERIMENTAL)                                                           
x x
   x x                                          <*>   ECB  
support                                                                  
                                x x
   x x                                          <*>   CBC  
support                                                                  
                                x x
   x x                                          <*>   PCBC  
support                                                                  
                               x x
   x x                                          < >   LRW support  
(EXPERIMENTAL)                                                           
                        x x
   x x                                          < >   Software async  
crypto  
daemon                                                                   
              x x
   x x                                          <*>   DES and Triple  
DES EDE cipher  
algorithms                                                               
      x x
   x x                                          < >   FCrypt cipher  
algorithm                                                                
                      x x
   x x                                          <*>   Blowfish cipher  
algorithm                                                                
                    x x
   x x                                          < >   Twofish cipher  
algorithm                                                                
                     x x
   x x                                          <*>   Twofish cipher  
algorithm  
(x86_64)                                                                 
           x x
   x x                                          < >   Serpent cipher  
algorithm                                                                
                     x x
   x x                                          < >   AES cipher  
algorithms                                                               
                         x x
   x x                                          <*>   AES cipher  
algorithms  
(x86_64)                                                                 
              x x
   x x                                          < >   CAST5  
(CAST-128) cipher  
algorithm                                                                
            x x
   x x                                          < >   CAST6  
(CAST-256) cipher  
algorithm                                                                
            x x
   x x                                          < >   TEA, XTEA and  
XETA cipher  
algorithms                                                               
          x x
   x x                                          < >   ARC4 cipher  
algorithm 
                     



More information about the drbd-user mailing list