Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Saturday 28 March 2009 05:21:45 Chris DiMartino wrote: > I've just installed 8.3.1 against my compiled version of 2.6.26. I've > installed sha1 as part of kernel, and md5 and most other digest crypto > as modules. When attempting to set verify-alg or csums-alg, I get the > following: > > 0: Failure: (145) CSUMSAlgNotDigest > Command 'drbdsetup 0 syncer --set-defaults --create-device > --verify-alg=sha1 --csums-alg=sha1 --al-extents=127 --rate=110M' > terminated with exit code 10 > 1: Failure: (145) CSUMSAlgNotDigest > > This happens regardless of type of crypto chosen. > > lsmod | grep md5: > md5 5024 0 > > and sha1 is inbuilt into the kernel: > CONFIG_CRYPTO_SHA1=y > > What am I doing wrong?? > I do not know. It works for me... uml1-phil:~/drbd83# lsmod Module Size Used by drbd 197844 0 dm_mod 41192 2 uml1-phil:~/drbd83# drbdadm up all uml1-phil:~/drbd83# lsmod Module Size Used by sha1_generic 2080 1 crypto_algapi 12096 1 sha1_generic drbd 197844 3 dm_mod 41192 2 uml1-phil:~/drbd83# drbdsetup /dev/drbd0 show disk { size 0s _is_default; # bytes on-io-error detach; fencing resource-only; max-bio-bvecs 0 _is_default; } net { timeout 60 _is_default; # 1/10 seconds max-epoch-size 2048 _is_default; max-buffers 2048 _is_default; unplug-watermark 128 _is_default; connect-int 10 _is_default; # seconds ping-int 10 _is_default; # seconds sndbuf-size 131070 _is_default; # bytes ko-count 0 _is_default; after-sb-0pri disconnect _is_default; after-sb-1pri disconnect _is_default; after-sb-2pri disconnect _is_default; rr-conflict disconnect _is_default; ping-timeout 5 _is_default; # 1/10 seconds } syncer { rate 15360k; # bytes/second after -1 _is_default; al-extents 127 _is_default; verify-alg "sha1"; } protocol C; _this_host { device minor 0; disk "/dev/ubdb"; meta-disk internal; address ipv4 192.168.47.1:7780; } _remote_host { address ipv4 192.168.47.2:7780; } Probably you forgot something in your kernel config. -Phil -- : Dipl-Ing Philipp Reisner : LINBIT | Your Way to High Availability : Tel: +43-1-8178292-50, Fax: +43-1-8178292-82 : http://www.linbit.com DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.