Pages:
Author

Topic: Linux mining distro for the Raspberry PI - MinePeon - page 38. (Read 685140 times)

hero member
Activity: 1246
Merit: 501
I'm a bit tired, and a bit dazed with all this mining stuff at the moment.   Embarrassed

What is the story with the IceFury USB miners?  They seem to be a NanoFury clone. 

Is the hidapi stuff included with MinePeon?  Or did I try and install hidapi when trying to get the BlueFurys working?  Jeesh, I can't remember.  Roll Eyes

Also, someone mentioned adding the -q option to bfgminer to improve performance - well I've tried it on my OpenWRT router, and performance is much, much improved, so much that my Blades and Cube run on the OpenWRT device when they used to switch to the Windows machine in preference.

hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
I'll do. Thanks again for your kind help and support.

You might have also done something to your permissions, you should always do git work as minepeon and not root via sudo so your shopuld probably;-

sudo chown -R minepeon.minepeon /opt/minepeon

The "git reset --hard origin/master" may have also changed the branch you are working on as well, you want to be on the 0.2.4 branch NOT the master branch.  The master branch is used for development and requires a different OS build so you should make sure your on the correct branch by doing;-

cd /opt/minepeon
git checkout -b 0.2.4

Neil
Code:
[minepeon@minepeon ~]$ cd /opt/minepeon
[minepeon@minepeon minepeon]$ git checkout -b 0.2.4
fatal: A branch named '0.2.4' already exists.

I think this error is ok, confirming that I'm in the correct branch...

Many thanks for your continuous help and support, Neil. Have a Merry Christmas and a Happy New Year.

And don't forget old ideas, like a program to "condensate" the mining info of several MinePeon's/cgminer's/bfgminer's in a real-time screen, using another RPI...
hero member
Activity: 626
Merit: 500
Mining since May 2011.
Is it also possible to VNC to there, please?
Also, there is no "desktop" to VNC to, so just connect via SSH. (Use PuTTY if using a Windows system) Or just use the Web Admin interface.
legendary
Activity: 896
Merit: 1000
Which coin do you like?

My issues with alt coins is they are usually set up to "fix" problems with bitcoin of their own invention (or they are just a scam, but that is another story).  Some use different hashing, some change proof-of-work and proof-of-stake about.  They all seem to clam to "fix" something fundamentally wrong with bitcoin.

My issue is that I don't see anything fundamentally wrong with bitcoin and I have confidence that when/if we find something wrong we will just fix bitcoin (as we have in the past).

Having said that, I am also not diametrically opposed to alt coins, I just have not found one yet that made me think "this is better than bitcoin".

PS: Java installed perfectly on Raspberry Pi, thank you guys. And it is still mining. Looks like it did not brake. Will try to do more experiments.

As I said, it should work, just don't blame me if it breaks Cheesy .

Neil
nov
sr. member
Activity: 433
Merit: 251
Independent crypto developer
Which coin do you like?

More of them are better, but it will take time to get to the market I think.

But this one could be really fast, since it does not use Bitcoin source code, but it is created from scratch and should solve a lot of things which Bitcoin is missing.

So I do not want everything in one basket. But would like to think what is the best and where the market could go in the future to be at start line.

PS: Java installed perfectly on Raspberry Pi, thank you guys. And it is still mining. Looks like it did not brake. Will try to do more experiments.

Have a look NXT.

I will.

I must admit I am not all that into alt coins, I have yet to come across one that make me think "This is way better than bitcoin" but I keep an eye on them.  I even have my games machine mine litecoin when I am not failing at whatever game takes my fancy at the time.

Neil
legendary
Activity: 896
Merit: 1000
Have a look NXT.

I will.

I must admit I am not all that into alt coins, I have yet to come across one that make me think "This is way better than bitcoin" but I keep an eye on them.  I even have my games machine mine litecoin when I am not failing at whatever game takes my fancy at the time.

Neil
nov
sr. member
Activity: 433
Merit: 251
Independent crypto developer
NXT seems to be very light way, and it looks like i would only need to run Java as daemon.

Only need to unlock wallet from browser.

Looks very interesting.

Mining process does not require and is not related to fast processor, Raspberry Pi could be ideal to let it forge NXT coins.

It is new method of mining process called forging.

Have a look NXT.

I am asking, since I would like to try to start NXT coin client on Raspberry Pi and to try forging (mining) there.
It looks like maybe some future coin.

That explains a lot Wink .  While I have not used NXT on a raspberry pi I have loaded the bitcoin-qt onto it just for laughs.  It does work but the blockchain never sync's (the processor is too gutless to validate the blocks).

It is a fun and novel way to kill SD cards though with of all of the writes.

People who use MinePeon to solo mine usually have a full computer that run's the blockchain of the coin and then point MinePeon to the RPC port of the computer.

Neil
legendary
Activity: 896
Merit: 1000
I am asking, since I would like to try to start NXT coin client on Raspberry Pi and to try forging (mining) there.
It looks like maybe some future coin.

That explains a lot Wink .  While I have not used NXT on a raspberry pi I have loaded the bitcoin-qt onto it just for laughs.  It does work but the blockchain never sync's (the processor is too gutless to validate the blocks).

It is a fun and novel way to kill SD cards though with of all of the writes.

People who use MinePeon to solo mine usually have a full computer that run's the blockchain of the coin and then point MinePeon to the RPC port of the computer.

Neil
nov
sr. member
Activity: 433
Merit: 251
Independent crypto developer
I am asking, since I would like to try to start NXT coin client on Raspberry Pi and to try forging (mining) there.
It looks like maybe some future coin.

The client uses Java and the client is running in browser.

Not exactly sure what will be needed to be able to run in Raspberry Pi.

Thank you for helping.
Should
sysvinit-tools be replaced with core/procps-ng?

Will not break something?

Probably not, but it could. I have not tested every combination of every package.

Does MinePeon has X Window?

Nope, you could install it though, I wrote a simple howto on the minepeon forums;-

http://minepeon.com/forums/viewtopic.php?p=3763#p3763

I have to ask though, why don't you get another pi for your experimenting?  They are cheap and that is what I do (I have several in fact).

I have not tested anything that you are doing and with every package you add you risk everything blowing up in your face ;P .

Neil
legendary
Activity: 896
Merit: 1000
Thank you for helping.
Should
sysvinit-tools be replaced with core/procps-ng?

Will not break something?

Probably not, but it could. I have not tested every combination of every package.

Does MinePeon has X Window?

Nope, you could install it though, I wrote a simple howto on the minepeon forums;-

http://minepeon.com/forums/viewtopic.php?p=3763#p3763

I have to ask though, why don't you get another pi for your experimenting?  They are cheap and that is what I do (I have several in fact).

I have not tested anything that you are doing and with every package you add you risk everything blowing up in your face ;P .

Neil
nov
sr. member
Activity: 433
Merit: 251
Independent crypto developer
Thank you for helping.
Should
sysvinit-tools be replaced with core/procps-ng?

Will not break something?

Thank you for  help.

Unfortunately observing some issues with it. Do you know what could be the issue to resolve it, please?

You probably need to do a full update first to get the latest repository, you can do this via;-

sudo pacman -Syu

Then try again to install java.

Neil

P.S. MinePeon is engineered for mining only, what you are doing will probably work but it is not supported Tongue .
legendary
Activity: 896
Merit: 1000
Thank you for  help.

Unfortunately observing some issues with it. Do you know what could be the issue to resolve it, please?

You probably need to do a full update first to get the latest repository, you can do this via;-

sudo pacman -Syu

Then try again to install java.

Neil

P.S. MinePeon is engineered for mining only, what you are doing will probably work but it is not supported Tongue .
nov
sr. member
Activity: 433
Merit: 251
Independent crypto developer
Thank you for  help.

Unfortunately observing some issues with it. Do you know what could be the issue to resolve it, please?


How to install Java in MinePeon distro, please?

Official way is this:

sudo apt-get update && sudo apt-get install oracle-java7-jdk

According to this web: http://www.raspberrypi.org/archives/4920

But looks like apt-get is not there.

Could you help me, please?

Is it also possible to VNC to there, please?

Thanks in advance.

Try: sudo pacman -S jre7-openjdk

Edit:

By the way, MinePeon runs on ArchLinux... not Raspbian.
legendary
Activity: 896
Merit: 1000
I'll do. Thanks again for your kind help and support.

You might have also done something to your permissions, you should always do git work as minepeon and not root via sudo so your shopuld probably;-

sudo chown -R minepeon.minepeon /opt/minepeon

The "git reset --hard origin/master" may have also changed the branch you are working on as well, you want to be on the 0.2.4 branch NOT the master branch.  The master branch is used for development and requires a different OS build so you should make sure your on the correct branch by doing;-

cd /opt/minepeon
git checkout -b 0.2.4

Neil
newbie
Activity: 38
Merit: 0
How to install Java in MinePeon distro, please?

Official way is this:

sudo apt-get update && sudo apt-get install oracle-java7-jdk

According to this web: http://www.raspberrypi.org/archives/4920

But looks like apt-get is not there.

Could you help me, please?

Is it also possible to VNC to there, please?

Thanks in advance.

Try: sudo pacman -S jre7-openjdk

Edit:

By the way, MinePeon runs on ArchLinux... not Raspbian.
nov
sr. member
Activity: 433
Merit: 251
Independent crypto developer
How to install Java in MinePeon distro, please?

Official way is this:

sudo apt-get update && sudo apt-get install oracle-java7-jdk

According to this web: http://www.raspberrypi.org/archives/4920

But looks like apt-get is not there.

Could you help me, please?

Is it also possible to VNC to there, please?

Thanks in advance.
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Did I solved correctly the problem? I think I need to stop to do the git fetch --all followed by git reset --hard origin/master or am I wrong?

Stop using fetch...

Code:
git reset --hard
git pull

^ should be all you need...

git pull does a git fetch followed by a git merge, you should always use git pull to bring the repo up to date.

I'll do. Thanks again for your kind help and support.
sr. member
Activity: 266
Merit: 250
Did I solved correctly the problem? I think I need to stop to do the git fetch --all followed by git reset --hard origin/master or am I wrong?

Stop using fetch...

Code:
git reset --hard
git pull

^ should be all you need...

git pull does a git fetch followed by a git merge, you should always use git pull to bring the repo up to date.
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Yesterday I did to my 3 RPI's, a sudo -i, cd /opt/minepeon/, git fetch --all followed by git reset --hard origin/master in minepeon folder, as I do more or less every day.

After that, I always get the following error, trying to git pull minepeon and after the reboot of one of the RPI's, it reverted from version 0.2.4.2 to version 0.2.4 pr2 and bfgminer 3.3.0.

Quote
minepeon /opt/minepeon # git pull
remote: Counting objects: 128, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 39 (delta 19), reused 36 (delta 16)
Unpacking objects: 100% (39/39), done.
From https://github.com/MineForeman/minepeon-base
   d7d3fc1..374537a  master     -> origin/master

*** Please tell me who you are.

Run

  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'root@minepeon.(none)')

I did the git config's with email and name and after that, I got:

Quote
minepeon /opt/minepeon Sad # git config --global user.email "[email protected]"
minepeon /opt/minepeon # git config --global user.name "Rui Costa"
minepeon /opt/minepeon # git pull
error: Your local changes to the following files would be overwritten by merge:
        bin/bfgminer
Please, commit your changes or stash them before you can merge.
Aborting

Code:
MinePeon Version
MinePeon 0.2.4 pr2
Miner Version
bfgminer3.3.0
Donation Minutes
15

What did I do wrong this time? How can I correct this?

UPDATE: I did again a git fetch --all followed by git reset --hard origin/master and I got:

