2015-09-17 14:33 GMT+02:00 Robert Moskowitz <rgm@htt-consult.com>:


On 09/17/2015 06:53 AM, Peter Robinson wrote:
On Wed, Sep 16, 2015 at 10:00 PM, Robert Moskowitz <rgm@htt-consult.com> wrote:
I went searching for information on sata port multiplier and found:

http://www.spinics.net/lists/arm-kernel/msg377619.html

Is this still the status of this and if so how do I set AHCI_HFLAG_NO_PMP to
true?
Well if you read the message you reference it states:

"So add a module parameter to enable pmp usage, and default this to off, so
that directly attached disks keep working normally."

So it seems if you use a multiple you need to do a different option
than without so it indicates it would need it. If you do "modinfo
ahci_sunxi" you'll see that actually the patch has landed and there is
a enable_pmp parameter. So you'll need to create something like
/etc/modprobe.d/sunxi.conf and add a line "options ahci_sunxi
enable_pmp=1" line (no I've not verified that is correct so you'll
need to check it) and reboot.

Ah, thanks!  I will try that.  I was looking at: /boot/extlinux/extlinux.conf and adding to the append line something like:

AHCI_HFLAG_NO_PMP=0


So I would have been heading in the wrong direction...

Not entirely, it should also work having ahci_sunxi.enable_pmp=1 on kernel cmdline.
Also, you may need to rebuild initramfs by running dracut -f after modifying modprobe.d files.


Peter

But it seems there were more messages about this...


On 09/16/2015 03:34 PM, Robert Moskowitz wrote:
I figured out the various ports on the muitiport card and have 2 sata
drives I am testing with.

One drive works fine.  But two drives it is a bit of a guess which one
will come in as /dev/sda (the mSD card is /dev/mmcblk0).  And only one drive
is visible.  Or at least gparted is only seeing one.

 From messages back last fall? I had that this board would let me use
multiple sata drives, so there seems to be something I am missing.

Right now each item has its own power supply:  Cubietruck, Multiport card,
Drive1, and Drive2.  So it is not a power issue (or shouldn't be).


_______________________________________________
arm mailing list
arm@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm

_______________________________________________
arm mailing list
arm@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm

_______________________________________________
arm mailing list
arm@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm



--
Pavel Holica