Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Bonz
on 01/10/2013, 03:24:10 UTC
was about to try this today and found another problem... my pi was frozen so i restarted it and it says PANIC: VFS: Unable to mount root fs on unknown-block(179,2)
Entering kdb (current=0xda82aca0, pid 1) due to keyboard entry

for the record there is no keyboard attached but i do have the adafruit display attached but this comes up weather it is plugged in or not... even with everything unplugged it comes up!

this is what happened before to make me reinstall like 5 days ago... i am going to reinstall again and hope for a fix soon



Still getting the "Miner DOWN" web page. I'm using the latest http git pull on minepeon 0.2.2

Okay,
In trying to troubleshoot your issue, I ran into Bonz's issue as well...

@LogicalUnit I reverted on of my rPi's to the 0.2.2 webUI stats do not seem to work, settings look correct, didn't see anything wrong with the permissions for the png files, granted I just did some simple looking around, but I didn't see any obvious reason, however switching to the master branch and doing a pull from it, the graphs work fine.

@Bonz I did some snooping around, found out that MinePeon is calculating the "load" kind of incorrectly. (Neil, I'll send a PM to you about this tomorrow.) It seems to be taking the load utilization then multiplying that by 100, which at first glance, that would be how you get a percentage. Though the average load utilization is different from CPU load average, there's actually an interesting formula () but I'm not going into that formula at 4:30am... lol

However, to get the actual CPU Load average, from command line:
Code:
top -b -d1 -n1 | grep -i "Cpu(s)" | head -c14

or if you want a consistent "running" average user this:
Code:
top -b -d 1| grep Cpu