LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 06-02-2019, 05:01 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
slackwarearm, bananapro, sata port multiplier working


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.
Attached Thumbnails
Click image for larger version

Name:	DSCN7656.jpg
Views:	63
Size:	269.2 KB
ID:	30686   Click image for larger version

Name:	Banana_Pi_SATA_PMP_Back_preview_featured.jpg
Views:	63
Size:	43.5 KB
ID:	30687  

Last edited by glorsplitz; 06-02-2019 at 05:11 PM.
 
Old 06-04-2019, 05:43 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,539

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
That's great! Keep us posted. Have you got the power switch linked up to one on the case?
 
Old 06-08-2019, 11:50 AM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Actually I'm more interested in getting some pretty led for the HDD activity LED headers on the sata port multiplier card.
 
1 members found this post helpful.
Old 06-08-2019, 01:07 PM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,539

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by glorsplitz View Post
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 :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sata port multiplier on kirkwood devices louigi600 Slackware - ARM 0 12-17-2016 10:49 PM
[SOLVED] SATA (libata) link reset problem with port multiplier (PMP): sil3132, sil3726 mrkn Linux - Hardware 2 01-13-2013 04:08 PM
Control Port Multiplier via SATA2 port built-in onboard dinhtandl Linux - Kernel 3 07-21-2010 11:52 AM
Interal SATA port multiplier and beyond captkrill Linux - Hardware 1 03-23-2009 04:44 PM
Sata port multiplier on Linux Rupertt Linux - Hardware 0 02-09-2008 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration