Author

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

newbie
Activity: 32
Merit: 0
I am running the debug cgminer 2.8.4 on my Win7 machine for about a day now without any problems. It is connected to Slush's Pool via stratum and it has an Nvidia card so it's about 110Mh/s and it it also used for games.

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Ok so what I've done to try and help debug this is I've built a special windows build of cgminer that uses a special dll to help print out the backtrace if it crashes that should help me find where it's crashing.

To use it, grab the following 2 files:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe
http://ck.kolivas.org/apps/cgminer/temp/backtrace.dll

and put them into a regular 2.8.4 windows directory. Start it as you normally would, but with the -T option otherwise the display gets corrupted when the program exits, and if it crashes while mining stratum, send me what is output when it crashes please!
Meh doesn't seem to do what it's advertised as doing... sigh need to think of another strategy.
sr. member
Activity: 383
Merit: 250
Just upgrade3d from 2.7.x to 2.8.x   

Can someone please provide a plain english explination of the "Diff" data in the HW mining lines? eg Diff: 100/25

Thanks in advance

It is right in the README file included with Cgminer...

"The 2 diff values are the actual difficulty target that share reached followed by the difficulty target the pool is currently asking for."
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
hero member
Activity: 1162
Merit: 500
OK - so here the last lines before my cgminer crashed (v2.8.4 on Win7x64).

Note: I lost Internet connection for a few hours - maybe that caused the crash?

[2012-10-22 02:37:39] 64.0 C  F: 55%(1984RPM)  E: 940MHz  M: 200Mhz  V: 1.175V  A: 99%  P: 0%
 [2012-10-22 02:37:41] [thread 0: 1174405120 hashes, 210719.1 khash/sec]
 [2012-10-22 02:37:42] 64.0 C  F: 55%(1984RPM)  E: 940MHz  M: 200Mhz  V: 1.175V  A: 99%  P: 0%
 [2012-10-22 02:37:44] [thread 1: 1174405120 hashes, 210681.4 khash/sec]
 [2012-10-22 02:37:45] 64.0 C  F: 55%(1983RPM)  E: 940MHz  M: 200Mhz  V: 1.175V  A: 99%  P: 0%
 [2012-10-22 02:37:46] Reusing stratum work
 [2012-10-22 02:37:46] Generated stratum merkle 21fccc1ae2762046362be1c31c71a92c40ce2a82dd4ccf81e6c96f4c218980c1

 [2012-10-22 02:37:46] Generated stratum header 000000021cc6ab9ee271679f7e235158cdc5dfa57fad35ffa0554412000000c50000000021fccc1 a
e2762046362be1c31c71a92c40ce2a82dd4ccf81e6c96f4c218980c15084950a1a0575ef0000000 0000000800000000000000000000000000000000000000000
000000000000000000000000000000000000000080020000
 [2012-10-22 02:37:46] Work job_id 23349 nonce2 46000000 ntime 5084950a
 [2012-10-22 02:37:46] Generated target 0000000000000000000000000000000000000000000000000000ffff00000000
 [2012-10-22 02:37:46] Reusing stratum work
 [2012-10-22 02:37:46] Generated stratum merkle 12962fdf3b3660e6e478991e90540812fd076649ad1040cde70d48d00e193d6b

 [2012-10-22 02:37:46] Generated stratum header 000000021cc6ab9ee271679f7e235158cdc5dfa57fad35ffa0554412000000c50000000012962fd f
3b3660e6e478991e90540812fd076649ad1040cde70d48d00e193d6b5084950a1a0575ef0000000 0000000800000000000000000000000000000000000000000
000000000000000000000000000000000000000080020000
 [2012-10-22 02:37:46] Work job_id 23349 nonce2 47000000 ntime 5084950a
 [2012-10-22 02:37:46] Generated target 0000000000000000000000000000000000000000000000000000ffff00000000
 [2012-10-22 02:37:46] [thread 0: 1207959552 hashes, 209158.4 khash/sec]
 [2012-10-22 02:37:48] 64.0 C  F: 55%(1983RPM)  E: 940MHz  M: 200Mhz  V: 1.175V  A: 99%  P: 0%
 [2012-10-22 04:38:48] Work stale due to expiry
C:\bitcoin\cgminer-2.8.4-win32>
hero member
Activity: 591
Merit: 500
Just upgrade3d from 2.7.x to 2.8.x   

Can someone please provide a plain english explination of the "Diff" data in the HW mining lines? eg Diff: 100/25

Thanks in advance
The first number is the difficulty of the share, the second number is the minimum difficulty accepted by the pool. If the difficulty of the share is higher than the current Bitcoin network difficulty, you found a block.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/

Even better would be a custom debug build running in gdb but I doubt any of you are up for that  Undecided I'm trying that on my laptop which is the only thing that has windows. Hopefully I don't fry it in the process, but at 10MH/s I also doubt it will recreate the problem.

Sigh. I wish it were only linux...

How do you do that? I tried something a while back but didn't get it working.

What I want to do is run under gdb, save the environment when it crashes, then continue running so that it's not sitting all day locked up.
When you build it, build it without optimisations in the CFLAGS and with the -g option, i.e. CFLAGS="-g -Wall -W" only. Then
gdb cgminer
run [usual cgminer parameters] -T
Running it with -T is a good idea cause gdb spews out other information and corrupts the display when you're using the curses display.

Here's a debug build in case someone is willing to try it:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Meanwhile my laptop continues to fry itself but has not crashed with the windows binary. It's probably too slow to even reproduce the problem.
hero member
Activity: 810
Merit: 1000
Just upgrade3d from 2.7.x to 2.8.x   

