Author

Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner - page 154. (Read 444067 times)

newbie
Activity: 14
Merit: 0


I don't understand what you're saying. Please guide more detailed.


You need to explain more about what you are doing.

I sent a message to you. Please check it.
legendary
Activity: 1470
Merit: 1114


I don't understand what you're saying. Please guide more detailed.


You need to explain more about what you are doing.
newbie
Activity: 14
Merit: 0
Please tell me or guide me how i can handle this problem. Thanks!

QEMU supports AES, but by default it shows a minimal subset of CPU features so that the VM can be moved between physical machines and compiled code on one host will run on another host.

Add "-cpu host" to qemu commandline. But beware that the VM will not run properly on another machine that doesn't support same CPU features if you compile anything with "-march" flag.

[EDIT]: Also I don't see KVM enabled. Enable KVM with "-enable-kvm" qemu flag in command line.

I don't understand what you're saying. Please guide more detailed.

I tried running the command: qemu -enable-kvm
Code:
qemu -enable-kvm
The program 'qemu' can be found in the following packages:
 * qemu-system-arm
 * qemu-system-mips
 * qemu-system-misc
 * qemu-system-ppc
 * qemu-system-sparc
 * qemu-system-x86
Try: apt-get install

I installed the packages: qemu-system-arm qemu-system-mips qemu-system-misc qemu-system-ppc qemu-system-sparc qemu-system-x86 qemu qemu-system
member
Activity: 81
Merit: 1002
It was only the wind.
member
Activity: 83
Merit: 10
Please tell me or guide me how i can handle this problem. Thanks!

QEMU supports AES, but by default it shows a minimal subset of CPU features so that the VM can be moved between physical machines and compiled code on one host will run on another host.

Add "-cpu host" to qemu commandline. But beware that the VM will not run properly on another machine that doesn't support same CPU features if you compile anything with "-march" flag.

[EDIT]: Also I don't see KVM enabled. Enable KVM with "-enable-kvm" qemu flag in command line.
newbie
Activity: 14
Merit: 0
Thank you for the detailed information. It appears you are using QEMU. I have not tested cpuminer-opt with QEMU.

The CPU features listed do not include AES or AVX but does include SSE2. What is your actual physical CPU?

I suspect one of two problems:

1. Your CPU has these features but QEMU does not emulate them. If this is the case you can get a proper AES compile
 natively (without emulation) or with a different form of emulation such as a VM or mingw.

2. Your CPU does not have these features but the compiler running under QEMU is unable to  detect the missing features.
In this case your CPU is limited to SSE2 and you will have to specify "-march=core2" to specifically tell the compiler not
to attempt to compile the AES optimized code in cpuminer-opt.

Edit: It appears QEMU does not support AES:

http://unix.stackexchange.com/questions/170016/does-qemu-kvm-use-intel-aes-instructions-for-encrypted-qcow2-images-if-the-host


 Cry I'm sad to hear about that. I use CPU with QEMU/KVM use Intel AES instructions. I can't mining bitcoin with this CPU? Hic.
legendary
Activity: 1470
Merit: 1114
Thank you for the detailed information. It appears you are using QEMU. I have not tested cpuminer-opt with QEMU.

The CPU features listed do not include AES or AVX but does include SSE2. What is your actual physical CPU?

I suspect one of two problems:

1. Your CPU has these features but QEMU does not emulate them. If this is the case you can get a proper AES compile
 natively (without emulation) or with a different form of emulation such as a VM or mingw.

2. Your CPU does not have these features but the compiler running under QEMU is unable to  detect the missing features.
In this case your CPU is limited to SSE2 and you will have to specify "-march=core2" to specifically tell the compiler not
to attempt to compile the AES optimized code in cpuminer-opt.

Edit: It appears QEMU does not support AES:

http://unix.stackexchange.com/questions/170016/does-qemu-kvm-use-intel-aes-instructions-for-encrypted-qcow2-images-if-the-host
member
Activity: 81
Merit: 1002
It was only the wind.
cpuminer-opt v3.3.6 is released.

Cryptonight on Windows is fixed.

