* Package: sys-fs/dd-rescue-1.99.13:0 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: elibc_glibc kernel_linux ppc userland_GNU xattr * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking dd_rescue-1.99.13.tar.bz2 to /var/tmp/portage/sys-fs/dd-rescue-1.99.13/work >>> Source unpacked in /var/tmp/portage/sys-fs/dd-rescue-1.99.13/work >>> Preparing source in /var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13 ... * Running eautoreconf in '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' ... * Running 'aclocal --system-acdir=/var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified * Running elibtoolize in: dd_rescue-1.99.13/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13 ... * econf: updating dd_rescue-1.99.13/config.guess with /usr/share/gnuconfig/config.guess * econf: updating dd_rescue-1.99.13/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=powerpc-unknown-linux-gnu --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/dd-rescue-1.99.13 --htmldir=/usr/share/doc/dd-rescue-1.99.13/html --libdir=/usr/lib checking for powerpc-unknown-linux-gnu-gcc... powerpc-unknown-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether powerpc-unknown-linux-gnu-gcc accepts -g... yes checking for powerpc-unknown-linux-gnu-gcc option to enable C11 features... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for fallocate.h... no checking for dlfcn.h... yes checking for unistd.h... (cached) yes checking for sys/xattr.h... yes checking for attr/xattr.h... (cached) yes checking for sys/acl.h... yes checking for sys/ioctl.h... yes checking for endian.h... yes checking for linux/fs.h... yes checking for linux/fiemap.h... yes checking for stdint.h... (cached) yes checking for lzo/lzo1x.h... (cached) no checking for openssl/evp.h... (cached) no checking for linux/random.h... yes checking for sys/random.h... yes checking for malloc.h... yes checking for sched.h... yes checking for sys/statvfs.h... yes checking for sys/resource.h... yes checking for sys/endian.h... no checking for linux/swab.h... yes checking for ffs... yes checking for ffsl... yes checking for basename... yes checking for fallocate64... yes checking for splice... yes checking for getopt_long... yes checking for open64... yes checking for pread... yes checking for pread64... yes checking for lseek64... yes checking for stat64... yes checking for posix_fadvise... yes checking for posix_fadvise64... yes checking for __builtin_prefetch... no checking for htonl... yes checking for htobe64... no checking for feof_unlocked... yes checking for getline... yes checking for getentropy... yes checking for getrandom... yes checking for posix_memalign... yes checking for valloc... yes checking for sched_yield... yes checking for fstatvfs... yes checking for __builtin_cpu_supports... no checking for getrlimit... yes checking for aligned_alloc... yes checking for dlsym in -ldl... yes checking for linux_fallocate64 in -lfallocate... no checking for lzo1x_1_compress in -llzo2... (cached) no checking for EVP_aes_192_ctr in -lcrypto... (cached) no checking if powerpc-unknown-linux-gnu-gcc supports -mavx... no checking if powerpc-unknown-linux-gnu-gcc supports -mrdrnd... no checking if powerpc-unknown-linux-gnu-gcc supports -maes... no checking whether asm rep nop is supported... yes checking whether asm lfence is supported... yes checking whether aligned_alloc works... yes checking whether valloc has been declared... no checking whether unaligned int reads are handled... yes configure: creating ./config.status config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13 ... make -j16 -l15 MACH= OS=Linux HAVE_SSE42=0 HAVE_AVX2=0 'RPM_OPT_FLAGS=-O2 -mcpu=powerpc -mtune=powerpc -pipe ' CFLAGS_OPT=$(CFLAGS) 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue' CC=powerpc-unknown-linux-gnu-gcc #powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DGEN_DEP -MM ./*.c >.dep powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DGEN_DEP -D__AES__ -D__SSE4_1__ -D__SSSE3__ -D__SSE3__ -D__SSE2__ -D__SSE__ -D__MMX__ -DNO_WARN_X86_INTRINSICS -I . -MM ./*.c >.dep sed 's/\.o:/\.po:/' <.dep >.dep2 cat .dep2 >> .dep rm .dep2 fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIE -c random.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -fPIE -c frandom.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -fPIE -c fmt_no.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -fPIE -c find_nonzero.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIE -c fstrim.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIC -o libddr_hash.po -c libddr_hash.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -fPIC -o md5.po -c md5.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -fPIC -o sha256.po -c sha256.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -fPIC -o sha512.po -c sha512.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -fPIC -o sha1.po -c sha1.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIC -o pbkdf2.po -c pbkdf2.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIC -o checksum_file.po -c checksum_file.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIC -o libddr_null.po -c libddr_null.c In file included from sha512.c:19: sha512.c: In function ‘sha512_calc’: sha512.c:269:56: warning: right shift count >= width of type [-Wshift-count-overflow] 269 | *(uint32_t*)(sha512_buf+116) = htonl(final_len >> 61); | ^~ fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIC -o libddr_crypt.po -c libddr_crypt.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -O2 -fPIC -o aes.po -c aes.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -fPIC -o aes_c.po -c aes_c.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIC -o pbkdf_ossl.po -c pbkdf_ossl.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIC -o secmem.po -c secmem.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIC -o random.po -c random.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -fPIE -pie -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" dd_rescue.c -o dd_rescue random.o frandom.o fmt_no.o find_nonzero.o fstrim.o -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue -ldl -rdynamic powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue -shared -o libddr_null.so libddr_null.po powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue -shared -o libddr_hash.so libddr_hash.po md5.po sha256.po sha512.po sha1.po pbkdf2.po checksum_file.po ln -sf libddr_hash.so libddr_MD5.so powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -DHAVE_CONFIG_H -I . -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue -shared -o libddr_crypt.so libddr_crypt.po aes.po aes_c.po pbkdf2.po sha256.po pbkdf_ossl.po md5.po checksum_file.po secmem.po random.po >>> Source compiled. >>> Test phase: sys-fs/dd-rescue-1.99.13 make -j16 -l15 MACH= OS=Linux HAVE_SSE42=0 HAVE_AVX2=0 'RPM_OPT_FLAGS=-O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon ' CFLAGS_OPT=$(CFLAGS) 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue' CC=powerpc-unknown-linux-gnu-gcc check powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -o find_nonzero_main.o -c find_nonzero.c -DTEST powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -pie -DMD5_MAIN -o md5 md5.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -pie -DSHA1_MAIN -o sha1 sha1.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -pie -DSHA256_MAIN -o sha256 sha256.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -pie -DSHA512_MAIN -o sha512 sha512.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -pie -o fmt_no fmt_no.c -DTEST In file included from sha512.c:19: sha512.c: In function ‘sha512_calc’: sha512.c:269:56: warning: right shift count >= width of type [-Wshift-count-overflow] 269 | *(uint32_t*)(sha512_buf+116) = htonl(final_len >> 61); | ^~ powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -pie -o find_nonzero find_nonzero_main.o make check ... Pass VG="valgrind --options" to use with valgrind ./dd_rescue --version dd_rescue Version 1.99.13, kurt@garloff.de, GNU GPL v2/v3 (DD_RESCUE_1_99_13) (compiled Apr 23 2023 20:43:16 by powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120) (features: O_DIRECT dl/libfallocate fallocate splice fitrim xattr c) dd_rescue is free software. It's protected by the terms of GNU GPL v2 or v3 (at your option). ***** find_nonzero tests ***** ./find_nonzero 2 Using extensions: c 00000000: last 0 first 0 00000001: last 1 first 1 80000000: last 32 first 32 05000100: last 9 first 27 00900002: last 2 first 24 00000100: last 9 first 9 80400000: last 23 first 32 65536 x find_nonzero_c ( 0): 0 ( 0.000s => 136MB/s) 65536 x find_nonzero ( 0): 0 ( 0.000s => 962MB/s) 16384 x find_nonzero_c ( 8177): 8177 ( 0.040s => 3203MB/s) 16384 x find_nonzero ( 8177): 8177 ( 0.040s => 3205MB/s) 16384 x find_nonzero ( 8177): 8177 ( 0.040s => 3189MB/s) 4096 x find_nonzero_c ( 32759): 32759 ( 0.040s => 3231MB/s) 4096 x find_nonzero ( 32759): 32759 ( 0.040s => 3222MB/s) 1024 x find_nonzero_c ( 131064): 131064 ( 0.040s => 3234MB/s) 128 x find_nonzero_c ( 1048569): 1048569 ( 0.040s => 3221MB/s) 32 x find_nonzero_c ( 4194303): 4194303 ( 0.040s => 3218MB/s) 8 x find_nonzero_c (16777216): 16777216 ( 0.040s => 3222MB/s) 2 x find_nonzero_c (67108864): 67108864 ( 0.044s => 2917MB/s) 1 x find_nonzero_c (67108864): 67108848 ( 0.021s => 3051MB/s) 1 x find_nonzero (67108864): 67108848 ( 0.020s => 3203MB/s) 1 x find_nonzero_c (67108864): 67108859 ( 0.020s => 3192MB/s) 1 x find_nonzero (67108864): 67108859 ( 0.020s => 3203MB/s) 10 x find_nonzero_c (12582912): 12582912 ( 0.038s => 3187MB/s) ***** fmt_no tests ***** ./fmt_no 1024200 1000.20: 1000.2 _ 1000.2 __ 1000.2 ___ 1000.2 ____ 1000.20 _____ 1000.20 ______ 1000.20 _______ 1000.20 ________1,000.20 _________,000.2+ 1,000.20 ____ 1000 _____ 1000 ______ 1000 _______ 1000 ________1,000 _________>000 1,000 1000.2 1000.2 0x3e8.3 1000 1000 1000 1000 1000 1000 ***** dd_rescue tests ***** ./dd_rescue -apP dd_rescue dd_rescue.copy dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.copy dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 7633kB/s, avg.rate: 7633kB/s, avg.load: 4.0% >-.......................................-< 100% TOT: 0:00:00 cmp dd_rescue dd_rescue.copy ./dd_rescue -b16k -B16k -a dd_rescue dd_rescue.copy dd_rescue: (info): Using softbs=16.0kiB, hardbs=16.0kiB dd_rescue: (info): dd_rescue is sparse (14%) dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.copy dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 8229kB/s, avg.rate: 8229kB/s, avg.load: 3.9% >-..................................-....-< 100% TOT: 0:00:00 cmp dd_rescue dd_rescue.copy ./dd_rescue -r dd_rescue dd_rescue.copy dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): Summary for dd_rescue -> dd_rescue.copy dd_rescue: (info): ipos: 0.0k, opos: 0.0k, xferd: 145.5k - errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 7939kB/s, avg.rate: 7939kB/s, avg.load: 3.6% >-.......................................-< 100% TOT: 0:00:00 cmp dd_rescue dd_rescue.copy ./dd_rescue -x dd_rescue dd_rescue.copy dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.copy dd_rescue: (info): ipos: 145.5k, opos: 291.0k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 5681kB/s, avg.rate: 5681kB/s, avg.load: 2.5% >-.......................................-< 100% TOT: 0:00:00 cat dd_rescue dd_rescue > dd_rescue.copy2 cmp dd_rescue.copy dd_rescue.copy2 ./dd_rescue -r -S 1M -m 4k /dev/null zero dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): expect to copy 4.0kiB from /dev/null dd_rescue: (info): Summary for /dev/null -> zero dd_rescue: (info): ipos: 0.0k, opos: 1024.0k, xferd: 0.0k - errs: 0, errxfer: 0.0k, succxfer: 0.0k +curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 3.6% ***** dd_rescue sparse tests ***** ./dd_rescue -a -m 261k /dev/zero zero dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): expect to copy 261.0kiB from /dev/zero dd_rescue: (info): Summary for /dev/zero -> zero dd_rescue: (info): ipos: 261.0k, opos: 261.0k, xferd: 261.0k errs: 0, errxfer: 0.0k, succxfer: 0.0k +curr.rate: 25132kB/s, avg.rate: 25132kB/s, avg.load: 2.5% >-.......................................-< 100% TOT: 0:00:00 du zero 0 zero ./dd_rescue -S 12k -m 4k -b 4k -Z 0 zero dd_rescue: (info): Using softbs=4.0kiB, hardbs=4.0kiB dd_rescue: (info): zero is sparse (100%) dd_rescue: (info): expect to copy 4.0kiB from PRNG_frnd dd_rescue: (info): Summary for PRNG_frnd -> zero dd_rescue: (info): ipos: 4.0k, opos: 16.0k, xferd: 4.0k errs: 0, errxfer: 0.0k, succxfer: 4.0k +curr.rate: 555kB/s, avg.rate: 555kB/s, avg.load: 6.6% >-.......................................-= 100% TOT: 0:00:00 ./dd_rescue -S 20k -m 4k -b 4k -Z 0 zero dd_rescue: (info): Using softbs=4.0kiB, hardbs=4.0kiB dd_rescue: (info): zero is sparse (98%) dd_rescue: (info): expect to copy 4.0kiB from PRNG_frnd dd_rescue: (info): Summary for PRNG_frnd -> zero dd_rescue: (info): ipos: 4.0k, opos: 24.0k, xferd: 4.0k errs: 0, errxfer: 0.0k, succxfer: 4.0k +curr.rate: 405kB/s, avg.rate: 405kB/s, avg.load: 3.0% >-.......................................-= 100% TOT: 0:00:00 ./dd_rescue -a -b 8k zero zero2 dd_rescue: (info): Using softbs=8.0kiB, hardbs=4.0kiB dd_rescue: (info): zero is sparse (96%) dd_rescue: (info): expect to copy 261.0kiB from zero dd_rescue: (info): read zero (261.0kiB): EOF dd_rescue: (info): Summary for zero -> zero2 dd_rescue: (info): ipos: 261.0k, opos: 261.0k, xferd: 261.0k errs: 0, errxfer: 0.0k, succxfer: 8.0k +curr.rate: 18353kB/s, avg.rate: 18353kB/s, avg.load: 6.3% >-..................-...................--< 100% TOT: 0:00:00 du zero zero2 8 zero 8 zero2 cmp zero zero2 ./dd_rescue -a -b 16k zero zero2 dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): zero is sparse (96%) dd_rescue: (info): expect to copy 261.0kiB from zero dd_rescue: (info): read zero (261.0kiB): EOF dd_rescue: (info): Summary for zero -> zero2 dd_rescue: (info): ipos: 261.0k, opos: 261.0k, xferd: 261.0k errs: 0, errxfer: 0.0k, succxfer: 12.0k +curr.rate: 20727kB/s, avg.rate: 20727kB/s, avg.load: 5.0% >-......................................--< 100% TOT: 0:00:00 du zero zero2 8 zero 12 zero2 cmp zero zero2 ***** dd_rescue RND overwrite tests ***** ./dd_rescue -m 97263283 /dev/zero TEST dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): expect to copy 94983.7kiB from /dev/zero dd_rescue: (info): Summary for /dev/zero -> TEST dd_rescue: (info): ipos: 94983.7k, opos: 94983.7k, xferd: 94983.7k errs: 0, errxfer: 0.0k, succxfer: 94983.7k +curr.rate: 318937kB/s, avg.rate: 318937kB/s, avg.load: 30.9% >-----------------------------------------< 100% TOT: 0:00:00 ./dd_rescue -MA -Z 0 TEST dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): limit max xfer to 94983.7kiB dd_rescue: (info): expect to copy 94983.7kiB from PRNG_frnd dd_rescue: (info): ipos: 16384.0k, opos: 16384.0k, xferd: 16384.0k errs: 0, errxfer: 0.0k, succxfer: 16384.0k +curr.rate: 143463kB/s, avg.rate: 143463kB/s, avg.load: 99.7% >-------..................................< 17% ETA: 0:00:01 dd_rescue: (info): ipos: 32768.0k, opos: 32768.0k, xferd: 32768.0k errs: 0, errxfer: 0.0k, succxfer: 32768.0k +curr.rate: 143606kB/s, avg.rate: 143748kB/s, avg.load: 99.7% >--------------...........................< 34% ETA: 0:00:00 dd_rescue: (info): ipos: 49152.0k, opos: 49152.0k, xferd: 49152.0k errs: 0, errxfer: 0.0k, succxfer: 49152.0k +curr.rate: 143805kB/s, avg.rate: 143966kB/s, avg.load: 99.7% >---------------------....................< 51% ETA: 0:00:00 dd_rescue: (info): ipos: 65536.0k, opos: 65536.0k, xferd: 65536.0k errs: 0, errxfer: 0.0k, succxfer: 65536.0k +curr.rate: 143971kB/s, avg.rate: 144091kB/s, avg.load: 99.7% >----------------------------.............< 68% ETA: 0:00:00 dd_rescue: (info): ipos: 81920.0k, opos: 81920.0k, xferd: 81920.0k errs: 0, errxfer: 0.0k, succxfer: 81920.0k +curr.rate: 144115kB/s, avg.rate: 144182kB/s, avg.load: 99.8% >-----------------------------------......< 86% ETA: 0:00:00 dd_rescue: (info): Summary for PRNG_frnd -> TEST dd_rescue: (info): ipos: 94983.7k, opos: 94983.7k, xferd: 94983.7k errs: 0, errxfer: 0.0k, succxfer: 94983.7k +curr.rate: 111051kB/s, avg.rate: 56887kB/s, avg.load: 43.4% >-----------------------------------------< 100% TOT: 0:00:02 ./dd_rescue -MA -2 /dev/urandom TEST dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): limit max xfer to 94983.7kiB dd_rescue: (info): expect to copy 94983.7kiB from PRNG_frnd dd_rescue: (info): Triple overwrite (BSI M7.15): first pass ... (frandom) dd_rescue: (info): ipos: 16384.0k, opos: 16384.0k, xferd: 16384.0k errs: 0, errxfer: 0.0k, succxfer: 16384.0k +curr.rate: 147759kB/s, avg.rate: 147759kB/s, avg.load: 99.8% >-------..................................< 17% ETA: 0:00:01 dd_rescue: (info): ipos: 32768.0k, opos: 32768.0k, xferd: 32768.0k errs: 0, errxfer: 0.0k, succxfer: 32768.0k +curr.rate: 147708kB/s, avg.rate: 147657kB/s, avg.load: 99.8% >--------------...........................< 34% ETA: 0:00:00 dd_rescue: (info): ipos: 49152.0k, opos: 49152.0k, xferd: 49152.0k errs: 0, errxfer: 0.0k, succxfer: 49152.0k +curr.rate: 147703kB/s, avg.rate: 147667kB/s, avg.load: 99.8% >---------------------....................< 51% ETA: 0:00:00 dd_rescue: (info): ipos: 65536.0k, opos: 65536.0k, xferd: 65536.0k errs: 0, errxfer: 0.0k, succxfer: 65536.0k +curr.rate: 147659kB/s, avg.rate: 147632kB/s, avg.load: 99.8% >----------------------------.............< 68% ETA: 0:00:00 dd_rescue: (info): ipos: 81920.0k, opos: 81920.0k, xferd: 81920.0k errs: 0, errxfer: 0.0k, succxfer: 81920.0k +curr.rate: 147851kB/s, avg.rate: 147790kB/s, avg.load: 99.8% >-----------------------------------......< 86% ETA: 0:00:00 syncing ... dd_rescue: (info): Triple overwrite (BSI M7.15): last pass ... (zeros) dd_rescue: (info): ipos: 2048.0k, opos: 2048.0k, xferd: 2048.0k errs: 0, errxfer: 0.0k, succxfer: 97031.7k +curr.rate: 90440kB/s, avg.rate: 1696769kB/s, avg.load:100.3% >.---------------------------------------.< 2% ETA: 0:00:00 dd_rescue: (info): Summary for FRND+ZERO -> TEST dd_rescue: (info): ipos: 94983.7k, opos: 94983.7k, xferd: 189967.3k errs: 0, errxfer: 0.0k, succxfer: 189967.3k +curr.rate: 326051kB/s, avg.rate: 110915kB/s, avg.load: 45.5% >.........................................< 200% TOT: 0:00:02 ***** dd_rescue ratecontrol test ***** # Test system must be fast enough to achieve ~20MB/s ... OLDDT=`date +%s`; ./dd_rescue -m 64M -C 20M /dev/zero /dev/null; DT=`date +%s`; ARCH=$(uname -m); test $(($DT-$OLDDT)) = 3 -o $(($DT-$OLDDT)) = 4 || test $(($DT-$OLDDT)) -ge 5 -a ${ARCH:0:3} = ppc dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): expect to copy 65536.0kiB from /dev/zero dd_rescue: (info): ipos: 2048.0k, opos: 2048.0k, xferd: 2048.0k errs: 0, errxfer: 0.0k, succxfer: 2048.0k +curr.rate: 13454kB/s, avg.rate: 13454kB/s, avg.load: 0.0% >--.......................................< 3% ETA: 0:00:05 dd_rescue: (info): ipos: 6144.0k, opos: 6144.0k, xferd: 6144.0k errs: 0, errxfer: 0.0k, succxfer: 6144.0k +curr.rate: 15583kB/s, avg.rate: 18142kB/s, avg.load: 0.1% >----.....................................< 9% ETA: 0:00:04 dd_rescue: (info): ipos: 10240.0k, opos: 10240.0k, xferd: 10240.0k errs: 0, errxfer: 0.0k, succxfer: 10240.0k +curr.rate: 16874kB/s, avg.rate: 19101kB/s, avg.load: 0.1% >----.--..................................< 15% ETA: 0:00:03 dd_rescue: (info): ipos: 14336.0k, opos: 14336.0k, xferd: 14336.0k errs: 0, errxfer: 0.0k, succxfer: 14336.0k +curr.rate: 17792kB/s, avg.rate: 19493kB/s, avg.load: 0.1% >----.----................................< 21% ETA: 0:00:03 dd_rescue: (info): ipos: 18432.0k, opos: 18432.0k, xferd: 18432.0k errs: 0, errxfer: 0.0k, succxfer: 18432.0k +curr.rate: 18481kB/s, avg.rate: 19718kB/s, avg.load: 0.1% >----.----.--.............................< 28% ETA: 0:00:03 dd_rescue: (info): ipos: 20480.0k, opos: 20480.0k, xferd: 20480.0k errs: 0, errxfer: 0.0k, succxfer: 20480.0k +curr.rate: 18973kB/s, avg.rate: 19788kB/s, avg.load: 0.1% >----.----.---............................< 31% ETA: 0:00:03 dd_rescue: (info): ipos: 24576.0k, opos: 24576.0k, xferd: 24576.0k errs: 0, errxfer: 0.0k, succxfer: 24576.0k +curr.rate: 19369kB/s, avg.rate: 19913kB/s, avg.load: 0.0% >----.----.----.-.........................< 37% ETA: 0:00:02 dd_rescue: (info): ipos: 26624.0k, opos: 26624.0k, xferd: 26624.0k errs: 0, errxfer: 0.0k, succxfer: 26624.0k +curr.rate: 19639kB/s, avg.rate: 19953kB/s, avg.load: 0.0% >----.----.----.--........................< 40% ETA: 0:00:02 dd_rescue: (info): ipos: 28672.0k, opos: 28672.0k, xferd: 28672.0k errs: 0, errxfer: 0.0k, succxfer: 28672.0k +curr.rate: 19842kB/s, avg.rate: 19988kB/s, avg.load: 0.0% >----.----.----.---.......................< 43% ETA: 0:00:02 dd_rescue: (info): ipos: 30720.0k, opos: 30720.0k, xferd: 30720.0k errs: 0, errxfer: 0.0k, succxfer: 30720.0k +curr.rate: 19995kB/s, avg.rate: 20018kB/s, avg.load: 0.0% >----.----.----.----......................< 46% ETA: 0:00:02 dd_rescue: (info): ipos: 34816.0k, opos: 34816.0k, xferd: 34816.0k errs: 0, errxfer: 0.0k, succxfer: 34816.0k +curr.rate: 20110kB/s, avg.rate: 20069kB/s, avg.load: 0.0% >----.----.----.----.--...................< 53% ETA: 0:00:02 dd_rescue: (info): ipos: 38912.0k, opos: 38912.0k, xferd: 38912.0k errs: 0, errxfer: 0.0k, succxfer: 38912.0k +curr.rate: 20210kB/s, avg.rate: 20114kB/s, avg.load: 0.0% >----.----.----.----.----.................< 59% ETA: 0:00:01 dd_rescue: (info): ipos: 40960.0k, opos: 40960.0k, xferd: 40960.0k errs: 0, errxfer: 0.0k, succxfer: 40960.0k +curr.rate: 20269kB/s, avg.rate: 20130kB/s, avg.load: 0.0% >----.----.----.----.----.-...............< 62% ETA: 0:00:01 dd_rescue: (info): ipos: 45056.0k, opos: 45056.0k, xferd: 45056.0k errs: 0, errxfer: 0.0k, succxfer: 45056.0k +curr.rate: 20315kB/s, avg.rate: 20159kB/s, avg.load: 0.0% >----.----.----.----.----.---.............< 68% ETA: 0:00:01 dd_rescue: (info): ipos: 49152.0k, opos: 49152.0k, xferd: 49152.0k errs: 0, errxfer: 0.0k, succxfer: 49152.0k +curr.rate: 20350kB/s, avg.rate: 20184kB/s, avg.load: 0.0% >----.----.----.----.----.----.-..........< 75% ETA: 0:00:01 dd_rescue: (info): ipos: 53248.0k, opos: 53248.0k, xferd: 53248.0k errs: 0, errxfer: 0.0k, succxfer: 53248.0k +curr.rate: 20402kB/s, avg.rate: 20212kB/s, avg.load: 0.0% >----.----.----.----.----.----.---........< 81% ETA: 0:00:01 dd_rescue: (info): ipos: 55296.0k, opos: 55296.0k, xferd: 55296.0k errs: 0, errxfer: 0.0k, succxfer: 55296.0k +curr.rate: 20413kB/s, avg.rate: 20221kB/s, avg.load: 0.0% >----.----.----.----.----.----.----.......< 84% ETA: 0:00:01 dd_rescue: (info): ipos: 59392.0k, opos: 59392.0k, xferd: 59392.0k errs: 0, errxfer: 0.0k, succxfer: 59392.0k +curr.rate: 20424kB/s, avg.rate: 20237kB/s, avg.load: 0.0% >----.----.----.----.----.----.----.--....< 90% ETA: 0:00:00 dd_rescue: (info): ipos: 63488.0k, opos: 63488.0k, xferd: 63488.0k errs: 0, errxfer: 0.0k, succxfer: 63488.0k +curr.rate: 20457kB/s, avg.rate: 20257kB/s, avg.load: 0.0% >----.----.----.----.----.----.----.----..< 96% ETA: 0:00:00 dd_rescue: (info): ipos: 65536.0k, opos: 65536.0k, xferd: 65536.0k errs: 0, errxfer: 0.0k, succxfer: 65536.0k +curr.rate: 20456kB/s, avg.rate: 20263kB/s, avg.load: 0.0% >----.----.----.----.----.----.----.----.-< 100% ETA: 0:00:00 dd_rescue: (info): Summary for /dev/zero -> /dev/null dd_rescue: (info): ipos: 65536.0k, opos: 65536.0k, xferd: 65536.0k errs: 0, errxfer: 0.0k, succxfer: 65536.0k +curr.rate: 15342kB/s, avg.rate: 20263kB/s, avg.load: 0.0% >----.----.----.----.----.----.----.----.-< 100% TOT: 0:00:03 ***** dd_rescue MD5 plugin tests ***** ./md5 /dev/null d41d8cd98f00b204e9800998ecf8427e */dev/null ./md5 /dev/null | md5sum -c /dev/null: OK ./dd_rescue -a -b 16k -l TEST.log -o BB.log -m 32k /dev/zero TEST dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): expect to copy 32.0kiB from /dev/zero dd_rescue: (info): Summary for /dev/zero -> TEST dd_rescue: (info): ipos: 32.0k, opos: 32.0k, xferd: 32.0k errs: 0, errxfer: 0.0k, succxfer: 0.0k +curr.rate: 3364kB/s, avg.rate: 3364kB/s, avg.load: 4.5% >-.......................................-< 100% TOT: 0:00:00 ./dd_rescue -a -b 16k -m 32k /dev/zero TEST dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (warning): write into TEST (@0.0k/32.0k): sparse not recommended dd_rescue: (info): TEST is sparse (100%) dd_rescue: (info): expect to copy 32.0kiB from /dev/zero dd_rescue: (info): Summary for /dev/zero -> TEST dd_rescue: (info): ipos: 32.0k, opos: 32.0k, xferd: 32.0k errs: 0, errxfer: 0.0k, succxfer: 0.0k +curr.rate: 3854kB/s, avg.rate: 3854kB/s, avg.load: 3.9% >-.......................................-< 100% TOT: 0:00:00 ./dd_rescue -x -a -b 16k -m32k dd_rescue TEST dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): TEST is sparse (100%) dd_rescue: (info): dd_rescue is sparse (14%) dd_rescue: (info): TEST is sparse (100%) dd_rescue: (info): expect to copy 32.0kiB from dd_rescue dd_rescue: (info): Summary for dd_rescue -> TEST dd_rescue: (info): ipos: 32.0k, opos: 64.0k, xferd: 32.0k errs: 0, errxfer: 0.0k, succxfer: 32.0k +curr.rate: 2493kB/s, avg.rate: 2493kB/s, avg.load: 4.3% >-.......................................-= 100% TOT: 0:00:00 ./dd_rescue -x -a -b 16k -m17k /dev/zero TEST dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): TEST is sparse (50%) dd_rescue: (info): TEST is sparse (50%) dd_rescue: (info): expect to copy 17.0kiB from /dev/zero dd_rescue: (info): Summary for /dev/zero -> TEST dd_rescue: (info): ipos: 17.0k, opos: 81.0k, xferd: 17.0k errs: 0, errxfer: 0.0k, succxfer: 0.0k +curr.rate: 2477kB/s, avg.rate: 2477kB/s, avg.load: 4.8% >-.......................................-< 100% TOT: 0:00:00 ./dd_rescue -c0 -a -b16k -t -L ./libddr_MD5.so=output TEST TEST2 >HASH.TEST dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): TEST is sparse (60%) dd_rescue: (info): expect to copy 81.0kiB from TEST dd_rescue: (info): read TEST (81.0kiB): EOF dd_rescue: (info): Summary for TEST -> TEST2 dd_rescue: (info): ipos: 81.0k, opos: 81.0k, xferd: 81.0k errs: 0, errxfer: 0.0k, succxfer: 32.0k +curr.rate: 5845kB/s, avg.rate: 5845kB/s, avg.load: 9.9% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): MD5(0): md5 TEST (0-82944): b82832b8c726c0505c840ce948464383 md5sum -c HASH.TEST TEST: OK #MD5=$(./dd_rescue -c0 -a -b16k -L ./libddr_MD5.so TEST TEST2 2>&1 | grep 'MD5(0)': | tail -n1 | sed 's/^dd_rescue: (info): MD5(0):[^:]*: //'); MD5S=$(md5sum TEST | sed 's/ .*$//'); echo $MD5 $MD5S; if test "$MD5" != "$MD5S"; then false; fi rm -f HASH.TEST ./sha1 /dev/null da39a3ee5e6b4b0d3255bfef95601890afd80709 */dev/null ./sha1 /dev/null | sha1sum -c /dev/null: OK ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=outnm=HASH.TEST:alg=sha1 TEST TEST2 dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): TEST is sparse (60%) dd_rescue: (info): expect to copy 81.0kiB from TEST dd_rescue: (info): read TEST (81.0kiB): EOF dd_rescue: (info): Summary for TEST -> TEST2 dd_rescue: (info): ipos: 81.0k, opos: 81.0k, xferd: 81.0k errs: 0, errxfer: 0.0k, succxfer: 32.0k +curr.rate: 7202kB/s, avg.rate: 7202kB/s, avg.load: 11.9% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha1 TEST (0-82944): 8523935720158ecdee4e8a44631d5ac0fd32eca5 sha1sum -c HASH.TEST TEST2: OK if test 1 = 1; then make -f ./Makefile check_sha2; fi make[1]: Entering directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' ln -sf sha256 sha224 ln -sf sha512 sha384 rm -f CHECKSUMS.sha256 CHECKSUMS.sha512 ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=output:alg=sha224 TEST TEST2 >HASH.TEST dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): TEST is sparse (60%) dd_rescue: (info): expect to copy 81.0kiB from TEST dd_rescue: (info): read TEST (81.0kiB): EOF dd_rescue: (info): Summary for TEST -> TEST2 dd_rescue: (info): ipos: 81.0k, opos: 81.0k, xferd: 81.0k errs: 0, errxfer: 0.0k, succxfer: 32.0k +curr.rate: 6555kB/s, avg.rate: 6555kB/s, avg.load: 13.0% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha224 TEST (0-82944): 4ca542f8f29c8a371cb8e90c6fdfd08fa6d64a4a866939c3650d3b6f sha224sum -c HASH.TEST TEST: OK ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=outnm=:alg=sha256 TEST TEST2 >HASH.TEST dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): TEST is sparse (60%) dd_rescue: (info): expect to copy 81.0kiB from TEST dd_rescue: (info): read TEST (81.0kiB): EOF dd_rescue: (info): Summary for TEST -> TEST2 dd_rescue: (info): ipos: 81.0k, opos: 81.0k, xferd: 81.0k errs: 0, errxfer: 0.0k, succxfer: 32.0k +curr.rate: 6731kB/s, avg.rate: 6731kB/s, avg.load: 11.7% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha256 TEST (0-82944): 556b6d6f08f6f2c8d3fee166d53fae17df2313afea5441e7642baf206533e071 sha256sum -c CHECKSUMS.sha256 TEST2: OK ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=output:alg=sha384 TEST TEST2 >HASH.TEST dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): TEST is sparse (60%) dd_rescue: (info): expect to copy 81.0kiB from TEST dd_rescue: (info): read TEST (81.0kiB): EOF dd_rescue: (info): Summary for TEST -> TEST2 dd_rescue: (info): ipos: 81.0k, opos: 81.0k, xferd: 81.0k errs: 0, errxfer: 0.0k, succxfer: 32.0k +curr.rate: 3418kB/s, avg.rate: 3418kB/s, avg.load: 5.8% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha384 TEST (0-82944): b83f2b97d29d5d290bc6ed15692cbd18fb0482af4d6aaa50ca9a64b4b8ce5377572868f02c095fa4945078700ca082e5 sha384sum -c HASH.TEST TEST: OK ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=outnm=:alg=sha512 TEST TEST2 dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): TEST is sparse (60%) dd_rescue: (info): expect to copy 81.0kiB from TEST dd_rescue: (info): read TEST (81.0kiB): EOF dd_rescue: (info): Summary for TEST -> TEST2 dd_rescue: (info): ipos: 81.0k, opos: 81.0k, xferd: 81.0k errs: 0, errxfer: 0.0k, succxfer: 32.0k +curr.rate: 7736kB/s, avg.rate: 7736kB/s, avg.load: 11.9% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha512 TEST (0-82944): 334454623c22e2068a50d1ef108cdce54f070ce045dd492bd33f84b43e4b8f79e10989b8f82bca4cbdfeb0ec61b3d7eda4d5732193fbbd377bd90ae2abc069ec ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=outnm=:alg=sha512,./libddr_null.so=change dd_rescue /dev/null dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> /dev/null dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 91808kB/s, avg.rate: 91808kB/s, avg.load:100.0% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha512 dd_rescue (0-149008): 92c2113801a79d2d6c8b6fe5b2552bbefa2caf7ece441651d1ed7adf6f595abf2316c7ec47e6f1eec0d403039d1caf8c50b17d5c3a0622fe9091dc95312bac67 dd_rescue: (info): hash(0): Write checksum to CHECKSUMS.sha512 for input file dd_rescue sha512sum -c CHECKSUMS.sha512 TEST2: OK dd_rescue: OK ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=sha512:chknm=CHECKSUMS.sha512 TEST2 /dev/null dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): TEST2 is sparse (60%) , consider -a dd_rescue: (info): expect to copy 81.0kiB from TEST2 dd_rescue: (info): read TEST2 (81.0kiB): EOF dd_rescue: (info): Summary for TEST2 -> /dev/null dd_rescue: (info): ipos: 81.0k, opos: 81.0k, xferd: 81.0k errs: 0, errxfer: 0.0k, succxfer: 81.0k +curr.rate: 88621kB/s, avg.rate: 88621kB/s, avg.load:100.1% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha512 TEST2 (0-82944): 334454623c22e2068a50d1ef108cdce54f070ce045dd492bd33f84b43e4b8f79e10989b8f82bca4cbdfeb0ec61b3d7eda4d5732193fbbd377bd90ae2abc069ec ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=alg=sha512:chknm= dd_rescue /dev/null dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> /dev/null dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 92332kB/s, avg.rate: 92332kB/s, avg.load:100.3% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha512 dd_rescue (0-149008): 92c2113801a79d2d6c8b6fe5b2552bbefa2caf7ece441651d1ed7adf6f595abf2316c7ec47e6f1eec0d403039d1caf8c50b17d5c3a0622fe9091dc95312bac67 ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=sha512:check dd_rescue /dev/null /dev/null dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 92508kB/s, avg.rate: 92508kB/s, avg.load:100.3% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha512 dd_rescue (0-149008): 92c2113801a79d2d6c8b6fe5b2552bbefa2caf7ece441651d1ed7adf6f595abf2316c7ec47e6f1eec0d403039d1caf8c50b17d5c3a0622fe9091dc95312bac67 ./sha224 /dev/null | sha224sum -c /dev/null: OK ./sha256 /dev/null | sha256sum -c /dev/null: OK ./sha384 /dev/null | sha384sum -c /dev/null: OK ./sha512 /dev/null | sha512sum -c /dev/null: OK ./dd_rescue -q -c0 -a -b16k -t -L ./libddr_hash.so=sha256:outnm=- TEST2 /dev/null | ./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=sha256:chknm=- TEST2 /dev/null dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): TEST2 is sparse (60%) , consider -a dd_rescue: (info): expect to copy 81.0kiB from TEST2 dd_rescue: (info): read TEST2 (81.0kiB): EOF dd_rescue: (info): Summary for TEST2 -> /dev/null dd_rescue: (info): ipos: 81.0k, opos: 81.0k, xferd: 81.0k errs: 0, errxfer: 0.0k, succxfer: 81.0k +curr.rate: 75000kB/s, avg.rate: 75000kB/s, avg.load:100.4% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha256 TEST2 (0-82944): 556b6d6f08f6f2c8d3fee166d53fae17df2313afea5441e7642baf206533e071 rm -f HASH.TEST CHECKSUMS.sha256 CHECKSUMS.sha512 TEST2 make[1]: Leaving directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' ./sha256 /dev/null e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 */dev/null ./sha512 /dev/null cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e */dev/null rm -f TEST TEST2 HASH.TEST BB.log TEST.log if test 0 = 1; then make -f ./Makefile check_lzo; fi if test 0 = 1; then make -f ./Makefile check_lzo_algos; fi #if test 0 = 1; then make -f ./Makefile check_lzo_test; fi if test 0 = 1; then make -f ./Makefile check_lzo_fuzz; fi # Tests for libddr_null ./dd_rescue -L ./libddr_null.so=debug dd_rescue /dev/null dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (debug): null(0): Block ipos 0 opos 0 with 131072 bytes dd_rescue: (debug): null(0): Block ipos 131072 opos 131072 with 17936 bytes dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> /dev/null dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 392225kB/s, avg.rate: 392225kB/s, avg.load: 70.6% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (debug): null(0): Block ipos 149008 opos 149008 with 0 bytes EOF # Hash tests with set_xattr and chk_xattr if test 1 = 1; then make -f ./Makefile check_xattr_storehash; fi make[1]: Entering directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' # Tests with hash set_xattr and chk_xattr (with fallback as not all filesystems support xattrs ...) ./dd_rescue -tL ./libddr_hash.so=sha256:set_xattr:fallback dd_rescue /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 8382kB/s, avg.rate: 8382kB/s, avg.load: 15.8% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha256 dd_rescue (0-149008): b86f017ba8ef9f75b6ed1f6da233a1a83bcb1c706c6cb71ad215c78192eb603d ./dd_rescue -L ./libddr_hash.so=sha256:chk_xattr:fallback /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue /dev/null dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): expect to copy 145.5kiB from /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue dd_rescue: (info): read /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue -> /dev/null dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 75829kB/s, avg.rate: 75829kB/s, avg.load:100.3% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha256 /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue (0-149008): b86f017ba8ef9f75b6ed1f6da233a1a83bcb1c706c6cb71ad215c78192eb603d dd_rescue: (info): hash(0): Successfully validated hash from xattr for /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue rm -f /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue CHECKSUMS.sha256 # Tests with prepend and append ./dd_rescue -tL ./libddr_hash.so=sha512:set_xattr:fallback:prepend=abc:append=xyz dd_rescue /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 10000kB/s, avg.rate: 10000kB/s, avg.load: 16.5% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha512 dd_rescue (0-149011): 3c45ee1a96d90203c4b90cbe0591aa4b8392f681f13b54fc4d8b471598f40cb956a3deb711bb0a9a16d19312dd6a980b6c0867a89273f8a04def1d57f61230e1 ./dd_rescue -L ./libddr_hash.so=sha512:chk_xattr:fallback /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue /dev/null && false || true dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): expect to copy 145.5kiB from /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue dd_rescue: (info): read /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue -> /dev/null dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 91175kB/s, avg.rate: 91175kB/s, avg.load:100.0% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha512 /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue (0-149008): 92c2113801a79d2d6c8b6fe5b2552bbefa2caf7ece441651d1ed7adf6f595abf2316c7ec47e6f1eec0d403039d1caf8c50b17d5c3a0622fe9091dc95312bac67 dd_rescue: (warning): hash(0): Hash from xattr of /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue does not match dd_rescue: (warning): Plugin hash(0) reported error on close: Bad file descriptor! dd_rescue: (warning): There were 9 errors! ./dd_rescue -L ./libddr_hash.so=sha512:chk_xattr:fallback:prepend=abc:append=xyz /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue /dev/null dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): expect to copy 145.5kiB from /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue dd_rescue: (info): read /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue -> /dev/null dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 92981kB/s, avg.rate: 92981kB/s, avg.load:100.2% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): sha512 /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue (0-149011): 3c45ee1a96d90203c4b90cbe0591aa4b8392f681f13b54fc4d8b471598f40cb956a3deb711bb0a9a16d19312dd6a980b6c0867a89273f8a04def1d57f61230e1 dd_rescue: (info): hash(0): Successfully validated hash from xattr for /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue rm -f /var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/dd_rescue CHECKSUMS.sha512 make[1]: Leaving directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' # Extra xattrs (should be preserved) #make check_xattr_copy # Tests with HMAC echo "what do ya want for nothing?" > TEST echo "09d6428f7ebaf21a6b53d86c9699cca0 *TEST" > HMACS.md5 if test `stat -c %s TEST` == 29; then ./dd_rescue -L ./libddr_hash.so=md5:hmacpwd=Jefe:chknm= TEST /dev/null; else echo "WARN: TEST file has unexpected size, skipping HMAC test"; hexdump -C TEST; fi dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (warning): Not using sparse writes for non-seekable output dd_rescue: (info): expect to copy 0.0kiB from TEST dd_rescue: (info): read TEST (0.0kiB): EOF dd_rescue: (info): Summary for TEST -> /dev/null dd_rescue: (info): ipos: 0.0k, opos: 0.0k, xferd: 0.0k errs: 0, errxfer: 0.0k, succxfer: 0.0k +curr.rate: 545kB/s, avg.rate: 545kB/s, avg.load:111.5% >-.......................................-< 100% TOT: 0:00:00 dd_rescue: (info): hash(0): md5 TEST (0-29): 6c8773df372da39f183d1ff449664b79 dd_rescue: (info): hash(0): HMAC md5 TEST (0-29): 09d6428f7ebaf21a6b53d86c9699cca0 rm -f /tmp/dd_rescue CHECKSUMS.sha512 TEST HMACS.md5 if ./calchmac.py sha1 pass dd_rescue; then make -f ./Makefile check_hmac; else echo "Sorry, no more HMAC test due to missing python-hashlib support"; true; fi Traceback (most recent call last): File "/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13/./calchmac.py", line 37, in hm = hmac.HMAC(pwd, fcont, algo) File "/usr/lib/python3.10/hmac.py", line 53, in __init__ raise TypeError("key: expected bytes or bytearray, but got %r" % type(key).__name__) TypeError: key: expected bytes or bytearray, but got 'str' Sorry, no more HMAC test due to missing python-hashlib support make -f ./Makefile check_fault make[1]: Entering directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' # Test fault injection # Only one fault, should be handled by retrying. ./dd_rescue -tpv -F 4r/1,6r/1,22r/1 dd_rescue dd_rescue.cmp || true dd_rescue: (debug): Inject r fault (1x) for range 17179869184-17179869185 dd_rescue: (debug): Inject r fault (1x) for range 25769803776-25769803777 dd_rescue: (debug): Inject r fault (1x) for range 94489280512-94489280513 dd_rescue: (debug): Will inject 3/0 faults for read/write dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): about to transfer unlim kiBytes from dd_rescue to dd_rescue.cmp dd_rescue: (info): blocksizes: soft 131072, hard 4096 dd_rescue: (info): starting positions: in 0.0kiB, out 0.0kiB dd_rescue: (info): Logfile: (none), Maxerr: 0 dd_rescue: (info): Reverse: no , Trunc: yes, interactive: no dd_rescue: (info): abort on Write errs: no , spArse write: if err dd_rescue: (info): preserve: yes, splice: no , avoidWrite: no dd_rescue: (info): fallocate: no , Repeat: no , O_DIRECT: no /no dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 9970kB/s, avg.rate: 9970kB/s, avg.load: 6.5% >-.......................................-< 100% TOT: 0:00:00 cmp dd_rescue dd_rescue.cmp # Incremental ./dd_rescue -tp -F 4r/0,20r/0 -l dd_r.log -o dd_r.bb dd_rescue dd_rescue.cmp || true dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 11304kB/s, avg.rate: 11304kB/s, avg.load: 6.3% >-.......................................-< 100% TOT: 0:00:00 ./dd_rescue -tp -F 4r/0,20r/0 dd_rescue dd_rescue.cmp || true dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 9512kB/s, avg.rate: 9512kB/s, avg.load: 5.5% >-.......................................-< 100% TOT: 0:00:00 cmp dd_rescue dd_rescue.cmp || true ./dd_rescue -p -F 6r/0 dd_rescue dd_rescue.cmp || true dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 9094kB/s, avg.rate: 9094kB/s, avg.load: 4.9% >-.......................................-< 100% TOT: 0:00:00 cmp dd_rescue dd_rescue.cmp # Write errors: We recover from one of them ./dd_rescue -tp -F 4w/1,22w/1 dd_rescue dd_rescue.cmp || true dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 9611kB/s, avg.rate: 9611kB/s, avg.load: 5.4% >-.......................................-< 100% TOT: 0:00:00 # ./dd_rescue -p -F 6w/1 dd_rescue dd_rescue.cmp || true cmp dd_rescue dd_rescue.cmp # Write errors: Fill in ... ./dd_rescue -tp -b 16k -F 4w/2,22w/2 dd_rescue dd_rescue.cmp || true dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 7836kB/s, avg.rate: 7836kB/s, avg.load: 4.3% >-.......................................-< 100% TOT: 0:00:00 ./dd_rescue -p -b 16k -F 12w/2 dd_rescue dd_rescue.cmp || true dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB dd_rescue: (info): dd_rescue is sparse (14%) , consider -a dd_rescue: (info): expect to copy 145.5kiB from dd_rescue dd_rescue: (info): read dd_rescue (145.5kiB): EOF dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp dd_rescue: (info): ipos: 145.5k, opos: 145.5k, xferd: 145.5k errs: 0, errxfer: 0.0k, succxfer: 145.5k +curr.rate: 9717kB/s, avg.rate: 9717kB/s, avg.load: 5.7% >-.......................................-< 100% TOT: 0:00:00 cmp dd_rescue dd_rescue.cmp # TODO: More fault injection tests! # Test reverse, holes, ... with faults # # TODO: Fault injection combined with # - encryption (check_crypt) # - compression # - checksums rm -f dd_rescue.cmp dd_r.log dd_r.bb make[1]: Leaving directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' #make -f ./Makefile check_aes make -f ./Makefile check_crypt make[1]: Entering directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -O3 -c aes_c.c fatal: not a git repository (or any of the parent directories): .git powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -DVERSION=\"1.99.13\" -D__COMPILER__="\"powerpc-unknown-linux-gnu-gcc (Gentoo 11.3.1_p20230120-r1 p7) 11.3.1 20230120\"" -DID=\"DD_RESCUE_1_99_13\" -fPIE -c secmem.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -c sha256.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -O2 -c aes.c powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -mtune=powerpc -pipe -fcommon -DHAVE_CONFIG_H -I . -fPIE -pie -o test_aes test_aes.c aes_c.o secmem.o sha256.o aes.o find_nonzero.o # TODO: Move previous cases into script ... HAVE_LZO=0 HAVE_OPENSSL=0 HAVE_AES=0 ./test_crypt.sh #We will eat a lot of entropy ... hopefully you have some left afterwards! test_aes -s -w AES128-CTR 50000 0 15392 Can't lock page in memory: Operation not permitted ./test_crypt.sh: line 66: 345 Aborted (core dumped) $VG ./test_aes -s -w AES128-CTR 50000 0 15392 ./test_aes AES192-ECB 10 0 0 ./test_crypt.sh: line 63: 347 Aborted (core dumped) $VG ./test_aes $ALG 10 0 $len > $LOG 2>&1 Can't lock page in memory: Operation not permitted ERROR make[1]: *** [Makefile:711: check_crypt] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' make: *** [Makefile:580: check] Error 2 * ERROR: sys-fs/dd-rescue-1.99.13::gentoo failed (test phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/dd-rescue-1.99.13::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/dd-rescue-1.99.13::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13' * S: '/var/tmp/portage/sys-fs/dd-rescue-1.99.13/work/dd_rescue-1.99.13'