Author

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

legendary
Activity: 896
Merit: 1000
Hi,

in the latest release (0.2.2) all is fine when not upgrading with 'pacman -Syu', all runs smooth.

if i upgrade with pacman minepeon runs for ~10 minutes and then it doesn't respond anymore.

i use 10 block erupters with my Raspberry Pi Mod. B Rev 2.0 512 MB RAM

all is fine if you don't upgrade Smiley


Do you reboot after the upgrade?  I just want to be sure that everything was sync'ed to the disk.

Neil
legendary
Activity: 896
Merit: 1000
i find that very annoying that minepeon reverts to the donate pools after a reboot. i just accidentally mined for two straight days in someones else pocket.

That is defiantly not normal!

It should ( and does in most cases) keep your pools no matter what you do to it, I suspect your SD card is a bit broken.

Re-flash (with a differant SD card preferably) and your problem will most likely go away.  In the mean time email me you hashrate and how long you hashed to [email protected] and I will fix you up.

Neil
newbie
Activity: 25
Merit: 0
Hi,

in the latest release (0.2.2) all is fine when not upgrading with 'pacman -Syu', all runs smooth.

if i upgrade with pacman minepeon runs for ~10 minutes and then it doesn't respond anymore.

i use 10 block erupters with my Raspberry Pi Mod. B Rev 2.0 512 MB RAM

all is fine if you don't upgrade Smiley
hero member
Activity: 576
Merit: 500
Just got 2 single scs and for some reason cgminer restarts once every 30 or so minutes. Not sure why. I am on vacation right now so I don't have physical access to it and had roommate hook it up for me, but from randomly checking in I get screen terminated and a different time cgminer started. Not sure what's going on, but it's happening with 2 single sc and 2 bfl fpgas hooked up to it. My ssh never drops connection, only cgminer restarts.

Edit: I just realized there is a new version. I am on 0.2.1 so I will upgrade to 0.2.2 next week when I get back home

Just got back from vacation and did a little more digging. I haven't upgraded to 0.2.2 yet, but cgminer hasn't restarted now for 15 hours. I am starting to think it was something to do with my BFL Single SC overheating and throttling over and over with the redic heat we had, but I am still not 100% sure. It isn't throttling today and cgminer isn't restarting. I think it restart sometime around midnight, but it isn't doing it every 30 or 40 minutes like it was while I was on vacation and my units were overheating. Any ideas if this was something with cgminer where it's supposed to do that?
sr. member
Activity: 257
Merit: 250
i find that very annoying that minepeon reverts to the donate pools after a reboot. i just accidentally mined for two straight days in someones else pocket.

 Are you using sudo shutdown -h now command. It should not do that after rebooting ?.

 Reboot or reflash ?.
hero member
Activity: 668
Merit: 501
i find that very annoying that minepeon reverts to the donate pools after a reboot. i just accidentally mined for two straight days in someones else pocket.
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting

http://www.correderajorge.es/wifi-under-raspberry-pi-with-archlinux/

They should get you up and going until I can come up with something better.

Newil

I tried this a few days back. I get as far as



5: wlan0: mtu 1500 qdisc pfifo_fast state UP mode DORMANT qlen 1000


ip link set wlan0 up

It returns state - unknown
I can switch it down again and state shows down.
At this point am over it for the time being, until my wife starts to moan about the miners in the kitchen again its staying on the lan..
 Roll Eyes
legendary
Activity: 896
Merit: 1000
Wired lan isnt possible for me. I have to use wi-fi.

On booting up I see...
...
...
[FAILED] Failed to start dhcpc on eth0.
See 'systemctl status [email protected] for details.
...
...
[FAILED] Failed to start OpenNTP Daemon

Everything else gets a [ OK ]

I began to install NTP but I got this;

Last login: Thu Jan  1 01:18:46 1970 from autumn-pc
[minepeon@minepeon ~]$ pacman -S ntp
error: you cannot perform this operation unless you are root.
[minepeon@minepeon ~]$ sudo pacman -S ntp
[sudo] password for minepeon:
resolving dependencies...
looking for inter-conflicts...
:: ntp and openntpd are in conflict. Remove openntpd? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: ntp and openntpd are in conflict
[minepeon@minepeon ~]$

