fbelavenuto / arpl-modules

Binary modules for ARPL
GNU General Public License v2.0
25 stars 44 forks source link

There is an error in compilation output of sata_sil module for Silicon Image 3114 SATA cards. #201

Open PeterSuh-Q3 opened 1 year ago

PeterSuh-Q3 commented 1 year ago

At the request of 2 users, I compiled the sata_sil module using your apl_modules repo. Shared library for kernel compilation.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/ata?h=v6.2.8

Compilation proceeded without problems, and the sata_sil.ko result was generated, but I did an injection test in the actual DS3622xs+ junior, It seems that there is a dependency problem with the syno_libata module and it cannot be used.

I see libata-related sources in the shared library location, but I don't know how to select and use them.

https://github.com/PeterSuh-Q3/arpl-modules/tree/main/src/4.x/drivers/ata

Below are the results of my testing with this module today.

https://xpenology.com/forum/topic/64438-installing-latest-dsm-with-tinycore-redpill-how-do-i-add-extra-modules-for-my-hardware/?do=findComment&comment=440703

fabio, can you help me?

Ostap6 commented 1 year ago

I support. This question interests many of my friends.

PeterSuh-Q3 commented 1 year ago

I tried to compile the libata.ko module with about 3 hours of effort today. In Linux, as shown below, libata.ko and sata_sil.ko are listed as dependencies. Searching the forum, dmesg says that it is already loading libata 3.0 version. However, I don't know if there is a separate libata.ko in module form. I lost my way again.

Doesn't the libata.ko module need to be built separately?

There seems to be a correlation between libata and syno_libata and one should intercept the other, is that correct?

SynologyNAS> dmesg | grep libata [ 0.523724] libata version 3.00 loaded.

스크린샷 2023-03-27 오후 2 16 29