Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you help develop the ata_piix module? #66

Open
PeterSuh-Q3 opened this issue Jun 6, 2023 · 3 comments
Open

Can you help develop the ata_piix module? #66

PeterSuh-Q3 opened this issue Jun 6, 2023 · 3 comments
Labels

Comments

@PeterSuh-Q3
Copy link
Collaborator

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> 
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

@wjz304
Copy link
Contributor

wjz304 commented Jun 6, 2023

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?

@PeterSuh-Q3
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants