Pages:
Author

Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB - page 17. (Read 1193208 times)

sr. member
Activity: 376
Merit: 250
Ok, so first things first, disclaimer, I'm not a Linux guy, so please forgive me if I'm making a dumb mistake here.  I've also never used bgfminer so I've got that working against me as well. 

Thanks to everyone who helped me figure this out...here's a revised version of how to compile bfgminer for a RasPi...

------------------------------------------------
Steps I took to build BFGMiner from source:
------------------------------------------------

//update my RasPi first
Code:
sudo apt-get update

//saw this on the linux build instructions, so I presume I need these as pre-requisites to compiling bfgminer
Code:
sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev 

sudo apt-get install libjansson-dev uthash-dev libncurses5-dev libudev-dev libusb-1.0-0-dev libevent-dev

//cloned nwoolls version of bfgminer which has beta support for the miners in question
Code:
git clone -b feature/gridseed-support https://github.com/nwoolls/bfgminer

//build it
Code:
cd bfgminer

./autogen.sh

./configure CFLAGS="-O3" --enable-scrypt --enable-gridseed

make

sudo make install

sudo ldconfig

//trying to run it
Code:
sudo ./bfgminer -S gridseed:all --set-device gridseed:clock=850 --failover-only --scrypt -c bfgminer.conf

Here's what my bfgminer.conf looks like for reference:
Code:
{
"pools" : [
        {
                "name" : "GHashIO-1",
                "url" : "stratum+tcp://ltc.ghash.io:3333",
                "user" : "worldly.2",
                "pass" : "x",
                "pool-priority" : "0"
        }
],
"api-allow" : "W:127.0.0.1,192.168.1/24",
"api-listen" : true
}

sr. member
Activity: 376
Merit: 250
Use this
Code:
git clone -b feature/gridseed-support https://github.com/nwoolls/bfgminer
Instead of
Code:
git clone https://github.com/nwoolls/bfgminer.git
to include Gridseed support

Ok, tried it again with the revised git clone command you provided.

I then used the following command to configure it, and it now does list gridseed in there! Smiley  It's currently compiling now...I'll post again after its done and I've retried running bfgminer.

Code:
./configure CFLAGS="-O3" --enable-scrypt --enable-gridseed

Output from the configure command:
Code:
------------------------------------------------------------------------
bfgminer 3.10.0 configuration options summary
------------------------------------------------------------------------

  CFLAGS...............: -pthread -O3 -I/usr/include/libusb-1.0 -pthread -Ilibblkmaker
  LDFLAGS..............: -pthread -Llibblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs,-zorigin -lpthread -lcurl -ljansson -lncurses -ltinfo -lm -ludev -lusb-1.0 -lrt -lblkmaker_jansson-0.1 -lblkmaker-0.1
  Installation.prefix..: /usr/local

  Enabled..Lowlevel....: pci pci:uio usb vcom
  Disabled.Lowlevel....: hid pci:vfio
  Enabled..Drivers.....: antminer avalon bifury bigpic bitforce bitforce:uio bitfury_gpio cairnsmore drillbit erupter gridseed hashbusteravalon hashbusterusb hashfast icarus klondike littlefury modminer proxy proxy:stratum twinfury x6500 ztex
  Disabled.Drivers.....: bfsb cpu hashbuster knc metabank nanofury opencl proxy:getwork
    To enable proxy:getwork, install libmicrohttpd 0.9.5+
    To enable nanofury, install hidapi
    To enable hashbuster, install hidapi
  Enabled..Algorithms..: SHA256d scrypt
  Disabled.Algorithms..:
  Enabled..Options.....: libusb ncurses5
  Disabled.Options.....:


Many thanks for the help guys!!!

hero member
Activity: 616
Merit: 500
Use this
Code:
git clone -b feature/gridseed-support https://github.com/nwoolls/bfgminer
Instead of
Code:
git clone https://github.com/nwoolls/bfgminer.git
to include Gridseed support
hero member
Activity: 626
Merit: 500
Mining since May 2011.
is there an authoritative source somewhere to show exactly how to install this on ubuntu/pi for gridseed/lts mining?

^^^^^ That i am wondering as well..

for ubuntu, you can follow this guide (building from source) :

http://minecoin.net/how-to-use-the-miner/

Ok, so first things first, disclaimer, I'm not a Linux guy, so please forgive me if I'm making a dumb mistake here.  I've also never used bgfminer so I've got that working against me as well. 

Here's what I did to try and build bfgminer on my RasPi to try and run my 5-chip Gridseed miners.  Only problem is that when I start it, bfgminer says no devices found.  Clearly I've screwed the pooch somewhere.  Any help is appreciated.

