Bitcoin Forum
April 17, 2014, 01:09:12 AM *
News: ♦♦ A bug in OpenSSL, used by Bitcoin-Qt/Bitcoin Core, could allow your bitcoins to be stolen. Immediately updating Bitcoin Core to 0.9.1 is required in some cases, especially if you're using 0.9.0. Download. More info.
The same bug also affected the forum. Changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: 1 ... 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 [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 ... 749
  Print  
Author Topic: CGMINER ASIC miner monitoring RPC linux/win/osx/mips/arm/r-pi 4.2.3  (Read 2643242 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.
kano
Hero Member
*****
Offline Offline

Activity: 1008


Linux since 1997 RedHat 4


View Profile

Ignore
July 30, 2012, 11:44:16 PM
 #6301

Does the problem occur during throttling?

Do you always specify "bitforce:" on the front of the serial device specification?

One change that I added (that's in 2.6.0 and 2.6.1) is there is now a timeout in BFL if you specify "bitforce:"
(there was always a timeout for BFL if you didn't specify "bitforce:" so I changed it work the same way in both situations)

Thus in the log there should be a message saying there was a timeout at the time the problem occurred if that is the cause of it.
(BFL needs to be able to timeout rather than hang if something goes wrong on linux - it used to hang sometimes when there were comm errors)
However, I guess it could be LP related when it tries to abort work that could be during a throttle?
If you can get it to fail either see if there is a timeout message (and post a pastebin of the log for up to 1 minute before it happens) or if there is no timeout message, run it in "-D" debug mode and post a pastebin of the last minute or so of that log up to when it fails
Or course, visiting FreeNode IRC #cgminer will be easier ...

My testing of this is on my BFL that has hardware issues lately so I put the fastest bitstream on it and thus was expecting to see any possible problems Smiley
But if it is during an LP then that's not easy to make happen ...

Edit: oh there was also another change that luke-jr did at the same time (I didn't notice) - so I guess it could be either of our changes.
https://github.com/ckolivas/cgminer/commit/cf36331d815e7b87131d547b92b9ceaa218d114d

My devices aren't throttling, and yes I always specify "bitforce:". I also don't believe the problem would be related to a long poll, since both machines would have received long polls near the same time, but one started having singles stop hashing much sooner than the other. I think that makes sense anyway, I'm no expert.
What are you running on?

There seems to be an ongoing bug fix on bug fix on bug fix for this at the moment (nothing to do with me)

The first bugfix pshep did was mostly to remove the 2 lines of luke-jr's commit
(which has gone in the chain of bug fixes and not returned)

I might be able to make a version that just removes that commit and compile it for you until the mess is sorted out by the others.
If it's windows - then yep that's OK also I can make one of them.

Let me know.

BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CGMiner developer,  IRC FreeNode #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
1397696952
Hero Member
*
Offline Offline

Posts: 1397696952

View Profile Personal Message (Offline)

Ignore
1397696952
Reply with quote  #2

1397696952
Report to moderator
Pre-order Cloud Mining Power. Cheapest price.
2 Ph/s in stock.
INVEST NOW  >

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1397696952
Hero Member
*
Offline Offline

Posts: 1397696952

View Profile Personal Message (Offline)

Ignore
1397696952
Reply with quote  #2

1397696952
Report to moderator
ShadesOfMarble
Donator
Hero Member
*
Offline Offline

Activity: 503



View Profile

Ignore
July 30, 2012, 11:46:33 PM
 #6302

I had to restart cgminer 2.6.1 on two different rigs because the API did no longer respond to any request (it did not even time out!?)
Mining was still working and this has never happened with earlier versions.

Anyone experienced the same problem?

[22:35] <Vinnie_win> Did anyone get paid yet?
[22:36] <Isokivi> pirate did!
kano
Hero Member
*****
Offline Offline

Activity: 1008


Linux since 1997 RedHat 4


View Profile

Ignore
July 30, 2012, 11:49:20 PM
 #6303

I had to restart cgminer 2.6.1 on two different rigs because the API did no longer respond to any request (it did not even time out!?)
Mining was still working and this has never happened with earlier versions.

Anyone experienced the same problem?
The API reports all incoming requests and out going replies when debug is turned on -D
(of course turning on debug produces a whole heap of other stuff)
What OS? (and version)

Edit: of course you can turn on debug from the cgminer screen at any time ... i.e. when the problem occurs

BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CGMiner developer,  IRC FreeNode #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
ShadesOfMarble
Donator
Hero Member
*
Offline Offline

Activity: 503



View Profile

Ignore
July 30, 2012, 11:54:48 PM
 #6304

I'll turn debug on the next time this problem happens, thanks for the hint.

I'm using Windows 7 32-bit SP1. (Don't moan because of windows, my rigs are usually running for months witout interruption...)

[22:35] <Vinnie_win> Did anyone get paid yet?
[22:36] <Isokivi> pirate did!
ckolivas
Moderator
Hero Member
*
Offline Offline

Activity: 1036



View Profile WWW

Ignore
July 31, 2012, 12:02:39 AM
 #6305

Does 2.60 not leak shares to backup pools anymore?
Sam
It does, but likely less than before.

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0  148KkS2vgVi4VzUi4JcKzM2PMaMVPi3nnq
ONLY ignoring luke-jr
-ck
farfie
Jr. Member
*
Offline Offline

Activity: 58



View Profile

Ignore
July 31, 2012, 02:55:36 AM
 #6306

What are you running on?

There seems to be an ongoing bug fix on bug fix on bug fix for this at the moment (nothing to do with me)

The first bugfix pshep did was mostly to remove the 2 lines of luke-jr's commit
(which has gone in the chain of bug fixes and not returned)

I might be able to make a version that just removes that commit and compile it for you until the mess is sorted out by the others.
If it's windows - then yep that's OK also I can make one of them.

Let me know.

It is indeed Windows 7 x64.
ckolivas
Moderator
Hero Member
*
Offline Offline

Activity: 1036



View Profile WWW

Ignore
July 31, 2012, 03:02:33 AM
 #6307

What are you running on?

There seems to be an ongoing bug fix on bug fix on bug fix for this at the moment (nothing to do with me)

The first bugfix pshep did was mostly to remove the 2 lines of luke-jr's commit
(which has gone in the chain of bug fixes and not returned)

I might be able to make a version that just removes that commit and compile it for you until the mess is sorted out by the others.
If it's windows - then yep that's OK also I can make one of them.

Let me know.

It is indeed Windows 7 x64.
Here try this executable with that one change backed out:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0  148KkS2vgVi4VzUi4JcKzM2PMaMVPi3nnq
ONLY ignoring luke-jr
-ck
farfie
Jr. Member
*
Offline Offline

Activity: 58



View Profile

Ignore
July 31, 2012, 03:41:33 AM
 #6308

What are you running on?

There seems to be an ongoing bug fix on bug fix on bug fix for this at the moment (nothing to do with me)

The first bugfix pshep did was mostly to remove the 2 lines of luke-jr's commit
(which has gone in the chain of bug fixes and not returned)

I might be able to make a version that just removes that commit and compile it for you until the mess is sorted out by the others.
If it's windows - then yep that's OK also I can make one of them.

Let me know.

It is indeed Windows 7 x64.
Here try this executable with that one change backed out:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Half an hour so far with no problems on either machine. Going to bed soon, so I'll just lettem do their thing and report in the morning.
BlackPrapor
Hero Member
*****
Offline Offline

Activity: 564



View Profile

Ignore
July 31, 2012, 04:13:04 AM
 #6309

I've got mini rigs hanging after some time with cgminer 2.6.1 so I switched back to bfgminer 2.5.1. It does produce almost 1% more rejects (cgminer had almost none 0.07%), but at least it works  Roll Eyes. Since my computer is running on Linux and I'm a noob in linux, please don't ask me to send you debug files or anything like that  Grin. I didn't have "bitforce:" line for every device btw, if that helps.

There is no place like 127.0.0.1
In blockchain we trust
ckolivas
Moderator
Hero Member
*
Offline Offline

Activity: 1036



View Profile WWW

Ignore
July 31, 2012, 04:29:17 AM
 #6310

I've got mini rigs hanging after some time with cgminer 2.6.1 so I switched back to bfgminer 2.5.1. It does produce almost 1% more rejects, but at least it works  Roll Eyes. Since my computer is running on Linux and I'm a noob in linux, please don't ask me to send you debug files or anything like that  Grin. I didn't have "bitforce:" line for every device btw, if that helps.
Um, why bfgminer 2.5.1 and not cgminer 2.5.0?

EDIT: never mind that question, I suspect people actually believe luke-jr's FUD.

I think the minirig is probably burnt by the same thing affecting the singles.

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0  148KkS2vgVi4VzUi4JcKzM2PMaMVPi3nnq
ONLY ignoring luke-jr
-ck
BlackPrapor
Hero Member
*****
Offline Offline

Activity: 564



View Profile

Ignore
July 31, 2012, 04:35:15 AM
 #6311

I've got mini rigs hanging after some time with cgminer 2.6.1 so I switched back to bfgminer 2.5.1. It does produce almost 1% more rejects, but at least it works  Roll Eyes. Since my computer is running on Linux and I'm a noob in linux, please don't ask me to send you debug files or anything like that  Grin. I didn't have "bitforce:" line for every device btw, if that helps.
Um, why bfgminer 2.5.1 and not cgminer 2.5.0?

EDIT: never mind that question, I suspect people actually believe luke-jr's FUD.

I think the minirig is probably burnt by the same thing affecting the singles.
Well, I had 2.5.1 installed, so I run that one. Don't know how to update, and I guess since you guys share the code, I would've got the same issue with bfgminer 2.6.1. Maybe its a good thing I still have 2.5.1  Grin...but I do need to learn how to use linux

There is no place like 127.0.0.1
In blockchain we trust
kano
Hero Member
*****
Offline Offline

Activity: 1008


Linux since 1997 RedHat 4


View Profile

Ignore
July 31, 2012, 06:22:42 AM
 #6312

Anyone who got 2.6.1a from my git downloads - I've made a 2.6.1b that has the problematic BFL commit removed
(and deleted 2.6.1a)

https://github.com/kanoi/cgminer/downloads

cgminer-2.6.1b — cgminer-2.6.1b = Distro cgminer 2.6.1 executable file compiled on Xubuntu 11.04 with all device + scrypt support included - and the BFL bug removed

Edit: FYI 2.6.1a didn't ever fail on my BFL (25.5 hours) - which is rather odd considering the problems with my BFL Smiley
Anyway, I'm running 2.6.1b on all my 3 setups.

BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CGMiner developer,  IRC FreeNode #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Luke-Jr
Hero Member
*****
Offline Offline

Activity: 1204



View Profile

Ignore
July 31, 2012, 08:37:40 AM
 #6313

I've got mini rigs hanging after some time with cgminer 2.6.1 so I switched back to bfgminer 2.5.1. It does produce almost 1% more rejects (cgminer had almost none 0.07%), but at least it works  Roll Eyes.
No, CGMiner has them - it just hides them from you, along with other shares that would have been accepted...

BlackPrapor
Hero Member
*****
Offline Offline

Activity: 564



View Profile

Ignore
July 31, 2012, 08:52:54 AM
 #6314

I've got mini rigs hanging after some time with cgminer 2.6.1 so I switched back to bfgminer 2.5.1. It does produce almost 1% more rejects (cgminer had almost none 0.07%), but at least it works  Roll Eyes.
No, CGMiner has them - it just hides them from you, along with other shares that would have been accepted...
So, you're saying that I should see a difference in U or shares accepted between cgminer and bfgminer? I'll check it. Atm I'm having 51.7Ghs very stable speed with cgminer 2.6.1b. Do you mind telling me how to update bfgminer from 2.5.1, so I can make a fair comparison of both up to date miners?

There is no place like 127.0.0.1
In blockchain we trust
ckolivas
Moderator
Hero Member
*
Offline Offline

Activity: 1036



View Profile WWW

Ignore
July 31, 2012, 08:58:13 AM
 #6315

I've got mini rigs hanging after some time with cgminer 2.6.1 so I switched back to bfgminer 2.5.1. It does produce almost 1% more rejects (cgminer had almost none 0.07%), but at least it works  Roll Eyes.
No, CGMiner has them - it just hides them from you, along with other shares that would have been accepted...
So, you're saying that I should see a difference in U or shares accepted between cgminer and bfgminer? I'll check it. Atm I'm having 51.7Ghs very stable speed with cgminer 2.6.1b. Do you mind telling me how to update bfgminer from 2.5.1, so I can make a fair comparison of both up to date miners?
His 2.5.1 should be enough to tell...

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0  148KkS2vgVi4VzUi4JcKzM2PMaMVPi3nnq
ONLY ignoring luke-jr
-ck
BlackPrapor
Hero Member
*****
Offline Offline

Activity: 564



View Profile

Ignore
July 31, 2012, 10:25:14 AM
 #6316

Here are the results I've got for both miners running around 45k shares across 3 longpolls both:

There is no place like 127.0.0.1
In blockchain we trust
ckolivas
Moderator
Hero Member
*
Offline Offline

Activity: 1036



View Profile WWW

Ignore
July 31, 2012, 10:32:54 AM
 #6317

Here are the results I've got for both miners running around 45k shares across 3 longpolls both:
Unfortunately this is ONLY over 2 longpolls as can be seen by NB being 3, but that's enough to tell there's a difference. The more longpolls, the greater the difference.

Summary:
Jesusminer
Hashrate 51.8GH (51.4U recognised)
Rejects: 85
U: 718.3

cgminer
Hashrate 51.8GH
Rejects: 30
U:719.5

PLONK
FUD DEBUNKED

The fact is that cgminer discards half a work item on average across longpolls with BFL, and it does NOT count that half a work item artificially. So the reject rate is lower by not working on useless work and then submitting it. But the REAL KICKER is that it also does half a useful work item MORE at the same time which is why the utility was actually higher on cgminer.

Now once again, luke-jr fuck off with your fud and seriously stay the fuck out of my thread with your horseshit.

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0  148KkS2vgVi4VzUi4JcKzM2PMaMVPi3nnq
ONLY ignoring luke-jr
-ck
farfie
Jr. Member
*
Offline Offline

Activity: 58



View Profile

Ignore
July 31, 2012, 12:32:20 PM
 #6318

Half an hour so far with no problems on either machine. Going to bed soon, so I'll just lettem do their thing and report in the morning.

Following up on this, everything seems to be great. Across 11 Singles nothing has hung over night, and all measurements seem to be up to par or better. Excellent work.
ckolivas
Moderator
Hero Member
*
Offline Offline

Activity: 1036



View Profile WWW

Ignore
July 31, 2012, 12:33:43 PM
 #6319

Half an hour so far with no problems on either machine. Going to bed soon, so I'll just lettem do their thing and report in the morning.

Following up on this, everything seems to be great. Across 11 Singles nothing has hung over night, and all measurements seem to be up to par or better. Excellent work.
Thanks for the feedback. I'm quite sure other bugs for BFL have crept in since 2.5.0 as well, but at least one major one was quashed.

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0  148KkS2vgVi4VzUi4JcKzM2PMaMVPi3nnq
ONLY ignoring luke-jr
-ck
farfie
Jr. Member
*
Offline Offline

Activity: 58



View Profile

Ignore
July 31, 2012, 12:45:46 PM
 #6320

Thanks for the feedback. I'm quite sure other bugs for BFL have crept in since 2.5.0 as well, but at least one major one was quashed.

I will keep a steady eye on the miners, and they will also be introduced to a couple mini rigs later today as well Cheesy
The timing is almost kind of creepy, but here's hoping to a smooth experience.
Pages: 1 ... 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 [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 ... 749
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!