Bitcoin Forum
April 24, 2024, 08:19:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 [92] 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 684872 times)
btharper
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250



View Profile
November 05, 2013, 09:33:20 PM
 #1821

Wondering about a new project for the pi; I've been looking for a way to setup a general "P2Pool" option for the pi as a backup pool (or primary for other folks if they like) but since many of them are only listed by IP address and aren't run on static IPs a dynamic tool to lookup addresses would be nice. I've done the basic digging into how, I'm just not sure the easiest way to get the functionality into minepeon, so any advice (or ambitious coders wanting to take it on) would be appreciated.

There are a few nodes I can find reliable domain names for, using these as seed nodes for a fresh install start iterating through http://<node>:9332/peer_addresses to find other peers and keep a running list of nodes with zero fee (0 or 0.0), then add them to the end (or beginning) of the pools list in the miner config (and reload the miner if needed). Repeat once every several days or when the number of alive nodes left goes below a certain threshold. Bonus if pool response time or other latency factors can be taken into account.

Any thoughts on where this would go in the codebase?

I have thought about it.

The major problem is that p2pool requires a running and up-to-date bitcoind and the raspberry pi just cannot do that.  It runs fine it cannot download and process the blockchain though.  Even if I give it a head start by using a "pre downloaded chain" it cannot even keep it up-to-date because of the CPU and IO requirements (not to mention it will kill any SD card).

