Author

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

hero member
Activity: 576
Merit: 500
On http://mineforeman.com/minepeon/



Stop messing with my head Neil!  Grin
sr. member
Activity: 261
Merit: 285
Again huge thanks for your work, Neil. Everything's running smoothly now after 9+ hours. I'm not feeling super comfortable with all the cgminer conf file changes and restarts that are part of the donation process, so I just sent 20+ hours worth of my mining profit to you the "old fashioned" way:

https://blockchain.info/tx/67a607d4a8041527ade4b18376fe5b6c3f81d8686132526b152de8619e13fc08

I encourage everyone benefiting from MinePeon to make a contribution to make sure this electricity & sanity-saving project prospers. Donation address is at http://mineforeman.com/minepeon/

My main concern with the donate script (see below) is that -- as I understand it -- if the Pi panics/crashes/reboots during that first cgminer restart, then the donation credentials will forever overwrite my actual pool credentials. Have I got that right? Also, what happens if you switch from cgminer to a different miner? Does the donation script still work?

sr. member
Activity: 302
Merit: 252
I downloaded cgminer 3.1.1 and compiled it. But it isnt used as default when the pi is starting.
3.1.1 is working with my Block erruptor USB  but only if I start it manually via commandline.

Is there an easy way to automate this and have the stats in the webpage ?

I think the only solution for Block Erruptor USB is 3.1.1 so far..

I think you could replace /opt/minepeon/bin/cgminer with the one you compiled, then modify /usr/lib/systemd/system/cgminer.service with whatever command line options work for you. Finish up with systemctl --system daemon-reload. Then it should just start mining on boot.

yeah that worked, running with Block Erruptor USB now!
- compiled cgminer 3.1.1, and copied the executable to /opt/minepeon/bin
- added -S /dev/ttyUSB0 -S /dev/ttyUSB1  etc. to /usr/lib/systemd/system/cgminer.service

sr. member
Activity: 261
Merit: 285
Another question: What's the purpose of configuring up to 3 pools in MinePeon? Is it a failsafe, e.g. if pool 1 is down, then pool 2 is used instead?

Recommendation: Regarding the new "minutes per 24 hours" donation feature, I recommend that you allow this to be configured as the 4th pool on the settings page that says "donations pool" which shows (and even lets you edit) the donations pool. Probably a good place to include the # minutes option as well. Here's why:

1) If Neil ever has to switch to a different pool or account, I'm much more likely to comply by editing my settings -- rather than re-installing a brand new version of MinePeon and risk screwing my setup up just because the donation address changed.

2) If I have a tight firewall (or if I'm paranoid and monitor my outbound connection logs) I need to know what outbound destinations to allow/anticipate.
sr. member
Activity: 261
Merit: 285
Took me about an hour to get up and running, but its running my jalapeno just fine! cgminer didnt want to work, but enabling and using bfgminer worked just fine!

That's funny -- I set MinePeon up last night with my Jalapeño as well, and while my USB hub gave me grief, the default (cgminer) seems to work perfectly well.

I'm thrilled with the power consumption: 41W total (Pi + Jalapeño.)

Question: Can anyone tell me how to retrieve the chip temperature from the Jalapeño while MinePeon is running? E.g. from the command line? As I decide where to ultimately locate this fairly noisy device, I'd like to watch my temperatures closely to make sure I don't choose a place that's too warm or poorly ventilated.

- canton
hero member
Activity: 566
Merit: 500
I just wanted to say thanks for this awesome setup!

Took me about an hour to get up and running, but its running my jalapeno just fine! cgminer didnt want to work, but enabling and using bfgminer worked just fine!
newbie
Activity: 26
Merit: 0
In the mean time I have done a small 'mini' release for you guys to test.  The only difference is that it has the latest cgminer (3.2.0) and bfgminer (3.0.99).

Can some of you download and test it, it may very well work with the Block Eruptor USBs out of the box.

It does not. I'll mess with cgminer's config a bit and follow up shortly.

Follow up:
I'm not making any progress with the new version. For some reason it doesn't appear to load the same driver for the AM USB sticks. I used to get a /dev/ttyUSB# for each device, but not with this version. lsusb lists the hub and the miners, but cgminer doesn't find anything to mine with. I'm in over my head trying to make the new version work at this point, so I'm giving up for now and rolling back to the prior release.
newbie
Activity: 26
Merit: 0
I downloaded cgminer 3.1.1 and compiled it. But it isnt used as default when the pi is starting.
3.1.1 is working with my Block erruptor USB  but only if I start it manually via commandline.

Is there an easy way to automate this and have the stats in the webpage ?

I think the only solution for Block Erruptor USB is 3.1.1 so far..

I think you could replace /opt/minepeon/bin/cgminer with the one you compiled, then modify /usr/lib/systemd/system/cgminer.service with whatever command line options work for you. Finish up with systemctl --system daemon-reload. Then it should just start mining on boot.
newbie
Activity: 37
Merit: 0
Forgot to add!

It has my 'donation' code in it as well.  When you set it up go to the settings page and you will see a new option called "Donation (Minutes per 24 hours)" set to default of 15 minutes.

What it does is at 00:00 (midnight your time if you set your timezone) it mines using a MinePeon Donation account for the amount of minutes you set (Zero if you like).

Neil


I like this idea of creating a hassle free donation that will support the continuing development of this product.
sr. member
Activity: 302
Merit: 252
I downloaded cgminer 3.1.1 and compiled it. But it isnt used as default when the pi is starting.
3.1.1 is working with my Block erruptor USB  but only if I start it manually via commandline.

Is there an easy way to automate this and have the stats in the webpage ?

I think the only solution for Block Erruptor USB is 3.1.1 so far..
newbie
Activity: 26
Merit: 0
In the mean time I have done a small 'mini' release for you guys to test.  The only difference is that it has the latest cgminer (3.2.0) and bfgminer (3.0.99).

Can some of you download and test it, it may very well work with the Block Eruptor USBs out of the box.

It does not. I'll mess with cgminer's config a bit and follow up shortly.
sr. member
Activity: 261
Merit: 285
Can you post the model manufacturer so I can put it on the 'working' list?  (also post the one that does not work so I can put it into the 'not working' list)

Worked: i-Rocks IR-4600-BL USB 2.0 4-Port Hub - under $15.
Didn't: Griffin UH-124Z 4-port

By the way, I don't recommend anybody try to troubleshoot MinePeon if it's around midnight. I was pulling out my hair just now trying to figure out why my Jalapeño appeared to be hashing, but BTCGuild reported zero shares in 15 minutes.

It was the donation feature.

MineForman - I like this clever way of contributing donations, but there really needs to be something in the web GUI that (a) explains what "Donation minutes/24 hrs" means, and (b) when Donation Mode is in progress, there should be some obvious indicator in the web control panel that your ordinary pool has been diverted.

This is especially important for those of us who have alerts turned on so BTCGuild doesn't email us every midnight because our miner has apparently stopped working...
legendary
Activity: 896
Merit: 1000
I thought a hub was absolutely 100% required as per the MinePeon website

Only if the USB device requires USB power, I should update the site to make it totally clear.

#1: Plugging directly into the Pi fixed the problem

Excellent!

#2: Also, swapping out a different (much crappier!) USB hub fixed the problem

Strange thing, I have had better luck with the 'crapy' hubs, the more expensive ones don't seem to work.  Can you post the model manufacturer so I can put it on the 'working' list?  (also post the one that does not work so I can put it into the 'not working' list)


The MinePeon 'graphs' tab doesn't show any activity (0 H/s) but the Jalapeño's light is blinking consistently, and BTCGuild is showing shares being accepted.

Did you reboot?

I do see occasional hardware errors but I hope this is normal for the Jalapeño.

That's normal, I have yet to find a ASIC/FPGA that does not through out the occasional error.

PS: Yes I have the donation setting as 15m/24h

Thanks Cheesy

Neil
sr. member
Activity: 261
Merit: 285
First thing to try is to plug the miner directly into the Peon.  USB Hub support on the Pi is a little dodgy.

Thanks! I thought a hub was absolutely 100% required as per the MinePeon website, but I guess the BFL Jalapeño is a different matter? In any case, good news:

#1: Plugging directly into the Pi fixed the problem
#2: Also, swapping out a different (much crappier!) USB hub fixed the problem

So the problem was my Griffin hub.

The MinePeon 'graphs' tab doesn't show any activity (0 H/s) but the Jalapeño's light is blinking consistently, and BTCGuild is showing shares being accepted.

If I run cgminer interactively (instead of through the minepeon service) all seems well, around 5.5GH/s.



I do see occasional hardware errors but I hope this is normal for the Jalapeño.

- canton

PS: Yes I have the donation setting as 15m/24h.
legendary
Activity: 896
Merit: 1000
3) Powered up the Jalapeño -- it's plugged into a fairly decent USB hub -- a Griffin 4-port that handles 2.4A max.

