Bitcoin Forum
January 10, 2026, 11:30:33 PM *
News: Due to a wallet-migration bug, you should not upgrade Bitcoin Core. But if you already did, there's no need to downgrade.
 
   Home   Help Search Login Register More  
Pages: « 1 ... 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 [535] 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5806711 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.)
sunblaster
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
June 06, 2013, 02:28:53 AM
 #10681

Has anyone got v3.2 to correctly detect ASICminer USBs on Windows? Keeps asking for "AMU driver" even though UART BRidge COM driver is installed and USBs are listed under COMP Ports. Also 3.1.1 doesn't seem to work with COM ports higher then 9, no matter what format I use in BAT file it just says failed to open port.

Here is my .bat

cgminer-nogpu -o http://pit.deepbit.net:8332 -u someuser -p somepassword --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COM3 -S COM4 -S COM5 -S COM6 -S COM7 -S COM8 -S COM9    

if i try "-S COM10" or any other higher ports I get: Icarus detect: Failed to open PORT 10

I gave up and started using BitMinter

SunBlaster

sunblaster
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
June 06, 2013, 02:51:56 AM
 #10682

Has anyone got v3.2 to correctly detect ASICminer USBs on Windows? Keeps asking for "AMU driver" even though UART BRidge COM driver is installed and USBs are listed under COMP Ports. Also 3.1.1 doesn't seem to work with COM ports higher then 9, no matter what format I use in BAT file it just says failed to open port.

Here is my .bat

cgminer-nogpu -o http://pit.deepbit.net:8332 -u someuser -p somepassword --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COM3 -S COM4 -S COM5 -S COM6 -S COM7 -S COM8 -S COM9    

if i try "-S COM10" or any other higher ports I get: Icarus detect: Failed to open PORT 10

I gave up and started using BitMinter

SunBlaster



Use -S \\.\COM10 on the command line or "scan-serial" : [ "icarus:\\\\.\\COM10"] in the config file

3.2.0 uses direct USB so you have to set that up, 3.1.1 uses silabs USB/COM driver. 3.2.0 has issues.  So use 3.1.1, or use bfgminer.

ok great, -S \\.\COM10 seems to work.
daemon
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 06, 2013, 05:43:20 AM
 #10683

In my previous post I described the problem.
This problem occurs stably on three computers at intervals of approximately 15 minutes.
cgminer 3.2.0
Now, for reasons of clarity, cgminer was started with the - disable-gpu

Here I found the instructions to provide more information about the problem.
The following information from the bt full command:

Quote
(gdb) bt full
#0  0x00007f0db0aa6e90 in ?? () from /lib/libusb-1.0.so.0
No symbol table info available.
#1  0x00007f0db0aa8408 in ?? () from /lib/libusb-1.0.so.0
No symbol table info available.
#2  0x00007f0db0aa65bb in ?? () from /lib/libusb-1.0.so.0
No symbol table info available.
#3  0x00007f0db0aa6d73 in libusb_handle_events_timeout () from /lib/libusb-1.0.so.0
No symbol table info available.
#4  0x00007f0db0aa6e0d in libusb_handle_events () from /lib/libusb-1.0.so.0
No symbol table info available.
#5  0x00007f0db0aa7395 in ?? () from /lib/libusb-1.0.so.0
No symbol table info available.
#6  0x00007f0db0aa74b4 in libusb_bulk_transfer () from /lib/libusb-1.0.so.0
No symbol table info available.
#7  0x0000000000434014 in _usb_read (cgpu=0x10c76c0, ep=<value optimized out>, buf=<value optimized out>, bufsiz=<value optimized out>, processed=<value optimized out>, timeout=<value optimized out>, end=0x0, cmd=C_GETRESULTS,
    readonce=false) at usbutils.c:2129
        usbdev = 0x10c32f0
        ftdi = true
        tv_start = {tv_sec = 1370496429, tv_usec = 1878}
        read_start = {tv_sec = 1370496429, tv_usec = 1878}
        tv_finish = {tv_sec = 1370496429, tv_usec = 1877}
        max = 0.10000000000000001
        done = <value optimized out>
        bufleft = <value optimized out>
        err = <value optimized out>
        got = 0
        tot = 0
        first = <value optimized out>
        search = <value optimized out>
        endlen = <value optimized out>
        usbbuf = "\001`\000\362\000\362", '\000' <repeats 5138 times>, "@P\022\252\r\177", '\000' <repeats 58 times>"\200, P\022\252\r\177", '\000' <repeats 18 times>"\240, R\022\252\r\177\000\000`Y\022\252\r\177\000\000\230\377\377\377\377\377\377\377", '\000' <repeats 16 times>, "S\376+\260\r\177\000\000\000\000\000\000\000\000\000\000@R\022\252\r\177\000\000\340R\022\252\r\177\000\000\240Y\022\252\r\177\000\000\230\377\377\377\377\377\377\377XP\022\252\r\177\000\000\000\000\000\000\000\000\000\000S\376+\260\r\177\000\000\063\000\000\000.\000\000\000\240X\022\252\r\177\000\000\062\064.9\r\177\000\000A\375+\260\r\177\000\000\000\000\000\000\000\000\000\310\000\000\000\000\000\000\000\000\065\000\000\000\065\000\000\000\062\000\000\000\064\000\000\000.\000\000\000\071\000\000\000T\003,\260\r\177", '\000' <repeats 25 times>"\240"...
        ptr = 0x7f0daa123b40 "\001`"
        usbbufread = 8192
#8  0x0000000000436073 in icarus_get_nonce (icarus=0x10c76c0, buf=0x7f0daa125d20 "", tv_start=<value optimized out>, tv_finish=<value optimized out>, thr=0x10cebe0, read_time=<value optimized out>) at driver-icarus.c:423
        read_start = {tv_sec = 1370496429, tv_usec = 1878}
        read_finish = {tv_sec = 1370496429, tv_usec = 1877}
        err = <value optimized out>
        amt = 0
        rc = 5108
        read_amount = 0
        first = true
#9  0x00000000004363bc in icarus_scanhash (thr=0x10cebe0, work=0x10f5ee0, max_nonce=<value optimized out>) at driver-icarus.c:923
        icarus = 0x10c76c0
        ret = <value optimized out>
        err = 0
        amount = 64
        ob_bin = "\200\316\372 \277\017\252o\240}L\b7?,\377\233ʵ3\256\321+\217\004\370\341\333PĐ\367", '\000' <repeats 20 times>, "7\023\001\032\251\035\260Q6\322\030", <incomplete sequence \370>
        nonce_bin = "\000\000\000"
        ob_hex = <value optimized out>
        hash_count = <value optimized out>
        tv_start = {tv_sec = 1370496423, tv_usec = 854044}
        tv_finish = {tv_sec = 1370496429, tv_usec = 1877}
        tv_history_start = {tv_sec = 0, tv_usec = 17624032}
        tv_history_finish = {tv_sec = 0, tv_usec = -10485688}
        Ti = <value optimized out>
        Xi = <value optimized out>
        curr_hw_errors = 0
        i = <value optimized out>
        history0 = <value optimized out>
Lucko
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000



View Profile
June 06, 2013, 08:46:22 AM
 #10684


True.  That's not what I meant.  Fortunately bitminter does BTC and NMC.. and IXC is worthless and DVC is completely worthless.

M
Than I don't get it... Are you saying that Bitparking is p2pool? It is not. And I don't agree on worthless part. You do get a lot of them and if you are selling smart you get up to 50% of NMC value... But then again NMC could be also be called worthless... But as long as I get something I see it as bonus.
bitpop
Legendary
*
Offline Offline

Activity: 2954
Merit: 1065



View Profile WWW
June 06, 2013, 09:53:17 AM
 #10685

P2pool does not equal merged mining, it's an option. Slush used to give nmc. I've moved to p2pool when he stopped.

-ck (OP)
Legendary
*
Offline Offline

Activity: 4648
Merit: 1701


Ruu \o/


View Profile WWW
June 06, 2013, 09:57:10 AM
 #10686

In my previous post I described the problem.
This problem occurs stably on three computers at intervals of approximately 15 minutes.
cgminer 3.2.0
Now, for reasons of clarity, cgminer was started with the - disable-gpu