Fixed reporting of AVX support on startup.

Mergerd bench test from TPruvot fork.

https://drive.google.com/file/d/0B0lVSGQYLJIZZWctdjQtUmR2NW8/view?usp=sharing

Watch Cryptomining Blog for updated binaries.



Code:
g++  -fPIC -O3 -march=native -Wall -std=gnu++11 -Lyes/lib  -Lyes/lib  -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-uint256.o cpuminer-api.o cpuminer-sysinfos.o cpuminer-algo-gate-api.o algo/groestl/cpuminer-sph_groestl.o algo/skein/cpuminer-sph_skein.o algo/bmw/cpuminer-sph_bmw.o algo/shavite/cpuminer-sph_shavite.o algo/shavite/cpuminer-shavite.o algo/echo/cpuminer-sph_echo.o algo/blake/cpuminer-sph_blake.o algo/heavy/cpuminer-sph_hefty1.o algo/blake/cpuminer-mod_blakecoin.o algo/luffa/cpuminer-sph_luffa.o algo/cubehash/cpuminer-sph_cubehash.o algo/simd/cpuminer-sph_simd.o algo/hamsi/cpuminer-sph_hamsi.o algo/fugue/cpuminer-sph_fugue.o algo/gost/cpuminer-sph_gost.o algo/jh/cpuminer-sph_jh.o algo/keccak/cpuminer-sph_keccak.o algo/keccak/cpuminer-keccak.o algo/sha3/cpuminer-sph_sha2.o algo/sha3/cpuminer-sph_sha2big.o algo/shabal/cpuminer-sph_shabal.o algo/whirlpool/cpuminer-sph_whirlpool.o crypto/cpuminer-blake2s.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o crypto/cpuminer-magimath.o algo/argon2/cpuminer-argon2a.o algo/argon2/ar2/cpuminer-argon2.o algo/argon2/ar2/cpuminer-opt.o algo/argon2/ar2/cpuminer-cores.o algo/argon2/ar2/cpuminer-ar2-scrypt-jane.o algo/argon2/ar2/cpuminer-blake2b.o algo/cpuminer-axiom.o algo/blake/cpuminer-blake.o algo/blake/cpuminer-blake2.o algo/blake/cpuminer-blakecoin.o algo/blake/cpuminer-decred.o algo/blake/cpuminer-pentablake.o algo/bmw/cpuminer-bmw256.o algo/cubehash/sse2/cpuminer-cubehash_sse2.o algo/cryptonight/cpuminer-cryptolight.o algo/cryptonight/cpuminer-cryptonight-common.o algo/cryptonight/cpuminer-cryptonight-aesni.o algo/cryptonight/cpuminer-cryptonight.o algo/cpuminer-drop.o algo/echo/aes_ni/cpuminer-hash.o algo/cpuminer-fresh.o algo/groestl/cpuminer-groestl.o algo/groestl/cpuminer-myr-groestl.o algo/groestl/sse2/cpuminer-grso.o algo/groestl/sse2/cpuminer-grso-asm.o algo/groestl/aes_ni/cpuminer-hash-groestl.o algo/haval/cpuminer-haval.o algo/heavy/cpuminer-heavy.o algo/heavy/cpuminer-bastion.o algo/cpuminer-hmq1725.o algo/hodl/cpuminer-hodl.o algo/hodl/cpuminer-hodl-gate.o algo/hodl/cpuminer-hodl_arith_uint256.o algo/hodl/cpuminer-hodl_uint256.o algo/hodl/cpuminer-hash.o algo/hodl/cpuminer-hmac_sha512.o algo/hodl/cpuminer-sha256.o algo/hodl/cpuminer-sha512.o algo/hodl/cpuminer-utilstrencodings.o algo/hodl/cpuminer-hodl-wolf.o algo/hodl/cpuminer-aes.o algo/luffa/cpuminer-luffa.o algo/luffa/sse2/cpuminer-luffa_for_sse2.o algo/lyra2/cpuminer-lyra2.o algo/lyra2/cpuminer-sponge.o algo/lyra2/cpuminer-lyra2rev2.o algo/lyra2/cpuminer-lyra2re.o algo/keccak/sse2/cpuminer-keccak.o algo/cpuminer-m7mhash.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo/quark/cpuminer-quark.o algo/qubit/cpuminer-qubit.o algo/ripemd/cpuminer-sph_ripemd.o algo/cpuminer-scrypt.o algo/scryptjane/cpuminer-scrypt-jane.o algo/sha2/cpuminer-sha2.o algo/simd/sse2/cpuminer-nist.o algo/simd/sse2/cpuminer-vector.o algo/skein/cpuminer-skein.o algo/skein/cpuminer-skein2.o algo/cpuminer-s3.o algo/tiger/cpuminer-sph_tiger.o algo/x11/cpuminer-x11.o algo/x11/cpuminer-x11evo.o algo/x11/cpuminer-x11gost.o algo/x11/cpuminer-c11.o algo/x13/cpuminer-x13.o algo/x14/cpuminer-x14.o algo/x15/cpuminer-x15.o algo/x17/cpuminer-x17.o algo/yescrypt/cpuminer-yescrypt.o algo/yescrypt/cpuminer-yescrypt-common.o algo/yescrypt/cpuminer-sha256_Y.o algo/yescrypt/cpuminer-yescrypt-simd.o algo/cpuminer-zr5.o asm/cpuminer-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -lcurl -lz -ljansson -lpthread  -lssl -lcrypto -lgmp 
/usr/bin/ld: algo/groestl/sse2/cpuminer-grso-asm.o: relocation R_X86_64_32S against `grsoT0' can not be used when making a shared object; recompile with -fPIC
algo/groestl/sse2/cpuminer-grso-asm.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:1306: recipe for target 'cpuminer' failed
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory '/home/wolf/miners/cpuminer-opt-3.3.6'
Makefile:3336: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/wolf/miners/cpuminer-opt-3.3.6'
Makefile:658: recipe for target 'all' failed
make: *** [all] Error 2

I'm going to assume cpuminer-grso-asm.o was made from ASM, and that ASM was written for 32-bit?
newbie
Activity: 14
Merit: 0
Hi all,
I've encountered an error as follows:
Code:
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\
     ^
algo/echo/aes_ni/hash.c:126:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(ktemp, _k_ipt, t1, t4);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:53:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
     ^
algo/echo/aes_ni/hash.c:126:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(ktemp, _k_ipt, t1, t4);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:68:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t2 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 1), x);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:70:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t3 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), t1);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:72:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t4 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), x);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:74:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t2 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), t3);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:76:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t3 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), t4);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:83:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t = _mm_shuffle_epi8(*((__m128i*)table + 0), x1);\
    ^
algo/echo/aes_ni/vperm.h:101:2: note: in expansion of macro ‘VPERM_LOOKUP’
  VPERM_LOOKUP(t2, t3, _k_sb1, s1, t1);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:84:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  y = _mm_shuffle_epi8(*((__m128i*)table + 1), x2);\
    ^
algo/echo/aes_ni/vperm.h:101:2: note: in expansion of macro ‘VPERM_LOOKUP’
  VPERM_LOOKUP(t2, t3, _k_sb1, s1, t1);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:83:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t = _mm_shuffle_epi8(*((__m128i*)table + 0), x1);\
    ^
algo/echo/aes_ni/vperm.h:102:2: note: in expansion of macro ‘VPERM_LOOKUP’
  VPERM_LOOKUP(t2, t3, _k_sb2, s2, t1);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:84:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  y = _mm_shuffle_epi8(*((__m128i*)table + 1), x2);\
    ^
algo/echo/aes_ni/vperm.h:102:2: note: in expansion of macro ‘VPERM_LOOKUP’
  VPERM_LOOKUP(t2, t3, _k_sb2, s2, t1);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:104:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  x = _mm_shuffle_epi8(s2, M128(_k_aesmix1));\
    ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\
     ^
algo/echo/aes_ni/hash.c:132:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(s2, mul2ipt, t1, t2);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:53:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
     ^
algo/echo/aes_ni/hash.c:132:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(s2, mul2ipt, t1, t2);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:52:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\
     ^
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^
algo/echo/aes_ni/vperm.h:53:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
     ^
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^
In file included from algo/echo/aes_ni/hash.c:19:0:
algo/echo/aes_ni/hash.c: At top level:
./miner.h:496:20: warning: ‘algo_names’ defined but not used [-Wunused-variable]
 static const char *algo_names[] = {
                    ^
make[2]: *** [algo/echo/aes_ni/cpuminer-hash.o] Error 1
make[2]: Leaving directory `/root/cpuminer-opt-3.3.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt-3.3.6'
make: *** [all] Error 2

