Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 704109 Details for
Bug 786972
sys-fs/dd-rescue-1.99.10: fails tests (dd_rescue: (fatal): crypt(0): Could not write key/IV/pass/salt file)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
file_786972.txt (text/plain), 75.01 KB, created by
Sam James
on 2021-04-29 21:38:59 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Sam James
Created:
2021-04-29 21:38:59 UTC
Size:
75.01 KB
patch
obsolete
> * Package: sys-fs/dd-rescue-1.99.10 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_32 cpu_flags_x86_avx2 cpu_flags_x86_sse4_2 elibc_glibc kernel_linux userland_GNU x86 xattr > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking dd_rescue-1.99.10.tar.bz2 to /var/tmp/portage/sys-fs/dd-rescue-1.99.10/work >>>> Source unpacked in /var/tmp/portage/sys-fs/dd-rescue-1.99.10/work >>>> Preparing source in /var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10 ... > * Applying dd-rescue-1.99.10-musl-r2.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10' ... > * Running 'aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running elibtoolize in: dd_rescue-1.99.10/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10 ... > * econf: updating dd_rescue-1.99.10/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating dd_rescue-1.99.10/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/dd-rescue-1.99.10 --htmldir=/usr/share/doc/dd-rescue-1.99.10/html --libdir=/usr/lib >checking for i686-pc-linux-gnu-gcc... i686-pc-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 we are using the GNU C compiler... yes >checking whether i686-pc-linux-gnu-gcc accepts -g... yes >checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking fallocate.h usability... no >checking fallocate.h presence... no >checking for fallocate.h... no >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking for unistd.h... (cached) yes >checking sys/xattr.h usability... yes >checking sys/xattr.h presence... yes >checking for sys/xattr.h... yes >checking for attr/xattr.h... (cached) yes >checking sys/acl.h usability... yes >checking sys/acl.h presence... yes >checking for sys/acl.h... yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/reg.h usability... yes >checking sys/reg.h presence... yes >checking for sys/reg.h... yes >checking endian.h usability... yes >checking endian.h presence... yes >checking for endian.h... yes >checking linux/fs.h usability... yes >checking linux/fs.h presence... yes >checking for linux/fs.h... yes >checking linux/fiemap.h usability... yes >checking linux/fiemap.h presence... 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 linux/random.h usability... yes >checking linux/random.h presence... yes >checking for linux/random.h... yes >checking sys/random.h usability... yes >checking sys/random.h presence... yes >checking for sys/random.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking sched.h usability... yes >checking sched.h presence... yes >checking for sched.h... yes >checking sys/statvfs.h usability... yes >checking sys/statvfs.h presence... yes >checking for sys/statvfs.h... yes >checking sys/resource.h usability... yes >checking sys/resource.h presence... yes >checking for sys/resource.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 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 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 i686-pc-linux-gnu-gcc supports -msse4.2... yes >checking if i686-pc-linux-gnu-gcc supports -mavx2... yes >checking if i686-pc-linux-gnu-gcc supports -mrdrnd... yes >checking if i686-pc-linux-gnu-gcc supports -maes... yes >checking whether asm rep nop is supported... yes >checking whether asm lfence is supported... yes >configure: creating ./config.status >config.status: creating config.h >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10 ... >make -j9 -l9 MACH=i386 OS=Linux HAVE_SSE42=1 HAVE_AVX2=1 'RPM_OPT_FLAGS=-O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches ' CFLAGS_OPT=$(CFLAGS) 'LDFLAGS=-O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue' CC=i686-pc-linux-gnu-gcc >#i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DGEN_DEP -msse2 -msse4.2 -maes -mavx2 -mrdrnd -MM ./*.c >.dep >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -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 >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIE -c random.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -c frandom.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -c fmt_no.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -c find_nonzero.c "-msse2" >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIE -c fstrim.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -msse2 -c find_nonzero_sse2.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -msse4.2 -c ffs_sse42.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -mrdrnd -maes -c rdrand.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -mavx2 -c find_nonzero_avx.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o libddr_hash.po -c libddr_hash.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIC -o md5.po -c md5.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIC -o sha256.po -c sha256.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIC -o sha512.po -c sha512.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIC -o sha1.po -c sha1.c >fatal: not a git repository (or any of the parent directories): .git >In file included from sha512.c:19: >sha512.c: In function âsha512_calcâ: >sha512.c:252:49: warning: right shift count >= width of type [;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wshift-count-overflow >-Wshift-count-overflow; >] > 252 | *(uint32_t*)(sha512_buf+116) = htonl(final_len >> 61); > | ^~ >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o pbkdf2.po -c pbkdf2.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o checksum_file.po -c checksum_file.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o libddr_null.po -c libddr_null.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o libddr_crypt.po -c libddr_crypt.c >rdrand.c:41:2: warning: #warning no rdrand64 on 32bit system [;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcpp >-Wcpp; >] > 41 | #warning no rdrand64 on 32bit system > | ^~~~~~~ >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o aes.po -c aes.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o aes_c.po -c aes_c.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIC -O3 -maes -msse4.1 -c aesni.c -o aesni.po >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o pbkdf_ossl.po -c pbkdf_ossl.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o secmem.po -c secmem.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIC -o random.po -c random.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -pie -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" dd_rescue.c -o dd_rescue random.o frandom.o fmt_no.o find_nonzero.o fstrim.o find_nonzero_sse2.o ffs_sse42.o rdrand.o find_nonzero_avx.o -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue -ldl -rdynamic >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue -shared -o libddr_null.so libddr_null.po >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -Wl,--defsym=__gentoo_check_ldflags__=0 -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 >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -DHAVE_CONFIG_H -I . -DHAVE_AESNI -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue -shared -o libddr_crypt.so libddr_crypt.po aes.po aes_c.po aesni.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.10 >make -j9 -l9 MACH=i386 OS=Linux HAVE_SSE42=1 HAVE_AVX2=1 'RPM_OPT_FLAGS=-O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon ' CFLAGS_OPT=$(CFLAGS) 'LDFLAGS=-O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/dd-rescue' CC=i686-pc-linux-gnu-gcc check >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -o find_nonzero_main.o -c find_nonzero.c -DTEST >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -pie -DMD5_MAIN -o md5 md5.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -pie -DSHA1_MAIN -o sha1 sha1.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -pie -DSHA256_MAIN -o sha256 sha256.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -pie -DSHA512_MAIN -o sha512 sha512.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -pie -o fmt_no fmt_no.c -DTEST >In file included from sha512.c:19: >sha512.c: In function âsha512_calcâ: >sha512.c:252:49: warning: right shift count >= width of type [;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wshift-count-overflow >-Wshift-count-overflow; >] > 252 | *(uint32_t*)(sha512_buf+116) = htonl(final_len >> 61); > | ^~ >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -pie -o find_nonzero find_nonzero_main.o find_nonzero_sse2.o ffs_sse42.o rdrand.o find_nonzero_avx.o >make check ... Pass VG="valgrind --options" to use with valgrind >./dd_rescue --version > >dd_rescue Version 1.99.10, kurt@garloff.de, GNU GPL v2/v3 > (DD_RESCUE_1_99_10) > (compiled Apr 29 2021 18:03:06 by i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0) > (features: O_DIRECT dl/libfallocate fallocate splice fitrim xattr rdrnd avx2) >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: avx2 >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 => 1008MB/s) > 131072 x find_nonzero_avx2 ( 0): 0 ( 0.000s => 264MB/s) > 65536 x find_nonzero ( 0): 0 ( 0.000s => 446MB/s) > 65536 x find_nonzero_rep ( 0): 0 ( 0.001s => 47MB/s) > 16384 x find_nonzero_c ( 8177): 8177 ( 0.022s => 5841MB/s) > 32768 x find_nonzero_avx2 ( 8177): 8177 ( 0.007s => 35441MB/s) > 16384 x find_nonzero ( 8177): 8177 ( 0.004s => 34875MB/s) > 16384 x find_nonzero_rep ( 8177): 8177 ( 0.104s => 1231MB/s) > 16384 x find_nonzero ( 8177): 8177 ( 0.004s => 33751MB/s) > 16384 x find_nonzero_rep ( 8177): 8177 ( 0.104s => 1229MB/s) > 4096 x find_nonzero_c ( 32759): 32759 ( 0.019s => 6574MB/s) > 8192 x find_nonzero_avx2 ( 32759): 32759 ( 0.007s => 35094MB/s) > 4096 x find_nonzero ( 32759): 32759 ( 0.004s => 35185MB/s) > 4096 x find_nonzero_rep ( 32759): 32759 ( 0.108s => 1188MB/s) > 1024 x find_nonzero_c ( 131064): 131064 ( 0.024s => 5431MB/s) > 2048 x find_nonzero_avx2 ( 131064): 131064 ( 0.009s => 27343MB/s) > 1024 x find_nonzero_rep ( 131064): 131064 ( 0.105s => 1216MB/s) > 128 x find_nonzero_c ( 1048569): 1048569 ( 0.022s => 5736MB/s) > 256 x find_nonzero_avx2 ( 1048569): 1048569 ( 0.010s => 26013MB/s) > 128 x find_nonzero_rep ( 1048569): 1048569 ( 0.108s => 1185MB/s) > 32 x find_nonzero_c ( 4194303): 4194303 ( 0.023s => 5448MB/s) > 64 x find_nonzero_avx2 ( 4194303): 4194303 ( 0.010s => 26083MB/s) > 8 x find_nonzero_c (16777216): 16777216 ( 0.023s => 5488MB/s) > 16 x find_nonzero_avx2 (16777216): 16777216 ( 0.014s => 17910MB/s) > 2 x find_nonzero_c (67108864): 67108864 ( 0.021s => 5988MB/s) > 4 x find_nonzero_avx2 (67108864): 67108864 ( 0.030s => 8454MB/s) > 1 x find_nonzero_c (67108864): 67108848 ( 0.011s => 5971MB/s) > 1 x find_nonzero_avx2 (67108864): 67108848 ( 0.008s => 8322MB/s) > 1 x find_nonzero (67108864): 67108848 ( 0.008s => 8366MB/s) > 1 x find_nonzero_rep (67108864): 67108848 ( 0.047s => 1357MB/s) > 1 x find_nonzero_c (67108864): 67108859 ( 0.011s => 6017MB/s) > 1 x find_nonzero_avx2 (67108864): 67108859 ( 0.007s => 8552MB/s) > 1 x find_nonzero (67108864): 67108859 ( 0.009s => 7344MB/s) > 1 x find_nonzero_rep (67108864): 67108859 ( 0.053s => 1217MB/s) > 10 x find_nonzero_c (12582912): 12582912 ( 0.022s => 5493MB/s) > 20 x find_nonzero_avx2 (12582912): 12582912 ( 0.012s => 19721MB/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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.copy >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 130kB/s, avg.rate: 130kB/s, avg.load: 0.0% > >-.......................................-< 100% TOT: 0:00:01 >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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.copy >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 4371kB/s, avg.rate: 4371kB/s, avg.load: 0.7% > >-.......................................-< 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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.copy >dd_rescue: (info): ipos: 0.0k, opos: 0.0k, xferd: 118.9k > - errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 3823kB/s, avg.rate: 3823kB/s, avg.load: 0.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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.copy >dd_rescue: (info): ipos: 118.9k, opos: 237.8k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 4253kB/s, avg.rate: 4253kB/s, avg.load: 0.7% > >-.......................................-< 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: 0.1% >***** 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: 8891kB/s, avg.rate: 8891kB/s, avg.load: 0.1% > >-.......................................-< 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: 129kB/s, avg.rate: 129kB/s, avg.load: 0.3% > >-.......................................-= 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: 274kB/s, avg.rate: 274kB/s, avg.load: 0.7% > >-.......................................-= 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: 283kB/s, avg.rate: 283kB/s, avg.load: 0.0% > >-..................-...................--< 100% TOT: 0:00:01 >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: 7508kB/s, avg.rate: 7508kB/s, avg.load: 0.6% > >-......................................--< 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: 64181kB/s, avg.rate: 64181kB/s, avg.load: 6.1% > >-----------------------------------------< 100% TOT: 0:00:01 >./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: 18432.0k, opos: 18432.0k, xferd: 18432.0k > errs: 0, errxfer: 0.0k, succxfer: 18432.0k > +curr.rate: 176029kB/s, avg.rate: 176029kB/s, avg.load: 99.9% > >--------.................................< 19% ETA: 0:00:00 >dd_rescue: (info): ipos: 38912.0k, opos: 38912.0k, xferd: 38912.0k > errs: 0, errxfer: 0.0k, succxfer: 38912.0k > +curr.rate: 179144kB/s, avg.rate: 182374kB/s, avg.load: 99.9% > >-----------------........................< 40% ETA: 0:00:00 >dd_rescue: (info): ipos: 57344.0k, opos: 57344.0k, xferd: 57344.0k > errs: 0, errxfer: 0.0k, succxfer: 57344.0k > +curr.rate: 180193kB/s, avg.rate: 182684kB/s, avg.load: 99.9% > >-------------------------................< 60% ETA: 0:00:00 >dd_rescue: (info): ipos: 75776.0k, opos: 75776.0k, xferd: 75776.0k > errs: 0, errxfer: 0.0k, succxfer: 75776.0k > +curr.rate: 181162kB/s, avg.rate: 183019kB/s, avg.load: 99.9% > >--------------------------------.........< 79% 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: 140203kB/s, avg.rate: 62383kB/s, avg.load: 35.1% > >-----------------------------------------< 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: 20480.0k, opos: 20480.0k, xferd: 20480.0k > errs: 0, errxfer: 0.0k, succxfer: 20480.0k > +curr.rate: 192346kB/s, avg.rate: 192346kB/s, avg.load: 99.9% > >---------................................< 21% ETA: 0:00:00 >dd_rescue: (info): ipos: 40960.0k, opos: 40960.0k, xferd: 40960.0k > errs: 0, errxfer: 0.0k, succxfer: 40960.0k > +curr.rate: 191670kB/s, avg.rate: 190984kB/s, avg.load: 99.9% > >------------------.......................< 43% ETA: 0:00:00 >dd_rescue: (info): ipos: 61440.0k, opos: 61440.0k, xferd: 61440.0k > errs: 0, errxfer: 0.0k, succxfer: 61440.0k > +curr.rate: 190041kB/s, avg.rate: 189001kB/s, avg.load: 99.9% > >--------------------------...............< 64% ETA: 0:00:00 >dd_rescue: (info): ipos: 79872.0k, opos: 79872.0k, xferd: 79872.0k > errs: 0, errxfer: 0.0k, succxfer: 79872.0k > +curr.rate: 185636kB/s, avg.rate: 184898kB/s, avg.load: 99.9% > >----------------------------------.......< 84% 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: 121921kB/s, avg.rate: 1487291kB/s, avg.load: 97.2% > >.---------------------------------------.< 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: 136216kB/s, avg.rate: 72910kB/s, avg.load: 23.3% > >.........................................< 200% TOT: 0:00:03 >***** 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: 13465kB/s, avg.rate: 13465kB/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: 15598kB/s, avg.rate: 18162kB/s, avg.load: 0.0% > >----.....................................< 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: 16889kB/s, avg.rate: 19119kB/s, avg.load: 0.0% > >----.--..................................< 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: 17805kB/s, avg.rate: 19508kB/s, avg.load: 0.0% > >----.----................................< 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: 18491kB/s, avg.rate: 19730kB/s, avg.load: 0.0% > >----.----.--.............................< 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: 18974kB/s, avg.rate: 19798kB/s, avg.load: 0.0% > >----.----.---............................< 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: 19341kB/s, avg.rate: 19902kB/s, avg.load: 0.0% > >----.----.----.-.........................< 37% 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: 19641kB/s, avg.rate: 19991kB/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: 19840kB/s, avg.rate: 20020kB/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: 19990kB/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: 20131kB/s, avg.rate: 20119kB/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: 20161kB/s, avg.rate: 20125kB/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: 20258kB/s, avg.rate: 20163kB/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: 20307kB/s, avg.rate: 20187kB/s, avg.load: 0.0% > >----.----.----.----.----.----.-..........< 75% ETA: 0:00:01 >dd_rescue: (info): ipos: 51200.0k, opos: 51200.0k, xferd: 51200.0k > errs: 0, errxfer: 0.0k, succxfer: 51200.0k > +curr.rate: 20342kB/s, avg.rate: 20197kB/s, avg.load: 0.0% > >----.----.----.----.----.----.--.........< 78% 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: 20390kB/s, avg.rate: 20222kB/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: 20403kB/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: 20438kB/s, avg.rate: 20256kB/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: 20439kB/s, avg.rate: 20262kB/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: 15329kB/s, avg.rate: 20262kB/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: 454kB/s, avg.rate: 454kB/s, avg.load: 0.0% > >-.......................................-< 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: 2169kB/s, avg.rate: 2169kB/s, avg.load: 0.2% > >-.......................................-< 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): 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: 917kB/s, avg.rate: 917kB/s, avg.load: 0.4% > >-.......................................-= 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: 97143kB/s, avg.rate: 97143kB/s, avg.load: 33.1% > >-.......................................-< 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: 3559kB/s, avg.rate: 3559kB/s, avg.load: 1.6% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): MD5(0): md5 TEST (0-82944): 4f4c61a2c7921f7e33701207e01dce6c >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: 3333kB/s, avg.rate: 3333kB/s, avg.load: 2.0% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha1 TEST (0-82944): 2b8eb9f3ee4e95774720a0c8f1c1c120cb09d344 >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.10/work/dd_rescue-1.99.10' >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: 1643kB/s, avg.rate: 1643kB/s, avg.load: 1.4% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha224 TEST (0-82944): 300586dc5a59b7694a57360d76a78f769c99cdc75b4d2edbb97dd68c >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: 2389kB/s, avg.rate: 2389kB/s, avg.load: 2.1% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha256 TEST (0-82944): b850d2c54840dc259abafe4f8fcc1844f60860ea1275861eac4a24693d46ff03 >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: 3327kB/s, avg.rate: 3327kB/s, avg.load: 4.2% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha384 TEST (0-82944): 717edcb437d7efc75ae758bb6bf9544916d37006765f01f976e6784f5cce33f6c192a2705726e59bee16c36ea25a8088 >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: 1785kB/s, avg.rate: 1785kB/s, avg.load: 2.3% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha512 TEST (0-82944): 79aaf838fc606ce92621bd3ebb2e78ae1ab5791802fdf74296f07e2485417161eb109ac1e0f19ab594782a15d4ae28e7bdb745cdf46978d291e61bb2af68bc43 >./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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> /dev/null >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 65837kB/s, avg.rate: 65837kB/s, avg.load:100.3% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha512 dd_rescue (0-121756): a2d45d85e1734f9fd26c4f82dfd453dc819b37443a5b5fa54097d87a0f8646176aed88d53f512538f492eba5718dc3b748a170f4c16a08a8850730f182bd5ca2 >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: 65640kB/s, avg.rate: 65640kB/s, avg.load:102.0% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha512 TEST2 (0-82944): 79aaf838fc606ce92621bd3ebb2e78ae1ab5791802fdf74296f07e2485417161eb109ac1e0f19ab594782a15d4ae28e7bdb745cdf46978d291e61bb2af68bc43 >./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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> /dev/null >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 65728kB/s, avg.rate: 65728kB/s, avg.load:100.2% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha512 dd_rescue (0-121756): a2d45d85e1734f9fd26c4f82dfd453dc819b37443a5b5fa54097d87a0f8646176aed88d53f512538f492eba5718dc3b748a170f4c16a08a8850730f182bd5ca2 >./dd_rescue -c0 -a -b16k -t -L ./libddr_hash.so=sha512:check dd_rescue /dev/null <CHECKSUMS.sha512 >dd_rescue: (info): Using softbs=16.0kiB, hardbs=4.0kiB >dd_rescue: (warning): Not using sparse writes for non-seekable output >dd_rescue: (info): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> /dev/null >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 71413kB/s, avg.rate: 71413kB/s, avg.load:100.3% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha512 dd_rescue (0-121756): a2d45d85e1734f9fd26c4f82dfd453dc819b37443a5b5fa54097d87a0f8646176aed88d53f512538f492eba5718dc3b748a170f4c16a08a8850730f182bd5ca2 >./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 >rm -f HASH.TEST CHECKSUMS.sha256 CHECKSUMS.sha512 TEST2 >make[1]: Leaving directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10' >./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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (debug): null(0): Block ipos 0 opos 0 with 121756 bytes >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> /dev/null >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 2529837kB/s, avg.rate: 2529837kB/s, avg.load:112.7% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (debug): null(0): Block ipos 121756 opos 121756 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.10/work/dd_rescue-1.99.10' ># 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.10/temp/dd_rescue >dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB >dd_rescue: (info): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 1160kB/s, avg.rate: 1160kB/s, avg.load: 1.1% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha256 dd_rescue (0-121756): 1696f5ddcdfe6c7303e8bbd727e671a6559abbe177a642f36d56c9042e55b884 >./dd_rescue -L ./libddr_hash.so=sha256:chk_xattr:fallback /var/tmp/portage/sys-fs/dd-rescue-1.99.10/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 118.9kiB from /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue >dd_rescue: (info): read /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue -> /dev/null >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 123857kB/s, avg.rate: 123857kB/s, avg.load:100.5% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha256 /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue (0-121756): 1696f5ddcdfe6c7303e8bbd727e671a6559abbe177a642f36d56c9042e55b884 >dd_rescue: (info): hash(0): Successfully validated hash from xattr for /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue >rm -f /var/tmp/portage/sys-fs/dd-rescue-1.99.10/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.10/temp/dd_rescue >dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB >dd_rescue: (info): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 3812kB/s, avg.rate: 3812kB/s, avg.load: 6.1% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha512 dd_rescue (0-121759): cf627718fd1d8b535961f6af0e1a534633e0a173bb324c999061b7964ad71adc3b24cc3b1e9038084c618e2063b30ba923f663aea6b2a5e050a5a6969cdcdf57 >./dd_rescue -L ./libddr_hash.so=sha512:chk_xattr:fallback /var/tmp/portage/sys-fs/dd-rescue-1.99.10/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 118.9kiB from /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue >dd_rescue: (info): read /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue -> /dev/null >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 58630kB/s, avg.rate: 58630kB/s, avg.load:102.5% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha512 /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue (0-121756): a2d45d85e1734f9fd26c4f82dfd453dc819b37443a5b5fa54097d87a0f8646176aed88d53f512538f492eba5718dc3b748a170f4c16a08a8850730f182bd5ca2 >dd_rescue: (warning): hash(0): Hash from xattr of /var/tmp/portage/sys-fs/dd-rescue-1.99.10/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.10/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 118.9kiB from /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue >dd_rescue: (info): read /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue -> /dev/null >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 57664kB/s, avg.rate: 57664kB/s, avg.load:100.3% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (info): hash(0): sha512 /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue (0-121759): cf627718fd1d8b535961f6af0e1a534633e0a173bb324c999061b7964ad71adc3b24cc3b1e9038084c618e2063b30ba923f663aea6b2a5e050a5a6969cdcdf57 >dd_rescue: (info): hash(0): Successfully validated hash from xattr for /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue >rm -f /var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/dd_rescue CHECKSUMS.sha512 >make[1]: Leaving directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10' ># 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: 858kB/s, avg.rate: 858kB/s, avg.load:115.1% > >-.......................................-< 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 > File "./calchmac.py", line 42 > print "%s *%s" %(hm.hexdigest(), fnm) > ^ >SyntaxError: invalid syntax >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.10/work/dd_rescue-1.99.10' ># 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 4-5 >dd_rescue: (debug): Inject r fault (1x) for range 6-7 >dd_rescue: (debug): Inject r fault (1x) for range 22-23 >dd_rescue: (debug): Will inject 3/0 faults for read/write >dd_rescue: (info): Using softbs=128.0kiB, hardbs=4.0kiB >dd_rescue: (info): expect to copy 118.9kiB 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: (debug): Inject read fault @ 16384 (rd 32blk @ 0*0) >dd_rescue: (info): ipos: 0.0k, opos: 0.0k, xferd: 0.0k > errs: 0, errxfer: 0.0k, succxfer: 0.0k > +curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.1% >dd_rescue: (info): problems at ipos 0.0kiB: Input/output error > fall back to smaller blocksize >dd_rescue: (info): ipos: 0.0k, opos: 0.0k, xferd: 0.0k > * errs: 0, errxfer: 0.0k, succxfer: 0.0k > +curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.3% >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): ipos 118.9kiB promote to large bs again! >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 4795kB/s, avg.rate: 1828kB/s, avg.load: 1.1% > >-.......................................-< 100% TOT: 0:00:00 >dd_rescue: (warning): There were 1 errors! >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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): ipos: 0.0k, opos: 0.0k, xferd: 0.0k > errs: 0, errxfer: 0.0k, succxfer: 0.0k > +curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.1% >dd_rescue: (info): ipos: 16.0k, opos: 16.0k, xferd: 16.0k > * errs: 0, errxfer: 0.0k, succxfer: 16.0k > +curr.rate: 631kB/s, avg.rate: 298kB/s, avg.load: 0.6% > >-....-...................................< 13% ETA: 0:00:00 >dd_rescue: (warning): read dd_rescue (16.0kiB): Input/output error! >dd_rescue: (warning): Bad block reading dd_rescue: 4 >dd_rescue: (info): ipos: 80.0k, opos: 80.0k, xferd: 80.0k > * errs: 1, errxfer: 4.0k, succxfer: 76.0k > +curr.rate: 1020kB/s, avg.rate: 964kB/s, avg.load: 1.0% > >-....x....................-..............< 67% ETA: 0:00:00 >dd_rescue: (warning): read dd_rescue (80.0kiB): Input/output error! >dd_rescue: (warning): Bad block reading dd_rescue: 20 >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 2, errxfer: 8.0k, succxfer: 110.9k > +curr.rate: 1126kB/s, avg.rate: 784kB/s, avg.load: 0.9% > >-....x....................x.............-< 100% TOT: 0:00:00 >dd_rescue: (warning): There were 5 errors! >./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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): ipos: 0.0k, opos: 0.0k, xferd: 0.0k > errs: 0, errxfer: 0.0k, succxfer: 0.0k > +curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.1% >dd_rescue: (info): ipos: 16.0k, opos: 16.0k, xferd: 16.0k > * errs: 0, errxfer: 0.0k, succxfer: 16.0k > +curr.rate: 639kB/s, avg.rate: 338kB/s, avg.load: 0.3% > >-....-...................................< 13% ETA: 0:00:00 >dd_rescue: (warning): read dd_rescue (16.0kiB): Input/output error! >dd_rescue: (warning): Bad block reading dd_rescue: 4 >dd_rescue: (info): ipos: 80.0k, opos: 80.0k, xferd: 80.0k > * errs: 1, errxfer: 4.0k, succxfer: 76.0k > +curr.rate: 733kB/s, avg.rate: 724kB/s, avg.load: 0.3% > >-....x....................-..............< 67% ETA: 0:00:00 >dd_rescue: (warning): read dd_rescue (80.0kiB): Input/output error! >dd_rescue: (warning): Bad block reading dd_rescue: 20 >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 2, errxfer: 8.0k, succxfer: 110.9k > +curr.rate: 1006kB/s, avg.rate: 902kB/s, avg.load: 0.4% > >-....x....................x.............-< 100% TOT: 0:00:00 >dd_rescue: (warning): There were 5 errors! >cmp dd_rescue dd_rescue.cmp || true >dd_rescue dd_rescue.cmp differ: char 16385, line 38 >./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.cmp is sparse (5%) >dd_rescue: (info): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): ipos: 0.0k, opos: 0.0k, xferd: 0.0k > errs: 0, errxfer: 0.0k, succxfer: 0.0k > +curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.1% >dd_rescue: (info): ipos: 24.0k, opos: 24.0k, xferd: 24.0k > * errs: 0, errxfer: 0.0k, succxfer: 24.0k > +curr.rate: 882kB/s, avg.rate: 578kB/s, avg.load: 0.4% > >-.......-................................< 20% ETA: 0:00:00 >dd_rescue: (warning): read dd_rescue (24.0kiB): Input/output error! >dd_rescue: (warning): Bad block reading dd_rescue: 6 >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 1, errxfer: 4.0k, succxfer: 114.9k > +curr.rate: 1367kB/s, avg.rate: 1583kB/s, avg.load: 0.5% > >-.......x...............................-< 100% TOT: 0:00:00 >dd_rescue: (warning): There were 3 errors! >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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 0, errxfer: 0.0k, succxfer: 118.9k > +curr.rate: 3573kB/s, avg.rate: 3573kB/s, avg.load: 0.5% > >-.......................................-< 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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (warning): write dd_rescue.cmp (16.0kiB): Input/output error >dd_rescue: (info): retrying writes with smaller blocks >dd_rescue: (warning): assumption rd(16384) == wr(-5) failed! >dd_rescue: (warning): write dd_rescue.cmp (16.0kiB): Input/output error! >dd_rescue: (warning): write dd_rescue.cmp (80.0kiB): Input/output error >dd_rescue: (info): retrying writes with smaller blocks >dd_rescue: (warning): assumption rd(16384) == wr(-5) failed! >dd_rescue: (warning): write dd_rescue.cmp (80.0kiB): Input/output error! >dd_rescue: (info): ipos: 112.0k, opos: 112.0k, xferd: 112.0k > errs: 2, errxfer: 0.0k, succxfer: 80.0k > +curr.rate: 1766kB/s, avg.rate: 1766kB/s, avg.load: 0.6% > >-....................................-...< 94% ETA: 0:00:00 >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 2, errxfer: 0.0k, succxfer: 86.9k > +curr.rate: 1420kB/s, avg.rate: 1461kB/s, avg.load: 0.6% > >-....................................-..-< 100% TOT: 0:00:00 >dd_rescue: (warning): There were 5 errors! >./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): expect to copy 118.9kiB from dd_rescue >dd_rescue: (warning): write dd_rescue.cmp (48.0kiB): Input/output error >dd_rescue: (info): retrying writes with smaller blocks >dd_rescue: (warning): assumption rd(16384) == wr(-5) failed! >dd_rescue: (warning): write dd_rescue.cmp (48.0kiB): Input/output error! >dd_rescue: (info): ipos: 112.0k, opos: 112.0k, xferd: 112.0k > errs: 1, errxfer: 0.0k, succxfer: 96.0k > +curr.rate: 2243kB/s, avg.rate: 2243kB/s, avg.load: 0.5% > >-....................................-...< 94% ETA: 0:00:00 >dd_rescue: (info): read dd_rescue (118.9kiB): EOF >dd_rescue: (info): Summary for dd_rescue -> dd_rescue.cmp >dd_rescue: (info): ipos: 118.9k, opos: 118.9k, xferd: 118.9k > errs: 1, errxfer: 0.0k, succxfer: 102.9k > +curr.rate: 1756kB/s, avg.rate: 1624kB/s, avg.load: 0.4% > >-....................................-..-< 100% TOT: 0:00:00 >dd_rescue: (warning): There were 3 errors! >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.10/work/dd_rescue-1.99.10' >#make -f ./Makefile check_aes >make -f ./Makefile check_crypt >make[1]: Entering directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10' >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -O3 -maes -msse4.1 -c aesni.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -O3 -c aes_c.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIE -c secmem.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIE -c sha256.c >fatal: not a git repository (or any of the parent directories): .git >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.10\" -D__COMPILER__="\"i686-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0\"" -DID=\"DD_RESCUE_1_99_10\" -fPIE -c aes.c >i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -I . -DHAVE_AESNI -fPIE -pie -o test_aes test_aes.c aesni.o aes_c.o secmem.o sha256.o aes.o find_nonzero.o find_nonzero_sse2.o ffs_sse42.o rdrand.o find_nonzero_avx.o ># TODO: Move previous cases into script ... >HAVE_LZO=0 HAVE_OPENSSL=0 HAVE_AES=1 ./test_crypt.sh >#We will eat a lot of entropy ... hopefully you have some left afterwards! >./test_aes AES192-ECB 10000 >./test_aes AES192+-ECB 10000 >./test_aes AES192x2-ECB 10000 >./test_aes AES192-CBC 10000 >./test_aes AES192+-CBC 10000 >./test_aes AES192x2-CBC 10000 >./test_aes AES128-CTR 10000 >./test_aes AES128+-CTR 10000 >./test_aes AES128x2-CTR 10000 >./test_aes AES192-CTR 10000 >./test_aes AES192+-CTR 10000 >./test_aes AES192x2-CTR 10000 >./test_aes AES256-CTR 10000 >./test_aes AES256+-CTR 10000 >./test_aes AES256x2-CTR 10000 ># *** Reverse *** >#Validating enc/decryption AES192-CTR ::keysfile:ivsfile >./dd_rescue -qptAr -L ./libddr_crypt.so=enc:weakrnd:alg=AES192-CTR:keygen:ivgen::keysfile:ivsfile dd_rescue dd_rescue.enc >./dd_rescue -qptAr -L ./libddr_crypt.so=dec:weakrnd:alg=AES192-CTR::keysfile:ivsfile dd_rescue.enc dd_rescue.cmp >#Validating enc/decryption AES192-ECB ::keysfile:ivsfile >./dd_rescue -qptAr -L ./libddr_crypt.so=enc:weakrnd:alg=AES192-ECB:keygen:ivgen::keysfile:ivsfile dd_rescue dd_rescue.enc >./dd_rescue -qptAr -L ./libddr_crypt.so=dec:weakrnd:alg=AES192-ECB::keysfile:ivsfile dd_rescue.enc dd_rescue.cmp >#Validating enc/decryption AES192-CTR ::keysfile:ivsfile >./dd_rescue -qptA -L ./libddr_crypt.so=enc:weakrnd:alg=AES192-CTR:::keysfile:ivsfile dd_rescue dd_rescue.enc >./dd_rescue -qptA -L ./libddr_crypt.so=dec:weakrnd:alg=AES192-CTR::keysfile:ivsfile dd_rescue.enc dd_rescue.cmp >./dd_rescue -qAx -L ./libddr_crypt.so=enc:weakrnd:alg=AES192-CTR:keysfile:ivsfile dd_rescue dd_rescue.enc >dd_rescue: (warning): crypt(0): Enc alignment error! (121756-0)=121756 12/12 >./dd_rescue -qAp -L ./libddr_crypt.so=dec:weakrnd:alg=AES192-CTR:keysfile:ivsfile dd_rescue.enc dd_rescue.cmp ># *** Holes *** >./dd_rescue -qpt dd_rescue dd_rescue3 >./dd_rescue -qS 512k dd_rescue dd_rescue3 >./dd_rescue -qS 384k -m 128k /dev/zero dd_rescue3 >#Validating enc/decryption AES192-CTR ::keysfile:ivsfile >./dd_rescue -qpt -L ./libddr_crypt.so=enc:weakrnd:alg=AES192-CTR:keygen:ivgen::keysfile:ivsfile dd_rescue3 dd_rescue3.enc >dd_rescue: (warning): some plugins don't handle sparse, enabled -A/--nosparse! >dd_rescue: (fatal): crypt(0): Could not write key/IV/pass/salt file >dd_rescue: (warning): Error initializing plugin crypt(0): Operation not permitted! >make[1]: *** [Makefile:656: check_crypt] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10' >make: *** [Makefile:527: check] Error 2 > * ERROR: sys-fs/dd-rescue-1.99.10::gentoo failed (test phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-fs/dd-rescue-1.99.10::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-fs/dd-rescue-1.99.10::gentoo'`. > * The complete build log is located at '/var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-fs/dd-rescue-1.99.10/temp/environment'. > * Working directory: '/var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10' > * S: '/var/tmp/portage/sys-fs/dd-rescue-1.99.10/work/dd_rescue-1.99.10'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 786972
: 704109