------------------------------------------------
Steps I took to build BFGMiner from source:
------------------------------------------------

//update my RasPi first
Code:
sudo apt-get update

//saw this on the linux build instructions, so I presume I need these as pre-requisites to compiling bfgminer
Code:
sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev 
sudo apt-get install libjansson-dev uthash-dev libncurses5-dev libudev-dev libusb-1.0-0-dev libevent-dev

//cloned nwoolls version of bfgminer which has beta support for the miners in question
Code:
git clone https://github.com/nwoolls/bfgminer.git

//build it
Code:
cd bfgminer
./autogen.sh
//Found the flags option in a different set of build instructions but presumed we needed it here as well
./configure CFLAGS="-O3" --enable-scrypt --enable-gridseed
make
sudo make install
sudo ldconfig
After it finished this step:
Code:
./configure CFLAGS="-O3" --enable-scrypt --enable-gridseed
In the output, did you see "gridseed" listed in the options enabled or in the list of drivers?
sr. member
Activity: 376
Merit: 250
is there an authoritative source somewhere to show exactly how to install this on ubuntu/pi for gridseed/lts mining?

^^^^^ That i am wondering as well..

for ubuntu, you can follow this guide (building from source) :

http://minecoin.net/how-to-use-the-miner/

Ok, so first things first, disclaimer, I'm not a Linux guy, so please forgive me if I'm making a dumb mistake here.  I've also never used bgfminer so I've got that working against me as well. 

Here's what I did to try and build bfgminer on my RasPi to try and run my 5-chip Gridseed miners.  Only problem is that when I start it, bfgminer says no devices found.  Clearly I've screwed the pooch somewhere.  Any help is appreciated.

------------------------------------------------
Steps I took to build BFGMiner from source:
------------------------------------------------

//update my RasPi first
Code:
sudo apt-get update

//saw this on the linux build instructions, so I presume I need these as pre-requisites to compiling bfgminer
Code:
sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev 
sudo apt-get install libjansson-dev uthash-dev libncurses5-dev libudev-dev libusb-1.0-0-dev libevent-dev

//cloned nwoolls version of bfgminer which has beta support for the miners in question
Code:
git clone https://github.com/nwoolls/bfgminer.git

//build it
Code:
cd bfgminer
./autogen.sh
//Found the flags option in a different set of build instructions but presumed we needed it here as well
./configure CFLAGS="-O3" --enable-scrypt --enable-gridseed
make
sudo make install
sudo ldconfig

//trying to run it
Code:
sudo ./bfgminer -S gridseed:all --set-device gridseed:clock=850 --failover-only --scrypt -c bfgminer.conf

Here's what my bfgminer.conf looks like for reference:
Code:
{
"pools" : [
        {
                "name" : "GHashIO-1",
                "url" : "stratum+tcp://ltc.ghash.io:3333",
                "user" : "worldly.2",
                "pass" : "x",
                "pool-priority" : "0"
        }
],
"api-allow" : "W:127.0.0.1,192.168.1/24",
"api-listen" : true
}





hero member
Activity: 616
Merit: 500
Has anyone been running their GridSeed Farm 24/7 stably WITHOUT ANY INTERVENTION WHATSOEVER?

IF so, please tell me what your configuration is so WE can all set these things and not have to worry about this elusive little bug!!!?Huh

Has anyone come up with a macro to take care of detecting the hault then restarting each miner in cpuminer?

Are you using CPUMiner or BFGMiner? I use the current BFGMiner pre-release with GridSeed support running for days without issue (on Windows).

 """""cpuminer""""" it's in my post..

so what? What hardware are you using? Are you using direct USB to PC or USB via controller?
anyway....

jeez man calm down... a few points here...

1. Your'e posting in the BFGMiner thread about CPUMiner... shouldn't expect help, but people here are trying to help you anyway.
2. You're being pretty rude to nwoolls who's the guy who coded Gridseed support in BFGMiner.  If anyone can help you, he can... show some respect and maybe he can help.
3. Why don't you try the BFGMiner version with Gridseed support that nwoolls made... it could help you with your stability issues and get rid of some of your obvious stress.
4. How about get a beer, calm down, and then try writing a post that doesn't bite every hand that tries to help you.
+1

- 1000
non-sequitur gibberish!

BFGMiner with Gridseed support is pretty stable for me, why not use it instead of CPUMiner, and stop making a fool of yourself... ?
sr. member
Activity: 378
Merit: 250
Has anyone been running their GridSeed Farm 24/7 stably WITHOUT ANY INTERVENTION WHATSOEVER?

IF so, please tell me what your configuration is so WE can all set these things and not have to worry about this elusive little bug!!!?Huh

Has anyone come up with a macro to take care of detecting the hault then restarting each miner in cpuminer?

Are you using CPUMiner or BFGMiner? I use the current BFGMiner pre-release with GridSeed support running for days without issue (on Windows).

 """""cpuminer""""" it's in my post..

so what? What hardware are you using? Are you using direct USB to PC or USB via controller?
anyway....

jeez man calm down... a few points here...

1. Your'e posting in the BFGMiner thread about CPUMiner... shouldn't expect help, but people here are trying to help you anyway.
2. You're being pretty rude to nwoolls who's the guy who coded Gridseed support in BFGMiner.  If anyone can help you, he can... show some respect and maybe he can help.
3. Why don't you try the BFGMiner version with Gridseed support that nwoolls made... it could help you with your stability issues and get rid of some of your obvious stress.
4. How about get a beer, calm down, and then try writing a post that doesn't bite every hand that tries to help you.
+1

- 1000
non-sequitur gibberish!
full member
Activity: 134
Merit: 100
Has anyone been running their GridSeed Farm 24/7 stably WITHOUT ANY INTERVENTION WHATSOEVER?

IF so, please tell me what your configuration is so WE can all set these things and not have to worry about this elusive little bug!!!?Huh

Has anyone come up with a macro to take care of detecting the hault then restarting each miner in cpuminer?

Are you using CPUMiner or BFGMiner? I use the current BFGMiner pre-release with GridSeed support running for days without issue (on Windows).

 """""cpuminer""""" it's in my post..

so what? What hardware are you using? Are you using direct USB to PC or USB via controller?
anyway....

jeez man calm down... a few points here...

1. Your'e posting in the BFGMiner thread about CPUMiner... shouldn't expect help, but people here are trying to help you anyway.
2. You're being pretty rude to nwoolls who's the guy who coded Gridseed support in BFGMiner.  If anyone can help you, he can... show some respect and maybe he can help.
3. Why don't you try the BFGMiner version with Gridseed support that nwoolls made... it could help you with your stability issues and get rid of some of your obvious stress.
4. How about get a beer, calm down, and then try writing a post that doesn't bite every hand that tries to help you.
+1
sr. member
Activity: 378
Merit: 250
Has anyone been running their GridSeed Farm 24/7 stably WITHOUT ANY INTERVENTION WHATSOEVER?

IF so, please tell me what your configuration is so WE can all set these things and not have to worry about this elusive little bug!!!?Huh

Has anyone come up with a macro to take care of detecting the hault then restarting each miner in cpuminer?

Are you using CPUMiner or BFGMiner? I use the current BFGMiner pre-release with GridSeed support running for days without issue (on Windows).

 """""cpuminer""""" it's in my post..

so what? What hardware are you using? Are you using direct USB to PC or USB via controller?
anyway....

jeez man calm down... a few points here...

1. Your'e posting in the BFGMiner thread about CPUMiner... shouldn't expect help, but people here are trying to help you anyway.
2. You're being pretty rude to nwoolls who's the guy who coded Gridseed support in BFGMiner.  If anyone can help you, he can... show some respect and maybe he can help.
3. Why don't you try the BFGMiner version with Gridseed support that nwoolls made... it could help you with your stability issues and get rid of some of your obvious stress.
4. How about get a beer, calm down, and then try writing a post that doesn't bite every hand that tries to help you.

This is NO HELP!
DELETE!
hero member
Activity: 798
Merit: 1000
Has anyone been running their GridSeed Farm 24/7 stably WITHOUT ANY INTERVENTION WHATSOEVER?

IF so, please tell me what your configuration is so WE can all set these things and not have to worry about this elusive little bug!!!?Huh

Has anyone come up with a macro to take care of detecting the hault then restarting each miner in cpuminer?

Are you using CPUMiner or BFGMiner? I use the current BFGMiner pre-release with GridSeed support running for days without issue (on Windows).

 """""cpuminer""""" it's in my post..

so what? What hardware are you using? Are you using direct USB to PC or USB via controller?
anyway....

jeez man calm down... a few points here...

1. Your'e posting in the BFGMiner thread about CPUMiner... shouldn't expect help, but people here are trying to help you anyway.
2. You're being pretty rude to nwoolls who's the guy who coded Gridseed support in BFGMiner.  If anyone can help you, he can... show some respect and maybe he can help.
3. Why don't you try the BFGMiner version with Gridseed support that nwoolls made... it could help you with your stability issues and get rid of some of your obvious stress.
4. How about get a beer, calm down, and then try writing a post that doesn't bite every hand that tries to help you.
sr. member
Activity: 434
Merit: 265
Has anyone been running their GridSeed Farm 24/7 stably WITHOUT ANY INTERVENTION WHATSOEVER?

IF so, please tell me what your configuration is so WE can all set these things and not have to worry about this elusive little bug!!!?Huh

Has anyone come up with a macro to take care of detecting the hault then restarting each miner in cpuminer?

Are you using CPUMiner or BFGMiner? I use the current BFGMiner pre-release with GridSeed support running for days without issue (on Windows).

Does Multiminer already uses the gridseed compatible ... bfgminer?

EDIT: just saa it is implemented only in v2.8.1... Official support for 1-chip and 5-chip GridSeed ASICs (requires BFGMiner 4.0)
hero member
Activity: 840
Merit: 1002
Has anyone been running their GridSeed Farm 24/7 stably WITHOUT ANY INTERVENTION WHATSOEVER?

IF so, please tell me what your configuration is so WE can all set these things and not have to worry about this elusive little bug!!!?Huh

Has anyone come up with a macro to take care of detecting the hault then restarting each miner in cpuminer?

Are you using CPUMiner or BFGMiner? I use the current BFGMiner pre-release with GridSeed support running for days without issue (on Windows).
sr. member
Activity: 378
Merit: 250
My 6 GS5's ran for 30+ hours this time before they stopped mining.

After chasing up this problem and trying to solve it over the last few weeks, I've tried virtually everything short of re-programing the firmware on my miners, which I cannot do - obviously.

Darn it!!!! Right after I went to sleep, it takes a piss! AAarrrrrrrrrrrrggggggggghhhhhhhhhhh!

I wonder if GridSeed engineers left this but in their miners' firmware?

Has anyone been running their GridSeed Farm 24/7 stably WITHOUT ANY INTERVENTION WHATSOEVER?

IF so, please tell me what your configuration is so WE can all set these things and not have to worry about this elusive little bug!!!?Huh

Has anyone come up with a macro to take care of detecting the hault then restarting each miner in cpuminer?
All I need is for it to monitor the window of each miner and when it stops producing yay's for say, 3 or so minutes, it stops the program without closing the window, resets the port, then restarts each miner 5 seconds apart.

Thanks
Wolfey2014
full member
Activity: 181
Merit: 100
is there an authoritative source somewhere to show exactly how to install this on ubuntu/pi for gridseed/lts mining?

^^^^^ That i am wondering as well..

for ubuntu, you can follow this guide (building from source) :

http://minecoin.net/how-to-use-the-miner/
newbie
Activity: 41
Merit: 0
I have bfgminer installed and working on raspbian (I used it some days ago with some antminer). Is it possible to simply add gridseed support?
member
Activity: 61
Merit: 10
Texas Proud
I may have found a bug... but no matter what pool i point this too the reported diff is 0. Is that the way it was suppose to be ?

It's like that for all Scrypt mining in BFGMiner AFAIK - something I need to talk to Luke about.

I admire your work, N.
I am looking for a dual mining solution with the PI and 5-chip Gridseeds. Any chance you and Luke will work in that direction?
JBT
full member
Activity: 165
Merit: 100
hi there!  I'm studying Python and R and trying to pay for food and tuition.  Is there a thread to get started with mining, I have an AMD X2 5000 with an older NVIDIA Gforce.  I downloaded the cgminer, there seem to be programs that are more efficient.  I think the Radeon 7970 may be the fastest hasher out there
cpu mining doesn't really generate much these days BTC , try scrypt mining
newbie
Activity: 2
Merit: 0
hi there!  I'm studying Python and R and trying to pay for food and tuition.  Is there a thread to get started with mining, I have an AMD X2 5000 with an older NVIDIA Gforce.  I downloaded the cgminer, there seem to be programs that are more efficient.  I think the Radeon 7970 may be the fastest hasher out there
hero member
Activity: 574
Merit: 500
Mining for the hell of it.
is there an authoritative source somewhere to show exactly how to install this on ubuntu/pi for gridseed/lts mining?

^^^^^ That i am wondering as well..
sr. member
Activity: 470
Merit: 250
Better to have 100 friends than 100 rubles
Hi guys...

Are you going to be supporting nscrypt anytime soon?  Saw a coin launch today that requires it:  "tenfive" (aka 10-5).

Cassey
Pages:
Jump to: