Pages:
Author

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

legendary
Activity: 896
Merit: 1000
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
..................

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

Forget what it says about the keyboard, that is just the default that was passed to the kernel.

What it most likely means though is that your SD Card is going bad (the unknown-block(179,2) error message makes it plain).

Last time you re-installed did you use a new SD card?  If not I would say the SD card was the problem then too.

Neil
full member
Activity: 213
Merit: 100
Mining history: BTC->LTC->FTC->CRC:2200kh/s
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
sr. member
Activity: 266
Merit: 250
Sorry if this has been brought up before, I tried to search/Google but couldn't find what I was looking for.

How do I recompile BFGMiner and copy the files needed to right directories on minepeon?

Also, how do I update minepeon easiest besides flashing a new image to the SD-card.

Thanks for the help in advance!

I usually just:
Code: (Compile BFGMiner)
sudo bash

#stop bfgminer if it's running
systemctl stop bfgminer

cd /opt/minepeon/bin/
mv bfgminer bfgminer_old

git clone https://github.com/luke-jr/bfgminer bfgminer
cd bfgminer
./autogen.sh
./configure
make

If you want to add in libmicrohttpd (proxy) support (not sure if it's packaged with bfgminer now or you still need to download it, but I've been downloading it and including it in the configure):

Code: (Compile BFGMiner w/libmicrohttpd)
sudo bash

#stop bfgminer if it's running
systemctl stop bfgminer

pacman -Syu libmicrohttpd

cd /opt/minepeon/bin/
mv bfgminer bfgminer_old

git clone https://github.com/luke-jr/bfgminer bfgminer
cd bfgminer
./autogen.sh
./configure --with-libmicrohttpd
make


Afterwards I usually change the bfgminer.service to user the executable inside the directory (as for me I have several diff versions of BFGMiner).

Code: (Edit bfgminer.service)
sudo systemctl stop bfgminer
sudo nano /usr/lib/systemd/system/bfgminer.service

#edit the path to /opt/minepeon/bin/bfgminer/bfgminer

sudo systemctl daemon-reload
sudo systemctl start bfgminer

Edit:
 
To update MinePeon (base)
Code:
cd /opt/minepeon/
git pull

To update MinePeon WebUI (use with caution):
Code:
cd /opt/minepeon/http/
git pull

To update the OS system packages:
Code:
sudo pacman -Syu
full member
Activity: 127
Merit: 100
Sorry if this has been brought up before, I tried to search/Google but couldn't find what I was looking for.

How do I recompile BFGMiner and copy the files needed to right directories on minepeon?

Also, how do I update minepeon easiest besides flashing a new image to the SD-card.

Thanks for the help in advance!
newbie
Activity: 32
Merit: 0
Thanks for the replies guys. I am a complete Raspberry Pi and Linux novice. I just really followed the online tutorial to set the Pi up with MinePeon. Somewhere along the way I read about using ssh to remotely access the Pi and figured I would try it just for the learning experience. Right now I have both keyboard, mouse and screen hooked up.

Everyone was a noob at one time.  I'm very new to the Pi and Linux, after a few months it well start to make sense.  Learning the new "speak" is the hardest part.  I always thought pacman was a game, only to learn it's a package manager.

If you have the Pi hooked up to a monitor and keyboard/mouse you don't really need to do ssh.  Sooner or later you well want to use the second usb port on the Pi for something else, that's when ssh comes to play.

Google 'putty ssh" it's a windoze compatible program to ssh and offers some nice options.



I got ssh to work from terminal on my Mac Grin. It was actually pretty easy.
member
Activity: 70
Merit: 10
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



Thanks for all the work you put in this, you have helped me with sharing of your knowledge.  My install of Minepeon v0.2.3 well show php cpu load up to 200%+.

From ssh
Quote
minepeon@minepeon ~ Sad $ uptime
 18:50:08 up 2 days, 16:32,  1 user,  load average: 0.17, 0.24, 0.35
minepeon@minepeon ~ $

These load numbers look more like I would expect.
member
Activity: 70
Merit: 10
Thanks for the replies guys. I am a complete Raspberry Pi and Linux novice. I just really followed the online tutorial to set the Pi up with MinePeon. Somewhere along the way I read about using ssh to remotely access the Pi and figured I would try it just for the learning experience. Right now I have both keyboard, mouse and screen hooked up.

Everyone was a noob at one time.  I'm very new to the Pi and Linux, after a few months it well start to make sense.  Learning the new "speak" is the hardest part.  I always thought pacman was a game, only to learn it's a package manager.

If you have the Pi hooked up to a monitor and keyboard/mouse you don't really need to do ssh.  Sooner or later you well want to use the second usb port on the Pi for something else, that's when ssh comes to play.

Google 'putty ssh" it's a windoze compatible program to ssh and offers some nice options.

newbie
Activity: 26
Merit: 0
Arcticfox, once you get it running and type 'ifconfig', it'll tell you the IP address it pulled and you can use that IP on another computer's browser to log into the web interface for Minepeon.  Default username is minepeon, password: peon.  That's all you really need to do if you plan to keep using cgminer.
newbie
Activity: 32
Merit: 0
Thanks for the replies guys. I am a complete Raspberry Pi and Linux novice. I just really followed the online tutorial to set the Pi up with MinePeon. Somewhere along the way I read about using ssh to remotely access the Pi and figured I would try it just for the learning experience. Right now I have both keyboard, mouse and screen hooked up.
hero member
Activity: 630
Merit: 501
Miner Setup And Reviews. WASP Rep.
I keep getting an error when I try to install ssh on MinePeon 0.2.3. I type; "sudo apt-get install ssh", and get the error: "apt-get: command not found". Any suggestions?

Not to be an ass, but wouldn't you have to SSH into minepeon to try and execute that command?

Just use the ol keyboard and screen.
sr. member
Activity: 266
Merit: 250
I keep getting an error when I try to install ssh on MinePeon 0.2.3. I type; "sudo apt-get install ssh", and get the error: "apt-get: command not found". Any suggestions?

Not to be an ass, but wouldn't you have to SSH into minepeon to try and execute that command?
(Edit: Yea I guess you could just be using a keyboard & screen, I really didn't think about that as I never use a keyboard/monitor to setup/config a rPi, I just always SSH into them or use a USB console cable.)

Arch Linux doesn't use apt-get as it's package manager, it uses pacman, while SSH is installed and works perfectly fine on MinePeon, there are several updates available for the core OS and several packages. (I believe SSH being one of them, can't remember, doing a system upgrade from the 0.2.3a IMG has currently 63 updates.)

To issue a full system update for the system packages (not MinePeon, ie: not CGMiner,BFGMiner, or the WebUI). Simply use this command:
Code:
sudo pacman -Syu
hero member
Activity: 672
Merit: 500
Ssh is already installed on minepeon
newbie
Activity: 32
Merit: 0
I keep getting an error when I try to install ssh on MinePeon 0.2.3. I type; "sudo apt-get install ssh", and get the error: "apt-get: command not found". Any suggestions?
sr. member
Activity: 266
Merit: 250
Cgminer 3.5 is out with support for red/blue fury units!

I am testing it now.

Neil

And its now in git.

Neil

Hashing away with a Red Fury unit on minepeon right now. Thanks to Neil's great work and support.


looks good, can't wait to get mine in Smiley
hero member
Activity: 630
Merit: 501
Miner Setup And Reviews. WASP Rep.
Cgminer 3.5 is out with support for red/blue fury units!

I am testing it now.

Neil

And its now in git.

Neil

Hashing away with a Red Fury unit on minepeon right now. Thanks to Neil's great work and support.

legendary
Activity: 896
Merit: 1000
Cgminer 3.5 is out with support for red/blue fury units!

I am testing it now.

Neil

And its now in git.

Neil
legendary
Activity: 896
Merit: 1000
Cgminer 3.5 is out with support for red/blue fury units!

I am testing it now.

Neil
hero member
Activity: 756
Merit: 500
Is it possible for someone to create an image for me that automatically runs bfgminer for blockerupters?  I'm just not able to figure it out and don't know much about linux.

Would be willing to send .1btc bounty if it is possible.  Shoot me a PM.
hero member
Activity: 630
Merit: 501
Miner Setup And Reviews. WASP Rep.
Cgminer 3.5 is out with support for red/blue fury units!
sr. member
Activity: 266
Merit: 250
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
Pages:
Jump to: