rr icon indicating copy to clipboard operation
rr copied to clipboard

Can you help develop the ata_piix module?

Open PeterSuh-Q3 opened this issue 1 year ago • 3 comments

Hello, @wjz304

pocopico is also a module that has been tried for a long time, but has not been successful yet. This is an essential module that enables SATA devices to operate on ICH5/6/7/8 controllers of older motherboards using LGA775. Modules that existed in the past Jun's loader or Redpill versions have not yet been developed. It seems to be related to syno libata, but I can't find the exact problem. The module associated with syno libata is sata_nv (module already developed by pocopico) and sata_sil and more.

The compiled module source is located in the path below.

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

The ata_piix module is already included in the integrated module, Even the module that was compiled again separately continues to receive the unknown symbol message. Again, what dependencies are there?

Attached is the log monitored by Junior. can you help me?

modprobe: ERROR: could not insert 'ata_piix': Unknown symbol in module, or unknown parameter (see dmesg)
insmod: can't insert '/lib/modules/ata_piix.ko': unknown symbol in module, or unknown parameter
Found IDE Controller : pciid 8086d000027c0  Required Extension : Searching for matching extension for ata_piix
Found Ethernet Interface : pciid 10ecd00008168 Required Extension : Searching for matching extension for r8168
Module r8168 loaded succesfully
...
SynologyNAS> cd /lib/modules
SynologyNAS> curl -kLO https://github.com/PeterSuh-Q3/arpl-modules/raw/main/broadwellnk-4.4.302/ata_piix.ko
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 46216  100 46216    0     0  73670      0 --:--:-- --:--:-- --:--:-- 73670
SynologyNAS> insmod ata_piix.ko
insmod: can't insert 'ata_piix.ko': unknown symbol in module, or unknown parameter
SynologyNAS> dmesg | grep ata_piix
[    4.718504] ata_piix: Unknown symbol syno_libata_support_pwr_ctl (err 0)
[    4.725217] ata_piix: Unknown symbol syno_libata_port_power_ctl (err 0)
[    4.731858] ata_piix: Unknown symbol syno_libata_index_get (err 0)
[    4.738037] ata_piix: Unknown symbol syno_libata_set_deep_sleep (err 0)
[    4.744659] ata_piix: Unknown symbol syno_libata_poweroff_task (err 0)
[    5.758767] ata_piix: Unknown symbol syno_libata_support_pwr_ctl (err 0)
[    5.765476] ata_piix: Unknown symbol syno_libata_port_power_ctl (err 0)
[    5.772127] ata_piix: Unknown symbol syno_libata_index_get (err 0)
[    5.778331] ata_piix: Unknown symbol syno_libata_set_deep_sleep (err 0)
[    5.784944] ata_piix: Unknown symbol syno_libata_poweroff_task (err 0)
[    5.797135] ata_piix: Unknown symbol syno_libata_support_pwr_ctl (err 0)
[    5.803848] ata_piix: Unknown symbol syno_libata_port_power_ctl (err 0)
[    5.810473] ata_piix: Unknown symbol syno_libata_index_get (err 0)
[    5.816653] ata_piix: Unknown symbol syno_libata_set_deep_sleep (err 0)
[    5.823268] ata_piix: Unknown symbol syno_libata_poweroff_task (err 0)
[  212.873394] ata_piix: Unknown symbol syno_libata_support_pwr_ctl (err 0)
[  212.880113] ata_piix: Unknown symbol syno_libata_port_power_ctl (err 0)
[  212.886751] ata_piix: Unknown symbol syno_libata_index_get (err 0)
[  212.892946] ata_piix: Unknown symbol syno_libata_set_deep_sleep (err 0)
[  212.899563] ata_piix: Unknown symbol syno_libata_poweroff_task (err 0)
[  212.914134] ata_piix: Unknown symbol syno_libata_support_pwr_ctl (err 0)
[  212.920844] ata_piix: Unknown symbol syno_libata_port_power_ctl (err 0)
[  212.927476] ata_piix: Unknown symbol syno_libata_index_get (err 0)
[  212.933661] ata_piix: Unknown symbol syno_libata_set_deep_sleep (err 0)
[  212.940276] ata_piix: Unknown symbol syno_libata_poweroff_task (err 0)
SynologyNAS> 

PeterSuh-Q3 avatar Jun 06 '23 13:06 PeterSuh-Q3

github-actions[bot] avatar Jun 06 '23 13:06 github-actions[bot]

I don't have much research on drivers,

From the perspective of symbols, it seems that symbol names are related to some definitions of toolchain, and it may be necessary to modify the source code to make it compatible,

Additionally, I don't seem to have found the 'libata' that ata_piix relies on?

wjz304 avatar Jun 06 '23 16:06 wjz304

Perhaps so it is speculated.

It also seems like a difficult task. I guess I'll have to spend some time researching it. It would be nice if it could be solved someday. There were users who demanded the necessity of this old chipset module.

Thank you for thinking about it together.

PeterSuh-Q3 avatar Jun 07 '23 00:06 PeterSuh-Q3