JonSnow (OP)
Member
Offline
Activity: 112
Merit: 10
|
|
April 14, 2013, 03:14:36 AM |
|
I recently received my modminer quad, have set it up, have set up Ubuntu, and have set up BFGMiner 3.0. BFGMiner seems to run just fine, but it doesn't detect my FPGA cards. Being new to Linux, I'm not exactly sure how to approach this issue.
Can anyone offer any advice?
The MMQ is connected via USB, but BFGMiner just detects the CPU for mining, not the FPGAs.
Sorry if this is stupid - I've looked and haven't found any help. It's probably just something simple I'm missing but, like I mentioned, I'm new to Linux / Ubuntu.
Thank you in advance!
|
|
|
|
Bogart
Legendary
Offline
Activity: 966
Merit: 1000
|
|
April 14, 2013, 04:24:39 AM |
|
I know that with cgminer, you need to compile it with --enable-modminer to make it work.
It might be similar with bfgminer. I understand the two share a lot of code.
I think you also need the ftdi_sio module to be present. 'sudo modprobe ftdi_sio'
Also, unless you have libudev support compiled in, you'll need to specify the device manually '-S /dev/ttyUSB0 -S /dev/ttyUSB1' etc.
|
"All safe deposit boxes in banks or financial institutions have been sealed... and may only be opened in the presence of an agent of the I.R.S." - President F.D. Roosevelt, 1933
|
|
|
|
JonSnow (OP)
Member
Offline
Activity: 112
Merit: 10
|
|
April 14, 2013, 08:40:06 AM |
|
Yes, I've followed those instructions all the way through. When I enter "./bfgminer -o mining.eligius.st:8337 -O 1bitcoinaddress" (with my bitcoin address, of course), bfgminer does start up but it doesn't detect the FPGAs - it only detects the cpu. I know that with cgminer, you need to compile it with --enable-modminer to make it work.
It might be similar with bfgminer. I understand the two share a lot of code.
I think you also need the ftdi_sio module to be present. 'sudo modprobe ftdi_sio'
Also, unless you have libudev support compiled in, you'll need to specify the device manually '-S /dev/ttyUSB0 -S /dev/ttyUSB1' etc.
I tried the --enable-modminer command, but must not have done so at the right point in the process. Tom (of btcfpga) has offered to ssh into my system to get them running for me.
|
|
|
|
jml
|
|
April 16, 2013, 05:45:07 AM |
|
It sounds like the quadminer may need to be flashed with firmware so that the drivers can be setup; type lsusb on your prompt to see what USB devices you have installed, check with your supplier what is the ID and vendor codes that the quadminer should have. If the supplier states different vendor ID's and product ID, then it is probably that, but check with vendor first as my experience revolves around ZTEX boards.
|
"Everything is a matter of degree"
|
|
|
6135870
Newbie
Offline
Activity: 50
Merit: 0
|
|
April 17, 2013, 03:05:05 AM |
|
@JonSnow Where did you get your quads? did you get them used?
|
|
|
|
elchorizo
|
|
April 18, 2013, 10:38:15 PM |
|
@JonSnow Where did you get your quads? did you get them used?
Curious about this as well.
|
BTC: 1Chorizo6WNabZxVfQyGtvF4JiRt7Hexxb LTC: Lchorizoy8ck7Arbby8LDnw5wAmi8h6Hzb
|
|
|
JonSnow (OP)
Member
Offline
Activity: 112
Merit: 10
|
|
April 18, 2013, 10:51:14 PM |
|
I bought them from Tom at btcfpga ... not sure what the correct website is for him because as soon as we placed our orders, he changed servers or something. Wait, just found the link: http://modminerquadstore.com/Oh, and battmann and I bought ours new from that store.
|
|
|
|
jml
|
|
April 19, 2013, 03:38:33 AM |
|
|
"Everything is a matter of degree"
|
|
|
turtle83
|
|
April 19, 2013, 09:29:28 AM |
|
I recently received my modminer quad, have set it up, have set up Ubuntu, and have set up BFGMiner 3.0. BFGMiner seems to run just fine, but it doesn't detect my FPGA cards. Being new to Linux, I'm not exactly sure how to approach this issue.
Can anyone offer any advice?
The MMQ is connected via USB, but BFGMiner just detects the CPU for mining, not the FPGAs.
Sorry if this is stupid - I've looked and haven't found any help. It's probably just something simple I'm missing but, like I mentioned, I'm new to Linux / Ubuntu.
Thank you in advance!
paste your output of and Also, when u run the miner, try to run it as sudo, if that works, that means the user ur running under cant see the USB device permission issue easy to solve more info later. if that doesnt work then maybe something else is wrong.. maybe unit is damaged... or bfgminer was compiled wrongly.
|
|
|
|
JonSnow (OP)
Member
Offline
Activity: 112
Merit: 10
|
|
April 19, 2013, 08:59:56 PM |
|
Here are the instructions Tom gave, which I've followed: only install the non optional dependancies
then do this
sudo apt-get install build-essential sudo passwd root
change the root passwd
su root
then do apt-get install git git the latest bfgminer
git clone https://github.com/luke-jr/bfgminer.git
then cd bfgminer ./autogen.sh sudo make install
and then when you run bfgminer run it as root
and it should detect the mmq I've done all of that exactly, but I get stuck at the "sudo make install" line toward the end. I'm running Linux Mint now (Tom said I needed to do a fresh install - I did that) and it doesn't seem to recognize the "sudo make install" command. Furthermore, ./bfgminer doesn't do anything. There are no usb devices recognized when I try ls /dev/ttyUSB* but ls /dev/ttyACM0 works. I have no clue what to try at this point and am still waiting to hear back from Tom. This is so frustrating. Also still haven't received the second replacement fpga.
|
|
|
|
shep80
|
|
April 19, 2013, 09:24:49 PM |
|
What do you mean you "get stuck"? What's the error you're getting?
|
|
|
|
JonSnow (OP)
Member
Offline
Activity: 112
Merit: 10
|
|
April 19, 2013, 09:28:18 PM |
|
What do you mean you "get stuck"? What's the error you're getting?
At this point, I've done the configuration to enable bfgminer's use of modminer .... so now after I cd into the bfgminer folder, I'm typing: Which gives the error: Started bfgminer 3.0.0 Failed to load OpenCL library, no GPUs usable All devices disabled, cannot mine!
|
|
|
|
shep80
|
|
April 19, 2013, 09:34:01 PM |
|
OK, I am more of a cgminer guy but it might just be the options you are feeding it.
Try:
./bfgminer --scan-serial
|
|
|
|
JonSnow (OP)
Member
Offline
Activity: 112
Merit: 10
|
|
April 19, 2013, 09:39:10 PM |
|
OK, I am more of a cgminer guy but it might just be the options you are feeding it.
Try:
./bfgminer --scan-serial
output of that command: ./bfgminer: --scan-serial: requires an argument
|
|
|
|
shep80
|
|
April 19, 2013, 09:51:31 PM |
|
OK, one more time try this:
./bfgminer -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3
|
|
|
|
JonSnow (OP)
Member
Offline
Activity: 112
Merit: 10
|
|
April 19, 2013, 10:05:10 PM |
|
OK, one more time try this:
./bfgminer -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3
results: Started bfgminer 3.0.0 Failed to load OpenCL library, no GPUs usable
All devices disabled, cannot mine! Also, it doesn't register anything at /dev/ttyUSB* ... but does show something at /dev/ttyACM0 ... still gives the same error though.
|
|
|
|
shep80
|
|
April 19, 2013, 10:08:30 PM |
|
Did you do "modprobe ftdi_sio"? I'm not super familiar with linux mint... something like ubuntu might be easier. I'm happy to troubleshoot with you a bit but forum lag makes it problematic
|
|
|
|
JonSnow (OP)
Member
Offline
Activity: 112
Merit: 10
|
|
April 19, 2013, 10:11:32 PM |
|
Did you do "modprobe ftdi_sio"? I'm not super familiar with linux mint... something like ubuntu might be easier. I'm happy to troubleshoot with you a bit but forum lag makes it problematic I had all of these same problems on Ubuntu as well until Tom (who made the mmq) told me to do a fresh install and wasn't able to make any progress when he SSH'ed in.
|
|
|
|
shep80
|
|
April 19, 2013, 10:13:41 PM |
|
Ah As far as I know the tty's are needed, as that's the method for communication (it is with the icarus boards I have). I'm happy to try via ssh but I'm not sure you want random forum dudes ssh'ing in to your box
|
|
|
|
|