Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 823. (Read 5806004 times)

member
Activity: 145
Merit: 10
both work.. i know this.
pit.deepbit.net [46.4.121.119]
deepbit.net [46.4.121.120]
full member
Activity: 373
Merit: 100

Deepbit's help page clearly shows the c-name.  Is this a bug in cg miner?

https://deepbit.net/help.php
(The URL's wrong, should be http://pit.deepbit.net:8332)
I just tried with the following parameters, and it works perfectly:
Code:
cgminer -p pwd -o http://pit.deepbit.net:8332 -u [email protected]_worker
If it doesn't for you, try adding the -T and -D parameters, that helped me when I misremembered the worker's name just now.
hero member
Activity: 924
Merit: 501
newbie
Activity: 59
Merit: 0
ck, on the other hand, your curl fix was incomplete, it still doesn't work with older curl:

Quote
util.c:254: error: expected declaration specifiers or '...' before 'curlsocktype'                                                                             
util.c: In function 'json_rpc_call':                                                                                                                         
util.c:348: error: 'CURLOPT_SOCKOPTFUNCTION' undeclared (first use in this function)                                                                         
util.c:348: error: (Each undeclared identifier is reported only once                                                                                         
util.c:348: error: for each function it appears in.)                                                                                                         
make[2]: *** [cgminer-util.o] Error 1                                                                                                                         
make[2]: *** Waiting for unfinished jobs....

I think you should ifdef this function too.
newbie
Activity: 59
Merit: 0
- Try to do every curses manipulation under the curses lock.
Fabulous! This solved the segfault when attaching a running tmux session.
That's one down, thanks!

ck, you are the hero, you fixed the segfaults that I was getting under screen or when resizing the terminal on rhel5/ubuntu!
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
- Try to do every curses manipulation under the curses lock.
Fabulous! This solved the segfault when attaching a running tmux session.
That's one down, thanks! Alas others have already told me they still get segfaults on resizing windows. I suspect since I'm not reproducing it on a more modern distro that it's something to do with the older ncurses library in the older distros.
Actually after searching, I found this:
http://davidben.net/blog/2010/05/03/barnowl-ncurses-and-terminal-resizing/

and it seems to indeed be a unique bug to older ncurses that is elicited by doing two redraws one after the other. So I changed that code at least and made it do only one main window redraw now (repackaged as the same 1.5.0 version quickly in the hope no one notices Wink

Anyway there will likely be a 1.5.1 just around the corner when I find what the cause of this rejects bug is... but first, sleep!
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
- Try to do every curses manipulation under the curses lock.
Fabulous! This solved the segfault when attaching a running tmux session.
That's one down, thanks! Alas others have already told me they still get segfaults on resizing windows. I suspect since I'm not reproducing it on a more modern distro that it's something to do with the older ncurses library in the older distros.
full member
Activity: 185
Merit: 100
- Try to do every curses manipulation under the curses lock.
Fabulous! This solved the segfault when attaching a running tmux session.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
It seems there's a bug in 1.5.0 where every so often it will have regular rejects right from the start. Restarting it seems to make it go away (indefinitely), buto for the moment stick to 1.4.1 unless you're willing to experiment.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
New version: 1.5.0: UNSTABLE!

Source:
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.0.tar.bz2

The two major new features in this version are the GPU thread management part of the menu that lets you selectively enable, disable and restart GPUs, and the split work for slow mining threads - This is designed mainly for CPU mining which can't complete searching a work item in the allocated time. cgminer will detect a thread that can't complete its work and will split it up into multiple parts, spreading it out in such a way that no two threads repeat the same work, but that the overall number of queued work items is lower. See the changelog for more details:


Changelog:

- Increase efficiency of slow mining threads such as CPU miners dramatically. Do
this by detecting which threads cannot complete searching a work item within the
scantime and then divide up a work item into multiple smaller work items.
Detect the age of the work items and if they've been cloned before to prevent
doing the same work over. If the work is too old to be divided, then see if it
can be time rolled and do that to generate work. This dramatically decreases the
number of queued work items from a pool leading to higher overall efficiency
(but the same hashrate and share submission rate).
- Don't request work too early for CPUs as CPUs will scan for the full
opt_scantime anyway.
- Simplify gpu management enable/disable/restart code.
- Implement much more accurate rolling statistics per thread and per gpu and
improve accuracy of rolling displayed values.
- Make the rolling log-second average more accurate.
- Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
try restarting them.
- Keep track of which GPUs are alive versus enabled.
- Start threads for devices that are even disabled, but don't allow them to
start working.
- The last pool is when we are low in total_pools, not active_pools.
- Make the thread restart do a pthread_join after disabling the device, only
re-enabling it if we succeed in restarting the thread. Do this from a separate
thread so as to not block any other code.This will allow cgminer to continue
even if one GPU hangs.
- Try to do every curses manipulation under the curses lock.
- Only use the sockoptfunction if the version of curl is recent enough.
newbie
Activity: 9
Merit: 0
your compiling it in 32bit mode..

Code:
-f elf64
  or 
Code:
-f win64
  or 
Code:
-f elf -m amd64
thanks, this helped a bit, but still errors.

Code:
$ yasm -f elf -m amd64 -o cgminer-sha256_sse4_amd64.o cgminer-sha256_sse4_amd64.asm
cgminer-sha256_sse4_amd64.asm:33: warning: Unrecognized qualifier `execute'
cgminer-sha256_sse4_amd64.asm:103: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:111: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:123: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:131: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:137: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:143: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:149: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:157: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:161: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:167: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:173: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:179: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:185: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:191: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:197: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:203: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:209: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:215: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:221: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:227: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:233: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:239: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:245: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:251: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:259: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:263: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:269: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:275: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:281: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:287: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:293: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:305: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:311: error: undefined symbol `g_4sha256_k' (first use)
cgminer-sha256_sse4_amd64.asm:311: error:  (Each undefined symbol is reported only once.)
cgminer-sha256_sse4_amd64.asm:367: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:375: error: undefined symbol `?_004.LC0' (first use)
cgminer-sha256_sse4_amd64.asm:515: warning: Unrecognized qualifier `noexecute'
cgminer-sha256_sse4_amd64.asm:533: warning: Unrecognized qualifier `noexecute'
cgminer-sha256_sse4_amd64.asm:539: warning: Unrecognized qualifier `noexecute'
cgminer-sha256_sse4_amd64.asm:613: warning: Unrecognized qualifier `noexecute'
cgminer-sha256_sse4_amd64.asm:629: warning: Unrecognized qualifier `noexecute'
after reading in the yasm-wiki i fixed "warning: Unrecognized qualifier `noexecute'" by changing "noexecute" to "noexec".
but i assume, the asm-source syntax is correct and i am compiling still wrong.
member
Activity: 145
Merit: 10
your compiling it in 32bit mode..

Code:
-f elf64
  or 
Code:
-f win64
  or 
Code:
-f elf -m amd64
newbie
Activity: 9
Merit: 0
Actually, this was decompiled for YASM.  In which case, you copy this text into a simple text editor, save it as cgminer-sha256_sse4_amd64.asm in your working linux directory and then, with YASM installed, simply type yasm cgminer-sha256_sse4_amd64.asm.
ok.
but it doesn't work Smiley
i get:

Code:
govinda@neutrino:~/bc/cgminer-1.4.1$ yasm --version
md64.asm -a x86 --version
yasm 1.1.0.2352
Compiled on Jul 26 2011.
Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.

govinda@neutrino:~/bc/cgminer-1.4.1$ uname -a
Linux neutrino 2.6.38-11-generic #47-Ubuntu SMP Fri Jul 15 19:27:09 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

govinda@neutrino:~/bc/cgminer-1.4.1$ yasm -o cgminer-sha256_sse4_amd64.o cgminer-sha256_sse4_amd64.asm
cgminer-sha256_sse4_amd64.asm:13: warning: ignoring default rel in non-64-bit mode
cgminer-sha256_sse4_amd64.asm:39: warning: `r15' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:39: error: undefined symbol `r15' (first use)
cgminer-sha256_sse4_amd64.asm:39: error:  (Each undefined symbol is reported only once.)
cgminer-sha256_sse4_amd64.asm:41: warning: `r15' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:41: warning: `r8' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:41: error: undefined symbol `r8' (first use)
cgminer-sha256_sse4_amd64.asm:43: warning: `r14' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:43: error: undefined symbol `r14' (first use)
cgminer-sha256_sse4_amd64.asm:45: warning: `r13' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:45: error: undefined symbol `r13' (first use)
cgminer-sha256_sse4_amd64.asm:47: warning: `r12' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:47: error: undefined symbol `r12' (first use)
cgminer-sha256_sse4_amd64.asm:49: warning: `rbp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:49: error: undefined symbol `rbp' (first use)
cgminer-sha256_sse4_amd64.asm:51: warning: `movsxd' is an instruction in 64-bit mode
cgminer-sha256_sse4_amd64.asm:51: warning: `rbp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:51: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:53: warning: `rbx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:53: error: undefined symbol `rbx' (first use)
cgminer-sha256_sse4_amd64.asm:55: warning: `rbp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:57: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:57: error: undefined symbol `rsp' (first use)
cgminer-sha256_sse4_amd64.asm:59: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:59: warning: `rbp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:59: error: undefined symbol `rax' (first use)
cgminer-sha256_sse4_amd64.asm:61: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:61: warning: `rdx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:61: error: undefined symbol `rdx' (first use)
cgminer-sha256_sse4_amd64.asm:63: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:63: warning: `r9' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:63: error: undefined symbol `r9' (first use)
cgminer-sha256_sse4_amd64.asm:65: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:67: warning: `rdx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:67: warning: `rcx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:67: error: undefined symbol `rcx' (first use)
cgminer-sha256_sse4_amd64.asm:69: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:71: warning: `r8' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:71: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:75: warning: `r14d' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:75: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:75: error: undefined symbol `r14d' (first use)
cgminer-sha256_sse4_amd64.asm:77: warning: `rcx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:77: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:79: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:81: warning: `r13' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:81: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:83: warning: `r12' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:83: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:85: warning: `rdi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:85: warning: `r13' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:85: error: undefined symbol `rdi' (first use)
cgminer-sha256_sse4_amd64.asm:89: warning: `rdi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:89: warning: `r8' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:91: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:91: warning: `rcx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:93: warning: `rsi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:93: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:93: error: undefined symbol `rsi' (first use)
cgminer-sha256_sse4_amd64.asm:97: warning: `r8' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:97: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:101: warning: `rdi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:101: warning: `r8' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:103: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:103: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:109: warning: `rsi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:109: warning: `rdx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:111: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:111: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:115: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:121: warning: `rdi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:121: warning: `r12' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:123: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:123: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:125: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:127: warning: `stosq' is an instruction in 64-bit mode
cgminer-sha256_sse4_amd64.asm:127: error: junk at end of line, first unrecognized character is `s'
cgminer-sha256_sse4_amd64.asm:131: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:131: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:133: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:137: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:137: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:139: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:143: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:143: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:145: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:149: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:149: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:151: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:155: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:157: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:157: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:161: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:161: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:163: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:167: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:167: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:169: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:173: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:173: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:175: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:179: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:179: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:181: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:185: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:185: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:187: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:191: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:191: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:193: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:197: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:197: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:199: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:203: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:203: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:205: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:209: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:209: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:211: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:215: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:215: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:217: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:221: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:221: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:223: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:227: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:227: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:229: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:233: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:233: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:235: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:239: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:239: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:241: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:245: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:245: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:247: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:251: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:251: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:253: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:257: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:259: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:259: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:263: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:263: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:265: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:269: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:269: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:271: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:275: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:275: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:277: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:281: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:281: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:283: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:287: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:287: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:289: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:293: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:293: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:295: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:299: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:305: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:305: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:311: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:311: error: undefined symbol `g_4sha256_k' (first use)
cgminer-sha256_sse4_amd64.asm:313: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:315: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:333: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:339: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:345: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:353: warning: `r14d' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:357: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:357: warning: `rbp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:359: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:361: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:361: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:363: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:363: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:367: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:369: warning: `rdx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:369: warning: `r13' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:373: warning: `rsi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:373: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:375: error: undefined symbol `?_004.LC0' (first use)
cgminer-sha256_sse4_amd64.asm:377: warning: `rdi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:377: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:379: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:385: warning: `rsi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:385: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:387: warning: `rdi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:387: warning: `r12' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:391: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:391: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:395: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:395: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:399: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:399: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:401: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:401: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:403: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:405: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:415: warning: `movsxd' is an instruction in 64-bit mode
cgminer-sha256_sse4_amd64.asm:415: warning: `rcx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:415: error: instruction expected after label
cgminer-sha256_sse4_amd64.asm:417: warning: `r12' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:417: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:419: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:421: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:421: warning: `rcx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:423: warning: `r15' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:423: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:425: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:427: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:431: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:433: warning: `rsi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:433: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:435: warning: `rdi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:435: warning: `r15' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:439: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:445: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:445: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:449: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:449: warning: `rcx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:451: warning: `rbx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:451: warning: `rdx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:453: warning: `rsi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:453: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:455: warning: `rsi' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:461: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:461: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:465: warning: `rax' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:465: warning: `rdx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:469: warning: `rsp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:471: warning: `rbx' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:473: warning: `rbp' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:475: warning: `r12' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:477: warning: `r13' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:479: warning: `r14' is a register in 64-bit mode
cgminer-sha256_sse4_amd64.asm:481: warning: `r15' is a register in 64-bit mode
am i doing it wrong?

can't we just optimize the code in x86_64/sha256_sse4_amd64.asm for sse4.1
or make a x86_64/sha256_sse4.1_amd64.asm?
full member
Activity: 173
Merit: 100
not conecting to pit.deepbit.net:8332 on windows  Huh
sr. member
Activity: 378
Merit: 250
Feel free to compile it and replace your object file with it to test its benefit.

sorry, but how am i doing this? Cheesy

also: can i compile the sse stuff without installing yasm on the PC?
(i dont have root access to the PC, i would like to run cgminer on)
for curl i used "./configure --with-libcurl=/home/.../myCompiledCurl" but ./configure is missing a similar option for yasm. Sad


Actually, this was decompiled for YASM.  In which case, you copy this text into a simple text editor, save it as cgminer-sha256_sse4_amd64.asm in your working linux directory and then, with YASM installed, simply type yasm cgminer-sha256_sse4_amd64.asm.  You can simply drag and drop the asm file from a folder view into the terminal window to make it easier than typing the entire file name.  But this increased my hash speed from about 14.7 up to around 16 to make it on-par with ufasoft in Windows.
full member
Activity: 373
Merit: 100
For login credentials:
[email protected]_username2 wont work ever as .com_username2 is no toplevel domain any dns knows about. use proper json formated configs with "-c config.json" or use the commands "-o domain.com:port -u username -p password" and it might work
Yes it will. For deepbit, "[email protected]_username2" is the complete username, not the URL (as suggested by the lack of protocol).
newbie
Activity: 49
Merit: 0
For eligius or any other pool:
1-3% rejects is normal; everything <1% is fake or barely possible, like x8s did: it only rejected outdated shares which made it get <0.5%, for proportional only pools this makes sense in terms of saves trouble on the pools bitcoind side; for PPS it shouldn't accept any invalid outdated stale shares ever as the pool pays for them directly.

For login credentials:
[email protected]_username2 wont work ever as .com_username2 is no toplevel domain any dns knows about. use proper json formated configs with "-c config.json" or use the commands "-o domain.com:port -u username -p password" and it might work
full member
Activity: 373
Merit: 100
Only problem I'm having is deepbit.
It doesn't like my username I think.

[email protected]_username2

But I am definitely able to connect
to my local pool.


Quote from: cookiemonster
Dude, I just registered to reply to your last post, but I'm still a "newbie," so I can't post it in the thread.

Try escaping the @ sign in your login, i.e.:

Code:
username\@domain.com_username2

I tried escaping it, quoting with " ' ` but no luck.

Thanks for reaching out cookie.
I'm able to connect to deepbit (and the LP problems are fixed since the switch back to POST). I kinda assume there must be something you're doing wrong like mistyping. Could you post the complete (anonymous) command line you use? Maybe I'll be able to spot something. (I'd be more worried about properly quoting the password than the username, BTW.)
Also, I use both config files and command line parameters to pass the login credentials, so both ways should work.
hero member
Activity: 924
Merit: 501
Only problem I'm having is deepbit.
It doesn't like my username I think.

[email protected]_username2

But I am definitely able to connect
to my local pool.


Quote from: cookiemonster
Dude, I just registered to reply to your last post, but I'm still a "newbie," so I can't post it in the thread.

Try escaping the @ sign in your login, i.e.:

Code:
username\@domain.com_username2

I tried escaping it, quoting with " ' ` but no luck.

Thanks for reaching out cookie.
Jump to: