Pages:
Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 95. (Read 5805649 times)

sr. member
Activity: 294
Merit: 250
Might mean your network connection had a hiccup.
Otherwise, ignore it.
I found that message in my cgminer logs 39,007 times with my one BTB board from 12-Sep-2013 until I permanently switched it off on 16-Apr-2014

Hmm this is weird...
I restarted CGMiner, the problem no longer shows up and hashrate has increased. Could be a memory leak? I'm taking a look.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Hi, I noticed a strange behaviour in my mining equipment:
Sometimes out of a sudden I receive BTB: Idled 1 miners for no reason at all. No new block detected by stratum.

http://imageshack.com/a/img841/5870/h19c.png

I am running BitBurner stacks with --avalon-auto on GHash.io

What are the reasons for "idling" miners at such low temperatures and no block detected? Is something wrong with the equipment?
However utility remains pretty high at 22,24 shares/min.

Thanks in advance.
Might mean your network connection had a hiccup.
Otherwise, ignore it.
I found that message in my cgminer logs 39,007 times with my one BTB board from 12-Sep-2013 until I permanently switched it off on 16-Apr-2014
legendary
Activity: 1540
Merit: 1001
You are running bitmain's S2 driver. Don't do that on p2pool. Also don't do that with bitmain's S1 driver.

Bitmain does some terrible things in their driver including ... discarding stale work in the driver before passing it to the work validation code.
This means on p2pool that if you find a stale block that is still a valid network block, it will be discarded. Oh well.

Use my driver for S1 if you don't want to throw such valid blocks away on p2pool.

Thanks!  I also get duplicates on p2pool when using my Ants.  I think I only saw that with S2s, though.

Quote
My S2 driver is still in development - I'm still trying to work out why the device thinks it's a good idea to have >8000 work items queued in it - more than 30s of work - and to work out how to reduce that without letting it get idle - so I'm still waiting on source code from bitmain.

My blackarrow minion RPi driver is able to handle > 2TH/s of work at 1diff verifying every share returned at 1diff.
The S2 driver, on a faster BBB, should be able to handle 1TH/s of work at 1diff also. It doesn't. So I need to work out how to fix that - but I need the SPI kernel driver code bitmain wrote, for me to work that out.

I appreciate it!

M
sr. member
Activity: 294
Merit: 250
Hi, I noticed a strange behaviour in my mining equipment:
Sometimes out of a sudden I receive BTB: Idled 1 miners for no reason at all. No new block detected by stratum.

http://imageshack.com/a/img841/5870/h19c.png

I am running BitBurner stacks with --avalon-auto on GHash.io

What are the reasons for "idling" miners at such low temperatures and no block detected? Is something wrong with the equipment?
However utility remains pretty high at 22,24 shares/min.

Thanks in advance.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
I have two Antminer S2s.  Both misbehave the same way with p2pool.  Within minutes of pointing them at p2pool, my hashrate drops to 930gh/s or lower.  

It shows this way on p2pool, on the S2 LCD, and on the S2 web UI.

It stays this way, or gets worse, as time goes by.  I've run against p2pool for days this way trying different things, and the result is always the same.  Yet running on a conventional pool (like Eligius), things run fine immediately and ongoing.

I've tried adjusting my pseudo share size.

I've tried running on a local node, my public node (other side of the country), and at least one other public p2pool node that was close to me.

Since S2s use cgminer, I was hoping a dev might be able to shed some light on this for me.

BTW, my S1s work fine with p2pool.  At 1/5 the hashrate, but they do work fine.


I apologize if this has been mentioned already.  I stopped following this thread a while ago.

Thanks.

M
You are running bitmain's S2 driver. Don't do that on p2pool. Also don't do that with bitmain's S1 driver.

Bitmain does some terrible things in their driver including ... discarding stale work in the driver before passing it to the work validation code.
This means on p2pool that if you find a stale block that is still a valid network block, it will be discarded. Oh well.

Use my driver for S1 if you don't want to throw such valid blocks away on p2pool.

My S2 driver is still in development - I'm still trying to work out why the device thinks it's a good idea to have >8000 work items queued in it - more than 30s of work - and to work out how to reduce that without letting it get idle - so I'm still waiting on source code from bitmain.

My blackarrow minion RPi driver is able to handle > 2TH/s of work at 1diff verifying every share returned at 1diff.
The S2 driver, on a faster BBB, should be able to handle 1TH/s of work at 1diff also. It doesn't. So I need to work out how to fix that - but I need the SPI kernel driver code bitmain wrote, for me to work that out.
legendary
Activity: 1540
Merit: 1001
I have two Antminer S2s.  Both misbehave the same way with p2pool.  Within minutes of pointing them at p2pool, my hashrate drops to 930gh/s or lower. 

It shows this way on p2pool, on the S2 LCD, and on the S2 web UI.

It stays this way, or gets worse, as time goes by.  I've run against p2pool for days this way trying different things, and the result is always the same.  Yet running on a conventional pool (like Eligius), things run fine immediately and ongoing.

I've tried adjusting my pseudo share size.

I've tried running on a local node, my public node (other side of the country), and at least one other public p2pool node that was close to me.

Since S2s use cgminer, I was hoping a dev might be able to shed some light on this for me.

BTW, my S1s work fine with p2pool.  At 1/5 the hashrate, but they do work fine.


I apologize if this has been mentioned already.  I stopped following this thread a while ago.

Thanks.

M
full member
Activity: 344
Merit: 100

Hardware is actively cooled and working in air conditioned room - always below 42C.

Here is the debug:
Code:
Thanks. There's not much information in that. Did you use the debug cgminer.exe binary from that directory as well?

Yes I did. I've run it again.
On the miner console I get this:
Code:
[2014-05-27 07:50:08] BXF 2 BXFWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT
[2014-05-27 07:50:14] BXF 2 attempted reset got err:(0) LIBUSB_SUCCESS
[2014-05-27 07:50:14] BXF 2: Error 0 sending BXFWork sent 0 of 162
Debug:
Code:
cgminerDebug.exe caused an Access Violation at location 74de9a24 in module msvcrt.dll Reading from location 7881399c.

Registers:
eax=00000001 ebx=00000000 ecx=74616368 edx=00000003 esi=78813999 edi=78813d65
eip=74de9a24 esp=041fd4f0 ebp=041fd4f8 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202

Call stack:
74DE9A24  msvcrt.dll:74DE9A24  memcpy
00449AB1  cgminerDebug.exe:00449AB1
00449F3C  cgminerDebug.exe:00449F3C
00465685  cgminerDebug.exe:00465685
00468704  cgminerDebug.exe:00468704
004C015B  cgminerDebug.exe:004C015B
74DF1287  msvcrt.dll:74DF1287  _itow_s
74DF1328  msvcrt.dll:74DF1328  _endthreadex
759A336A  kernel32.dll:759A336A  BaseThreadInitThunk
77099F72  ntdll.dll:77099F72  RtlInitializeExceptionChain
77099F45  ntdll.dll:77099F45  RtlInitializeExceptionChain
cgminerDebug.exe caused an Access Violation at location 74de9b60 in module msvcrt.dll Reading from location 3429275a.

Registers:
eax=02f9f8c2 ebx=02f9ff20 ecx=33b4345a edx=00000000 esi=3429275a edi=02f9f234
eip=74de9b60 esp=02f9f0f0 ebp=02f9f0f8 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202

Call stack:
74DE9B60  msvcrt.dll:74DE9B60  memcpy
00449697  cgminerDebug.exe:00449697
0044A5AE  cgminerDebug.exe:0044A5AE
004654E6  cgminerDebug.exe:004654E6
00469933  cgminerDebug.exe:00469933
00469A35  cgminerDebug.exe:00469A35
0046834A  cgminerDebug.exe:0046834A
0046887C  cgminerDebug.exe:0046887C
004C015B  cgminerDebug.exe:004C015B
74DF1287  msvcrt.dll:74DF1287  _itow_s
74DF1328  msvcrt.dll:74DF1328  _endthreadex
759A336A  kernel32.dll:759A336A  BaseThreadInitThunk
77099F72  ntdll.dll:77099F72  RtlInitializeExceptionChain
77099F45  ntdll.dll:77099F45  RtlInitializeExceptionChain
cgminerDebug.exe caused an Access Violation at location 74de9b60 in module msvcrt.dll Reading from location 77c75ae9.

