|
micalith
|
 |
July 14, 2013, 02:35:46 PM |
|
Hi, I've finally given up on trying to find out what I'm doing wrong with connecting to 50btc. Here's my cgminer.conf file. It's an exact copy of another one that works fine, just with btcoxygen in stead of 50btc. Running on Raspbian with USB Erupters { "pools" : [ { "url" : "mint.bitminter.com:8332", "user" : "xxx", "pass" : "xxx" },
{ "url" : "stratum.bitcoin.cz:3333", "user" : "xxx", "pass" : "xxx" },
{ "url" : "de.50btc.com:8332", "user" : "[email protected]_myworker", "pass" : "xxx*" }
] , "balance" : true, "api-listen" : true, "api-port" : "4028", "expiry" : "120", "log" : "5", "no-pool-disable" : true, "queue" : "2", "scan-time" : "60", "worktime" : true, "shares" : "0", "kernel-path" : "/usr/local/bin", "api-allow" : "0/0", "icarus-options" : "115200:1:1", "icarus-timing" : "3.0=100" }
for the url I've tried each of these: de.50btc.com:8332, pool.50btc.com:8332, http://pool.50btc.com:8332and for the user: [email protected]_myworker, myworker, [email protected]but every time I try to run cgminer: ./cgminer -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3 -S /dev/ttyUSB4 -S /dev/ttyUSB5 -S /dev/ttyUSB6 -S /dev/ttyUSB7 -S /dev/ttyUSB8 -S /dev/ttyUSB9 --config /home/pi/cgminer-3.1.1/cgminer.conf I just get the same error: [2013-07-14 15:33:16] ./cgminer: --config: JSON decode of file '/home/pi/cgminer-3.1.1/cgminer.conf' failed '}' expected near '*' I hope someone can help. Thanks
|
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4648
Merit: 1701
Ruu \o/
|
 |
July 14, 2013, 03:41:14 PM |
|
Hi, I've finally given up on trying to find out what I'm doing wrong with connecting to 50btc. Here's my cgminer.conf file. It's an exact copy of another one that works fine, just with btcoxygen in stead of 50btc. Running on Raspbian with USB Erupters I just get the same error: [2013-07-14 15:33:16] ./cgminer: --config: JSON decode of file '/home/pi/cgminer-3.1.1/cgminer.conf' failed '}' expected near '*' I hope someone can help. Thanks Your password is confusing the conf file reader with the asterisk (*) there. Change your password to something without an asterisk or learn how to escape the asterisk in a json compatible way.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|
turtle83
|
 |
July 14, 2013, 04:22:21 PM |
|
but every time I try to run cgminer: ./cgminer -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3 -S /dev/ttyUSB4 -S /dev/ttyUSB5 -S /dev/ttyUSB6 -S /dev/ttyUSB7 -S /dev/ttyUSB8 -S /dev/ttyUSB9 --config /home/pi/cgminer-3.1.1/cgminer.conf
unrelated to your issue, but instead of those -S arguments, adding the following to the config will do the same thing, just neater... "scan-serial": [ "/dev/ttyUSB0", "/dev/ttyUSB1", "/dev/ttyUSB2", "/dev/ttyUSB3", "/dev/ttyUSB4", "/dev/ttyUSB5", "/dev/ttyUSB6", "/dev/ttyUSB7", "/dev/ttyUSB8", "/dev/ttyUSB9" ],
|
|
|
|
|
micalith
|
 |
July 14, 2013, 05:21:23 PM |
|
Hi, I've finally given up on trying to find out what I'm doing wrong with connecting to 50btc. Here's my cgminer.conf file. It's an exact copy of another one that works fine, just with btcoxygen in stead of 50btc. Running on Raspbian with USB Erupters I just get the same error: [2013-07-14 15:33:16] ./cgminer: --config: JSON decode of file '/home/pi/cgminer-3.1.1/cgminer.conf' failed '}' expected near '*' I hope someone can help. Thanks Your password is confusing the conf file reader with the asterisk (*) there. Change your password to something without an asterisk or learn how to escape the asterisk in a json compatible way. That's just a hasty typo. I meant to just fill it in with xxxx. My password isn't really xxx*. Although, the * is actually the last character on the password. That was lucky!  Maybe this explains my having a similar problem with Btcmp, where the password includes ?#[ characters, and Eclipse if fine with no special characters. @turtle83 thanks for that. Must neater in deed
|
|
|
|
|
Anime4000
Newbie
Offline
Activity: 30
Merit: 0
|
 |
July 14, 2013, 08:29:05 PM |
|
I try enable onboard GPU for Display output, so my HD4670 have 100% available resources, basically become Dedicated OpenCL. but...
when enable onboard GPU, AMD OpenCL become unavailable... =(
Did you try putting a monitor or dummy plug on it? Yes I did, even try 2 monitor in different GPU's, just AMD GPU dont have display, (since I set BIOS to initialize onboard GPU first)
|
|
|
|
|
kano
Legendary
Offline
Activity: 4788
Merit: 1911
Linux since 1997 RedHat 4
|
 |
July 14, 2013, 08:37:55 PM |
|
I try enable onboard GPU for Display output, so my HD4670 have 100% available resources, basically become Dedicated OpenCL. but...
when enable onboard GPU, AMD OpenCL become unavailable... =(
Did you try putting a monitor or dummy plug on it? Yes I did, even try 2 monitor in different GPU's, just AMD GPU dont have display, (since I set BIOS to initialize onboard GPU first) I think the more relevant question is why on earth would you mine on that hardware. You will get more BTC if you just simply buy BTC. With the FASTEST 4600 GPU you can buy, it can only do 40MH/s and that will at current difficulty take 1300 days mining to make 1BTC Of course it will never actually make 1BTC due to difficulty rising. i.e. you are wasting everyone's time asking. The problem is 99% likely to be your choice of drivers and SDK ... so spend a few hours getting that right ... and those few hours spent on it is probably worth more than the card will make mining for 10 years.
|
|
|
|
Anime4000
Newbie
Offline
Activity: 30
Merit: 0
|
 |
July 14, 2013, 09:24:07 PM |
|
I think the more relevant question is why on earth would you mine on that hardware. You will get more BTC if you just simply buy BTC.
With the FASTEST 4600 GPU you can buy, it can only do 40MH/s and that will at current difficulty take 1300 days mining to make 1BTC Of course it will never actually make 1BTC due to difficulty rising. i.e. you are wasting everyone's time asking.
The problem is 99% likely to be your choice of drivers and SDK ... so spend a few hours getting that right ... and those few hours spent on it is probably worth more than the card will make mining for 10 years.
I have another system run,  This old system can not be waste or throwing, so I make this old system to working, I testing the possibility, this old hardware can not do Dedicated OpenCL.
|
|
|
|
|
wlwesq
Newbie
Offline
Activity: 52
Merit: 0
|
 |
July 15, 2013, 12:57:19 PM |
|
Simple question, I hope. If I knew my way around *nix/BSD I might not have to ask it.
Running cgminer to mine litecoins. Upon launch it tells me no GPUs can be detected. The display tells me that new blocks are being detected, but the miner is sitting at zero hashes per second.
I suspect that somewhere once upon a time I did something to disable GPU mining.
Is there a flag or something I can include when launching cgminer that will enable it to find the GPUs and use them?
(I've done a search through the thread using search terms, but didn't come up with anything helpful--I hope I'm not asking a FAQ, and I apologize if I am!)
Many thanks in advance for any suggestions!
|
|
|
|
|
|
Joshwaa
|
 |
July 15, 2013, 01:02:28 PM |
|
What GPU is in the system? Also have you tried the GPU-README or the SCRYPT-README?
|
|
|
|
|
kano
Legendary
Offline
Activity: 4788
Merit: 1911
Linux since 1997 RedHat 4
|
 |
July 15, 2013, 01:08:04 PM |
|
I think the more relevant question is why on earth would you mine on that hardware. You will get more BTC if you just simply buy BTC.
With the FASTEST 4600 GPU you can buy, it can only do 40MH/s and that will at current difficulty take 1300 days mining to make 1BTC Of course it will never actually make 1BTC due to difficulty rising. i.e. you are wasting everyone's time asking.
The problem is 99% likely to be your choice of drivers and SDK ... so spend a few hours getting that right ... and those few hours spent on it is probably worth more than the card will make mining for 10 years.
I have another system run,  This old system can not be waste or throwing, so I make this old system to working, I testing the possibility, this old hardware can not do Dedicated OpenCL. But the more important question ... Why Yozora 
|
|
|
|
Anime4000
Newbie
Offline
Activity: 30
Merit: 0
|
 |
July 15, 2013, 03:05:03 PM |
|
But the more important question ... Why Yozora  I not understand, Yozora? Mikazuki Yozora?
|
|
|
|
|
wlwesq
Newbie
Offline
Activity: 52
Merit: 0
|
 |
July 15, 2013, 05:28:18 PM |
|
What GPU is in the system? Also have you tried the GPU-README or the SCRYPT-README?
Found this in the GPU-README (thanks for pointing that out to me--I overlooked it the first time I scanned down the list of files at github). Q: Cgminer cannot see any of my GPUs even though I have configured them all to be enabled and installed OpenCL (+/- Xorg is running and the DISPLAY variable is exported on linux)? A: Check the output of 'cgminer -n', it will list what OpenCL devices your installed SDK recognises. If it lists none, you have a problem with your version or installation of the SDK.It appears I need to birddog the SDK. Thanks for pointing me in the right direction!
|
|
|
|
|
|
Joshwaa
|
 |
July 15, 2013, 06:30:10 PM |
|
Thank Con and Kano, not me. However your welcome all the same.
|
|
|
|
|
kentt
Member

Offline
Activity: 103
Merit: 10
|
 |
July 15, 2013, 06:40:15 PM |
|
I'm solo mining on Pool 0. I started getting a lot of "not providing work fast enough" errors. Any idea what's wrong or how this could be fixed? [2013-07-15 11:36:55] Network diff set to 24.3K [2013-07-15 11:36:55] Stratum from pool 1 detected new block [2013-07-15 11:36:59] Pool 0 not providing work fast enough [2013-07-15 11:37:01] Pool 0 not providing work fast enough [2013-07-15 11:37:51] Network diff set to 24.3K [2013-07-15 11:37:51] Stratum from pool 1 detected new block [2013-07-15 11:37:55] Pool 0 not providing work fast enough [2013-07-15 11:37:55] Pool 0 not providing work fast enough [2013-07-15 11:38:13] Network diff set to 24.3K [2013-07-15 11:38:13] LONGPOLL from pool 2 detected new block [2013-07-15 11:38:18] Network diff set to 24.3K [2013-07-15 11:38:18] LONGPOLL from pool 2 detected new block [2013-07-15 11:38:21] Pool 0 not providing work fast enough [2013-07-15 11:38:21] Pool 0 not providing work fast enough [2013-07-15 11:38:21] Pool 0 not providing work fast enough
Edit: initially I had thought it a slow network connection so I made sure the appropriate ports were open. I have about 20 connections to the network and ping < 50ms.
|
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1099
Think for yourself
|
 |
July 15, 2013, 06:48:14 PM |
|
I'm solo mining on Pool 0. I started getting a lot of "not providing work fast enough" errors. Any idea what's wrong or how this could be fixed? [2013-07-15 11:36:55] Network diff set to 24.3K [2013-07-15 11:36:55] Stratum from pool 1 detected new block [2013-07-15 11:36:59] Pool 0 not providing work fast enough [2013-07-15 11:37:01] Pool 0 not providing work fast enough [2013-07-15 11:37:51] Network diff set to 24.3K [2013-07-15 11:37:51] Stratum from pool 1 detected new block [2013-07-15 11:37:55] Pool 0 not providing work fast enough [2013-07-15 11:37:55] Pool 0 not providing work fast enough [2013-07-15 11:38:13] Network diff set to 24.3K [2013-07-15 11:38:13] LONGPOLL from pool 2 detected new block [2013-07-15 11:38:18] Network diff set to 24.3K [2013-07-15 11:38:18] LONGPOLL from pool 2 detected new block [2013-07-15 11:38:21] Pool 0 not providing work fast enough [2013-07-15 11:38:21] Pool 0 not providing work fast enough [2013-07-15 11:38:21] Pool 0 not providing work fast enough
Edit: initially I had thought it a slow network connection so I made sure the appropriate ports were open. I have about 20 connections to the network and ping < 50ms. Are you using the Getwork protocol to your solo pool? What hash rate is your mining hardware?
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
kentt
Member

Offline
Activity: 103
Merit: 10
|
 |
July 15, 2013, 06:53:44 PM |
|
I'm mining YAC at 300khps. Should be getting ~16 blocks per day and I was before. What do you mean "are you using getwork". I'm guessing if I don't know the answer is no?
|
|
|
|
|
|
Trongersoll
|
 |
July 15, 2013, 06:58:42 PM |
|
I'm mining YAC at 300khps. Should be getting ~16 blocks per day and I was before. What do you mean "are you using getwork". I'm guessing if I don't know the answer is no?
Typo?
|
|
|
|
|
kentt
Member

Offline
Activity: 103
Merit: 10
|
 |
July 15, 2013, 07:00:19 PM |
|
Not a typo.
|
|
|
|
|
|
jago25_98
|
 |
July 15, 2013, 07:59:51 PM |
|
Why would I be needing to run as root even after changing /dev/ttyUSB0 to 777? pi@raspberrypi ~/bin $ sudo chmod 777 /dev/ttyUSB0 pi@raspberrypi ~/bin $ ./cgminer-3.3.0a -n [2013-07-15 19:59:34] USB all: found 4 devices - listing known devices .USB dev 0: Bus 1 Device 4 ID: 10c4:ea60 ** dev 0: Failed to open, err -3 [2013-07-15 19:59:34] 1 known USB devices pi@raspberrypi ~/bin $ sudo ./cgminer-3.3.0a -n [2013-07-15 19:59:38] USB all: found 4 devices - listing known devices .USB dev 0: Bus 1 Device 4 ID: 10c4:ea60 Manufacturer: 'Silicon Labs' Product: 'CP2102 USB to UART Bridge Controller' [2013-07-15 19:59:38] 1 known USB devices pi@raspberrypi ~/bin $
|
Bitcoiner since the early days. Crypto YouTube Channel: Trading Nomads | Analyst | News Reporter | Bitcoin Hodler | Support Freedom of Speech!
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4648
Merit: 1701
Ruu \o/
|
 |
July 15, 2013, 08:01:13 PM |
|
Why would I be needing to run as root even after changing /dev/ttyUSB0 to 777? pi@raspberrypi ~/bin $ sudo chmod 777 /dev/ttyUSB0 pi@raspberrypi ~/bin $ ./cgminer-3.3.0a -n [2013-07-15 19:59:34] USB all: found 4 devices - listing known devices .USB dev 0: Bus 1 Device 4 ID: 10c4:ea60 ** dev 0: Failed to open, err -3 [2013-07-15 19:59:34] 1 known USB devices pi@raspberrypi ~/bin $ sudo ./cgminer-3.3.0a -n [2013-07-15 19:59:38] USB all: found 4 devices - listing known devices .USB dev 0: Bus 1 Device 4 ID: 10c4:ea60 Manufacturer: 'Silicon Labs' Product: 'CP2102 USB to UART Bridge Controller' [2013-07-15 19:59:38] 1 known USB devices pi@raspberrypi ~/bin $
cgminer no longer uses ttyUSB0 so you're changing permissions on an interface cgminer doesn't use. See the relevant readme instead (FPGA-README or ASIC-README).
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|