Bitcoin Forum
May 10, 2024, 09:41:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Noob Issues with FPGA  (Read 3220 times)
JonSnow (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
April 14, 2013, 03:14:36 AM
 #1

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!
1715377299
Hero Member
*
Offline Offline

Posts: 1715377299

View Profile Personal Message (Offline)

Ignore
1715377299
Reply with quote  #2

1715377299
Report to moderator
1715377299
Hero Member
*
Offline Offline

Posts: 1715377299

View Profile Personal Message (Offline)

Ignore
1715377299
Reply with quote  #2

1715377299
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715377299
Hero Member
*
Offline Offline

Posts: 1715377299

View Profile Personal Message (Offline)

Ignore
1715377299
Reply with quote  #2

1715377299
Report to moderator
1715377299
Hero Member
*
Offline Offline

Posts: 1715377299

View Profile Personal Message (Offline)

Ignore
1715377299
Reply with quote  #2

1715377299
Report to moderator
1715377299
Hero Member
*
Offline Offline

Posts: 1715377299

View Profile Personal Message (Offline)

Ignore
1715377299
Reply with quote  #2

1715377299
Report to moderator
Bogart
Legendary
*
Offline Offline

Activity: 966
Merit: 1000


View Profile
April 14, 2013, 04:24:39 AM
 #2

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
Bitweasil
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


View Profile
April 14, 2013, 05:21:26 AM
 #3

Have you followed the https://www.modminerquad.com/index.php?title=Setup_Instructions Linux Setup Instructions?

If so, can you explain how far you got and what was happening?

Need high quality, rack mountable GPU clusters for OpenCL work or password auditing?  http://www.stricture-group.com/
JonSnow (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
April 14, 2013, 08:40:06 AM
 #4

Have you followed the https://www.modminerquad.com/index.php?title=Setup_Instructions Linux Setup Instructions?

If so, can you explain how far you got and what was happening?

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
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
April 16, 2013, 05:45:07 AM
 #5

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 Offline

Activity: 50
Merit: 0


View Profile
April 17, 2013, 03:05:05 AM
 #6

@JonSnow Where did you get your quads? did you get them used?
elchorizo
Full Member
***
Offline Offline

Activity: 236
Merit: 100


View Profile
April 18, 2013, 10:38:15 PM
 #7

@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 Offline

Activity: 112
Merit: 10


View Profile
April 18, 2013, 10:51:14 PM
 #8

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
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
April 19, 2013, 03:38:33 AM
 #9

Try following this:

https://www.modminerquad.com/index.php?title=Firmware

"Everything is a matter of degree"
turtle83
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


Supersonic


View Profile WWW
April 19, 2013, 09:29:28 AM
 #10

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
Code:
sudo lsusb -v
and
Code:
lsusb -v

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 Offline

Activity: 112
Merit: 10


View Profile
April 19, 2013, 08:59:56 PM
 #11

Here are the instructions Tom gave, which I've followed:

Code:
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
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
April 19, 2013, 09:24:49 PM
 #12


What do you mean you "get stuck"? What's the error you're getting?

JonSnow (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
April 19, 2013, 09:28:18 PM
 #13


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:

Code:
./bfgminer

Which gives the error:

Code:
Started bfgminer 3.0.0
Failed to load OpenCL library, no GPUs usable
All devices disabled, cannot mine!
shep80
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
April 19, 2013, 09:34:01 PM
 #14


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 Offline

Activity: 112
Merit: 10


View Profile
April 19, 2013, 09:39:10 PM
 #15


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:

Code:
./bfgminer: --scan-serial: requires an argument
shep80
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
April 19, 2013, 09:51:31 PM
 #16


OK, one more time try this:

./bfgminer -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3

JonSnow (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
April 19, 2013, 10:05:10 PM
 #17


OK, one more time try this:

./bfgminer -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3



results:

Code:
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
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
April 19, 2013, 10:08:30 PM
 #18


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  Smiley

JonSnow (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
April 19, 2013, 10:11:32 PM
 #19


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  Smiley



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
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
April 19, 2013, 10:13:41 PM
 #20


Ah  Sad

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  Sad

Pages: [1] 2 »  All
  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!