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:12] zhongfuprojects:homelab:aquantia [2024/08/03 04:57] (current) – updated patched aqcdiag with freshly built py2.7.18 on Ubuntu 24.04 zhongfu
Line 4: Line 4:
  
   * [[https://www.marvell.com/content/dam/marvell/en/public-collateral/ethernet-adaptersandcontrollers/marvell-ethernet-controllers-aqtion-aqc100-product-brief.pdf|AQtion AQC100(S)]]: 10G MAC with PCIe Gen3, typically used with SFP+ NICs   * [[https://www.marvell.com/content/dam/marvell/en/public-collateral/ethernet-adaptersandcontrollers/marvell-ethernet-controllers-aqtion-aqc100-product-brief.pdf|AQtion AQC100(S)]]: 10G MAC with PCIe Gen3, typically used with SFP+ NICs
-  * [[https://www.marvell.com/content/dam/marvell/en/public-collateral/ethernet-adaptersandcontrollers/marvell-ethernet-controllers-aqc107-108-product-brief.pdf|AQtion AQC107/AQC108]]: 10G (AQC107)/5G (AQC108) multi-gig MAC + Ethernet PHY with PCIe Gen3, for RJ45 Ethernet NICs +  * [[https://www.marvell.com/content/dam/marvell/en/public-collateral/ethernet-adaptersandcontrollers/marvell-ethernet-controllers-aqc107-108-product-brief.pdf|AQtion AQC107/AQC108]]: Multi-gig MAC + Ethernet PHY with PCIe Gen3, 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]]: 10G (AQC113)/5G (AQC114/AQC114CS)/2.5G (AQC115C) multi-gig MAC + Ethernet PHY with PCIe Gen4, for RJ45 Ethernet NICs+    * AQC107: 10G 
 +    * AQC108: 5G 
 +  * [[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 
 +    * AQC114/AQC114CS: 5G; AQC114CS might be the same as the AQC114, except with a smaller package 
 +    * AQC115C: 2.5G
  
 ===== Products ===== ===== Products =====
Line 25: Line 30:
  
 ==== 5GBase-T RJ45 ==== ==== 5GBase-T RJ45 ====
 +
 +  * PCIe cards
  
 ==== 2.5GBase-T RJ45 ==== ==== 2.5GBase-T RJ45 ====
Line 39: 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 {{.:todo|this patched archive}}: 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.1717258358.txt.gz · Last modified: 2024/06/01 16:12 by zhongfu