I am playing around with some other hardware (cubieboard 2 & beaglebone black) and while they are better off for CPU they are still not enough (and they still use SD for IO's).

Neil
I was just looking for a way to add public p2pool nodes into the pool list by automatically finding them on the network and adding them to the list dynamically. Running p2pool or bitcoind is way beyond what I'd hope to do with the RasPi
1713946765
Hero Member
*
Offline Offline

Posts: 1713946765

View Profile Personal Message (Offline)

Ignore
1713946765
Reply with quote  #2

1713946765
Report to moderator
1713946765
Hero Member
*
Offline Offline

Posts: 1713946765

View Profile Personal Message (Offline)

Ignore
1713946765
Reply with quote  #2

1713946765
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713946765
Hero Member
*
Offline Offline

Posts: 1713946765

View Profile Personal Message (Offline)

Ignore
1713946765
Reply with quote  #2

1713946765
Report to moderator
btharper
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250



View Profile
November 05, 2013, 09:34:48 PM
 #1822

I am playing around with some other hardware (cubieboard 2 & beaglebone black) and while they are better off for CPU they are still not enough (and they still use SD for IO's).

I thought the beagle-bone blacks had a 2GB flash/solid state storage on them with an optional SD slot for extra storage?

Yep it does.  I could also use a USB HDD for storage, but it still does not solve the CPU requirement problem.

Neil

very true on the CPU... wait, I know...

cluster 40 beagle-bone blacks! yeaaaa! lol (I had to)
I'd be interested to see if something like this is possible, more from the perspective of this being more common in the future. Lots of people hosting tiny chunks of the blockchain, bonus points if none of them have to trust each other and don't have to transmit whole blocks back and forth. Probably something for another thread though if anyone wanted to get serious about it.
tk1337
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
November 05, 2013, 11:40:42 PM
 #1823

I am playing around with some other hardware (cubieboard 2 & beaglebone black) and while they are better off for CPU they are still not enough (and they still use SD for IO's).

I thought the beagle-bone blacks had a 2GB flash/solid state storage on them with an optional SD slot for extra storage?

Yep it does.  I could also use a USB HDD for storage, but it still does not solve the CPU requirement problem.

Neil

very true on the CPU... wait, I know...

cluster 40 beagle-bone blacks! yeaaaa! lol (I had to)
I'd be interested to see if something like this is possible, more from the perspective of this being more common in the future. Lots of people hosting tiny chunks of the blockchain, bonus points if none of them have to trust each other and don't have to transmit whole blocks back and forth. Probably something for another thread though if anyone wanted to get serious about it.

http://www.youtube.com/watch?v=i_r3z1jYHAc
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
November 05, 2013, 11:52:48 PM
 #1824


I actually built one of those using 5 Pi's!  Totally useless for what we are discussing but totally cool!

Neil

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
tk1337
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
November 06, 2013, 12:10:03 AM
 #1825


I actually built one of those using 5 Pi's!  Totally useless for what we are discussing but totally cool!

Neil

hehe, yea, it's a neat show piece though... Cheesy need to make a life-size Cray-2 replica with nothing but RaspberryPi's filling it... haha
arcticfox
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
November 06, 2013, 09:34:42 AM
 #1826

I have been running Minepeon 0.2.4 on two Raspeberries for about a week now, and I'm still having problems with it crashing. One raspeberry will run for about a day and then crash. The other one will go for about three days before the crash.

Is there a log on minepeon to identify what is causing the crashes? I have one monitor connected to one Raspberry and I can see the onscreen error log, but I can't really understand it (not a Linux guy!).

I'm getting ready to leave the Raspberries unsupervised for about three months. Was hoping to have them mining while I am gone, but since they keep crashing I won't be able to SSH them. So once they crash I have no way to reset them. I was thinking about attaching an electrical timer that will cycle the power off and then back on once every 24 hours. This way if one or both of the raspi's are crashed they will reboot. Since I won't be shutting minepoen off the proper way will this cause problems? Any other suggestions?

The setup is as follows:

Raspberry1

2 Rosewill RHB-500 hub, with 5 USB block erupters each, 3 Dlink DUB-H7 with 4 be's, connected through an unpowered 4 port hub to the raspi

Raspberry2

2 Rosewill RHB-500 hub, with 5 USB block erupters each, 1 Dlink DUB-H7 with 4 be's, connected through an unpowered 4 port hub to the raspi connected to the raspi on one USB port,

and 2 Dlink DUB-H7 with 4 be's connected through a powered 7 port USB hub to the second USB port on the raspi

Any idea's on why the above setup is crashing minepeon? I'm sure all the block erupters are getting enough power.

jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
November 06, 2013, 11:14:46 AM
 #1827

I have been running Minepeon 0.2.4 on two Raspeberries for about a week now, and I'm still having problems with it crashing. One raspeberry will run for about a day and then crash. The other one will go for about three days before the crash.

Is there a log on minepeon to identify what is causing the crashes? I have one monitor connected to one Raspberry and I can see the onscreen error log, but I can't really understand it (not a Linux guy!).

I'm getting ready to leave the Raspberries unsupervised for about three months. Was hoping to have them mining while I am gone, but since they keep crashing I won't be able to SSH them. So once they crash I have no way to reset them. I was thinking about attaching an electrical timer that will cycle the power off and then back on once every 24 hours. This way if one or both of the raspi's are crashed they will reboot. Since I won't be shutting minepoen off the proper way will this cause problems? Any other suggestions?

The setup is as follows:

Raspberry1

2 Rosewill RHB-500 hub, with 5 USB block erupters each, 3 Dlink DUB-H7 with 4 be's, connected through an unpowered 4 port hub to the raspi

Raspberry2

2 Rosewill RHB-500 hub, with 5 USB block erupters each, 1 Dlink DUB-H7 with 4 be's, connected through an unpowered 4 port hub to the raspi connected to the raspi on one USB port,

and 2 Dlink DUB-H7 with 4 be's connected through a powered 7 port USB hub to the second USB port on the raspi

Any idea's on why the above setup is crashing minepeon? I'm sure all the block erupters are getting enough power.



The BE's may be getting enough power, but what about the Pi's themselves.  How do you have them hooked up for power?

arcticfox
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
November 06, 2013, 12:39:33 PM
 #1828


[/quote]

The BE's may be getting enough power, but what about the Pi's themselves.  How do you have them hooked up for power?
[/quote]

Both have 5V 1000mA power supplies
Beastlymac
Hero Member
*****
Offline Offline

Activity: 630
Merit: 501


Miner Setup And Reviews. WASP Rep.


View Profile
November 06, 2013, 01:58:06 PM
 #1829



The BE's may be getting enough power, but what about the Pi's themselves.  How do you have them hooked up for power?
[/quote]

Both have 5V 1000mA power supplies
[/quote]
You need 500mA per USB.

Message me if you have any problems
arcticfox
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
November 06, 2013, 02:20:46 PM
 #1830



The BE's may be getting enough power, but what about the Pi's themselves.  How do you have them hooked up for power?

Both have 5V 1000mA power supplies
[/quote]
You need 500mA per USB.
[/quote]

All the Block Erupters are on powered hubs (Rosewill 5V 5A with 5 BE's and DLINK 5V 4A with 4 BE's), so they are all getting more than enough power). I see if I can find some 5V 2A power for the Raspberries.

bomberb17
Hero Member
*****
Offline Offline

Activity: 771
Merit: 528



View Profile
November 06, 2013, 02:45:34 PM
 #1831

Did you cut the red wire on the usb cable that connects the pi with the first hub to prevent backpower?

My pi with 5 erupters runs fine for about a week on average before crashing.  Maybe someone can help on how to find what's causing the crashing...
ct1aic
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Are ฿itcoins Radioactive?


View Profile WWW
November 06, 2013, 02:56:43 PM
 #1832


Bitcoin Difficulty:              510,929,738
Next difficulty (estimate): 517,595,126 (+1%)

Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
arcticfox
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
November 06, 2013, 03:13:08 PM
 #1833

Did you cut the red wire on the usb cable that connects the pi with the first hub to prevent backpower?

My pi with 5 erupters runs fine for about a week on average before crashing.  Maybe someone can help on how to find what's causing the crashing...

No I did not. The hub connected to the Pi is unpowered, should I still cut the red cable?

Would it be better to chain my powered hubs and then plugging them directly into the Pi?
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
November 06, 2013, 04:00:26 PM
 #1834

Did you cut the red wire on the usb cable that connects the pi with the first hub to prevent backpower?

My pi with 5 erupters runs fine for about a week on average before crashing.  Maybe someone can help on how to find what's causing the crashing...

No I did not. The hub connected to the Pi is unpowered, should I still cut the red cable?

Would it be better to chain my powered hubs and then plugging them directly into the Pi?

The unpowered hub is leeching power from your Pi's.  That's why they are crashing.  Try connecting a good Powered USB Hub without backfeed between the Pi and other peripherals.  You should never use an unpowered hub directly with a Pi since it will always leech power.

You can check the reports on various powered Hubs with the Pi here: http://elinux.org/RPi_Powered_USB_Hubs

madcratebuilder
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
November 08, 2013, 02:28:42 AM
 #1835



The BE's may be getting enough power, but what about the Pi's themselves.  How do you have them hooked up for power?

Both have 5V 1000mA power supplies
You need 500mA per USB.
[/quote]

All the Block Erupters are on powered hubs (Rosewill 5V 5A with 5 BE's and DLINK 5V 4A with 4 BE's), so they are all getting more than enough power). I see if I can find some 5V 2A power for the Raspberries.


[/quote]

Take another look at the Rosewill psu's, the RHB500 has a 4 amp psu and well run 8 sticks.  The D-link is 2.5 or 3amps, some early ones are the 2.5, I have one.  I have never had good luck with the D-link.  I have 4 of the rhb500 to a single PI, one hub to Pi and 3 hubs the the master hub.  3 with 8 sticks and the master has 6.  Two Pi's setup like this and they run for days.
mikejones
Newbie
*
Offline Offline

Activity: 59
Merit: 0



View Profile WWW
November 08, 2013, 11:28:33 AM
 #1836

Okay so I have a USB Redfury, USB ASIC BlockErupter, and BFL Jalapeno. My minepeon is only detecting the blockerupter not the red-fury or the BFL jalapeno. How do I get it to detect them and start mining?
Morblias
Hero Member
*****
Offline Offline

Activity: 576
Merit: 500


View Profile
November 08, 2013, 09:12:49 PM
Last edit: November 08, 2013, 09:28:49 PM by Morblias
 #1837

i did git pull on /opt/minepeon/ to get cgminer 3.7.2, but it keeps trying to connect to a knc device (or driver? whatever this is) even though I don't have one. How do I stop this:


Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
November 09, 2013, 12:27:54 AM
 #1838

i did git pull on /opt/minepeon/ to get cgminer 3.7.2, but it keeps trying to connect to a knc device (or driver? whatever this is) even though I don't have one. How do I stop this:

Sorry, I have been playing around with the KnC driver and left it in there, it will be fixed soon.

Neil

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
mikejones
Newbie
*
Offline Offline

Activity: 59
Merit: 0



View Profile WWW
November 09, 2013, 12:36:03 AM
 #1839

Why is my Hardware error so high with my Redfury:
 BPM 0:       |  2.34/ 2.34/ 2.25Gh/s | A: 754 R: 4+0(.51%) HW:3908/ 59%
Beastlymac
Hero Member
*****
Offline Offline

Activity: 630
Merit: 501


Miner Setup And Reviews. WASP Rep.


View Profile
November 09, 2013, 01:16:46 AM
 #1840

Why is my Hardware error so high with my Redfury:
 BPM 0:       |  2.34/ 2.34/ 2.25Gh/s | A: 754 R: 4+0(.51%) HW:3908/ 59%
It is because you are using a old version of bfgminer. It needs to be updated.

Message me if you have any problems
Pages: « 1 ... 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 [92] 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!