Can someone please provide a plain english explination of the "Diff" data in the HW mining lines? eg Diff: 100/25

Thanks in advance
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I keep having problems with 2.8.4 freezing.  It doesn't give any errors, it just stops, like someone hit the pause button.  Sometimes it'll go for days before it happens, sometimes it'll go a few hours.  This one points to p2pool, running on windows 7.  I have two other machines with 2.8.4 on it, and they don't seem to have the problem.  However, one of the machines is unstable (windows 8 preview) and tends to reboot of its own accord.  The other is my main workstation and cgminer gets shut down fairly often there.

Also, I'm confused by the new output on 2.8.4 that shows the difficulty found vs difficult desired.  I'm guessing the pools don't care about it, and they credit you for what's desired, not what's given?  Otherwise if you hit the magic number and found a block, they'd be crediting you a whole lot, which they don't do.

M
Are you  using any stratum pool somewhere in backups or otherwise in the cgminer that fails?

The output diff is purely cosmetic.

I don't think so.  I have p2pool, ozcoin, emc, and 50btc there.  But I see what you're thinking.  Let me remove emc and 50btc.

M
No, neither of those are stratum pools so should not be affected directly by stratum code.
legendary
Activity: 1540
Merit: 1001
I keep having problems with 2.8.4 freezing.  It doesn't give any errors, it just stops, like someone hit the pause button.  Sometimes it'll go for days before it happens, sometimes it'll go a few hours.  This one points to p2pool, running on windows 7.  I have two other machines with 2.8.4 on it, and they don't seem to have the problem.  However, one of the machines is unstable (windows 8 preview) and tends to reboot of its own accord.  The other is my main workstation and cgminer gets shut down fairly often there.

Also, I'm confused by the new output on 2.8.4 that shows the difficulty found vs difficult desired.  I'm guessing the pools don't care about it, and they credit you for what's desired, not what's given?  Otherwise if you hit the magic number and found a block, they'd be crediting you a whole lot, which they don't do.

M
Are you  using any stratum pool somewhere in backups or otherwise in the cgminer that fails?

The output diff is purely cosmetic.

I don't think so.  I have p2pool, ozcoin, emc, and 50btc there.  But I see what you're thinking.  Let me remove emc and 50btc.

M
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I keep having problems with 2.8.4 freezing.  It doesn't give any errors, it just stops, like someone hit the pause button.  Sometimes it'll go for days before it happens, sometimes it'll go a few hours.  This one points to p2pool, running on windows 7.  I have two other machines with 2.8.4 on it, and they don't seem to have the problem.  However, one of the machines is unstable (windows 8 preview) and tends to reboot of its own accord.  The other is my main workstation and cgminer gets shut down fairly often there.

Also, I'm confused by the new output on 2.8.4 that shows the difficulty found vs difficult desired.  I'm guessing the pools don't care about it, and they credit you for what's desired, not what's given?  Otherwise if you hit the magic number and found a block, they'd be crediting you a whole lot, which they don't do.

M
Are you  using any stratum pool somewhere in backups or otherwise in the cgminer that fails?

The output diff is purely cosmetic.
legendary
Activity: 1540
Merit: 1001
I keep having problems with 2.8.4 freezing.  It doesn't give any errors, it just stops, like someone hit the pause button.  Sometimes it'll go for days before it happens, sometimes it'll go a few hours.  This one points to p2pool, running on windows 7.  I have two other machines with 2.8.4 on it, and they don't seem to have the problem.  However, one of the machines is unstable (windows 8 preview) and tends to reboot of its own accord.  The other is my main workstation and cgminer gets shut down fairly often there.

Also, I'm confused by the new output on 2.8.4 that shows the difficulty found vs difficult desired.  I'm guessing the pools don't care about it, and they credit you for what's desired, not what's given?  Otherwise if you hit the magic number and found a block, they'd be crediting you a whole lot, which they don't do.

M
hero member
Activity: 563
Merit: 500
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I don't seem to be able to see a v2.8.4 tag in git - can I just assume that the tip of the master branch is at 2.8.4?

roy
My bad. On this occasion it was at the commit with the version number. Uploaded tag now.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Put the stratum URL in without any prefix in the config file.
hero member
Activity: 988
Merit: 1000
I'm using 2.8.4 now but the stratum implementation seems to be broken. I have the same behaviour in all 2.8.x versions (see my post). It seems that stratum+tcp:// URLs in the config file are not working.


Use the normal address btcguild.com:8332 - it will automatically detect stratum and switch
legendary
Activity: 2730
Merit: 1263
I'm using 2.8.4 now but the stratum implementation seems to be broken. I have the same behaviour in all 2.8.x versions (see my post). It seems that stratum+tcp:// URLs in the config file are not working.
hero member
Activity: 563
Merit: 500
I don't seem to be able to see a v2.8.4 tag in git - can I just assume that the tip of the master branch is at 2.8.4?

roy
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
I feel like an idiot, sorry in advance but...

Where is the scrypt readme ?

please don't hurt me, but I looked on cons page and can only see the cgminer readme.

Thanks.
SCRYPT-README ...

Edit: or in the windows binary release: SCRYPT-README.txt
hero member
Activity: 535
Merit: 500
I feel like an idiot, sorry in advance but...

Where is the scrypt readme ?

please don't hurt me, but I looked on cons page and can only see the cgminer readme.

Thanks.
Jump to: