Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
btharper
on 19/12/2013, 11:39:44 UTC
I like MinePeon, I really do, but I've given up on it. 

The Pi just isn't fast enough.  It can't proxy and run USB miners at the same time.  Even with the DLink 7-port which is considered to be THE USB hub for the Pi.  First my Block Erupter dies, then eventually the Jalapenos give up.  Of course, the NIC on the Pi is USB, so that craps out eventually too.  It's not a power issue, everything is running off a 750W ATX PSU.

Everything runs perfectly when attached to my TPLink router running OpenWRT with bfgminer 3.8.1 on it - the only difference I see is the TPLink's USB isn't broken, and it has a proper ethernet interface.

I'm still keen to test the BBB version of MinePeon, too.
After my pi hung and I lost ~12 hours of mining I setup the onboard hardware watchdog. Tutorials here (and another one here), for more explanation there's also this blog post.

For a quick run down of commands you can:
  • ssh into the pi
  • Add the watchdog module to the automatically loaded modules each time the pi boots up (this is the piece that reboots the pi via hardware)
    $ echo "bcm2708_wdog" | sudo tee /etc/modules-load.d/bcm2708_wdog.conf
    Module parameters are "timeout=n" (max just above 15) and "nowayout=(0|1)" I used "bcm2708_wdog timeout=16 nowayout=1"
  • For a fully featured watchdog dameon (alternatives available in the tuts)
    $ sudo pacman -S watchdog
  • Start the watchdog dameon at boot (this is the piece that resets the hardware watchdog to stop it from rebooting)
    $ sudo systemctl enable watchdog
  • Configure the watchdog options (there's a fair number, manpage for full details)
    $ sudo nano /etc/watchdog.conf
  • If you want to start the services now (instead of next boot)
    $ sudo modprobe bcm2708_wdog; sudo systemctl start watchdog.service

I tried to keep this brief, but feel free to ask any questions if you have any or I was unclear.