First thing to try is to plug the miner directly into the Peon.  USB Hub support on the Pi is a little dodgy.  My Jalapeño is plugged direct into the bottom port and has been running for 2+ weeks non stop now.

PS: Is it normal for the MinePeon web control panel 'graph' page to show 0 hashes/second when no USB mining device is attached? I thought at least it would try to CPU mine a few hashes or something.

That is normal, CPU mining is no longer supported (it was only used for testing).

Neil

P.S. Did you leave anything in the donate box?
sr. member
Activity: 261
Merit: 285
Hi, Mineforeman. First of all, Thanks very much for your project which combines so many of my interests.

Tonight I downloaded MinePeon-2013-06-05.img to try to get MinePeon to run my BFL Jalapeño.

Here's what I did:

1) Installed MinePeon-2013-06-05.img to a 4GB SD
2) Booted the Pi, got my IP address, visited the IP using a web browser to configure for my BTCguild pool account. No problems so far.
3) Powered up the Jalapeño -- it's plugged into a fairly decent USB hub -- a Griffin 4-port that handles 2.4A max.
4) Powercycled the Pi & USB hub

Everything SEEMS to go fine: All green OK's, and after "Started cgminer" shows, the status light on the Jalapeño blinks slowly about 7 times, the Jalapeño fan speed even changes just a bit, but then the Jalapeño stops blinking.

No errors in Pi console. I can reach the MinePeon web control panel, but it doesn't show any activity in the graphs section. BTCguild doesn't show that my work is hashing.

The only thing I've tried so far for troubleshooting is to restart the miner from the command line like this:

sudo systemctl stop cgminer.service
sudo systemctl start cgminer.service


Again, the Jalapeño light blinks slowly about 7 times, then stops.

Thanks in advance for any help troubleshooting. I'd love to get my BFL ASIC running off of my Pi instead of my 180W Mac Pro Smiley

- Canton / [email protected]

PS: Is it normal for the MinePeon web control panel 'graph' page to show 0 hashes/second when no USB mining device is attached? I thought at least it would try to CPU mine a few hashes or something.
legendary
Activity: 896
Merit: 1000
Forgot to add!

It has my 'donation' code in it as well.  When you set it up go to the settings page and you will see a new option called "Donation (Minutes per 24 hours)" set to default of 15 minutes.

What it does is at 00:00 (midnight your time if you set your timezone) it mines using a MinePeon Donation account for the amount of minutes you set (Zero if you like).

Neil
legendary
Activity: 896
Merit: 1000


This is what temptation looks like.  51 Block Eruptor USB devices 15.3 GH/s and not a single one mine Sad .

In the mean time I have done a small 'mini' release for you guys to test.  The only difference is that it has the latest cgminer (3.2.0) and bfgminer (3.0.99).

Can some of you download and test it, it may very well work with the Block Eruptor USBs out of the box.  The download link is;-

http://sourceforge.net/projects/minepeon/files/latest/download?source=navbar

Neil
hero member
Activity: 576
Merit: 500
I've seen people using the Anker 10 port USB 3 powered hub for the Block Erupters
http://www.amazon.com/gp/product/B005NGQWL2/ref=ox_sc_act_title_3?ie=UTF8&psc=1&smid=A294P4X9EWVXLJ

Has anyone tried these with a raspberry pi?

thanks for the info!



Yantis has confirmed that these do NOT work on RasPi.
Which usb hubs work with the raspberry pi?

This has worked flawlessly for me for the past year with FPGAs. Haven't got my hands on an ASIC yet to test: http://www.mcmelectronics.com/product/83-11854

[minepeon@minepeon ~]$ lsusb
Bus 001 Device 004: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 007: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
member
Activity: 112
Merit: 10
I've seen people using the Anker 10 port USB 3 powered hub for the Block Erupters
http://www.amazon.com/gp/product/B005NGQWL2/ref=ox_sc_act_title_3?ie=UTF8&psc=1&smid=A294P4X9EWVXLJ

Has anyone tried these with a raspberry pi?

thanks for the info!



Yantis has confirmed that these do NOT work on RasPi.
Which usb hubs work with the raspberry pi?
Jump to: