Banana Pi JMB 321 support
|
Posts: 11
Threads: 1
Joined: Nov 2015
Reputation:
0
[Solved]
Nov 19, 2015, 12:09 PM
(This post was last modified: Nov 21, 2015, 12:08 AM by Mike.
Edit Reason: solved
)
Hi, I just tried the image "Bananian.PMP.Vanilla.HTPCGuides.img".
With blkid it is the only image till now which can find 2 drives at the jmb321.
Unfortunately I cannot install anything cause apt-get upgrade brings up:
" 100 root@bananapi ~ # apt-get upgrade 
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
linux-libc-dev openssl screen wpasupplicant
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 0 B/2,660 kB of archives.
After this operation, 420 kB disk space will be freed.
Do you want to continue [Y/n]? Y
/usr/bin/perl: error while loading shared libraries: /usr/lib/libperl.so.5.14: invalid ELF header
Setting up tzdata (2015f-0+deb7u1) ...
/usr/bin/perl: error while loading shared libraries: /usr/lib/libperl.so.5.14: invalid ELF header
dpkg: error processing tzdata (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)"
I would like to install openmediavault on this disk. So this is unfortunately impossible because of this error.
What am I doing wrong?
Thanks in advance
-----> problem solved by: apt-get --reinstall install perl-base
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Nov 19, 2015, 12:17 PM
If you are set on using Bananian try apt-get update before apt-get upgrade, you can also try bananian-update. Are you using a Banana Pi or Banana Pi Pro?
Personally I would use the jessie image with PMP support here which will work on the Banana Pi and Pro.
Posts: 11
Threads: 1
Joined: Nov 2015
Reputation:
0
[Solved]
Nov 19, 2015, 01:57 PM
(Nov 19, 2015, 12:17 PM)Mike Wrote: If you are set on using Bananian try apt-get update before apt-get upgrade, you can also try bananian-update. Are you using a Banana Pi or Banana Pi Pro?
Personally I would use the jessie image with PMP support here which will work on the Banana Pi and Pro.
Hej Mike,
of course I did apt-get update before. What I really want is openmediavault installed on my bananapi. Which does not work because of just this error.
Which image do you specifically mean?
Because this one "Bananapi_Debian_2.7_wheezy_3.19.5.raw" I already tried without success of it recognizing two HDDs.
Thank you for your help
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Nov 19, 2015, 02:00 PM
Are you in Scandinavia? Hej Hej
hmm ok, not sure what's up with that image, but you should use the image called Banana Pi Pro HTPCGuides Installer PMP Jessie 4.1.6.zip
Posts: 11
Threads: 1
Joined: Nov 2015
Reputation:
0
[Solved]
Nov 19, 2015, 02:35 PM
(Nov 19, 2015, 02:00 PM)Mike Wrote: Are you in Scandinavia? Hej Hej 
hmm ok, not sure what's up with that image, but you should use the image called Banana Pi Pro HTPCGuides Installer PMP Jessie 4.1.6.zip
Booted this image up there and under dmesg this line seems interesting
"
[ 4.597964] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
"
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Nov 19, 2015, 03:53 PM
(This post was last modified: Nov 19, 2015, 03:53 PM by Mike.)
Did you enable it as shown in the guide?
If you want to enable your SATA Port multipler open this
Code:
nano /etc/modprobe.d/ahci-sunxi.conf
Add this line
Code:
options ahci-sunxi enable_pmp=1
Save and exit with Ctrl+X, Y and Enter, reboot
Posts: 11
Threads: 1
Joined: Nov 2015
Reputation:
0
[Solved]
Nov 19, 2015, 04:14 PM
(Nov 19, 2015, 03:53 PM)Mike Wrote: Did you enable it as shown in the guide?
If you want to enable your SATA Port multipler open this
Code:
nano /etc/modprobe.d/ahci-sunxi.conf
Add this line
Code:
options ahci-sunxi enable_pmp=1
Save and exit with Ctrl+X, Y and Enter, reboot
Thank you again very much for your help. Just did that.
No second drive in blkid.
In dmesg I can find the following again " ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP"
What the hell am I stupid fuck missing?
By the way, no, I am german. Just liked the "Hej" from "Wallander" ;-)
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Nov 19, 2015, 04:34 PM
This could easily be an oversight or mix up on my part, can you try the Jessie 4.1.6 without PMP in the filename?
And can you try the Banana Pi HTPCGuides Installer Wheezy 3.19.7.
If you can bear with me I will build a new image with PMP support and upload it today or tomorrow.
I will also try to find time to test the Jessie PMP image you downloaded tonight so we can figure out what's going on here.
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Nov 19, 2015, 04:54 PM
OK I just tested the jessie 4.1.6 image and after adding the parameters
Code:
idroot@bananapipro:~# blkid
/dev/mmcblk0: PTUUID="5bd0f4d4" PTTYPE="dos"
/dev/mmcblk0p1: UUID="2109ff16-9187-44a6-bb05-e29f1c1b6cc4" TYPE="ext4" PARTUUID="5bd0f4d4-01"
/dev/sda1: LABEL="SP PHD U4" UUID="3682C24882C20C75" TYPE="ntfs" PARTUUID="daa73026-01"
/dev/sdb1: LABEL="SP PHD U1" UUID="DA72A4D072A4B325" TYPE="ntfs" PARTUUID="daa730cb-01"
Are you sure the port multiplier board is receiving power? Mine is getting power via USB from the Banana Pi and lights up blue on the board.
Do you have a Banana Pi or Banana Pro?
Is the Banana Pi you have made by Lemaker?
Posts: 11
Threads: 1
Joined: Nov 2015
Reputation:
0
[Solved]
Nov 19, 2015, 05:08 PM
(Nov 19, 2015, 04:54 PM)Mike Wrote: OK I just tested the jessie 4.1.6 image and after adding the parameters
Code:
idroot@bananapipro:~# blkid
/dev/mmcblk0: PTUUID="5bd0f4d4" PTTYPE="dos"
/dev/mmcblk0p1: UUID="2109ff16-9187-44a6-bb05-e29f1c1b6cc4" TYPE="ext4" PARTUUID="5bd0f4d4-01"
/dev/sda1: LABEL="SP PHD U4" UUID="3682C24882C20C75" TYPE="ntfs" PARTUUID="daa73026-01"
/dev/sdb1: LABEL="SP PHD U1" UUID="DA72A4D072A4B325" TYPE="ntfs" PARTUUID="daa730cb-01"
Are you sure the port multiplier board is receiving power? Mine is getting power via USB from the Banana Pi and lights up blue on the board.
Do you have a Banana Pi or Banana Pro?
Is the Banana Pi you have made by Lemaker?
Oh shit.
The blue LED is on.
It is an Allnet BananaPi.
|
|
Recent Posts
|
Can Be BeNaughty Legit? 7 Things You Want to Lea...
jonesPhedra Apr 21, 2025, 03:05 AM
|
Hello!
jonescelinaa Apr 16, 2025, 02:50 AM
|
Samba share
jonesPhedra Apr 15, 2025, 03:09 AM
|
Plex server not powerful enough, but only with s...
jonescelinaa Apr 12, 2025, 02:11 AM
|
How to set up Sonarr for auto renaming and impor...
goalken Mar 26, 2025, 04:50 PM
|
Latest unread posts | Unanswered posts |
|