So my noob guess is that I need to change something in the boot file (?)
to start dhcpcd on wlan0 instead of eth0. (btw I did configure wicd-curses and can run minepeon successfully, I just get the date/graphs issue on the status page)

I really need to do some work on wireless connections.... I have one of those tiny wifi adapters around here SOMEWHERE (the thing is so small I seems to have misplaced it).

Whatever you do don't uninstall openntp just about everything depends on it!  I was sent a few links a while ago, here they are;-

https://wiki.archlinux.org/index.php/Netctl
http://www.correderajorge.es/wifi-under-raspberry-pi-with-archlinux/

They should get you up and going until I can come up with something better.

Newil
legendary
Activity: 896
Merit: 1000
hasn't been imported yet into the official project.

It has now, andyone that wants it login via ssh (or console) and ;-

cd /opt/minepeon/http/
git pull

I cannot see how this would slow down the UI though  Huh .

Neil
newbie
Activity: 9
Merit: 0
... could you please add this features in the future:
* cpu temperature
Thank you very much!;]]
Found a simple way to take some code MineForeman already had sitting idle in a different section and throw it into the MinePeon Status section to display the temperature in both C and F (for the metric challenged Americans). Sent a pull request with the code and hopefully if it all goes well, it'll be accepted and available for anybody to pull down from the GitHub repo and into their MinePeon!

https://github.com/MineForeman/MinePeonWebUI/pull/18


The UI seems slow than before
The change you quoted from me, adding in the temperature information, hasn't been imported yet into the official project. Are you saying you manually copied/pasted the few lines of code I proposed on GitHub into your index.php and are seeing the index.php web page load slower? If so, double check you've copied all the relevant lines? Sometimes for testing, I wipe out my index.php and using wget pull down the original or my proposed change of index.php from GitHub.

How are you determining the duration for page load times? Have you tried removing the lines and re-testing? After removing adding them back in and re-testing?

I'm using Chrome and with the developer tools checking the load times for the page over a LAN connection. While removing and adding the temperature changes I'm not seeing any difference in page load times. My page load times vary between 1.27ms and 1.65ms for the main page, excluding the .js components which aren't relevant for the proposed temperature addition. The load time range I'm seeing, 1.27ms to 1.65ms is both with and without the temperature additions. I've tested over 30 refreshes of the page and I'm not seeing any change in load times for index.php based on my proposed temperature code addition.
full member
Activity: 180
Merit: 100
Wired lan isnt possible for me. I have to use wi-fi.

On booting up I see...
...
...
[FAILED] Failed to start dhcpc on eth0.
See 'systemctl status [email protected] for details.
...
...
[FAILED] Failed to start OpenNTP Daemon

Everything else gets a [ OK ]

I began to install NTP but I got this;

Last login: Thu Jan  1 01:18:46 1970 from autumn-pc
[minepeon@minepeon ~]$ pacman -S ntp
error: you cannot perform this operation unless you are root.
[minepeon@minepeon ~]$ sudo pacman -S ntp
[sudo] password for minepeon:
resolving dependencies...
looking for inter-conflicts...
:: ntp and openntpd are in conflict. Remove openntpd? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: ntp and openntpd are in conflict
[minepeon@minepeon ~]$

So my noob guess is that I need to change something in the boot file (?)
to start dhcpcd on wlan0 instead of eth0. (btw I did configure wicd-curses and can run minepeon successfully, I just get the date/graphs issue on the status page)
member
Activity: 66
Merit: 10
... could you please add this features in the future:
* cpu temperature
Thank you very much!;]]
Found a simple way to take some code MineForeman already had sitting idle in a different section and throw it into the MinePeon Status section to display the temperature in both C and F (for the metric challenged Americans). Sent a pull request with the code and hopefully if it all goes well, it'll be accepted and available for anybody to pull down from the GitHub repo and into their MinePeon!

https://github.com/MineForeman/MinePeonWebUI/pull/18