Here I found the instructions to provide more information about the problem.
The following information from the bt full command:
Thanks for that. It's hard to know if it's crashing in libusb due to a libusb bug or we're calling a libusb function with invalid parameters. I'm inclined to always blame our code first to keep looking for a bug since our code is under very heavy development. We're revamping that section of code somewhat and hopefully indirectly address it.

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

Activity: 752
Merit: 500



View Profile
June 06, 2013, 12:06:44 PM
 #10687

Noob here. I have a new/used Asus on Windows 7.  Trying to ruin cgminer-nogpu.  Plain Cgminer won't run. 

cgminer gives me an error saying:

"The program can't start because OpenCL.dll is missing from your computer.  Try reinstalling the program to fix this problem."

When I run cgminer-nogpu it says:



I tried to follow all the other thread's instructions.  All the read me files.  Some things didn't make any sense to me, couldn't do what they were saying.  What does all this mean above?  Obviously I need to install a driver or fix something.  What should I do?  Can someone give me a user friendly instructions link?  Thanks!!

1PewuG8KZJUPK3CtvAkAs1Uw42rQgUv5Jk
bitpop
Legendary
*
Offline Offline

Activity: 2954
Merit: 1065



View Profile WWW
June 06, 2013, 12:23:58 PM
 #10688

I posted instructions earlier. You'll know when you succeeded when your com ports disappear

joae1975
Hero Member
*****
Offline Offline

Activity: 752
Merit: 500



View Profile
June 06, 2013, 12:44:49 PM
 #10689

I posted instructions earlier. You'll know when you succeeded when your com ports disappear
Earlier?  This thread has 540 pages, a little help?

1PewuG8KZJUPK3CtvAkAs1Uw42rQgUv5Jk
bitpop
Legendary
*
Offline Offline

Activity: 2954
Merit: 1065



View Profile WWW
June 06, 2013, 12:52:01 PM
 #10690

https://asktom.cf/index.php?topic=28402.msg2328370#msg2328370

joae1975
Hero Member
*****
Offline Offline

Activity: 752
Merit: 500



View Profile
June 06, 2013, 02:31:28 PM
 #10691

Using cgminer on windows 7

Drivers installed with zadig as described and can view in device manager

I set up a .bat file and I when I try to run it, it flashes on the screen and automatically closes. Says "-S unrecognized option" Any ideas why?  I unchecked "hide extensions for all file types" as instructed when creating a .bat file.

My text in the bat file reads as follows: (replacing user/pass with xxx/yyy)

C:\cgminer\cgminer-nogpu.exe -o http://rr.btcmp.com:8332 -u xxx -p yyy d --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S //./COM3

The pathway is correct.  Can anyone see any problems?  Only 1 miner plugged into usb port. Thanks!

1PewuG8KZJUPK3CtvAkAs1Uw42rQgUv5Jk
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
June 06, 2013, 02:33:57 PM
 #10692

Using cgminer on windows 7

Drivers installed with zadig as described and can view in device manager

I set up a .bat file and I when I try to run it, it flashes on the screen and automatically closes. Says "-S unrecognized option" Any ideas why?  I unchecked "hide extensions for all file types" as instructed when creating a .bat file.

My text in the bat file reads as follows: (replacing user/pass with xxx/yyy)

C:\cgminer\cgminer-nogpu.exe -o http://rr.btcmp.com:8332 -u xxx -p yyy d --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S //./COM3

The pathway is correct.  Can anyone see any problems?  Only 1 miner plugged into usb port. Thanks!

The command line you posted is for the 3.1.1 version of cgminer (which does not use zadig).  The 3.2 version of cgminer does not need --icarus-options --icarus-timing or -S.

Also, the 3.2 version often doesn't work for asicminer USB devices.  The issue is under investigation.  The most reliable way to get this working is to use the older 3.1.1 version of cgminer with the command line you posted above.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
joae1975
Hero Member
*****
Offline Offline

Activity: 752
Merit: 500



View Profile
June 06, 2013, 02:56:05 PM
 #10693

Using cgminer on windows 7

Drivers installed with zadig as described and can view in device manager

I set up a .bat file and I when I try to run it, it flashes on the screen and automatically closes. Says "-S unrecognized option" Any ideas why?  I unchecked "hide extensions for all file types" as instructed when creating a .bat file.

My text in the bat file reads as follows: (replacing user/pass with xxx/yyy)

