Bitcoin Forum

Bitcoin => Mining support => Topic started by: JamieOnUbuntu on October 28, 2015, 07:05:12 PM



Title: Stratum from pool 0 requested work restart.
Post by: JamieOnUbuntu on October 28, 2015, 07:05:12 PM
I recently set up an Antminer U2+ with my Raspberry Pi 2 Model B.

The first time I ran CGMiner, it worked successfully and was running at about 1.8 Ghash/s.

I then pressed Q to quit and rebooted my Pi. Now whenever I run CGMiner is just does this:

Code:
[2015-10-28 17:44:11] Started cgminer 4.9.0
 [2015-10-28 17:44:12] -----------------start nonce------------------
 [2015-10-28 17:44:12] Bmsc send golden nonce1
 [2015-10-28 17:44:12] Bmsc recv golden nonce1 0345182b9f -- 0345182b
 [2015-10-28 17:44:12] Bmsc send golden nonce2
 [2015-10-28 17:44:13] Bmsc recv golden nonce timeout
 [2015-10-28 17:44:13] AMU0 Init: mode=default read_time=57ms limit=0ms Hs=2.976100e-09
 [2015-10-28 17:44:13] Probing for an alive pool
 [2015-10-28 17:44:13] Pool 0 difficulty changed to 256
 [2015-10-28 17:44:14] Network diff set to 60.9G
 [2015-10-28 17:44:36] Pool 0 difficulty changed to 51
 [2015-10-28 17:44:36] Stratum from pool 0 requested work restart
 [2015-10-28 17:44:36] Stratum from pool 0 requested work restart
 [2015-10-28 17:45:06] Pool 0 difficulty changed to 10
 [2015-10-28 17:45:06] Stratum from pool 0 requested work restart
 [2015-10-28 17:45:36] Pool 0 difficulty changed to 8
 [2015-10-28 17:45:36] Stratum from pool 0 requested work restart
 [2015-10-28 17:46:11] Stratum from pool 0 detected new block
 [2015-10-28 18:08:22] Stratum from pool 0 detected new block
 [2015-10-28 18:20:26] Stratum from pool 0 detected new block

The code above is the output from about 40 minutes of running CGMiner.

The hashrate is now down to about 30 Mhash/s.
After exiting CGMiner, it said there were 29 hardware errors.

I am using this command to launch CGMiner:
Code:
sudo ./cgminer --bmsc-options 115200:0.57 -o stratum+tcp://eu.stratum.bitcoin.cz:3333 -u MY-USERNAME-HERE -p anything

What have I done wrong to cause this to happen?

On a side note, what are the command line options: "--bmsc-options 115200:0.57"? What do they do?

Thanks!


Title: Re: Stratum from pool 0 requested work restart.
Post by: winspiral on October 28, 2015, 07:11:10 PM
I use an U2 and since this morning I am unable to mine...
It's the second time it happens.

Quote
On a side note, what are the command line options: "--bmsc-options 115200:0.57"? What do they do?

I mine with
--bmsc-options 115200:20




Title: Re: Stratum from pool 0 requested work restart.
Post by: JamieOnUbuntu on October 28, 2015, 07:12:26 PM
So you're saying that the second time you run CGMiner, it doesn't work? Like my problem?


Title: Re: Stratum from pool 0 requested work restart.
Post by: JamieOnUbuntu on October 28, 2015, 07:21:26 PM

I mine with
--bmsc-options 115200:20



Thanks, but what do those options actually mean? What are the numbers?


Title: Re: Stratum from pool 0 requested work restart.
Post by: winspiral on October 28, 2015, 07:24:41 PM
I had difficulties to start...
and after few days suddently it works.
 and then after a while all was frozen

I noticed that it was my energy saver ...
so I worked only with screen saver and all wored perfectly 10 days or so
This morning I had internet connecton problems and since all is ok with internet mi miner is not working


Title: Re: Stratum from pool 0 requested work restart.
Post by: winspiral on October 28, 2015, 07:25:30 PM

I mine with
--bmsc-options 115200:20



Thanks, but what do those options actually mean? What are the numbers?

The frequence I belive(no)

Quote
AntMiner U1 device options:
--bmsc-options <arg> Set specific device board configurations - one set of values for all or comma separated
--bmsc-freq <arg> Set work frequency
--bmsc-rdreg <arg> Get reg value

eg:
--bmsc-options 115200:20
The values are baud : timeout, and timeout is 20 * 100ms


Title: Re: Stratum from pool 0 requested work restart.
Post by: JamieOnUbuntu on October 28, 2015, 07:34:59 PM
--bmsc-options 115200:20
The values are baud : timeout, and timeout is 20 * 100ms

Thanks. What is the timeout for though? What is it timing?


Title: Re: Stratum from pool 0 requested work restart.
Post by: winspiral on October 28, 2015, 07:56:51 PM
--bmsc-options 115200:20
The values are baud : timeout, and timeout is 20 * 100ms

Thanks. What is the timeout for though? What is it timing?

the timing?


Title: Re: Stratum from pool 0 requested work restart.
Post by: JamieOnUbuntu on October 28, 2015, 07:58:11 PM

the timing?


But what timing?

What is it timing?


Title: Re: Stratum from pool 0 requested work restart.
Post by: winspiral on October 28, 2015, 08:00:35 PM
sorry I do not see what you nean.


Title: Re: Stratum from pool 0 requested work restart.
Post by: JamieOnUbuntu on October 28, 2015, 08:06:00 PM
Ok, nevermind :)

Why is the baud rate set to 115200?
What amount is that?


Title: Re: Stratum from pool 0 requested work restart.
Post by: winspiral on October 29, 2015, 07:08:51 AM
It's unbelievable...
this morning all works perfectly...
I cannot understand why sometimes it is impossible to mine with my U2

The baud rate is us for the communication it is fixed by the contructor and the program.
see baud rate on google and you will understand better.


Title: Re: Stratum connect failed to pool 1:
Post by: Clintp42 on November 04, 2015, 12:40:12 AM
I am not sure if this is the best place to ask this question, but I am really struggling and about to pull my last few hairs out over this error I keep getting.

"Stratum connect failed to pool 1: failed to connect to localhost port 8332:Connection Refused"

Is there anyone that will be able to help me figure this one out? It just starting occurring recently and I haven't a clue how to get it to stop. My miner seems to be running fine, its hashing, just performance is suffering horribly. I was running normally at 750GH -850GH regulalry, no its chocked at less than 575GH. Please help.

I am running EasyMiner/BFGminer Win10 Pro BFL Monarch 750 Bitcoin-qt.

I have screenshots if needed?