The UI seems slow than before
newbie
Activity: 9
Merit: 0
... could you please add this features in the future:
* cpu temperature
Thank you very much!;]]
Found a simple way to take some code MineForeman already had sitting idle in a different section and throw it into the MinePeon Status section to display the temperature in both C and F (for the metric challenged Americans). Sent a pull request with the code and hopefully if it all goes well, it'll be accepted and available for anybody to pull down from the GitHub repo and into their MinePeon!

https://github.com/MineForeman/MinePeonWebUI/pull/18

it is possible update minepeon from 0.2.1 to 0.2.2 without memory card reflashing? just from command line?;]

Want to try something cool when you get to 0.2.2?  Login as minepeon as normal, don't change to root and do;-

cd /opt/minepeon/
git pull

Once you're done with that try;-

cd /opt/minepeon/http/
git pull

The first will pull down a few minor miner updates and the second will pull down a few UI improvements that joeykrim has been working on.

Neil
I've been using this while testing and tweaking the UI .. great method! Glad it has official support from the main man!
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Indeed it seems that arch linux resolved the libusb problem in Raspbian (it is probably a kernel usb problem)
http://www.kano-kun.net/?p=87

I could have told you that ages ago (I think I did Tongue ).

Neil

The RPi works fine with Raspbian except there is a kernel/usbfs problem with USB1.1 devices when you have 2 or more of them.
Otherwise it's been working fine since the start.

What happens is the timout sent to the ioctl never happens or can take 60 to 90 seconds to timeout (when using 100ms timeout)
With 2 devices (only 2 USB1.1) I find it does eventually return (60 to 90s) but for a mix of USB2.0 and USB1.1 it never returns for the USB1.1 devices.
For non Icarus devices this is a performance hit, but they still work.
For a device with an Icarus bitstream, it doesn't return a completion message - which the cgminer code is written to handle of course with timeouts.
Only problem is the timeout doesn't work ... call libsusb and it can either reply after about 60s or never return at all.
The other USB devices always send replies or are USB2.0 and work fine.

So, throw away pitiful 350MH/s USB1.1 miners and the problem is also resolved Cheesy
(Icarus and Asicminer USB)

However, on Arch, when I plug in my USB3.0 hub the network still dies.
Reboot (and don't unplug the hub) and it works OK.
legendary
Activity: 896
Merit: 1000
Indeed it seems that arch linux resolved the libusb problem in Raspbian (it is probably a kernel usb problem)
http://www.kano-kun.net/?p=87

I could have told you that ages ago (I think I did Tongue ).

Neil

hero member
Activity: 626
Merit: 500
Mining since May 2011.
Indeed it seems that arch linux resolved the libusb problem in Raspbian (it is probably a kernel usb problem)
http://www.kano-kun.net/?p=87

Nice guide, thanks for sharing. I've been pretty much been doing Minepeon and something very similar to that build, plus adding Hamachi for remote management. It also works well for pulling stats from various rigs into miner.php (via myminer.php). It works great, and all accessable on mobile/tablet. Next goal for me is getting the Nagios NRPE agent dialed in so central alerting can be performed across the multiple physical locations. MiniRig SC downtime will be expensive. Shocked Must prepare.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Indeed it seems that arch linux resolved the libusb problem in Raspbian (it is probably a kernel usb problem)
http://www.kano-kun.net/?p=87
hero member
Activity: 626
Merit: 500
Mining since May 2011.
The first will pull down a few minor miner updates and the second will pull down a few UI improvements that joeykrim has been working on.

Neil

Thanks Neil.
member
Activity: 86
Merit: 10
Thank you Neil;]
I have great uptime, hate when I have rewrite MinePeon;]
legendary
Activity: 896
Merit: 1000
it is possible update minepeon from 0.2.1 to 0.2.2 without memory card reflashing? just from command line?;]

Want to try something cool when you get to 0.2.2?  Login as minepeon as normal, don't change to root and do;-

cd /opt/minepeon/
git pull

Once you're done with that try;-

cd /opt/minepeon/http/
git pull

The first will pull down a few minor miner updates and the second will pull down a few UI improvements that joeykrim has been working on.

Neil
Jump to: