Bitcoin Forum
June 22, 2024, 04:49:59 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ASICMiner Prisma and Minera setup help  (Read 1307 times)
loxuda (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
December 08, 2015, 09:22:07 AM
 #1

Hi everybody.  I'm new to Bitcoin mining and recently purchased an Antminer S3 and an ASICMiner Prisma.  I got the S3 up and running with no problems, however the Prisma is giving me a lot of difficulties.  It's a version 1.0, with a USB adapter to a Raspberry Pi with the latest Minera update installed.  I followed Dogie's Comprehensive setup and have searched everywhere for a possible solution but to no avail.  Within Minera, it says "No local devices found".  I tried connecting only one of the boards and also 2 separate USB adapters, but it still won't work.  I read online that you're supposed to --enable-blockerupter but I'm not sure where I'm supposed to run that.  Any help would be greatly appreciated!
VirosaGITS
Legendary
*
Offline Offline

Activity: 1302
Merit: 1068



View Profile
December 08, 2015, 12:23:03 PM
Last edit: December 08, 2015, 02:10:01 PM by VirosaGITS
 #2

Hi everybody.  I'm new to Bitcoin mining and recently purchased an Antminer S3 and an ASICMiner Prisma.  I got the S3 up and running with no problems, however the Prisma is giving me a lot of difficulties.  It's a version 1.0, with a USB adapter to a Raspberry Pi with the latest Minera update installed.  I followed Dogie's Comprehensive setup and have searched everywhere for a possible solution but to no avail.  Within Minera, it says "No local devices found".  I tried connecting only one of the boards and also 2 separate USB adapters, but it still won't work.  I read online that you're supposed to --enable-blockerupter but I'm not sure where I'm supposed to run that.  Any help would be greatly appreciated!

I'm actually trying to make this work right this second.

And --enable-blockerupter is a flag for when you compile cgminer, since its already compiled with BE enabled, that already has been done. Maybe go to miner section and change which miner it run.

At the moment i can't even get to connect to minera, ugh.

Edit: So to recap;

-I got the minera image from crazybitcoinguy/minera
-Reflashed RPI

But then there's no preset for ASIC T or P, nothing relevant to BE stuff in the readme (beside a flag to compile) and --bet-clock that is in the config file is not even a valid command.

So i'm now trying to find where cgminer is hiding on minera and try to reconfigure it with the -be flag.

Edit2: /var/www/minera/minera-bin/custom

Edit3: Got compilation error, broke all cgminers on Minera. This is getting pretty annoying.


                      ▄▄█████▄▄
                    ▐████████████▄
                   ▄█▀▀▀▀▀▀▀██████▌
             █▄  ▄█▀           ▀▀█
              ▀▀▀███▄▄▄▄▄▄▄▄▄▄   █▄   ▄

               ▄▀▀         ▀▀▀▀▀▀▀██▀▀▀
         ▄▄▄▄▄█▄▄ ▄▀▀▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄█▄▄▄▄
         ████▒▒███    ████▒▒████▌
    ▀█▄ ▀
███████▄ ███▒▒███      ██▒▒█████       ▀█▄
 ███████ ▀█▒▒████     ▄█▒▒█████▀         ▀█ ▄  ▄▄
  ██████  ▌▀▀█████▄▄▄███████▀▀            ███▄███▌
 █████████  █████▀▀█▀▀██████▌             ██████▀
 ▀█████████ ███▄  ███   ▐███▌ ▄██       ▄█████▀
     ▀▀    ▀▀███████████████▄▄████▄▄▄▄█▀▀▀▀▀
               ▀▀▀███▀▀▀      ██████▄
                               ▀▀▀▀▀

▄█████████████████████████████▄
███████████████████████████████
███████████████████████████████
███████████████████████████████
█████████▀▀█████████▀▀█████████
███████ ▄▀▀         ▀▀▄ ███████
██████                   ██████
█████▌     ▄▄     ▄▄     ▐█████
█████     ████   ████     █████
█████      ▀▀     ▀▀      █████
█████▄   ▀▄▄▄     ▄▄▄▀   ▄█████
████████▄▄▄█████████▄▄▄████████
███████████████████████████████
███████████████████████████████
███████████████████████████████
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ █
█ █
█ █
█ █
█ █
loxuda (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
December 08, 2015, 05:32:38 PM
 #3

How do you compile cgminer?  Sorry, I'm a noob and wasn't able to find that information or which directory it's supposed to be run from in RPi.  What would the command be?  From what I've read, you have to enable the block-erupter when you use Minera because the default is set to disabled.

When I bought my Prisma, it came with the RPi and Minera installed so I didn't have to do anything to get it working.  But, from what I've read from michelem's github, all you're supposed to do is put the image file onto your SD card and then you should be able to access it via http://<IP address that's assigned to it>/minera
https://github.com/michelem09/minera

Within the Minera app, when you go to Settings, Local Miner, it lets you "Select your preferred miner software" with the options of CPUminer (GC3355 fork), BFGminer 5.x (Official), CGminer 4.x (Official), and CGminer (Dmaxl Zeus fork).  I've selected CGminer 4.x (Official) but it doesn't recognize my Prisma.

If you broke the cgminers, you should be able to rebuild it by:
cd /var/www/minera
./build_miner.sh <miner-name>

That's included in the link above too, under the section "Building miner software".

I agree, it is very annoying not being able to set it up easily.  I've read a lot of people having difficulties too.  Sad
VirosaGITS
Legendary
*
Offline Offline

Activity: 1302
Merit: 1068



View Profile
December 08, 2015, 09:20:14 PM
Last edit: December 08, 2015, 10:28:35 PM by VirosaGITS
 #4

How do you compile cgminer?  Sorry, I'm a noob and wasn't able to find that information or which directory it's supposed to be run from in RPi.  What would the command be?  From what I've read, you have to enable the block-erupter when you use Minera because the default is set to disabled.

When I bought my Prisma, it came with the RPi and Minera installed so I didn't have to do anything to get it working.  But, from what I've read from michelem's github, all you're supposed to do is put the image file onto your SD card and then you should be able to access it via http://<IP address that's assigned to it>/minera
https://github.com/michelem09/minera

Within the Minera app, when you go to Settings, Local Miner, it lets you "Select your preferred miner software" with the options of CPUminer (GC3355 fork), BFGminer 5.x (Official), CGminer 4.x (Official), and CGminer (Dmaxl Zeus fork).  I've selected CGminer 4.x (Official) but it doesn't recognize my Prisma.

If you broke the cgminers, you should be able to rebuild it by:
cd /var/www/minera
./build_miner.sh <miner-name>

That's included in the link above too, under the section "Building miner software".

I agree, it is very annoying not being able to set it up easily.  I've read a lot of people having difficulties too.  Sad


Thats a very nice script, that thing has the full compile script to build the miner, so i don't need to give you the full instructions.

go to /var/www/minera
edit build_miner.sh
go to the cg official line config. instead of having to type ./configure --enable-blockerupter you change that line so --enable-blockerupter will be called, so just add "-enable-blockerupter".
save

now do ./build_miner.sh cgminer

As far as including the --enable-blockerupter option, we're done. Its slow on RasPI so i'll report later. Good luck.

Edit:

So now i can do --bet-clk 20, but still no device found. I'm wondering if the usb art adapter simply is broken. A Usb plugged IS detected by cgminer, but no mining device is ever found.

Not sure whats up.

When i use my zeus usb uart, at least i get "failed to initiatlize icarus, wrong device?" spam.


                      ▄▄█████▄▄
                    ▐████████████▄
                   ▄█▀▀▀▀▀▀▀██████▌
             █▄  ▄█▀           ▀▀█
              ▀▀▀███▄▄▄▄▄▄▄▄▄▄   █▄   ▄

               ▄▀▀         ▀▀▀▀▀▀▀██▀▀▀
         ▄▄▄▄▄█▄▄ ▄▀▀▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄█▄▄▄▄
         ████▒▒███    ████▒▒████▌
    ▀█▄ ▀
███████▄ ███▒▒███      ██▒▒█████       ▀█▄
 ███████ ▀█▒▒████     ▄█▒▒█████▀         ▀█ ▄  ▄▄
  ██████  ▌▀▀█████▄▄▄███████▀▀            ███▄███▌
 █████████  █████▀▀█▀▀██████▌             ██████▀
 ▀█████████ ███▄  ███   ▐███▌ ▄██       ▄█████▀
     ▀▀    ▀▀███████████████▄▄████▄▄▄▄█▀▀▀▀▀
               ▀▀▀███▀▀▀      ██████▄
                               ▀▀▀▀▀

▄█████████████████████████████▄
███████████████████████████████
███████████████████████████████
███████████████████████████████
█████████▀▀█████████▀▀█████████
███████ ▄▀▀         ▀▀▄ ███████
██████                   ██████
█████▌     ▄▄     ▄▄     ▐█████
█████     ████   ████     █████
█████      ▀▀     ▀▀      █████
█████▄   ▀▄▄▄     ▄▄▄▀   ▄█████
████████▄▄▄█████████▄▄▄████████
███████████████████████████████
███████████████████████████████
███████████████████████████████
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ █
█ █
█ █
█ █
█ █
loxuda (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
December 09, 2015, 07:27:31 PM
 #5

That really helps.  Now I know which file to edit to add that extra option.  Unfortunately, it didn't help.  Sad

What does "--bet-clk 20" do?  I don't think I've seen that command before.

As far as you thinking that your USB adapter is broke, do you get the same results as I do when I run the following below?  It's like you said, cgminer detects it, but like you, when I look in Minera, it says "No local devices found".  I've used 2 different USB adapters with the same results
minera@minera /var/www/minera/minera-bin $ cgminer -n
 [2015-12-09 22:36:51.130] USB all: found 4 devices - listing known devices
.USB dev 0: Bus 1 Device 4 ID: 10c4:ea60
  Manufacturer: 'Silicon Labs'
  Product: 'CP2102 USB to UART Bridge Controller'
 [2015-12-09 22:36:51.133] 1 known USB devices

Does your boot log show anything useful?
minera@minera /var/www/minera/minera-bin $ dmesg
I get a whole bunch of this.
[ 4114.924623] cp210x 1-1.2:1.0: cp210x converter detected
[ 4114.929049] usb 1-1.2: cp210x converter now attached to ttyUSB0
[ 4121.220096] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0

Did you ever get Minera working?
VirosaGITS
Legendary
*
Offline Offline

Activity: 1302
Merit: 1068



View Profile
December 09, 2015, 10:07:27 PM
 #6

That really helps.  Now I know which file to edit to add that extra option.  Unfortunately, it didn't help.  Sad

What does "--bet-clk 20" do?  I don't think I've seen that command before.

As far as you thinking that your USB adapter is broke, do you get the same results as I do when I run the following below?  It's like you said, cgminer detects it, but like you, when I look in Minera, it says "No local devices found".  I've used 2 different USB adapters with the same results
minera@minera /var/www/minera/minera-bin $ cgminer -n
 [2015-12-09 22:36:51.130] USB all: found 4 devices - listing known devices
.USB dev 0: Bus 1 Device 4 ID: 10c4:ea60
  Manufacturer: 'Silicon Labs'
  Product: 'CP2102 USB to UART Bridge Controller'
 [2015-12-09 22:36:51.133] 1 known USB devices

Does your boot log show anything useful?
minera@minera /var/www/minera/minera-bin $ dmesg
I get a whole bunch of this.
[ 4114.924623] cp210x 1-1.2:1.0: cp210x converter detected
[ 4114.929049] usb 1-1.2: cp210x converter now attached to ttyUSB0
[ 4121.220096] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0

Did you ever get Minera working?

No i get 1 known usb, then everything else says 0.

--bet-clk is in the readme, its the command line to set the clock speed of Tube/Prisma.

Minera works fine for the Zeus i had and detect my network devices fine, too.


                      ▄▄█████▄▄
                    ▐████████████▄
                   ▄█▀▀▀▀▀▀▀██████▌
             █▄  ▄█▀           ▀▀█
              ▀▀▀███▄▄▄▄▄▄▄▄▄▄   █▄   ▄

               ▄▀▀         ▀▀▀▀▀▀▀██▀▀▀
         ▄▄▄▄▄█▄▄ ▄▀▀▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄█▄▄▄▄
         ████▒▒███    ████▒▒████▌
    ▀█▄ ▀
███████▄ ███▒▒███      ██▒▒█████       ▀█▄
 ███████ ▀█▒▒████     ▄█▒▒█████▀         ▀█ ▄  ▄▄
  ██████  ▌▀▀█████▄▄▄███████▀▀            ███▄███▌
 █████████  █████▀▀█▀▀██████▌             ██████▀
 ▀█████████ ███▄  ███   ▐███▌ ▄██       ▄█████▀
     ▀▀    ▀▀███████████████▄▄████▄▄▄▄█▀▀▀▀▀
               ▀▀▀███▀▀▀      ██████▄
                               ▀▀▀▀▀

▄█████████████████████████████▄
███████████████████████████████
███████████████████████████████
███████████████████████████████
█████████▀▀█████████▀▀█████████
███████ ▄▀▀         ▀▀▄ ███████
██████                   ██████
█████▌     ▄▄     ▄▄     ▐█████
█████     ████   ████     █████
█████      ▀▀     ▀▀      █████
█████▄   ▀▄▄▄     ▄▄▄▀   ▄█████
████████▄▄▄█████████▄▄▄████████
███████████████████████████████
███████████████████████████████
███████████████████████████████
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ █
█ █
█ █
█ █
█ █
alexanderjsingleton
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
October 27, 2017, 05:44:08 PM
 #7

Hi folks- I thought my [StackExchange Bitcoin-post](https://bitcoin.stackexchange.com/posts/61409) might be of service to this thread; I experienced the same issue yesterday afternoon and resolved later that evening.

Ok, any hardware additions to an existing Raspberry Pi * Minera environment or any adjustments to the hardware parameters specified in Minera Settings > Manual-options do indeed require recompiling cgminer.  In order to resolve, proceed with the following:


1.
Code:
cd /var/www/miner
2.
Code:
sudo nano build_miner.sh
3. Scroll down to the cgminer config and append
Code:
-enable-blockerupter
so the entire line displays
Code:
CGMINER_CONFIG="--enable-avalon2 --enable-bflsc --enable-bitforce --enable-bitfury --enable-drillbit --enable-hashfast --enable-icarus --enable-klondike --enable-modminer --enable-blockerupter"
4. Exit and Write.
5. Run
Code:
sudo ./build_miner.sh all
6. Upon compiling, exit from your host-session, unplug the antsticks, power-cycle the Raspberry Pi and then plug-in antsticks.
7. Log-in to the Raspberry Pi and sign-in to Minera- you should see verifiable success displayed in the Minera Dashboard > Device Tree.

Hope it helps!
Pages: [1]
  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!