[fedora-arm] F23 - multiport sata card on Cubietruck

Pavel Holica conscript89 at gmail.com
Thu Sep 17 13:01:51 UTC 2015


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

>
>
> On 09/17/2015 08:51 AM, Pavel Holica wrote:
>
>
>
> 2015-09-17 14:33 GMT+02:00 Robert Moskowitz <rgm at 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 at 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.
>
>
> So either way I may need to rebuild initramfs?  I have yet to get this
> right.
>
> I boot with this option.  It probably will not work; I will notice this.
> Then as root I issue 'dracut -f' then reboot?
>
> No, if you modify kernel command line, you don't need to rebuild
initramfs, since module parameters are read from kernel cmdline.
But if you modify some of files in modprobe.d and impacted module is loaded
in initramfs environment, you need to rebuild initramfs to include those
modifications made in modprobe.d

>
>
>>
>>> 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 at lists.fedoraproject.org
>>>>> https://admin.fedoraproject.org/mailman/listinfo/arm
>>>>>
>>>>
>>>> _______________________________________________
>>>> arm mailing list
>>>> arm at lists.fedoraproject.org
>>>> https://admin.fedoraproject.org/mailman/listinfo/arm
>>>>
>>>
>> _______________________________________________
>> arm mailing list
>> arm at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/arm
>>
>
>
>
> --
> Pavel Holica
>
>
>


-- 
Pavel Holica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/arm/attachments/20150917/e8fe0466/attachment.html>


More information about the arm mailing list