Bitcoin Forum
November 04, 2024, 09:55:41 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 [366] 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805612 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
OgNasty
Donator
Legendary
*
Offline Offline

Activity: 4914
Merit: 4828


Leading Crypto Sports Betting & Casino Platform


View Profile WWW
October 05, 2012, 02:43:40 AM
 #7301

What is the correct way to include the "-S COM2" command in the config file?

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
Krak
Hero Member
*****
Offline Offline

Activity: 591
Merit: 500



View Profile WWW
October 05, 2012, 02:47:38 AM
 #7302

What is the correct way to include the "-S COM2" command in the config file?
Code:
"scan-serial" : "COM2"

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
-ck (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 05, 2012, 04:14:05 AM
 #7303

Stratum update

The code has been in testing for a while now, and numerous issues have been ironed out. I've been mining with it for a few days in a mixture of regular pools + stratum pools and things seem to working out okay. I've just managed to get it building and working on windows and have created the first binary for people to start testing it. It's still not mature enough for a full release, but at some stage I need people to start testing it so I can sort out issues as they arise.

If you're on linux, and can use git, checkout the stratum branch and build from that.
git pull -a && git checkout stratum

For those on windows, here is a test binary.
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Just drop  it into your existing 2.7.6 directory. It will still read version 2.7.6, but don't let that fool you. For stratum to be active, you need - of course - to mine on one of the 2 pools that currently support it: slush's pool and btcguild . The way I've set up the code, you shouldn't need to do anything special to mine stratum, just use your regular settings (or you can plug in the stratum info directly if you're so inclined). The advantages to the miner should be far far less network communications with less network delays which should also translate into less rejects. Of course the real advantage is to the pools and for the ability to scale to much higher hashrates with the advent of ASICs.

Lots has been written about it here (though it may be rather confusing):
https://bitcointalk.org/index.php?topic=108533.0

EDIT: There is NO proxy support whatsoever for stratum at this stage.
Updated the codebase, and uploaded another windows test binary. It now uses curl for its sockets which allows at least socks proxies to work. http proxies are tricky since you'd need a proxy with special permissions to allow such an arbitrary connection.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kaerf
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


View Profile
October 05, 2012, 06:07:30 AM
 #7304

Quote
Kaerf, what version of linux/architecture are you on?

heh....a ghetto old ubuntu 9.04 32bit intel atom netbook :p
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
October 05, 2012, 06:30:05 AM
 #7305

What is the correct way to include the "-S COM2" command in the config file?
Code:
"scan-serial" : "COM2"
or

Code:
"scan-serial" : [ "COM2", "COM3", "COM5" ]

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Jive Turkey
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
October 05, 2012, 06:58:54 AM
 #7306

I started a thread for help building this on Fedora 17 here: https://bitcointalk.org/index.php?topic=114974.0

Any help would be awesome, thanks.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 05, 2012, 07:08:01 AM
 #7307

Quote
Kaerf, what version of linux/architecture are you on?

heh....a ghetto old ubuntu 9.04 32bit intel atom netbook :p

Hmm... can you try the latest git changes to the stratum branch then?

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kaerf
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


View Profile
October 05, 2012, 07:30:32 AM
 #7308

pulled the latest changes

now debug output keeps repeating

Quote
[2012-10-05 00:29:36] Failed to recv sock in recv_line
-ck (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 05, 2012, 07:37:30 AM
 #7309

pulled the latest changes

now debug output keeps repeating

Quote
[2012-10-05 00:29:36] Failed to recv sock in recv_line

Can you give us the leadup up to the first time you see that message when you have the debugging options --verbose -D -P -T please

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kaerf
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


View Profile
October 05, 2012, 07:54:24 AM
 #7310

Code:
[2012-10-05 00:48:56] Generated target ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000                    
 [2012-10-05 00:48:56] BFL0: block data: a0a899cc1baff682058393fe1151e648939ba67b6efa320f064e33610167c2eb464a1a7d506e90d71a057e08                   
 [2012-10-05 00:48:56] BFL1: block data: 28b4192cb7c87b49aae3d55d94e8ed53b35fa310db59293c4c15ea7697fa3fc953306e21506e90d71a057e08                   
 [2012-10-05 00:49:00] BFL0: Wait time changed to: 3750, waited 4260                   
 [2012-10-05 00:49:00] BFL0: waited 4260ms until NONCE-FOUND:A254E1BA,BCAD6DB8
                   
 [2012-10-05 00:49:01]  Proof: 000000006197050ed0accca347eb15aeb8708e71d718d15751f2664f76cd08bf
Target: 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
TrgVal? YES (hash < target)                   
 [2012-10-05 00:49:01] Pushing submit work to work thread                   
 [2012-10-05 00:49:01] Creating extra submit work thread                   
 [2012-10-05 00:49:01]  Proof: 00000000ff1d2f09b6e42f69685724c5507d1a6ec55971b9bef5e2cbac365948
Target: 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
TrgVal? YES (hash < target)                   
 [2012-10-05 00:49:01] Submitting share 6197050e to pool 0                   
 [2012-10-05 00:49:01] SEND: {"params": ["xxxxx", "", "sh/", "", "bae154a2"], "id": 6, "method": "mining.submit"}                   
 [2012-10-05 00:49:01] Popping work to work thread                   
 [2012-10-05 00:49:01] Pushing submit work to work thread                   
 [2012-10-05 00:49:01] [thread 0: 8589934590 hashes, 794139.7 khash/sec]                   
 [2012-10-05 00:49:01] Creating extra submit work thread                   
 [2012-10-05 00:49:01] Submitting share ff1d2f09 to pool 0                   
 [2012-10-05 00:49:01] SEND: {"params": ["xxxxx", "", "sh/", "", "b86dadbc"], "id": 7, "method": "mining.submit"}                   
 [2012-10-05 00:49:01] Reusing stratum work                   
 [2012-10-05 00:49:01] Generated stratum merkle 52a0a31a21d08eb4e3ddbcd8c516bfeeec48c05d537d57c29bf8aa81fb1bc64b                   
 [2012-10-05 00:49:01] Generated stratum header 00000002149b6a02dc6694db213d99d8ff9c0b24e472b5ef7ed52ae2000001470000000052a0a31a21d08eb4e3ddbcd8c516bfeeec48c05d537d57c29bf8aa81fb1bc64b506e90d71a057e0800000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000                   
 [2012-10-05 00:49:01] Generated target ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000                   
 [2012-10-05 00:49:01] Popping work to work thread                   
 [2012-10-05 00:49:01] BFL0: block data: 13436fa9efeb06eafcf552097b30d47cbc410cd20fcb8be8ea26dcffc975e07cfb1bc64b506e90d71a057e08                   
 [2012-10-05 00:49:01] RECVD: {"error": [-2, "Incorrect size of extranonce2. Expected 8 chars", null], "id": 5, "result": null}                   
 [2012-10-05 00:49:01] PROOF OF WORK RESULT: false (booooo)                   
 [2012-10-05 00:49:01] Rejected 636e8606 Diff 1 BFL 1 pool 0 (Incorrect size of extranonce                     
 [2012-10-05 00:49:01] Failed to recv sock in recv_line                   

-ck (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 05, 2012, 08:09:59 AM
 #7311

Code:
 [2012-10-05 00:49:01] SEND: {"params": ["xxxxx", "", "sh/", "", "bae154a2"], "id": 6, "method": "mining.submit"}      
Interesting, extranonce2 is coming up blank. Can you git pull and try again?

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kaerf
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


View Profile
October 05, 2012, 08:39:30 AM
 #7312

Code:
 [2012-10-05 01:35:29] Submitting share 4170db0c to pool 0                    
 [2012-10-05 01:35:29] SEND: {"params": ["xxxx", "", "n", "2024", "229896f9"], "id": 4, "method": "mining.submit"}                   
 [2012-10-05 01:35:29] Popping work to work thread                   
 [2012-10-05 01:35:29] Generated stratum merkle cc95510e6a4e1827a0a827e526a655483ffdc1a147ab0e2395adf625e00aed50                   
 [2012-10-05 01:35:29] Generated stratum header 00000002e9e9f48adc78181008747a20018b4286890db02aee4afe2d000000c500000000cc95510e6a4e1827a0a827e526a655483ffdc1a147ab0e2395adf625e00aed50506e9bc21a057e0800000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000                   
 [2012-10-05 01:35:29] Work job_id 1b84 nonce2 06000000 ntime 506e9bc2                   
 [2012-10-05 01:35:29] Generated target ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000                   
 [2012-10-05 01:35:29] BFL1: block data: c68555222103a5e1c6078755fc8fc3624de3e5f84c81d6624d5e6afb14bbb2dee00aed50506e9bc21a057e08                   
 [2012-10-05 01:35:30] Failed to recv sock in recv_line                   

no error in the response (RECVD) this time, but still get the repeating "Failed to recv sock in recv_line"
-ck (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 05, 2012, 09:04:06 AM
 #7313

Code:
 [2012-10-05 01:35:29] Submitting share 4170db0c to pool 0                    
 [2012-10-05 01:35:29] SEND: {"params": ["xxxx", "", "n", "2024", "229896f9"], "id": 4, "method": "mining.submit"}                   
 [2012-10-05 01:35:29] Popping work to work thread                   
 [2012-10-05 01:35:29] Generated stratum merkle cc95510e6a4e1827a0a827e526a655483ffdc1a147ab0e2395adf625e00aed50                   
 [2012-10-05 01:35:29] Generated stratum header 00000002e9e9f48adc78181008747a20018b4286890db02aee4afe2d000000c500000000cc95510e6a4e1827a0a827e526a655483ffdc1a147ab0e2395adf625e00aed50506e9bc21a057e0800000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000                   
 [2012-10-05 01:35:29] Work job_id 1b84 nonce2 06000000 ntime 506e9bc2                   
 [2012-10-05 01:35:29] Generated target ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000                   
 [2012-10-05 01:35:29] BFL1: block data: c68555222103a5e1c6078755fc8fc3624de3e5f84c81d6624d5e6afb14bbb2dee00aed50506e9bc21a057e08                   
 [2012-10-05 01:35:30] Failed to recv sock in recv_line                   

no error in the response (RECVD) this time, but still get the repeating "Failed to recv sock in recv_line"
Sent message is still corrupted, though job_id, nonce2 and ntime are all intact earlier on. Can you git pull and try again please.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kaerf
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


View Profile
October 05, 2012, 09:36:42 AM
 #7314


Code:
                    
 [2012-10-05 02:33:12] [thread 0: 4294967295 hashes, 764919.3 khash/sec]                   
 [2012-10-05 02:33:12] Reusing stratum work                    m         
 [2012-10-05 02:33:12] Generated stratum merkle ff12c5f41deeed4e54282e0984e9d44256a82da37a576578773282f7a8753ca3                   
 [2012-10-05 02:33:12] Generated stratum header 00000002858ad41b7ae76b38c49400052ce2dfa185fa1214458430250000057a00000000ff12c5f41deeed4e54282e0984e9d44256a82da37a576578773282f7a8753ca3506ea93d1a057e0800000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000                   
 [2012-10-05 02:33:12] Work job_id 1bff nonce2 03000000 ntime 506ea93d                   
 [2012-10-05 02:33:12] Generated target ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000                   
 [2012-10-05 02:33:12] BFL0: block data: 5bbe470fe37f0754876f628a6fc05d5b091aaccfb6f12a573e09784c8ac627a1a8753ca3506ea93d1a057e08                   
 [2012-10-05 02:33:17] BFL0: Wait time changed to: 4120, waited 4780                   
 [2012-10-05 02:33:17] BFL0: waited 4780ms until NONCE-FOUND:2C890152
                   
 [2012-10-05 02:33:17]  Proof: 000000002474e5b08b1bfa16c0abeae9d9663fcba0e27b9dcea01d91d9165a43
Target: 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
TrgVal? YES (hash < target)                   
 [2012-10-05 02:33:17] Pushing submit work to work thread                   
 [2012-10-05 02:33:17] [thread 0: 4294967295 hashes, 764624.5 khash/sec]                   
 [2012-10-05 02:33:17] Creating extra submit work thread                   
 [2012-10-05 02:33:17] Submitting share 2474e5b0 to pool 0                   
 [2012-10-05 02:33:17] SEND: {"params": ["xxxxx", "?/h??", "n", "K", "5201892c"], "id": 4, "method": "mining.submit"}                   
 [2012-10-05 02:33:17] Popping work to work thread                   
 [2012-10-05 02:33:17] Reusing stratum work                   
 [2012-10-05 02:33:17] Generated stratum merkle 277419191d07451d9cca09d5e8b5a7cb9228d24155ec5e3788545a00ea5ffde8                   
 [2012-10-05 02:33:17] Generated stratum header 00000002858ad41b7ae76b38c49400052ce2dfa185fa1214458430250000057a00000000277419191d07451d9cca09d5e8b5a7cb9228d24155ec5e3788545a00ea5ffde8506ea93d1a057e0800000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000                   
 [2012-10-05 02:33:17] Work job_id 1bff nonce2 04000000 ntime 506ea93d                   
 [2012-10-05 02:33:17] Generated target ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000                   
 [2012-10-05 02:33:17] BFL0: block data: ea85d83701f996f328f1795af8ac6199183b595aa96a061c60cb499d826fd4eeea5ffde8506ea93d1a057e08   

(only started 1 miner this time)
still corrupt

bedtime...bbl
kaerf
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


View Profile
October 05, 2012, 10:03:40 AM
 #7315

so i didn't go to bed  Tongue

found your bug

cgminer.c:4519

   memcpy(work->target, target, 256);

256 should be 32 (or 33?? prob not)

now i can sleep
-ck (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 05, 2012, 03:16:03 PM
 #7316

so i didn't go to bed  Tongue

found your bug

cgminer.c:4519

   memcpy(work->target, target, 256);

256 should be 32 (or 33?? prob not)

now i can sleep
Very good, thanks! Fixed in git and hopefully fixes the problem for those who have it.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
October 05, 2012, 04:58:31 PM
 #7317

Very good, thanks! Fixed in git and hopefully fixes the problem for those who have it.

Fixed for me as well! Thank you both!

BigBobo
Hero Member
*****
Offline Offline

Activity: 684
Merit: 529



View Profile
October 05, 2012, 06:22:52 PM
 #7318

optimize please the program under the 7th series for Litecoin
soniq
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile
October 05, 2012, 06:31:17 PM
 #7319

Cant get CG miner to recognize a BFL single

used --scan-serial     in Command to find but not recognized

Any ideas?

BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
October 05, 2012, 06:37:24 PM
 #7320

Cant get CG miner to recognize a BFL single

used --scan-serial     in Command to find but not recognized

Any ideas?

What OS?
Pages: « 1 ... 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 [366] 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!