C:\cgminer\cgminer-nogpu.exe -o http://rr.btcmp.com:8332 -u xxx -p yyy d --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S //./COM3

The pathway is correct.  Can anyone see any problems?  Only 1 miner plugged into usb port. Thanks!

Use version 3.1.1 for Icarus/Lancelot/Erupter devices.  I thought it suppose to be -S \\.\COM3

Tried v3.1.1, tried / & \ both ways.  Still same thing.

In addition.  When I start cgminer-nogpu.exe manually, enter my pool/user/pass...  It says this:



Any help?

1PewuG8KZJUPK3CtvAkAs1Uw42rQgUv5Jk
turtle83
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


Supersonic


View Profile WWW
June 06, 2013, 03:02:29 PM
 #10694

Using cgminer on windows 7

Drivers installed with zadig as described and can view in device manager

I set up a .bat file and I when I try to run it, it flashes on the screen and automatically closes. Says "-S unrecognized option" Any ideas why?  I unchecked "hide extensions for all file types" as instructed when creating a .bat file.

My text in the bat file reads as follows: (replacing user/pass with xxx/yyy)

C:\cgminer\cgminer-nogpu.exe -o http://rr.btcmp.com:8332 -u xxx -p yyy d --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S //./COM3

The pathway is correct.  Can anyone see any problems?  Only 1 miner plugged into usb port. Thanks!

Use version 3.1.1 for Icarus/Lancelot/Erupter devices.  I thought it suppose to be -S \\.\COM3

Tried v3.1.1, tried / & \ both ways.  Still same thing.

In addition.  When I start cgminer-nogpu.exe manually, enter my pool/user/pass...  It says this:

http://db.tt/5LSsuujs

Any help?

if u used 3.2.0 and then tried to go back to 3.1.1 , make sure u unplug and re-plug the device . atleast on linux you have to...

twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
June 06, 2013, 03:18:32 PM
 #10695

Using cgminer on windows 7

Drivers installed with zadig as described and can view in device manager

I set up a .bat file and I when I try to run it, it flashes on the screen and automatically closes. Says "-S unrecognized option" Any ideas why?  I unchecked "hide extensions for all file types" as instructed when creating a .bat file.

My text in the bat file reads as follows: (replacing user/pass with xxx/yyy)

C:\cgminer\cgminer-nogpu.exe -o http://rr.btcmp.com:8332 -u xxx -p yyy d --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S //./COM3

The pathway is correct.  Can anyone see any problems?  Only 1 miner plugged into usb port. Thanks!

Use version 3.1.1 for Icarus/Lancelot/Erupter devices.  I thought it suppose to be -S \\.\COM3

Tried v3.1.1, tried / & \ both ways.  Still same thing.

In addition.  When I start cgminer-nogpu.exe manually, enter my pool/user/pass...  It says this:

http://db.tt/5LSsuujs

Any help?

if u used 3.2.0 and then tried to go back to 3.1.1 , make sure u unplug and re-plug the device . atleast on linux you have to...

You probably also have to undo whatever zadig did in order to use 3.1.1 after having set everything up for 3.2.0.  I use linux, so I can't tell you for sure what those steps are.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
joae1975
Hero Member
*****
Offline Offline

Activity: 752
Merit: 500



View Profile
June 06, 2013, 03:40:22 PM
 #10696


+1.  Need to reinstall silabs drivers for 3.1.1 or bfgminer.
I'm just going to go with a different miner software.  Can't get it to work.  Thanks guys for trying.

1PewuG8KZJUPK3CtvAkAs1Uw42rQgUv5Jk
Trongersoll
Hero Member
*****
Offline Offline

Activity: 490
Merit: 501



View Profile
June 06, 2013, 07:19:33 PM
Last edit: June 06, 2013, 07:42:41 PM by Trongersoll
 #10697

*sniff* *sniff* ok, i need some hand holding. I grabbed the tarball from GIT for the latest version. I copied the files into my cgminer directory (this is 32 bit Ubuntu), over writing the existing files. I ran autogen.sh and then make. I plugged in an ASICminer USB stick. the green light is on. then i ran ./cgminer with no parameters. It started GPU mining fine, but didn't show anything about the ASICminer. Do i need to reboot with the USB stick plugged in? or is there a start parameter that i need? Please don't tell me to read the readmes, i did. and i'm terrible at searching 100s of pages of a thread. I did the group join thing in the Readme.
Lucko
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000



View Profile
June 06, 2013, 07:30:42 PM
 #10698

*sniff* *sniff* ok, i need some hand holding. I grabbed the tarball from GIT for the latest version. I copied the files into my cgminer directory (this is 32 bit Ubuntu), over writing the existing files. I ran autogen.sh and then make. I plugged in an ASICminer USB stick. the green light is on. then i ran ./cgminer with no parameters. It started GPU mining fine, but didn't show anything about the ASICminer. Do i need to reboot with the USB stick plugged in? or is there a start parameter that i need? Please don't tell me to read the readmes, i did. and i'm terrible at searching 100s of pages of a thread.
Cgminer version? 3.2.0 has some problems... Windows parameters are  -S \\.\COM"X" ("X" beeing number of com port) for 3.1.1 not complitly sure about linux. I guess something like /dev/"something"

EDIT: I hope I pointed you in the right direction...
bitcoindaddy
Hero Member
*****
Offline Offline

Activity: 481
Merit: 500


View Profile
June 06, 2013, 07:54:53 PM
 #10699

Both 3.1.1 and 3.2.0 return this message:

[2013-06-06 15:55:12] BitForceSC detect (2:9) get details returned nothing (0:0)

What does this mean? Is the Jalapeno busted or am I missing something?


 [2013-06-06 15:58:55] Started cgminer 3.2.0
 [2013-06-06 15:58:55] Started cgminer 3.2.0
 [2013-06-06 15:58:55] USB all: found 16 devices - listing known devices
.USB dev 0: Bus 2 Device 3 ID: 10c4:ea60
  Manufacturer: 'Silicon Labs'
  Product: 'CP2102 USB to UART Bridge Controller'
.USB dev 1: Bus 2 Device 6 ID: 10c4:ea60
  Manufacturer: 'Silicon Labs'
  Product: 'CP2102 USB to UART Bridge Controller'
.USB dev 2: Bus 2 Device 7 ID: 10c4:ea60
  Manufacturer: 'Silicon Labs'
  Product: 'CP2102 USB to UART Bridge Controller'
.USB dev 3: Bus 2 Device 8 ID: 10c4:ea60
  Manufacturer: 'Silicon Labs'
  Product: 'CP2102 USB to UART Bridge Controller'
.USB dev 4: Bus 2 Device 9 ID: 0403:6014
  Manufacturer: 'Butterfly Labs'
  Product: 'BitFORCE SHA256 SC'
 [2013-06-06 15:58:55] 5 known USB devices
 [2013-06-06 15:59:00] BitForceSC detect (2:9) get details returned nothing (0:0)
 [2013-06-06 15:59:00] Need to specify at least one pool server.
Input server details.
turtle83
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


Supersonic


View Profile WWW
June 06, 2013, 07:55:50 PM
 #10700

*sniff* *sniff* ok, i need some hand holding. I grabbed the tarball from GIT for the latest version. I copied the files into my cgminer directory (this is 32 bit Ubuntu), over writing the existing files. I ran autogen.sh and then make. I plugged in an ASICminer USB stick. the green light is on. then i ran ./cgminer with no parameters. It started GPU mining fine, but didn't show anything about the ASICminer. Do i need to reboot with the USB stick plugged in? or is there a start parameter that i need? Please don't tell me to read the readmes, i did. and i'm terrible at searching 100s of pages of a thread. I did the group join thing in the Readme.

stop cgminer

now unplug the USB thing
plug in the usb thing back in.

^ Not troling. im serious.

save this file https://github.com/ckolivas/cgminer/blob/master/01-cgminer.rules as /etc/udev/rules.d/01-cgminer.rules

sudo service udev restart

download cgminer 3.1.1 (for sake of clarity into new directory)
Code:
./autogen
./configure <the arguments u normally pass> --enable-icarus
make


ls /dev/ttyUSB*
make note of the devices.

run cgminer
Code:
cgminer <arguments u normally use> --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S /dev/ttyUSB0 -S /dev/ttyUSB1  <repeat for each usb tty device>

Pages: « 1 ... 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 [535] 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 ... 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!