I follow the instructions below:
Code:
./autogen.sh
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl
make

CPU Info:
Code:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : QEMU Virtual CPU version (cpu64-rhel6)
stepping        : 3
microcode       : 0x1
cpu MHz         : 2659.998
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 4
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl pni cx16 hypervisor lahf_lm
bogomips        : 5319.99
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual

Please tell me or guide me how i can handle this problem. Thanks!
legendary
Activity: 1470
Merit: 1114
I have found a problem with the capabilities reporting for lyra2RE  and lyra2REv2 algos.

They are being reported an not AES optimized when in fact the AES build will crash on a non-AES CPU.
This will only occur if using the precompiled AES enabled binaries from Cryptomining Blog. If compiled
natively on the same CPU there should be no problem.

Users with older CPUs that see a crash mining lyra2 or lyra2v2 should use the SSE2 build.

The only impact of this bug is the crash is unexpected and using the SSE2 build will result in a slighly lower preformance.

The next release of cpuminer-opt will report lyra2 and lyra2v2 as AES optimized and the performance chart will be
updated accordingly. The fix will not be rushed out because it does not prevent the crash.

newbie
Activity: 35
Merit: 0

I will try c-multi but when I switch to HTTP I wouldn't get any response from the server if I recall, that's why I switched to stratum.

I thought I got to this thread from c-multi when I asked about SJ being compiled in, being possible for a noob to do...  but maybe it was a different cpuminer thread. will check. do u know if c-multi has precompiled windows binaries? ty

https://github.com/tpruvot/cpuminer-multi/releases

You could also ask the coin's devs how to mine. Many wallets have a built in miner.

Thanks for the link. I was close, but in the wrong author's github page. The purse does have a built in miner but wanted to see if cpuminer would be more efficient. I will sent a request to the devs pending the outcome of testing the c-multi. Thank you again.
legendary
Activity: 1470
Merit: 1114

I will try c-multi but when I switch to HTTP I wouldn't get any response from the server if I recall, that's why I switched to stratum.

I thought I got to this thread from c-multi when I asked about SJ being compiled in, being possible for a noob to do...  but maybe it was a different cpuminer thread. will check. do u know if c-multi has precompiled windows binaries? ty

https://github.com/tpruvot/cpuminer-multi/releases

You could also ask the coin's devs how to mine. Many wallets have a built in miner.
legendary
Activity: 1470
Merit: 1114
newbie
Activity: 35
Merit: 0
When i try script:n with n=17, I get unknown algo.

I am trying to mine hempcoin/hmp outside of the wallet/purse. Still trying to find the right setup. Scryptjane loads but I get stratum_recv_line failed error  when pulling from server setup purse. So thought maybe scrypt:17 but that errors out as unknown also.

From the BCT thread: "Algorithm: Scrypt (Pos/PoW)". Did you try that?

That is for THC The Hempcoin.  Scrypt-Jane is HMP Hempcoin. A different coin.

I did try just Scrypt but I get the same error  'stratum_recv_line failed'.

scryptjane works for me at nicehash:

./cpuminer -a scryptjane:16 -o stratum+tcp://scryptjanenf16.usa.nicehash.com:3348

Post your session showing the command line, startup messages and failure.

I think stratum errors are likely a problem with the stratum server at the pool. Even when I specify the wrong NF
at nicehash it still hashes but only produces rejects, I don't get stratum errors.

If i use scryptjane:17 it says unknown also... if I use 16 I get the same stratum_recv_line failed...

I am trying to set this up using my wallet/purse as a server (currently no HMP pool that I know of). I know the port is open and listening otherwise it would give a fail to connect error and a port scan shows it is listening.

When using 16, or plain scryptjane (or scrypt)

cpuminer-amd -a scryptjane:16 -o stratum+tcp://10.0.0.5:33333 -u tfp -p p

         **********  cpuminer-opt 3.3.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0 and Jeff Garzik.

CPU: AMD A8-5545M APU with Radeon(tm) HD Graphics
CPU features: SSE2 AES AVX
SW built on Jun  9 2016 with GCC 5.3.0
SW features: SSE2 AES AVX
Algo features: SSE2
AES not available, starting mining with SSE2 optimizations...

[2016-06-13 23:43:02] Starting Stratum on stratum+tcp://10.0.0.5:33333
[2016-06-13 23:43:02] 4 miner threads started, using 'scryptjane' algorithm.
[2016-06-13 23:43:02] stratum_recv_line failed
[2016-06-13 23:43:02] ...retry after 10 seconds
[2016-06-13 23:43:03] CTRL_C_EVENT received, exiting
Terminate batch job (Y/N)?

if I don't ctrl-c, it just keeps showing the recv_line failed/retry continually...

I am guessing it is something with the wallet/server setup that isn't working right with the separate mining setup. I even set it to allow all ip's, same thing.

hempcoin.conf
rpcuser=tfp
rpcpassword=p
rpcallowip=127.0.0.1
rpcallowip=10.0.0.*
rpcallowip=*
rpcport=33333
server=1

Appreciate the help/ideas/etc
legendary
Activity: 1470
Merit: 1114
When i try script:n with n=17, I get unknown algo.

I am trying to mine hempcoin/hmp outside of the wallet/purse. Still trying to find the right setup. Scryptjane loads but I get stratum_recv_line failed error  when pulling from server setup purse. So thought maybe scrypt:17 but that errors out as unknown also.

From the BCT thread: "Algorithm: Scrypt (Pos/PoW)". Did you try that?

That is for THC The Hempcoin.  Scrypt-Jane is HMP Hempcoin. A different coin.

I did try just Scrypt but I get the same error  'stratum_recv_line failed'.

scryptjane works for me at nicehash:

./cpuminer -a scryptjane:16 -o stratum+tcp://scryptjanenf16.usa.nicehash.com:3348

Post your session showing the command line, startup messages and failure.

I think stratum errors are likely a problem with the stratum server at the pool. Even when I specify the wrong NF
at nicehash it still hashes but only produces rejects, I don't get stratum errors.
newbie
Activity: 35
Merit: 0
When i try script:n with n=17, I get unknown algo.

I am trying to mine hempcoin/hmp outside of the wallet/purse. Still trying to find the right setup. Scryptjane loads but I get stratum_recv_line failed error  when pulling from server setup purse. So thought maybe scrypt:17 but that errors out as unknown also.

From the BCT thread: "Algorithm: Scrypt (Pos/PoW)". Did you try that?

That is for THC The Hempcoin.  Scrypt-Jane is HMP Hempcoin. A different coin.

I did try just Scrypt but I get the same error  'stratum_recv_line failed'.
legendary
Activity: 1470
Merit: 1114
is it possible to run this miner on Lynnfield ?

all my attempts ended crashing

if you're using the precompiled binaries you will have to use the SSE2 build. If you compiled your own
post the details.
full member
Activity: 304
Merit: 100
is it possible to run this miner on Lynnfield ?

all my attempts ended crashing
legendary
Activity: 1470
Merit: 1114
When i try script:n with n=17, I get unknown algo.

I am trying to mine hempcoin/hmp outside of the wallet/purse. Still trying to find the right setup. Scryptjane loads but I get stratum_recv_line failed error  when pulling from server setup purse. So thought maybe scrypt:17 but that errors out as unknown also.

From the BCT thread: "Algorithm: Scrypt (Pos/PoW)". Did you try that?
Jump to: