Site Tools


projects:homelab:aquantia

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:homelab:aquantia [2024/06/01 16:53] – add patched linux aqcdiag archive zhongfuprojects:homelab:aquantia [2024/08/03 04:57] (current) – updated patched aqcdiag with freshly built py2.7.18 on Ubuntu 24.04 zhongfu
Line 9: Line 9:
   * [[https://www.marvell.com/content/dam/marvell/en/public-collateral/ethernet-adaptersandcontrollers/marvell-fastLinq-edge-aqc113-aqc113c-aqc113cs-aqc114cs-aqc115c-aqc116c-product-brief.pdf|AQtion AQC113/AQC114/AQC114CS/AQC115C]]: Multi-gig MAC + Ethernet PHY with PCIe Gen4, for RJ45 Ethernet NICs   * [[https://www.marvell.com/content/dam/marvell/en/public-collateral/ethernet-adaptersandcontrollers/marvell-fastLinq-edge-aqc113-aqc113c-aqc113cs-aqc114cs-aqc115c-aqc116c-product-brief.pdf|AQtion AQC113/AQC114/AQC114CS/AQC115C]]: Multi-gig MAC + Ethernet PHY with PCIe Gen4, for RJ45 Ethernet NICs
     * AQC113: 10G     * AQC113: 10G
-    * AQC114/AQC114CS: 5G; AQC114CS might just be the AQC114 except in a smaller package+    * AQC114/AQC114CS: 5G; AQC114CS might be the same as the AQC114except with a smaller package
     * AQC115C: 2.5G     * AQC115C: 2.5G
  
Line 46: Line 46:
 from [[https://www.dell.com/support/home/en-sg/drivers/driversdetails?driverid=wj8f8]] from [[https://www.dell.com/support/home/en-sg/drivers/driversdetails?driverid=wj8f8]]
 )) - self-tests, flash backup/restore, device info, etc )) - self-tests, flash backup/restore, device info, etc
-    * It's a bit old, so the Linux version links old libraries and references old kernel header files. +    * It's a bit old, so the Python 2.7 build in the Linux version links old libraries and references old kernel header files. 
-      * On Ubuntu 22.04, using ''DIAG_2.10_Ubuntu_x86_64.zip'', patching ''lib/_ctypes.x86_64-linux-gnu.so'' to use ''libffi.so.7'' instead of ''libffi.so.6'', and patching ''lib/readline.x86_64-linux-gnu.so'' to use ''libreadline.so.8'' instead of ''libreadline.so.6'' seems to work fine. +      * On Ubuntu 22.04, using ''DIAG_2.10_Ubuntu_x86_64.zip'', stringpatching ''lib/_ctypes.x86_64-linux-gnu.so'' to use ''libffi.so.7'' instead of ''libffi.so.6'', and ''lib/readline.x86_64-linux-gnu.so'' to use ''libreadline.so.8'' instead of ''libreadline.so.6'' seems to work fine
 +        * Alternatively, you can rebuild Python 2.7 with ''--with-shared'', and substitute the existing Python libraries (''libpython2.7.so.1.0'', and ''lib/'') with the newly-built ones.
       * Replace ''#include <asm/compat.h>'' with ''#include <linux/compat.h>'' in ''diag_driver_linux/diag_driver.c'' for newer kernel versions too.       * Replace ''#include <asm/compat.h>'' with ''#include <linux/compat.h>'' in ''diag_driver_linux/diag_driver.c'' for newer kernel versions too.
-    * Or you can use [[https://web.archive.org/web/https://znx.cc/aqcdiag_2.10_linux_patched.tgz|this patched archive]]((from [[https://znx.cc/aqcdiag_2.10_linux_patched.tgz]], SHA256 ''605ce4a7a21f35182fe152c2a37f993b876bb9fe478960b0a0d2b16c66f16ab7'')): build the kernel driver in ''driver/diag_driver_linux'' with ''make'', then run ''./DIAG -s'' (to automatically unload/load kernel modules) in ''diag/''.+    * Or you can use [[https://web.archive.org/web/https://znx.cc/aqcdiag_2.10_linux_py2718.txz|this patched archive]]((from [[https://znx.cc/aqcdiag_2.10_linux_py2718.txz]], SHA256 ''48e76196c295557b85333b352785f075c49c4a826a6b5db41766d93c6bf0e21a'')): build the kernel driver in ''driver/diag_driver_linux'' with ''make'', then run ''./DIAG -s'' (to automatically unload/load kernel modules) in ''diag/''.
     * To backup/restore flash: use menu item ''3) Flash'' -> ''3) Save Flash Contents To File'' (read) or ''2) Update Flash Image'' (write).     * To backup/restore flash: use menu item ''3) Flash'' -> ''3) Save Flash Contents To File'' (read) or ''2) Update Flash Image'' (write).
     * ''./DIAG -s --password \!h:ahT8uW6'' also exposes secret menus that let you read/write registers, update PCIe device ID/subsystem IDs, change MAC addresses, wipe your flash (!), etc     * ''./DIAG -s --password \!h:ahT8uW6'' also exposes secret menus that let you read/write registers, update PCIe device ID/subsystem IDs, change MAC addresses, wipe your flash (!), etc
projects/homelab/aquantia.1717260820.txt.gz · Last modified: 2024/06/01 16:53 by zhongfu