Pages:
Author

Topic: BFGMiner 5.5.0: CPU/GPU/FPGA/ASIC mining software, GBT+Stratum, RPC, Linux/Win64 - page 2. (Read 834570 times)

legendary
Activity: 2576
Merit: 1186
I keep playing with bfgminer 5.5.0 and my antminers, but it does not appear to be stable.  After 10-15 minutes I get a segmentation fault.

Tried 5.4.2 & 5.5.0 via gentoo distribution, and a hand compiled 5.5.0.  All behave the same.

Any suggestions?
Run it in gdb and/or valgrind and report a backtrace.
copper member
Activity: 658
Merit: 101
Math doesn't care what you believe.
I keep playing with bfgminer 5.5.0 and my antminers, but it does not appear to be stable.  After 10-15 minutes I get a segmentation fault.

Tried 5.4.2 & 5.5.0 via gentoo distribution, and a hand compiled 5.5.0.  All behave the same.

Any suggestions?
copper member
Activity: 658
Merit: 101
Math doesn't care what you believe.
Hi all -

Thought it would be fun to thow my old Antminer U1s and U2s against a bitcoin -testnet.

Plugged the Antminers into a usb hub, and plugged those into a Gentoo linux distribution, they should up just fine and now I have (7) ttyUSB[0-6] /dev entries - a good sign.

Starting Bfgminer 5.5.0 with the command line:  
Code:
bfgminer -D -S bitmain:all -o $POOL -u $WORKER -p x

The screen clears and I get:

Code:
[2018-07-12 11:57:00] Waiting for devices; press 'M+' to add, or 'Q' to quit
 

After a minute or two the process allows me to do the M+ but does not find any devices, even if I use the full /dev/ttyUSBx format.


Any hints?  Use to run bfgminer a lot back in 2014, so I suspect I'm just doing something stupid, like using the wrong -S argument for antminer U1s.

My portage USE flags contain "... sha256d bitmain".  Also:

Code:
Dev ~ # bfgminer -V
bfgminer 5.5.0
  Lowlevel: usb vcom
  Drivers: bitmain
  Algorithms: SHA256d
  Options: ncursesw6

Update:  Dug through the code a bit and discovered "bitmain" apparently is for S1-S5 only.  Rebuilt using the "icarus" instead of "bitmain" USE flag and now see:
Code:
Dev ~ # bfgminer -V
bfgminer 5.5.0
  Lowlevel: usb vcom
  Drivers: antminer cairnsmore compac erupter icarus
  Algorithms: SHA256d
  Options: ncursesw6


Of course, the startup script was modified to use: antminer instead of bfgminer.
Code:
bfgminer -S antminer:auto -o $POOL -u $WORKER -p x

Noticed when I tried M+ adding miners a VERY brief "you don't have access" type message poped up, so I tried as Root and vola! it found the devices.

Final note: at least for antminers, it should be "-S antminer:all" not "-S antminer:auto".

Is there a way to run bfgminer on a regular user instead of as root?

newbie
Activity: 2
Merit: 0
OK, I've found the issue… it is related to the new SegWit address format used by Litecoin (I am using Litecoin Core 0.16.0), my Litecoin address is a M one, it needs to be converted to a 3 one and everything works fine.

More information on this site which help me to understood my issue + link to the address converter.

https://blog.trezor.io/litecoins-new-p2sh-segwit-addresses-843633e3e707

Converter: https://litecoin-project.github.io/p2sh-convert/
newbie
Activity: 8
Merit: 0
Hello,

I'm trying to do solomining with USB blockerupter just for fun.
I have bitcoin core fully synced and bfgminer connected.

It seems it does mine but when looking at the monitoring via RPC, for example miner.php, it shows Status failover.
Is it expected or do I have something wrong?

Also I have additional question regarding --coinbase-address.
Can it be any address I chose, or do I need to use a address which is known to wallet in bitcoin-core?

Thank you
https://imgur.com/a/BG02PpN
legendary
Activity: 2576
Merit: 1186
http://bfgminer.org/ is 404 for me.

Anyone knows when come backs?
It's not an official website anyway. Everything official is in this thread.
newbie
Activity: 9
Merit: 0
http://bfgminer.org/ is 404 for me.

Anyone knows when come backs?
newbie
Activity: 2
Merit: 0
Hi,

I have an issue with solo mining litecoin.
I have my wallet installed on windows and try to run bfgminer.

When I run:

bfgminer -o http://127.0.0.1:9332 --userpass=dufric:1 --no-getwork --scrypt

I have the following error:

Quote
[2018-06-27 23:27:24] No servers were found that could be used to get work from.
[2018-06-27 23:27:24] Please check the details from the list below of the servers you have input
[2018-06-27 23:27:24] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers

When I run:

bfgminer -o http://127.0.0.1:9332 --userpass=dufric:1 --no-getwork --scrypt --coinbase-addr

This force GBT but I got an invalid address error:
Quote
[2018-06-27 23:50:53] ./bfgminer: --coinbase-addr: Invalid address


But when I run:
bfgminer -o http://127.0.0.1:9332 --userpass=dufric:1 --no-getwork --scrypt --coinbase-addr

Quote
[2018-06-28 01:36:29] Probing for an alive pool
[2018-06-28 01:36:30] Network difficulty changed to 10.5M (74.86T)
[2018-06-28 01:36:30] Pool 0 http://127.0.0.1:9332 alive
[2018-06-28 01:36:30] Long-polling activated for http://127.0.0.1:9332 (getblocktemplate)

It works while the address is not a litecon one !

What's wrong ?

Thanks for your help

legendary
Activity: 3164
Merit: 2258
I fix broken miners. And make holes in teeth :-)
Depending on the Monarch you might need a special version of 4.2.0 to make it work. Does it have two power plugs or three?

(why? why do I keep helping on these things? :-)
newbie
Activity: 3
Merit: 0
can anyone tell me what this mean please I have been trying to get this up and running for me to learn and understand how the asic miners work before I put more money in to my hobby

https://serving.photos.photobox.com/1159706365e5cde80c7169f94c8dd517010f18ca029a134082daa6b5445d51fbc7184553.jpg
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
Has anyone been able to get bfgminer to run on startup of a pi3 running Raspbian?
There's a bundled start-bfgminer script to do just that...

Yes, but it will not automatically startup when the pi starts.
Did you put it in the /etc/init.d folder (with all the proper settings?)
-Dave

As a newbe I am not sure what you are talking about. Put what in the /etc/init.d folder?
The script to run BFG

https://www.ghacks.net/2009/04/04/get-to-know-linux-the-etcinitd-directory/

-Dave
newbie
Activity: 88
Merit: 0
Has anyone been able to get bfgminer to run on startup of a pi3 running Raspbian?
There's a bundled start-bfgminer script to do just that...

Yes, but it will not automatically startup when the pi starts.
Did you put it in the /etc/init.d folder (with all the proper settings?)
-Dave

As a newbe I am not sure what you are talking about. Put what in the /etc/init.d folder?
newbie
Activity: 1
Merit: 0
Hey,

I have a concern, not sure if its just a communication error or if its an issue. I'm a noob to cryptomining and have no programming knowledge what so ever.

After a lot of researching and several weeks of trial and error, I was finally able to get my Antminer S9 to connect to BFGminer 5.4.2 and solo mine on my localhost via the bitcoin-qt.

However, the hashrate is way off. My antminer is showing some whacky hashrate, and the BFGminer is saying something completely different.

https://imgur.com/a/amRNrRT

You can see my conf files and screenshots of both the BFGminer and the S9 in the link above. What exactly is going on here? Am I using the full 189 asics or just 9? Is there a way to fix this?

Would be most grateful! Thanks in advance.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
Has anyone been able to get bfgminer to run on startup of a pi3 running Raspbian?
There's a bundled start-bfgminer script to do just that...

Yes, but it will not automatically startup when the pi starts.
Did you put it in the /etc/init.d folder (with all the proper settings?)
-Dave
legendary
Activity: 2576
Merit: 1186
Has anyone been able to get bfgminer to run on startup of a pi3 running Raspbian?
There's a bundled start-bfgminer script to do just that...

Yes, but it will not automatically startup when the pi starts.
That's what cron is for.
newbie
Activity: 88
Merit: 0
Has anyone been able to get bfgminer to run on startup of a pi3 running Raspbian?
There's a bundled start-bfgminer script to do just that...

Yes, but it will not automatically startup when the pi starts.
legendary
Activity: 2576
Merit: 1186
Has anyone been able to get bfgminer to run on startup of a pi3 running Raspbian?
There's a bundled start-bfgminer script to do just that...
newbie
Activity: 88
Merit: 0
Has anyone been able to get bfgminer to run on startup of a pi3 running Raspbian?
jr. member
Activity: 105
Merit: 1
I have two Block USB miners I wanted to toss up on a windows box I am mining Eth with. I downloaded the Win64 version from the site, but I only see a bfgminer-rpc.exe and when I run it nothing, just hangs. Anyone got info on how to get this configured and running with these block BTC miners?

Thanks!

You have copied ALL files from the zip file to a new folder? For some reason windows defender or McAfee didn't allow all files to be extracted, just 4 files or something. So be sure to check that and extract them manually and disable any virusscanner that could be throwing sand in the gears.
newbie
Activity: 16
Merit: 2
Getting a problem installing this.  States in the readme to run ./configure but I don't have a file by that name.

Fixed it.  The "configure" file didn't exist because autogen.sh encountered errors.  I needed to install a couple of packages so that autogen.sh would run properly.  When it did, it created the "configure" file.

Needed to install pkg-config and libgcrypt20-dev, like so:

Code:
apt-get install -y pkg-config libgcrypt20-dev

I had previously installed all the recommended packages/dependencies which included pkg-config but not libgcrypt20-dev.




Pages:
Jump to: