Pages:
Author

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

legendary
Activity: 896
Merit: 1000
Reading up on that board, is the 2gig MMC big enough to support the Archlinux install with Minepeon. or will it be running from the SD slot?

MinePeon uses less then a GB in space, it will fit onto the internal eMMC with plenty of room to spare.  Initaly though it is going to run from the SD through most of the pre-release series.

Second, with the sqlite support for stats, can we offload the database to a network drive?

sqlite runs very badly over a mount so that wont be an option HOWEVER it is just a pdo data-source.... MySQL is not out of the question, just running it on an SD card is a colossally bad idea.

Neil
newbie
Activity: 19
Merit: 0
Interesting that Minepeon site shows up a spam site at work.  and OSI project, will have to talk to IT about that.
anyway. going to have to pick up one of those Beaglebone blacks.  Especially since I can support who I work for indirectly.

Reading up on that board, is the 2gig MMC big enough to support the Archlinux install with Minepeon. or will it be running from the SD slot?

Second, with the sqlite support for stats, can we offload the database to a network drive?

El
newbie
Activity: 57
Merit: 0
Will you have the usb permissions fix to allow the drillbit boards to work?
legendary
Activity: 896
Merit: 1000
Latest and greatest of both cgminer and bfgminer will be included EXCEPT the hidapi drivers for bfgminer.

hidapi just does not work and makes bfgminer unstable on the Pi.

Neil
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
I need to stop editing my comments after I release them, as Neil is so fast in answering them, that some questions are edited after Neil answered the others. Sorry by that, Neil. What about bfgminer 3.10.0?
legendary
Activity: 896
Merit: 1000
Thanks for your answer, Neil. But can I backup all settings and statistics with 0.2.4.3 version and restore them with the new 0.2.5 image without loss of data?

The backup of the setting will work, the statistics however wont.  Statistics are moving to a sqlite DB.

Also, can I expand the file system of the new 0.2.5 image to the full size of my SD's with the commands somewhere in this thread?

Yeah, there was a problem with some previous images.  It is fixed in this one so a resize2fs will just expand the root to take up all the free space.

Neil
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?

There is an issue with that version that will not allow resizeing.

I am about to release 0.2.5 PR1 with that issue fixed if you want to try it out (within the next 24 hours, I am just letting it "burn in").  Check back here later.

Neil

Greetings.

With git pull from today, I think I see the new 0.2.5 branch. How can I upgrade my 0.2.4.3 versions of MinePeon to the new version, without having to do another SD's?

Quote
minepeon ~ # cd /opt/minepeon/
minepeon /opt/minepeon # git pull
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 16 (delta 2), reused 15 (delta 1)
Unpacking objects: 100% (16/16), done.
From https://github.com/MineForeman/minepeon-base
 * [new branch]      RaspberryPi-0.2.5 -> origin/RaspberryPi-0.2.5
Already up-to-date.

It's going to be a new image sorry ct1aic, there are a few changes under the hood that require it.

Neil
Thanks for your answer, Neil. 3 more questions...

  • Can I backup all settings and statistics with 0.2.4.3 version and restore them with the new 0.2.5 image without loss of data?
  • Can I expand the file system of the new 0.2.5 image to the full size of my SD's with the commands somewhere in this thread?
  • Are you "releasing" bfgminer 3.10.0 to 0.2.4.3 version via git pull?
hero member
Activity: 700
Merit: 504
Run a Bitcoin node.
I have been running MinePeon 0.2.4.1 for a while, and have just upgraded to 0.2.4.3.

How do I expand it so that it uses all the space on the SD-Card?

I have tried both http://www.raspians.com/full-guide-to-minepeon/ and https://bitcointalksearch.org/topic/m.3147900, and neither of these work on Minepeon 0.2.4.1.  I haven't tried on 0.2.4.3 as the output of df -h looks the same as 0.2.4.1.  I was able to expand it using http://www.raspians.com/full-guide-to-minepeon/ on previous versions of MinePeon, but it's not working for me now on these new versions...

There is an issue with that version that will not allow resizeing.

I am about to release 0.2.5 PR1 with that issue fixed if you want to try it out (within the next 24 hours, I am just letting it "burn in").  Check back here later.

Neil
Thanks so much!  I look forward to it...
full member
Activity: 196
Merit: 100

There is an issue with that version that will not allow resizeing.

I am about to release 0.2.5 PR1 with that issue fixed if you want to try it out (within the next 24 hours, I am just letting it "burn in").  Check back here later.

Neil

Greetings.

With git pull from today, I think I see the new 0.2.5 branch. How can I upgrade my 0.2.4.3 versions of MinePeon to the new version, without having to do another SD's?

Quote
minepeon ~ # cd /opt/minepeon/
minepeon /opt/minepeon # git pull
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 16 (delta 2), reused 15 (delta 1)
Unpacking objects: 100% (16/16), done.
From https://github.com/MineForeman/minepeon-base
 * [new branch]      RaspberryPi-0.2.5 -> origin/RaspberryPi-0.2.5
Already up-to-date.

It's going to be a new image sorry ct1aic, there are a few changes under the hood that require it.

Neil


Yay!  When do you expect to upload it?
legendary
Activity: 896
Merit: 1000

There is an issue with that version that will not allow resizeing.

I am about to release 0.2.5 PR1 with that issue fixed if you want to try it out (within the next 24 hours, I am just letting it "burn in").  Check back here later.

Neil

Greetings.

With git pull from today, I think I see the new 0.2.5 branch. How can I upgrade my 0.2.4.3 versions of MinePeon to the new version, without having to do another SD's?

Quote
minepeon ~ # cd /opt/minepeon/
minepeon /opt/minepeon # git pull
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 16 (delta 2), reused 15 (delta 1)
Unpacking objects: 100% (16/16), done.
From https://github.com/MineForeman/minepeon-base
 * [new branch]      RaspberryPi-0.2.5 -> origin/RaspberryPi-0.2.5
Already up-to-date.

It's going to be a new image sorry ct1aic, there are a few changes under the hood that require it.

Neil
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?

There is an issue with that version that will not allow resizeing.

I am about to release 0.2.5 PR1 with that issue fixed if you want to try it out (within the next 24 hours, I am just letting it "burn in").  Check back here later.

Neil

Greetings.

With git pull from today, I think I see the new 0.2.5 branch. How can I upgrade my 0.2.4.3 versions of MinePeon to the new version, without having to do another SD's?

Quote
minepeon ~ # cd /opt/minepeon/
minepeon /opt/minepeon # git pull
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 16 (delta 2), reused 15 (delta 1)
Unpacking objects: 100% (16/16), done.
From https://github.com/MineForeman/minepeon-base
 * [new branch]      RaspberryPi-0.2.5 -> origin/RaspberryPi-0.2.5
Already up-to-date.
hero member
Activity: 1246
Merit: 501
I'm not sure it's a BBB issue - I'm seeing bfgminer 3.10.0 hang up on scan on my NUC running Debian, too.   I have hidapi installed on Debian on both the BBB and the NUC.  Both seem to hang up about 20% of the time.  An replug of all USB devices seems to cure the issue.
full member
Activity: 196
Merit: 100
I have been running MinePeon 0.2.4.1 for a while, and have just upgraded to 0.2.4.3.

How do I expand it so that it uses all the space on the SD-Card?

I have tried both http://www.raspians.com/full-guide-to-minepeon/ and https://bitcointalksearch.org/topic/m.3147900, and neither of these work on Minepeon 0.2.4.1.  I haven't tried on 0.2.4.3 as the output of df -h looks the same as 0.2.4.1.  I was able to expand it using http://www.raspians.com/full-guide-to-minepeon/ on previous versions of MinePeon, but it's not working for me now on these new versions...

There is an issue with that version that will not allow resizeing.

I am about to release 0.2.5 PR1 with that issue fixed if you want to try it out (within the next 24 hours, I am just letting it "burn in").  Check back here later.

Neil

Sounds great, hopefuly my bi*furys will work on it then.
member
Activity: 67
Merit: 10
I have been running MinePeon 0.2.4.1 for a while, and have just upgraded to 0.2.4.3.

How do I expand it so that it uses all the space on the SD-Card?

I have tried both http://www.raspians.com/full-guide-to-minepeon/ and https://bitcointalksearch.org/topic/m.3147900, and neither of these work on Minepeon 0.2.4.1.  I haven't tried on 0.2.4.3 as the output of df -h looks the same as 0.2.4.1.  I was able to expand it using http://www.raspians.com/full-guide-to-minepeon/ on previous versions of MinePeon, but it's not working for me now on these new versions...

My way:

List your old partitiontable:
Code:
[minepeon@Green-Pie ~]$ sudo fdisk -l

Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00057540

Device         Boot     Start       End  Blocks  Id System
/dev/mmcblk0p1           2048    186367   92160   c W95 FAT32 (LBA)
/dev/mmcblk0p2         186368   3667967 1740800   5 Extended
/dev/mmcblk0p5         188416   3667967 1739776  83 Linux


You need to delete first p5 and than p2
if done recreate them

Code:
sudo fdisk /dev/mmcblk0

- press d for delete p5 and p2
- press n for new partition

Command (m for help): n

Partition type:
   p   primary (1 primary, 0 extended, 3 free)
   e   extended
Select (default p): e
Partition number (2-4, default 2):
First sector (186368-31116287, default 186368):
Last sector, +sectors or +size{K,M,G,T,P} (186368-31116287, default 31116287):

Created a new partition 2 of type 'Extended' and of size 14.8 GiB.

Command (m for help): n

Partition type:
   p   primary (1 primary, 0 extended, 3 free)
   e   extended
Select (default p): e
Partition number (2-4, default 2):
First sector (186368-31116287, default 186368):
Last sector, +sectors or +size{K,M,G,T,P} (186368-31116287, default 31116287):

Created a new partition 2 of type 'Extended' and of size 14.8 GiB.

Command (m for help): n

Partition type:
   p   primary (1 primary, 1 extended, 2 free)
   l   logical (numbered from 5)
Select (default p): l

Adding logical partition 5
First sector (188416-31116287, default 188416):
Last sector, +sectors or +size{K,M,G,T,P} (188416-31116287, default 31116287):

Created a new partition 5 of type 'Linux' and of size 14.8 GiB.

Command (m for help): p
Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00057540

Device         Boot     Start       End   Blocks  Id System
/dev/mmcblk0p1           2048    186367    92160   c W95 FAT32 (LBA)
/dev/mmcblk0p2         186368  31116287 15464960   5 Extended
/dev/mmcblk0p5         188416  31116287 15463936  83 Linux

 Command (m for help): w

The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

As written you need to reboot

Code:
sudo reboot

resize your fs

Code:
sudo resize2fs /dev/mmcblk0p5

Code:
[minepeon@Green-Pie ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  1.1G   13G  8% /
devtmpfs        210M     0  210M   0% /dev
tmpfs           232M     0  232M   0% /dev/shm
tmpfs           232M  1.2M  231M   1% /run
tmpfs           232M     0  232M   0% /sys/fs/cgroup
tmpfs           232M     0  232M   0% /tmp
/dev/mmcblk0p1   90M   24M   66M  27% /boot
legendary
Activity: 896
Merit: 1000
I have been running MinePeon 0.2.4.1 for a while, and have just upgraded to 0.2.4.3.

How do I expand it so that it uses all the space on the SD-Card?

I have tried both http://www.raspians.com/full-guide-to-minepeon/ and https://bitcointalksearch.org/topic/m.3147900, and neither of these work on Minepeon 0.2.4.1.  I haven't tried on 0.2.4.3 as the output of df -h looks the same as 0.2.4.1.  I was able to expand it using http://www.raspians.com/full-guide-to-minepeon/ on previous versions of MinePeon, but it's not working for me now on these new versions...

There is an issue with that version that will not allow resizeing.

I am about to release 0.2.5 PR1 with that issue fixed if you want to try it out (within the next 24 hours, I am just letting it "burn in").  Check back here later.

Neil
hero member
Activity: 700
Merit: 504
Run a Bitcoin node.
I have been running MinePeon 0.2.4.1 for a while, and have just upgraded to 0.2.4.3.

How do I expand it so that it uses all the space on the SD-Card?

I have tried both http://www.raspians.com/full-guide-to-minepeon/ and https://bitcointalksearch.org/topic/m.3147900, and neither of these work on Minepeon 0.2.4.1.  I haven't tried on 0.2.4.3 as the output of df -h looks the same as 0.2.4.1.  I was able to expand it using http://www.raspians.com/full-guide-to-minepeon/ on previous versions of MinePeon, but it's not working for me now on these new versions...
hero member
Activity: 798
Merit: 1000
I have A6A's, an A6 and an A5A,

Version does nit make any difference as far as I can tell.

Are you guys compiling with or without hidapi?  I find without most of the issues disappear, but then I cannot run some test devices.....

Neil

Mine is compiled without hidapi, but i still see issues if I do a lot of BFGMiner restarts with scanning.
legendary
Activity: 896
Merit: 1000
I have A6A's, an A6 and an A5A,

Version does nit make any difference as far as I can tell.

Are you guys compiling with or without hidapi?  I find without most of the issues disappear, but then I cannot run some test devices.....

Neil
hero member
Activity: 798
Merit: 1000
I'm on the BBB rev A6A.

Note that the lock ups for me don't always happen.  It takes a few scans in succession like if I restart BFGMiner multiple times while tweaking settings in the Conf and I didn't set -S noauto.
sr. member
Activity: 546
Merit: 255
Me being lazy has anyone had success with getting this to run an avalon v2 blades on it?
Pages:
Jump to: