Bitcoin Forum
May 09, 2024, 04:27:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 [74] 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 ... 165 »
  Print  
Author Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB  (Read 1192942 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.
Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
November 17, 2013, 02:59:34 AM
Last edit: November 17, 2013, 03:14:47 AM by Zich
 #1461

My only guess is you built it on a vfat filesystem (why???)

 Grin, I am new to linux. I just get my pi yesterday. I use win32diskimager to write wheezy image to sd card without formating the disk.
1715228866
Hero Member
*
Offline Offline

Posts: 1715228866

View Profile Personal Message (Offline)

Ignore
1715228866
Reply with quote  #2

1715228866
Report to moderator
1715228866
Hero Member
*
Offline Offline

Posts: 1715228866

View Profile Personal Message (Offline)

Ignore
1715228866
Reply with quote  #2

1715228866
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 17, 2013, 03:12:21 AM
 #1462

Have you considered including your favorite build of hidapi in you git/configure?
No, I consider it a bug to embed libraries in software.
The only reason I still do it with libblkmaker is that no other software is using it yet.

I ask because Arch does not have a package for it yet and I prefer you build than one I can come up with (not that my builds are bad and don't work, just because you know the ins and outs of it better than I).
I have never used Arch, let alone made a package for it.
Perhaps whoever is maintaining the BFGMiner packages would be willing to do this.
Fair enough, I would like to contend that hidapi  is in the same boat (as you described) as libblkmaker though.  I will defend your choice to include those libraries because they make a better bfgminer.  Why one and not the other?
Perhaps not many, but there are other software using hidapi.

Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
November 17, 2013, 06:25:36 AM
Last edit: November 17, 2013, 06:39:27 AM by Zich
 #1463

run as root sudo bfgminer.

Gonna have some problems with your Nano Fury's on wheezy and PI.

If you don't ... let me know how you got them working.


Ok, now can run after reinstall all.
And the result is same with yours.
Code:
 [2013-11-17 13:19:32] Loaded configuration file /root/.bfgminer/bfgminer.conf
 [2013-11-17 13:19:33] Probing for an alive pool
 [2013-11-17 13:19:33] Pool 0 stratum+tcp://stratum.btcguild.com:3333 alive
 [2013-11-17 13:19:34] Network difficulty changed to 511M ( 3.66Ph/s)
 [2013-11-17 13:19:34] mcp2210_get_gpio_input: Failed to get current GPIO input values
 [2013-11-17 13:19:34] NFY 0: checkport failed
 [2013-11-17 13:19:34] NFY 0 failure


Any luck with older version?
Ok, my fault. I plug it directly to Pi. Waiting for my Dlink  Grin

What should i do if i want to add different version? Let the 3.6.0 folder intact and add new folder?
RicRock
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250



View Profile
November 17, 2013, 06:42:31 AM
 #1464


Ok, my fault. I plug it directly to Pi. Waiting for my Dlink  Grin

What should i do if i want to add different version? Let the 3.6.0 folder intact and add new folder?

Def needs a powered hub.

No luck on older versions for me.

I'm not good with git, not sure how you can move up and down in versions easily while maintaining your current version.
Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
November 17, 2013, 07:10:02 AM
 #1465


Def needs a powered hub.

No luck on older versions for me.

I'm not good with git, not sure how you can move up and down in versions easily while maintaining your current version.

Actually i am still in 3.6.0. Not sure how to add other version  Embarrassed
Digi128pci
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
November 17, 2013, 12:24:58 PM
 #1466

I got past that but i use USB powered hub ...

But it fails further ...

Code:
[M]anage devices [P]ool management [S]ettings [D]isplay options  [H]elp [Q]uit
 Connected to eu-stratum-lb489kj.btcguild.com diff 2 with stratum as user digi128pci_avalon
 Block: ...7ee030e7 #269461  Diff:511M ( 3.66Ph/s)  Started: [22:51:21]
 ST:2  F:0  NB:1  AS:0  BW:[163/ 31 B/s]  E:0.87  I:14.61uBTC/hr  BS:4
 0            | 202.4/263.0/178.1Mh/s | A:1 R:0+3( 75%) HW:8/ 33%
--------------------------------------------------------------------------------
 NFY 0:       | OFF  /272.7/184.7Mh/s | A:1 R:0+3( 75%) HW:8/ 33%
--------------------------------------------------------------------------------
 [2013-11-13 22:51:23] NFY 0: Previous nonce mismatch (4th try), recalibrating
 [2013-11-13 22:51:25] Accepted 3fa4ee98 NFY 0  Diff 4/2
 [2013-11-13 22:51:25] Stratum from pool 0 requested work update
 [2013-11-13 22:51:25] Pool 0 is hiding block contents from us
 [2013-11-13 22:51:25] Reconnect requested from pool 0 to eu-stratum-lb489kj.btcguild.com:3333
 [2013-11-13 22:51:26] Stratum from pool 0 requested work update
 [2013-11-13 22:51:32] mcp2210_spi_transfer: Failed to issue SPI transfer
 [2013-11-13 22:51:34] mcp2210_spi_transfer: Failed to continue SPI transfer (59 bytes remaining)
 [2013-11-13 22:51:34] NFY 0 failure, attempting to reinitialize
 [2013-11-13 22:51:34] mcp2210_set_cfg_spi: Error setting current SPI config (248)
 [2013-11-13 22:51:34] mcp2210_set_cfg_spi: Error setting current SPI config (248)
 [2013-11-13 22:51:34] NFY 0 failure, disabling!
 [2013-11-13 22:51:35] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
 [2013-11-13 22:51:35] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
 [2013-11-13 22:51:36] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
 [2013-11-13 22:51:37] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
djaychela
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
November 17, 2013, 05:00:47 PM
Last edit: November 17, 2013, 05:17:48 PM by djaychela
 #1467

I've been running 3.4.0 on SuSE linux (compiled from the git source) for a few weeks now, initially using Block Erupters, but last week I got a Red Fury, which works fine, aside from having LOTs of hardware errors (59% or so).

Just compiled 3.6.0 from source, get a segmentation fault when I try to run it - any ideas, given that 3.4.0 compiles and runs without issue?

Also, anyone got a link to a clear howto on getting a previous version from git?  I've done a fair bit of looking and found nothing that works, or that is helpful.  Downloading the zip/tar.gz of the source of 3.5.2 doesn't work as it won't compile from the files that github gives you; I've only had luck by cloning the repo which gives you only the current version, which obviously isn't any good to me...  I know there are good reasons for using git but it doesn't seem at all friendly to anyone who wants to download and compile a specific version.
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
November 17, 2013, 07:28:12 PM
 #1468

I've been running 3.4.0 on SuSE linux (compiled from the git source) for a few weeks now, initially using Block Erupters, but last week I got a Red Fury, which works fine, aside from having LOTs of hardware errors (59% or so).

Just compiled 3.6.0 from source, get a segmentation fault when I try to run it - any ideas, given that 3.4.0 compiles and runs without issue?

Also, anyone got a link to a clear howto on getting a previous version from git?  I've done a fair bit of looking and found nothing that works, or that is helpful.  Downloading the zip/tar.gz of the source of 3.5.2 doesn't work as it won't compile from the files that github gives you; I've only had luck by cloning the repo which gives you only the current version, which obviously isn't any good to me...  I know there are good reasons for using git but it doesn't seem at all friendly to anyone who wants to download and compile a specific version.

Much easier than you think.


git checkout [branchname]

https://www.atlassian.com/git/tutorial/git-branches#!checkout

curtiskam
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
November 17, 2013, 08:11:52 PM
 #1469

I've been using bfgminer for quite a while now and I love it.  One thing I've never been able to find is a current interface guide.  I understand most of the 3.6 interface, but could someone break down this line for me?

ST:28 F:2 NB:98 AS:0 BW:[137/90 B/s] E:26.81 I: 441uBTC/hr BS:65k

Thanks in advance: Curtis
xyzzy099
Legendary
*
Online Online

Activity: 1063
Merit: 1048



View Profile
November 17, 2013, 08:29:49 PM
 #1470

I've been using bfgminer for quite a while now and I love it.  One thing I've never been able to find is a current interface guide.  I understand most of the 3.6 interface, but could someone break down this line for me?

ST:28 F:2 NB:98 AS:0 BW:[137/90 B/s] E:26.81 I: 441uBTC/hr BS:65k

Thanks in advance: Curtis

From the BFGMiner README:

Quote
The BFGMiner status line shows:
 ST:1  F:0  NB:1  AS:0  BW:[ 75/241 B/s]  E:2.42  I:12.99mBTC/hr  BS:2.71k

ST is STaged work items (ready to use).
F  is network Failure occasions (server down or slow to provide work)
NB is New Blocks detected on the network
AS is Active Submissions (shares in the process of submitting)
BW is BandWidth usage on the network (received/sent)
E  is Efficiency defined as number of shares accepted (multiplied by their
          difficulty) per 2 KB of bandwidth
I  is expected Income, calculated by actual shares submitted in 100% PPS value
          (assumes Bitcoin, does not account for altcoin conversions!)
BS is the all time Best Share difficulty you've found

Libertarians:  Diligently plotting to take over the world and leave you alone.
djaychela
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
November 17, 2013, 09:21:30 PM
 #1471

I've been running 3.4.0 on SuSE linux (compiled from the git source) for a few weeks now, initially using Block Erupters, but last week I got a Red Fury, which works fine, aside from having LOTs of hardware errors (59% or so).

Just compiled 3.6.0 from source, get a segmentation fault when I try to run it - any ideas, given that 3.4.0 compiles and runs without issue?

Also, anyone got a link to a clear howto on getting a previous version from git?  I've done a fair bit of looking and found nothing that works, or that is helpful.  Downloading the zip/tar.gz of the source of 3.5.2 doesn't work as it won't compile from the files that github gives you; I've only had luck by cloning the repo which gives you only the current version, which obviously isn't any good to me...  I know there are good reasons for using git but it doesn't seem at all friendly to anyone who wants to download and compile a specific version.

Much easier than you think.


git checkout [branchname]

https://www.atlassian.com/git/tutorial/git-branches#!checkout
I'm clearly an idiot, as I've got nowhere with that.  I can't see how you can specify a previous version from that; running checkout only gives me M libblkmaker.  As I say, I can see how git is clearly useful for someone who is well versed in it and for version management on a project you are contributing to, but it's as clear as mud how I can get the source for 3.5.2 from it; to me, anyway, so I must be stupid.
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
November 17, 2013, 09:44:31 PM
Last edit: November 17, 2013, 09:56:08 PM by jedimstr
 #1472

I've been running 3.4.0 on SuSE linux (compiled from the git source) for a few weeks now, initially using Block Erupters, but last week I got a Red Fury, which works fine, aside from having LOTs of hardware errors (59% or so).

Just compiled 3.6.0 from source, get a segmentation fault when I try to run it - any ideas, given that 3.4.0 compiles and runs without issue?

Also, anyone got a link to a clear howto on getting a previous version from git?  I've done a fair bit of looking and found nothing that works, or that is helpful.  Downloading the zip/tar.gz of the source of 3.5.2 doesn't work as it won't compile from the files that github gives you; I've only had luck by cloning the repo which gives you only the current version, which obviously isn't any good to me...  I know there are good reasons for using git but it doesn't seem at all friendly to anyone who wants to download and compile a specific version.

Much easier than you think.


git checkout [branchname]

https://www.atlassian.com/git/tutorial/git-branches#!checkout
I'm clearly an idiot, as I've got nowhere with that.  I can't see how you can specify a previous version from that; running checkout only gives me M libblkmaker.  As I say, I can see how git is clearly useful for someone who is well versed in it and for version management on a project you are contributing to, but it's as clear as mud how I can get the source for 3.5.2 from it; to me, anyway, so I must be stupid.

Should be something along the lines of:

git checkout bfgminer-3.5.x

Do this in the directory you have bfgminer cloned. This will switch the local workspace to that branch.

You can also jump to a specific Tag (version). Instructions here: http://stackoverflow.com/questions/791959/how-to-use-git-to-download-a-particular-tag

xyzzy099
Legendary
*
Online Online

Activity: 1063
Merit: 1048



View Profile
November 17, 2013, 09:49:40 PM
 #1473

I am using the version 3.4.0 BFGMiner that is distributed as part of Bertmod 0.3 on my KnCMiner Saturn.  I added the lines:

Code:
"coinbase-addr": <my payout address>,
"coinbase-sig": <My block sig>

to the end of the config file, because I wanted to solo mine on my local bitcoin-qt.

It doesn't generate any errors, but the hashrate goes down from ~285 GH/s to more like 10 GH/s  Huh

If I remove the above two lines, it goes back to normal.

Anybody have any idea what is going wrong here?

Libertarians:  Diligently plotting to take over the world and leave you alone.
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
November 17, 2013, 09:57:53 PM
 #1474

I am using the version 3.4.0 BFGMiner that is distributed as part of Bertmod 0.3 on my KnCMiner Saturn.  I added the lines:

Code:
"coinbase-addr": <my payout address>,
"coinbase-sig": <My block sig>

to the end of the config file, because I wanted to solo mine on my local bitcoin-qt.

It doesn't generate any errors, but the hashrate goes down from ~285 GH/s to more like 10 GH/s  Huh

If I remove the above two lines, it goes back to normal.

Anybody have any idea what is going wrong here?


How long has your bitcoin-qt been running. Is the Blockchain fully up-to-date or is it still updating?

Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 17, 2013, 10:07:58 PM
 #1475

I am using the version 3.4.0 BFGMiner that is distributed as part of Bertmod 0.3 on my KnCMiner Saturn.  I added the lines:

Code:
"coinbase-addr": <my payout address>,
"coinbase-sig": <My block sig>

to the end of the config file, because I wanted to solo mine on my local bitcoin-qt.

It doesn't generate any errors, but the hashrate goes down from ~285 GH/s to more like 10 GH/s  Huh

If I remove the above two lines, it goes back to normal.

Anybody have any idea what is going wrong here?

Is it using 100% CPU, or less? I wonder if the BBB can't keep up with generating work via GBT...

xyzzy099
Legendary
*
Online Online

Activity: 1063
Merit: 1048



View Profile
November 17, 2013, 10:15:07 PM
 #1476

I am using the version 3.4.0 BFGMiner that is distributed as part of Bertmod 0.3 on my KnCMiner Saturn.  I added the lines:

Code:
"coinbase-addr": <my payout address>,
"coinbase-sig": <My block sig>

to the end of the config file, because I wanted to solo mine on my local bitcoin-qt.

It doesn't generate any errors, but the hashrate goes down from ~285 GH/s to more like 10 GH/s  Huh

If I remove the above two lines, it goes back to normal.

Anybody have any idea what is going wrong here?

Is it using 100% CPU, or less? I wonder if the BBB can't keep up with generating work via GBT...

Yeah, looks like that's it - always over 95% CPU when GBT is enabled, ~22% otherwise.

Bummer.

Libertarians:  Diligently plotting to take over the world and leave you alone.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 17, 2013, 10:23:46 PM
 #1477

I am using the version 3.4.0 BFGMiner that is distributed as part of Bertmod 0.3 on my KnCMiner Saturn.  I added the lines:

Code:
"coinbase-addr": <my payout address>,
"coinbase-sig": <My block sig>

to the end of the config file, because I wanted to solo mine on my local bitcoin-qt.

It doesn't generate any errors, but the hashrate goes down from ~285 GH/s to more like 10 GH/s  Huh

If I remove the above two lines, it goes back to normal.

Anybody have any idea what is going wrong here?

Is it using 100% CPU, or less? I wonder if the BBB can't keep up with generating work via GBT...

Yeah, looks like that's it - always over 95% CPU when GBT is enabled, ~22% otherwise.

Bummer.

GBT is entirely unoptimised right now, so there's a possibility of improving it.
In theory, I should be able to reduce its CPU load to approximately the same as stratum's.
Just need to find the time... Smiley

xyzzy099
Legendary
*
Online Online

Activity: 1063
Merit: 1048



View Profile
November 17, 2013, 10:36:55 PM
 #1478

I am using the version 3.4.0 BFGMiner that is distributed as part of Bertmod 0.3 on my KnCMiner Saturn.  I added the lines:

Code:
"coinbase-addr": <my payout address>,
"coinbase-sig": <My block sig>

to the end of the config file, because I wanted to solo mine on my local bitcoin-qt.

It doesn't generate any errors, but the hashrate goes down from ~285 GH/s to more like 10 GH/s  Huh

If I remove the above two lines, it goes back to normal.

Anybody have any idea what is going wrong here?

Is it using 100% CPU, or less? I wonder if the BBB can't keep up with generating work via GBT...

Yeah, looks like that's it - always over 95% CPU when GBT is enabled, ~22% otherwise.

Bummer.

GBT is entirely unoptimised right now, so there's a possibility of improving it.
In theory, I should be able to reduce its CPU load to approximately the same as stratum's.
Just need to find the time... Smiley

Yeah, I imagine your plate is pretty full.  I like the idea of GBT in general- it enforces some honesty on pool operators (not that any of them are dishonest, to my knowledge Wink), and it is currently the ONLY real way to solo mine with ASIC h/w without all the complexity of installing and configuring stratum pool software - but it does seem to be pretty heavy-weight at the moment.  I notice that even Eligius will auto-switch you to stratum if you try to use GBT, unless you explicitly disable stratum.

I hope you find some time to look into it soon.

Libertarians:  Diligently plotting to take over the world and leave you alone.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 17, 2013, 10:49:05 PM
 #1479

I like the idea of GBT in general- it enforces some honesty on pool operators (not that any of them are dishonest, to my knowledge Wink)
Even if you assume the pool operator is perfectly honest, blind pooling makes the servers an excellent target for someone to break into...
If you can double-spend enough, it might even be profitable to organise a hold-up of all the big pool operators and force them to let you access the servers so you can do a 10-deep reorg or so.
Fully implemented GBT will make this kind of attack impractical, thus giving pool operators more personal security too. Smiley

Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
November 18, 2013, 12:34:38 AM
 #1480

I got past that but i use USB powered hub ...

But it fails further ...

Code:
[M]anage devices [P]ool management [S]ettings [D]isplay options  [H]elp [Q]uit
 Connected to eu-stratum-lb489kj.btcguild.com diff 2 with stratum as user digi128pci_avalon
 Block: ...7ee030e7 #269461  Diff:511M ( 3.66Ph/s)  Started: [22:51:21]
 ST:2  F:0  NB:1  AS:0  BW:[163/ 31 B/s]  E:0.87  I:14.61uBTC/hr  BS:4
 0            | 202.4/263.0/178.1Mh/s | A:1 R:0+3( 75%) HW:8/ 33%
--------------------------------------------------------------------------------
 NFY 0:       | OFF  /272.7/184.7Mh/s | A:1 R:0+3( 75%) HW:8/ 33%
--------------------------------------------------------------------------------
 [2013-11-13 22:51:23] NFY 0: Previous nonce mismatch (4th try), recalibrating
 [2013-11-13 22:51:25] Accepted 3fa4ee98 NFY 0  Diff 4/2
 [2013-11-13 22:51:25] Stratum from pool 0 requested work update
 [2013-11-13 22:51:25] Pool 0 is hiding block contents from us
 [2013-11-13 22:51:25] Reconnect requested from pool 0 to eu-stratum-lb489kj.btcguild.com:3333
 [2013-11-13 22:51:26] Stratum from pool 0 requested work update
 [2013-11-13 22:51:32] mcp2210_spi_transfer: Failed to issue SPI transfer
 [2013-11-13 22:51:34] mcp2210_spi_transfer: Failed to continue SPI transfer (59 bytes remaining)
 [2013-11-13 22:51:34] NFY 0 failure, attempting to reinitialize
 [2013-11-13 22:51:34] mcp2210_set_cfg_spi: Error setting current SPI config (248)
 [2013-11-13 22:51:34] mcp2210_set_cfg_spi: Error setting current SPI config (248)
 [2013-11-13 22:51:34] NFY 0 failure, disabling!
 [2013-11-13 22:51:35] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
 [2013-11-13 22:51:35] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
 [2013-11-13 22:51:36] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries
 [2013-11-13 22:51:37] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries

I got similar result after using usb hub
Pages: « 1 ... 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 [74] 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 ... 165 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!