Search content
Sort by

Showing 20 of 53 results by figvam
Post
Topic
Board Development & Technical Discussion
Re: Patching The Bitcoin Client To Make It More Anonymous
by
figvam
on 17/07/2011, 20:57:23 UTC
Could you also compile a 32-bit Linux binary?
Post
Topic
Board Pools
Re: [150 GH/sec] MineCo.in - PPLNS 0% Mining
by
figvam
on 12/07/2011, 09:31:24 UTC
I suggest to lower the minimum payout at least for a few days so the guys who are moving on (like me) could cash out. I'm just a bit under 0.05 BTC and it's impossible to retrieve that sum now.

*edit* thanks for taking care of that, Wuked.
Post
Topic
Board Mining software (miners)
Re: hashkill - testing bitcoin miner plugin
by
figvam
on 07/07/2011, 19:41:40 UTC
My understanding is that the bitcoin plugin isn't included in the source code drop. Am I wrong?
Post
Topic
Board Mining software (miners)
Re: cgminer - CPU and GPU mining software
by
figvam
on 05/07/2011, 11:14:22 UTC
It crashes after some run time with a floating point exception:

Quote
Core was generated by `./cgminer --algo sse2_64 --debug --url http://mineco.in:3000/ --userpass xxxxxx'.
Program terminated with signal 8, Arithmetic exception.
#0  0x00000000004024b2 in miner_thread (userdata=)
    at main.c:949
949                             max64 = work.blk.nonce +
(gdb) where
#0  0x00000000004024b2 in miner_thread (userdata=)
    at main.c:949
#1  0x000000393800673d in start_thread () from /lib64/libpthread.so.0
#2  0x00000039374d44bd in clone () from /lib64/libc.so.6
Post
Topic
Board Mining software (miners)
Re: cgminer - CPU and GPU mining software
by
figvam
on 05/07/2011, 09:32:55 UTC
The thing is that #include line isn't wrapped in the #ifdef HAVE_OPENCL block, so the file is always included regardless of the OpenCL presence. There are more OpenCL-related bits in miner.h and mine.c which are always compiled.

Did you do ./autogen.sh followed by configure first? If so, what was the output please?
autogen doesn't output anything.
I had to remove the libcurl macro from configure and added the curl flags manually to the generated Makefile since RHEL5 doesn't have libcurl pkgconfig bits.
configure output:
Quote
$ CFLAGS="-O3 -Wall -msse2" ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc needs -traditional... no
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... (cached) ranlib
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... yes
checking for wchar_t... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking for C/C++ restrict keyword... __restrict
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether memmem works in linear time... no
checking for memmem... (cached) yes
checking whether memmem works... (cached) yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for OpenCL... no
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking for yasm... /usr/bin/yasm
checking if yasm version is greater than 1.0.1... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating x86_64/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

OpenCL: NOT FOUND. GPU mining support DISABLED.

Post
Topic
Board Mining software (miners)
Re: cgminer - CPU and GPU mining software
by
figvam
on 05/07/2011, 08:42:13 UTC
Still not possible to build without OpenCL:

In file included from main.c:30:
miner.h:15:19: error: CL/cl.h: No such file or directory
In file included from main.c:30:
miner.h:215: error: expected specifier-qualifier-list before ‘cl_uint’
main.c: In function ‘miner_thread’:
main.c:869: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:880: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:890: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:903: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:913: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:920: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:941: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:943: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:949: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:952: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:963: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:967: error: ‘dev_blk_ctx’ has no member named ‘nonce’
main.c:974: error: ‘dev_blk_ctx’ has no member named ‘nonce’
Post
Topic
Board Mining software (miners)
Re: cgminer - CPU and GPU mining software
by
figvam
on 05/07/2011, 04:25:32 UTC
Is it possible to make it compile without AMD APP SDK? To run it as a pure CPU miner on a machine without any GPU.
Post
Topic
Board Mining software (miners)
Re: hashkill - testing bitcoin miner plugin
by
figvam
on 04/07/2011, 12:29:20 UTC
Still slower than poclbm/phatk on HD 4650 and SDK 2.4:
hashkill 24Mhashes/sec
poclbm/phatk: 27-29Mhashes/sec

Interestingly minerd suffers from the same problem, with exactly the same hash rate numbers.
Post
Topic
Board Mining software (miners)
Re: hashkill - testing bitcoin miner plugin
by
figvam
on 04/07/2011, 07:45:37 UTC
Running under strace:

open("/tmp/OCL1Dtk0m.log", O_RDONLY|O_LARGEFILE) = 3
_llseek(3, 0, [19367], SEEK_END)        = 0
_llseek(3, 0, [19367], SEEK_CUR)        = 0
_llseek(3, 0, [0 ], SEEK_SET)            = 0
read(3, "/tmp/OCL1Dtk0m.cl(107): error: b"..., 19367) = 19367


Looks like the OpenCL compilation log contained more descriptive error. Maybe output that error when compilation fails?
Post
Topic
Board Mining software (miners)
Re: hashkill - testing bitcoin miner plugin
by
figvam
on 04/07/2011, 07:42:54 UTC
Something's wrong with Fedora 14, 2.1 SDK and 4650. It used to work in some previous version.
Quote
[hashkill] Version 0.2.5
[hashkill] Plugin 'bitcoin' loaded successfully
[hashkill] Found GPU device: Advanced Micro Devices, Inc. - ATI RV730
[hashkill] Using 4xxx codepath
[hashkill] GPU0: ATI Mobility Radeon HD 4650 [busy:0%] [temp:4114C]
[hashkill] Temperature threshold set to 90 degrees C
[hashkill] This plugin supports GPU acceleration.
[hashkill] Initialized hash indexes
[hashkill] Initialized thread mutexes
[hashkill] Spawned worker threads
[hashkill] Successfully connected and authorized at mineco.in:3000
[hashkill] Compiling OpenCL kernel source (amd_bitcoin.cl)[error] (ocl_bitcoin.c:1209) clBuildProgram error (-11)
[hashkill] Attack took 0 seconds.
[hashkill] Bye bye Smiley
Post
Topic
Board Mining software (miners)
Re: minerd - CPU and GPU mining software
by
figvam
on 04/07/2011, 07:29:12 UTC
Yes, thanks, that was it.
Post
Topic
Board Mining software (miners)
Re: minerd - CPU and GPU mining software
by
figvam
on 04/07/2011, 06:16:35 UTC
Yes, sure, it's still there. But the problem isn't with the header file. This commit breaks the build:
Quote
commit 5c2eee548c8d6f2e0d90f6f1631cf7d5b49fc3d8
Author: Con Kolivas <kernel@kolivas.org>
Date:   Sat Jul 2 13:46:17 2011 +1000

    Fix redefinition of gnu source.

diff --git a/cpu-miner.c b/cpu-miner.c
index 6168713..72e0a6d 100644
--- a/cpu-miner.c
+++ b/cpu-miner.c
@@ -10,7 +10,6 @@
  */
 
 #include "config.h"
-#define _GNU_SOURCE
 
 #include
 #include
And indeed, man CPU_ZERO says:
Quote
...
SYNOPSIS
       #define _GNU_SOURCE
       #include
...
I'm not sure how it works on your system though.
Post
Topic
Board Mining software (miners)
Re: minerd - CPU and GPU mining software
by
figvam
on 04/07/2011, 05:39:01 UTC
Compilation fails on Fedora 14 32bit, can't find CPU_* macros for some reason:
Quote
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson    -O2 -Wall -msse2 -I/opt/ati-stream-sdk-v2.1-lnx32/include -g -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
In file included from cpu-miner.c:30:0:
miner.h:29:0: warning: "alloca" redefined
/usr/include/alloca.h:36:0: note: this is the location of the previous definition
cpu-miner.c: In function 'drop_policy':
cpu-miner.c:44:21: warning: unused variable 'param'
cpu-miner.c: In function 'affine_to_cpu':
cpu-miner.c:58:2: warning: implicit declaration of function 'CPU_ZERO'
cpu-miner.c:59:2: warning: implicit declaration of function 'CPU_SET'
cpu-miner.c:60:2: warning: implicit declaration of function 'sched_setaffinity'
Post
Topic
Board Mining software (miners)
Re: hashkill - testing bitcoin miner plugin
by
figvam
on 03/07/2011, 19:11:03 UTC
Can't download the binaries - looks like your HTTP port is firewalled:

$ wget http://www.gat3way.eu/poc/hashkill-0.2.4-x86.tgz
--2011-07-03 14:09:41--  http://www.gat3way.eu/poc/hashkill-0.2.4-x86.tgz
Resolving www.gat3way.eu... 78.90.217.9
Connecting to www.gat3way.eu|78.90.217.9|:80... failed: No route to host.

$ ping www.gat3way.eu
PING www.gat3way.eu (78.90.217.9) 56(84) bytes of data.
64 bytes from 78.90.217.9: icmp_seq=1 ttl=47 time=155 ms
64 bytes from 78.90.217.9: icmp_seq=2 ttl=47 time=155 ms
64 bytes from 78.90.217.9: icmp_seq=3 ttl=47 time=155 ms
64 bytes from 78.90.217.9: icmp_seq=4 ttl=47 time=155 ms

--- www.gat3way.eu ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 155.017/155.276/155.580/0.243 ms
Post
Topic
Board Beginners & Help
Re: further improved phatk OpenCL kernel (> 2% increase) for Phoenix - 2011-07-01
by
figvam
on 03/07/2011, 17:17:28 UTC
340 Mh/s -> 344 Mh/sec in peak on a 5850.
Post
Topic
Board Pools
Re: "Why is Pool Hopping a Problem?" - If you use a PROPORTIONAL pool, read this!
by
figvam
on 01/07/2011, 08:22:34 UTC
Excellent write up, thanks a lot.
Post
Topic
Board Mining software (miners)
Re: minerd - CPU and GPU mining software
by
figvam
on 29/06/2011, 09:21:25 UTC
The last version with poclbm kernel and intensity=3 gives me 25.1 Mh/sec - already very close to the baseline 29.5 Mh/s of other miners! Higher intensity doesn't increase the hash rate much but slows down the desktop alot.
Post
Topic
Board Mining software (miners)
Re: minerd - CPU and GPU mining software
by
figvam
on 28/06/2011, 08:01:20 UTC
It appears it's not possible to use minerd as a pure CPU miner anymore - setting GPU threads to zero doesn't work.
Post
Topic
Board Mining software (miners)
Re: another 3% mining increase with poclbm kernel.cl
by
figvam
on 28/06/2011, 06:14:19 UTC
Got about 2.5-3% less on a HD 4650.
Post
Topic
Board Mining software (miners)
Re: minerd - CPU and GPU mining software
by
figvam
on 27/06/2011, 07:04:44 UTC
This small mod to the poclbm OpenCL kernel gives about 3% more performance if BFI_INT is used:
https://forum.bitcoin.org/index.php?topic=22965.0;topicseen
Quote
  #define Ma(x, y, z) amd_bytealign((y), (x | z), (z & x))
and change it to this line
  #define Ma(x, y, z) amd_bytealign( (z^x), (y), (x) )