Quote
minepeon /opt/minepeon Sad # git fetch --all
Fetching origin
minepeon /opt/minepeon # git reset --hard origin/master
HEAD is now at 374537a Start of pool switching
minepeon /opt/minepeon # git pull
warning: Cannot merge binary files: lib/libhidapi-libusb.so.0.0.0 (HEAD vs. 82c4f503ec19f6862550c3df5b2706bd48cf8ff2)
warning: Cannot merge binary files: lib/libhidapi-libusb.a (HEAD vs. 82c4f503ec19f6862550c3df5b2706bd48cf8ff2)
warning: Cannot merge binary files: lib/libhidapi-hidraw.so.0.0.0 (HEAD vs. 82c4f503ec19f6862550c3df5b2706bd48cf8ff2)
warning: Cannot merge binary files: lib/libhidapi-hidraw.a (HEAD vs. 82c4f503ec19f6862550c3df5b2706bd48cf8ff2)
warning: Cannot merge binary files: bin/bfgminer (HEAD vs. 82c4f503ec19f6862550c3df5b2706bd48cf8ff2)
Auto-merging share/doc/bfgminer/NEWS
CONFLICT (content): Merge conflict in share/doc/bfgminer/NEWS
Auto-merging lib/libhidapi-libusb.so.0.0.0
CONFLICT (add/add): Merge conflict in lib/libhidapi-libusb.so.0.0.0
Auto-merging lib/libhidapi-libusb.a
CONFLICT (add/add): Merge conflict in lib/libhidapi-libusb.a
Auto-merging lib/libhidapi-hidraw.so.0.0.0
CONFLICT (add/add): Merge conflict in lib/libhidapi-hidraw.so.0.0.0
Auto-merging lib/libhidapi-hidraw.a
CONFLICT (add/add): Merge conflict in lib/libhidapi-hidraw.a
Auto-merging http/index.php
Auto-merging http/inc/miner.inc.php
Auto-merging bin/bfgminer
CONFLICT (content): Merge conflict in bin/bfgminer
Automatic merge failed; fix conflicts and then commit the result.
minepeon /opt/minepeon Sad #

Code:
MinePeon Version
MinePeon 0.2.4.2
Miner Version
bfgminer3.8.1
Donation Minutes
15
I could correct minepeon version, with the new option to modify the position of a pool and new 'plugins' option.

The problem now is the version of bfgminer as, when the version of bfgminer reverted to 3.3.0, my bluefury's didn't get detected any more and I download/compiled version 3.8.1 of bfgminer, that is newer than the one @ minepeon git.

if I try a git commit, I get:

Quote
minepeon /opt/minepeon/http # git commit
U       bin/bfgminer
U       lib/libhidapi-hidraw.a
U       lib/libhidapi-hidraw.so.0.0.0
U       lib/libhidapi-libusb.a
U       lib/libhidapi-libusb.so.0.0.0
U       share/doc/bfgminer/NEWS
error: 'commit' is not possible because you have unmerged files.
hint: Fix them up in the work tree,
hint: and then use 'git add/rm ' as
hint: appropriate to mark resolution and make a commit,
hint: or use 'git commit -a'.
fatal: Exiting because of an unresolved conflict.

After a google search, I did a git commit -am and got:

Quote
minepeon /opt/minepeon/http Sad # git commit -am "bfgminer update to 3.8.1"
[0.2.4 c9b21c8] bfgminer update to 3.8.1
 

Did I solved correctly the problem? I think I need to stop to do the git fetch --all followed by git reset --hard origin/master or am I wrong?
nov
sr. member
Activity: 433
Merit: 251
Independent crypto developer
Could you give us instructions how to do that, please?

Thank you.

Just wanted to throw this out there in case it helps anyone:

The folks in #eligius are doing some research into the performance of both bfgminer and cgminer on the KnC miners (which use a BBB). One of the things that they (specifically wizkid057) noticed was that the console I/O actually hurts the performance and, in extreme cases, causes other issues as well. By appending the -q argument, which quiets console output, they saw a marked improvement.

Since the issue is not really limited to the KnC and BBB, but more to do with low-power/performance devices with a lot of hashpower, I though this may help with the rpi as well.

I've tried adding the -q argument myself in the MinePeon web UI and so far all is working well. Also screen -r still works and you get individual device outputs, just no real-time spam.

EDIT:
This is how I did it:
Go to (https://minepeon/settings.php)
Settings -> Miner Startup Settings
Settings:
#!/bin/bash
sleep 10
/usr/bin/screen -dmS miner /opt/minepeon/bin/cgminer -c /opt/minepeon/etc/miner.conf -q

Then restart the miner via mine peon webgui.

Hope that this will help anybody who needs the help.
Pages:
Jump to: