Re: F23 - multiport sata card on Cubietruck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>> On Wed, Sep 16, 2015 at 10:00 PM, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>
>>>> 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

It only matters if he's booting the OS off the SATA, if it's rootfs is
on MMC and say /home is on SATA is can load it later once root is
switched.

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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux