LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   slackwarearm, bananapro, sata port multiplier working (https://www.linuxquestions.org/questions/slackware-arm-108/slackwarearm-bananapro-sata-port-multiplier-working-4175655018/)

glorsplitz 06-02-2019 05:01 PM

slackwarearm, bananapro, sata port multiplier working
 
2 Attachment(s)
I got bananapro to try slackwarearm and sata. slackwarearm is working and running fine. I wondered with sata port could multiple drives be added, and found maybe with a sata port multiplier.

I found posts that said A20 should be able to do spm. This post says look for "CONFIG_SATA_PMP=y" in your kernel, I found it,
Quote:

grep -iR 'CONFIG_SATA_PMP' /usr/src/linux/.config
CONFIG_SATA_PMP=y
That post also says
Quote:

Now to enable sunxi pmp support edit /boot/boot.cmd. Find the line that begins with setenv bootargs and add: ahci_sunxi.enable_pmp=1
so I added ahci_sunxi.enable_pmp=1 to bootargs
Code:

setenv bootargs "${slkconsole} ${bootcmd_generic} root=/dev/sda2 waitforroot=3 rootfstype=ext4 ahci_sunxi.enable_pmp=1"
and got
Code:

/proc/cmdline
console=ttyS0,115200n8 console=tty0 debug earlyprintk sunxi_g2d_mem_reserve=0
sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1024x768p60 root=/dev/sda2
waitforroot=5 rootfstype=ext4 ahci_sunxi.enable_pmp=1

Quote:

[ 4.923099] ata1.15: Port Multiplier 1.2, 0x197b:0x5755 r0, 5 ports, feat 0x5/0xf
[ 4.945693] ata1.00: hard resetting link
[ 5.422167] ata1.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[ 5.435267] ata1.01: hard resetting link
[ 5.910121] ata1.01: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
Code:

blkid
/dev/sdb1: UUID="bfe1a37d-3e1e-4f8b-b6a9-f849988a9ec6" TYPE="ext3" PARTLABEL="primary" PARTUUID="15c9a254-e250-4967-9863-747eaa8e8308"
/dev/sda1: UUID="b61e9fdf-669b-43b9-99ba-75ae02da71dd" TYPE="swap" PARTUUID="0a9dcc02-01"
/dev/sda2: UUID="9d5cdade-54ab-4acb-8cd4-7513cc5e3bc8" TYPE="ext4" PARTUUID="0a9dcc02-02"

I've read spm could get hot, I have adequate cooling and don't think other attachment, Banana_Pi_SATA_PMP_Back_preview_featured, is a good idea.

I also contacted startech about command-based switching (CBS) or FIS (Frame Information Structure)-based switching (FBS), response I got
Quote:

In regards to the throughput to expect loading and trying to access different SATA drives, that will depend on the SATA controller and the hard drivers used, and others factors like the CPU load, the type of file accessed/transferred, the computer hardware, etc.
I'm testing/trying things, we'll see. I have nfs exports, tried couple things from different computers, working fine so far.

drmozes 06-04-2019 05:43 AM

That's great! Keep us posted. Have you got the power switch linked up to one on the case?

glorsplitz 06-08-2019 11:50 AM

Actually I'm more interested in getting some pretty led for the HDD activity LED headers on the sata port multiplier card.

drmozes 06-08-2019 01:07 PM

Quote:

Originally Posted by glorsplitz (Post 6003346)
Actually I'm more interested in getting some pretty led for the HDD activity LED headers on the sata port multiplier card.

Yeah! I used to love the HDD lights on my PC cases. If the system locked solid, but the HDD light was being hammered, I always knew _something_ was going on :-)


All times are GMT -5. The time now is 05:29 AM.