Sata Controller error

  • Hi,

    Sata controller ASMEDIA does not works on Rpi Computer Module 4.

    LE:~ # lspci
    00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2711 PCIe Bridge (rev 20)
    01:00.0 SATA controller: ASMedia Technology Inc. Device 1064 (rev 02)

    Kodi log file :

    ################################################################################
    # ... output of dmesg
    # LibreELEC release: RPi4.arm-11.0.3
    #
    ################################################################################
    [ 2.443809] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Receiver ID)
    [ 2.443814] pcieport 0000:00:00.0: device [14e4:2711] error status/mask=00000080/00002000
    [ 2.443821] pcieport 0000:00:00.0: [ 7] BadDLLP
    [ 2.444446] pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0

    Is Sata Ctrl supported on LE ?

    How can i fix it ?

    Regards,

    François

  • Ahci module kernel is not include in RPi4.arm-11.0.3 version. It's embarrassing because CM4 PCIe cannot be used can't use with Sata drives.

    Do you plan to include this mode in a future Raspberry CM4 version ?

  • RPi4 has zero support for PCIe devices so why is it "embarrasing" for LE to omit support for PCIe SATA things in our RPi4 image?

    Feel free to send a pull-request to GitHub enabling the kernel config that's needed.


  • Hello and thank you for your feedback but do not see any offense in the term "embarrasing". However, please note that the Compute Module 4 IO Board version has a PCIe port. I try to use it to mount Sata disk.

    I will follow your advice and send a pull-request to GitHub to enable this kernel config dedicated to CM4.

  • I try to post a pull-request to GitHib but i can't "Pull request creation failed. Validation failed: must be a collaborator"

    An other possibillity is compiling new image with ahci module. How can i add "ahci module" before compiling from my wsl ubuntu ?

  • If you clone our repo, make changes, then attempt to push changes to GitHub; You are trying to push your changes to our repo and this fails because you do not have commit rights on our repo. You need to fork our repo to your own GitHub account, make changes in a topic branch in your forked repo, and then send the pull request from your repo to ours.

    Have a read: https://wiki.libreelec.tv/development/git-tutorial

    NB: We expect you to build and prove the changes are correct before sending them. WSL build tips are here: https://wiki.libreelec.tv/development/building-windows-wsl