Registers:
eax=0365f822 ebx=0365ff20 ecx=22e7a74e edx=00000001 esi=77c75ae9 edi=0365f194
eip=74de9b60 esp=0365f050 ebp=0365f058 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202

Call stack:
74DE9B60  msvcrt.dll:74DE9B60  memcpy
00449697  cgminerDebug.exe:00449697
0044A5AE  cgminerDebug.exe:0044A5AE
004654E6  cgminerDebug.exe:004654E6
00469933  cgminerDebug.exe:00469933
00469A35  cgminerDebug.exe:00469A35
004691EA  cgminerDebug.exe:004691EA
0046982E  cgminerDebug.exe:0046982E
0041F641  cgminerDebug.exe:0041F641
0041F976  cgminerDebug.exe:0041F976
004C015B  cgminerDebug.exe:004C015B
74DF1287  msvcrt.dll:74DF1287  _itow_s
74DF1328  msvcrt.dll:74DF1328  _endthreadex
759A336A  kernel32.dll:759A336A  BaseThreadInitThunk
77099F72  ntdll.dll:77099F72  RtlInitializeExceptionChain
77099F45  ntdll.dll:77099F45  RtlInitializeExceptionChain
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/

Hardware is actively cooled and working in air conditioned room - always below 42C.

Here is the debug:
Code:
Thanks. There's not much information in that. Did you use the debug cgminer.exe binary from that directory as well?
full member
Activity: 344
Merit: 100
Im running 3x Bi*Furry on powered USB HUB - power is sufficient.
Randomly (after 10m - 4h) I get:

Code:
BXF 2 BXFWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT

and miner crushes (WIN 7).
Any idea?
That is a sign of hardware instability, not software. If you're 100% sure you have enough power (and most people don't have as much as they think they have) then the next thing to do is actively cool them better.

EDIT: Do you mean "crashes" when you say "crushes"? In that case you may be able to help by running a debug version and following the instructions in here:
http://ck.kolivas.org/apps/cgminer/debug/

Read the README-debug file.

Hardware is actively cooled and working in air conditioned room - always below 42C.

Here is the debug:
Code:
cgminerBD.exe caused an Access Violation at location 74de9b60 in module msvcrt.dll Reading from location 02ec0000.

Registers:
eax=02ebfa1c ebx=02ebff20 ecx=3ffffe87 edx=00000000 esi=02ec0000 edi=02ebf87c
eip=74de9b60 esp=02ebf370 ebp=02ebf378 iopl=0         nv up ei pl nz na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206

Call stack:
74DE9B60  msvcrt.dll:74DE9B60  memcpy
00449697  cgminerBD.exe:00449697
cgminerBD.exe caused an Access Violation at location 7708e3be in module ntdll.dll Reading from location 2db62da2.

Registers:
eax=01ea9058 ebx=01ec1dd8 ecx=003c0000 edx=01ec1dd8 esi=2db62d9e edi=01ec1dd0
eip=7708e3be esp=02a3fc30 ebp=02a3fc64 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202

Call stack:
7708E3BE  ntdll.dll:7708E3BE  RtlInitUnicodeString
7708E023  ntdll.dll:7708E023  RtlFreeHeap
74DE98CD  msvcrt.dll:74DE98CD  free
004947D7  cgminerBD.exe:004947D7
00494FF2  cgminerBD.exe:00494FF2
00495072  cgminerBD.exe:00495072
00490C71  cgminerBD.exe:00490C71
004910C6  cgminerBD.exe:004910C6
00491114  cgminerBD.exe:00491114
004912BB  cgminerBD.exe:004912BB
00489F9E  cgminerBD.exe:00489F9E
0048A0FC  cgminerBD.exe:0048A0FC
0042538D  cgminerBD.exe:0042538D
004C015B  cgminerBD.exe:004C015B
74DF1287  msvcrt.dll:74DF1287  _itow_s
74DF1328  msvcrt.dll:74DF1328  _endthreadex
759A336A  kernel32.dll:759A336A  BaseThreadInitThunk
77099F72  ntdll.dll:77099F72  RtlInitializeExceptionChain
77099F45  ntdll.dll:77099F45  RtlInitializeExceptionChain




-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Im running 3x Bi*Furry on powered USB HUB - power is sufficient.
Randomly (after 10m - 4h) I get:

Code:
BXF 2 BXFWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT

and miner crushes (WIN 7).
Any idea?
That is a sign of hardware instability, not software. If you're 100% sure you have enough power (and most people don't have as much as they think they have) then the next thing to do is actively cool them better.

EDIT: Do you mean "crashes" when you say "crushes"? In that case you may be able to help by running a debug version and following the instructions in here:
http://ck.kolivas.org/apps/cgminer/debug/

Read the README-debug file.
full member
Activity: 344
Merit: 100
Im running 3x Bi*Furry on powered USB HUB - power is sufficient.
Randomly (after 10m - 4h) I get:

Code:
BXF 2 BXFWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT

and miner crushes (WIN 7).
Any idea?
legendary
Activity: 3583
Merit: 1094
Think for yourself
win 7 x86 if it works stable?
I often have problems: (

Is that a question or a statement?

If your asking if CGMiner works with 32 bit Windoze 7?  The answer is yes.

I mean, I often fail to use it on win 7 x86,
and if you can help command for maximum performance?

Hmm, works fine for me.

There is no command to maximize performance for my setup, which is USB BE's and a Jalapeno.  I just run CGMiner with the  pool stuff and it detects and sets everything for me.
sr. member
Activity: 448
Merit: 250
win 7 x86 if it works stable?
I often have problems: (

Is that a question or a statement?

If your asking if CGMiner works with 32 bit Windoze 7?  The answer is yes.

I mean, I often fail to use it on win 7 x86,
and if you can help command for maximum performance?
legendary
Activity: 3583
Merit: 1094
Think for yourself
win 7 x86 if it works stable?
I often have problems: (

Is that a question or a statement?

If your asking if CGMiner works with 32 bit Windoze 7?  The answer is yes.
sr. member
Activity: 448
Merit: 250
win 7 x86 if it works stable?
I often have problems: (
legendary
Activity: 3990
Merit: 2695
@choklivas

THX for the new version, i will test and report Wink

regards
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Hi,

Having a small problem with Cgminer 4.3.3 and Blackarrow bitfury boards.

Every so often I get a (duplicate) share that is indeed a dupe of a share just before it.

I changed line 529 from #define BAB_WORK_EXPIRE_mS 7800 to 5800.  This seems to have helped.

Any suggestions?

Thanks!

Edit: My pool is Eligius.
Edit#2: Line 529 seems to have minimal effect on "dupes". Tongue
No one has any ideas?
Dups are expected.
I get quite a lot and I wrote the driver Smiley
Expiring the work earlier risks rejecting valid work.
The interface to the chip makes it difficult to ensure you aren't rereading the same results sometimes.
You may have noticed the low HW error %?
That's due to using more CPU and sometimes getting dups.

I've been working on the AntS2 driver and wrote a simple dup check that I can implement in any driver with a few lines.
Once I've finished the AntS2 and the updates to the BlackArrowMinion work soon, I'll probably add it to the BaB driver also, since I see the dups also - and avoiding sending them to the pool is nicer to the pool and saves ever so slightly on network usage.

Oh well about your choice of pool ...

FYI: I've got 7 boards on a V2 4 SPI controller always above 270GH/s Smiley
The code works well up to 8, but will need some SPI tuning to do more than 2 per SPI reliably.
Mine runs forever without failing - only restarts on power outages, config changes or cgminer updates.
1.25W/GHs at the wall, really is pretty amazing for these boards that have been around for so long!
hero member
Activity: 546
Merit: 500
Hi,

Having a small problem with Cgminer 4.3.3 and Blackarrow bitfury boards.

Every so often I get a (duplicate) share that is indeed a dupe of a share just before it.

I changed line 529 from #define BAB_WORK_EXPIRE_mS 7800 to 5800.  This seems to have helped.

Any suggestions?

Thanks!

Edit: My pool is Eligius.
Edit#2: Line 529 seems to have minimal effect on "dupes". Tongue
No one has any ideas?
Are you maybe using load balancing or too low of a difficulty. I only get problems when I switch pools or exit and come back before it knows I 'm gone.
legendary
Activity: 916
Merit: 1003
I'm still using 3.4.0 on a BeagleBone to run my BFL Jalapeno 7 GHs.
An oldie but a goodie.  Cool
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
New release: Version 4.3.4, 25th May 2014


Human readable changelog:

- Driver updates to spondoolies, cointerra, avalon2 and minion.
- Support for nanofury NF2 (good working) and NF6 (flaky, ?design related) USB sticks.
- Extra output in the API for NF* devices and BXM in the API for per chip information.
- Fix for pools going idle if stratum is restarted unsuccessfully.
- Fix for a crash in libusb when devices are frequently plugging/unplugging on linux.
- New benchmarking code with the --benchmark option which uses a deterministic set of work items to find a known number of different diff share nonces at regular intervals. Note that devices that don't check the entire range (mainly bitfury based devices) will not find some of these nonces so the benchmark code is suited to devices like the hashfast,  cointerra etc. Give it an hour before assessing results.
- Fix the reset counter on hashfast devices to be properly inherited.
- New ruby example for API.
- Low level code fixes and cleanups.


Full changelog:

- Add support for 2 nonces per block in spond driver
- Increase timeout on reset in cta driver to 5 seconds
- Increase max diff on spondoolies driver slightly to be well below spi comms
limitations
- Use the active contents lock and safe list iteration within the linux usbfs
code
- Add Ruby Api Example
- Automatic detect the small miners
- Update default modules from 3 to 4
- Fix the temp max. we should use currect max temp
- add avalon2-cutoff options
- Enable the cutofftemp to Avalon2. ignore longer coinbase and longer merkles
stratum
- Fix the diff value used on MM firmware
- Mark pool as idle if stratum restart is failed
- Add hacky workaround for double list removal race in libusb
- Make the work given in benchmark mode deterministic on a per-device basis
- Rework the benchmarking code to use a deterministic set of work items with a
known number of diff share nonces at regular spaced intervals
- minion - restrict nonce read result size to ioctl() limit
- minion - must check temp when overheated
- minion - idle chips that hit >100C until back to 80C
- minion - report the chip/reg when aborting due to an invalid ioctl() size
- minion - all freq in Mhz but only convert when used
- minion - remove unused ioctl debug
- minion - command queue is now larger
- minion - check rolled in stale work cleanup
- Work stats should be based on device_diff not work_difficulty since non-shares
haven't been filtered out yet
- Prevent a segfault when writing a config file containing 'rotate' option
- minion - comment out HW debug message
- minion - roll work to reduce CPU
- minion - report init_freq in stats
- api - howoldsec is only used for USB
- minion - allow setting the frequency
- minion - disable iostats by default since it slows down mining
- minion - define frequency value table
- minion - report temp/cores/freq and handle temp formatting
- minion - item is undefined
- Rationalise diffs stored in the work struct and document them to avoid further
confusion
- Add basic API stats for nfu drivers to see how many submits each chip returns
- Add output direction for the EN0 pin on nfu driver
- Support power management optimisations in newer nf* firmware
- Support variable numbers of chips with NFU and BXM drivers
- Identify number of chips in nanofury devices and change name accordingly
- Rename nf1 driver to nfu in anticipation of support for more chips
- Make hashfast reset counter rise on old instances when inheriting the value on
new ones
Pages:
Jump to: