AuxXxilium / arc

Arc is a customized Redpill Loader for DSM 7.x (Xpenology) with enhanced Hardwaresupport, Addons, guided (semi-automated) Installation and more. Multiple customization options are built-in. It is modified to run on different Hardware (Wiki for more Informations). Commercial use is not permitted and strictly forbidden!
https://auxxxilium.tech
GNU General Public License v3.0
2.04k stars 234 forks source link

aqc111u slow speed #723

Closed mnlk2 closed 10 months ago

mnlk2 commented 10 months ago

Describe the bug my usb / ethernet controler aqc111u link is at 1gbs instead of 5 gbs and link speed not showed in dsm setting, only ip my isp connect me at 8gbs, my nas is connected to an RT-AX89X on 10Gbs port

maybe base hardware / model choose incompatibilty but i dont know what to don i've try DS3622xs, Ds918+ and some more models

Additional context i install dsm on a Dell OptiPlex XE2 SFF here is hardware list: Core i3-4330 8 Go DDR 3 2To baracuda hdd 1Go ssd seagate s2000DM008

AuxXxilium commented 10 months ago

i need to know which modules are loaded in dsm: connect with ssh to your dsm and do: "lspci -nnk"

mnlk2 commented 10 months ago

here is the outpout:

mnlk2@NAS_Ludo:~$ lspci -nnk 0000:00:00.0 Class [0600]: Device [8086:0c00] (rev 06) Subsystem: Device [1028:05c1] Kernel driver in use: hsw_uncore 0000:00:02.0 Class [0300]: Device [8086:0412] (rev 06) DeviceName: Onboard IGD Subsystem: Device [1028:05c1] Kernel driver in use: i915 0000:00:03.0 Class [0403]: Device [8086:0c0c] (rev 06) Subsystem: Device [1028:05c1] 0000:00:14.0 Class [0c03]: Device [8086:8c31] (rev 04) Subsystem: Device [1028:05c1] Kernel driver in use: xhci_hcd 0000:00:16.0 Class [0780]: Device [8086:8c3a] (rev 04) Subsystem: Device [1028:05c1] 0000:00:19.0 Class [0200]: Device [8086:153a] (rev 04) DeviceName: Onboard LAN Subsystem: Device [1028:05c1] Kernel driver in use: e1000e 0000:00:1a.0 Class [0c03]: Device [8086:8c2d] (rev 04) Subsystem: Device [1028:05c1] Kernel driver in use: ehci-pci 0000:00:1d.0 Class [0c03]: Device [8086:8c26] (rev 04) Subsystem: Device [1028:05c1] Kernel driver in use: ehci-pci 0000:00:1f.0 Class [0601]: Device [8086:8c4e] (rev 04) Subsystem: Device [1028:05c1] Kernel driver in use: lpc_ich 0000:00:1f.2 Class [0106]: Device [8086:8c02] (rev 04) DeviceName: Onboard SATA controller #1 Subsystem: Device [1028:05c1] Kernel driver in use: ahci 0000:00:1f.3 Class [0c05]: Device [8086:8c22] (rev 04) Subsystem: Device [1028:05c1] Kernel driver in use: i801_smbus 0001:00:12.0 Class [0106]: Device [8086:5ae3] 0001:00:13.0 Class [0000]: Device [8086:5ad8] 0001:00:14.0 Class [0000]: Device [8086:5ad6] 0001:00:15.0 Class [0c03]: Device [8086:5aa8] 0001:00:16.0 Class [1180]: Device [8086:5aac] 0001:00:18.0 Class [1180]: Device [8086:5abc] 0001:00:19.0 Class [1180]: Device [8086:5ac6] DeviceName: Onboard LAN 0001:00:19.2 Class [1180]: Device [8086:5ac6] 0001:00:1f.0 Class [0c05]: Device [8086:5ad4] 0001:00:1f.1 Class [0c05]: Device [8086:5ad4] 0001:01:00.0 Class [0106]: Device [1b4b:9215] (rev 11) 0001:02:00.0 Class [0200]: Device [8086:1539] (rev 03) 0001:03:00.0 Class [0200]: Device [8086:1539] (rev 03)

AuxXxilium commented 10 months ago
Private flags
This driver support additional options.

Disable thermal throttling
Link speed is configured to 100Base when the internal chip overheats automatically by default. This option disables that behavior.
ethtool --set-priv-flags eth2 "Thermal throttling" off
Enable Low Power 5G
Entering to low heat generation mode at the expense of throughput. This option should be enabled when thermal throttling is disabled.
ethtool --set-priv-flags eth2 "Low Power 5G" on

try this, but eth2 should be replaced with the eth number that is it in your system

mnlk2 commented 10 months ago

those commands respond : mnlk2@NAS_Ludo:~$ ethtool --set-priv-flags eth1 "Low Power 5G" on No private flags defined

when i type sudo ethtool eth0 return is : (i mean it's on board eth)

Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: on (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

when i type ethtool eth1 (usb aqc111u i think) it return :

Settings for eth1:
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
AuxXxilium commented 10 months ago

usb3 connected? i think it is using the wrong module

mnlk2 commented 10 months ago

yes it's on usb 3.0

mnlk2@NAS_Ludo:~$ lsusb |usb1 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (ehci_hcd 0000:00:1a.0) hub |1-1 8087:8008:0004 09 2.00 480MBit/s 0mA 1IF ( ffffffd1ffffffb2ffffffdbffffffad) hub |usb2 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (ehci_hcd 0000:00:1d.0) hub |2-1 8087:8000:0004 09 2.00 480MBit/s 0mA 1IF ( ffffffd1ffffffb2ffffffdbffffffa0) hub |usb3 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.302+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub |3-9 f400:f400:1100 00 2.10 480MBit/s 500mA 1IF (Lexar USB Flash Drive AA212QGQZ3GMIS9W) |usb4 1d6b:0003:0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.302+ xhci-hcd xHCI Host Controller 0000:00:14.0) hub **|4-6 1c04:0015:0101 00 3.20 5000MBit/s 896mA 2IFs (QNAP￿ Pacific￿ 17I16577)**

AuxXxilium commented 10 months ago

update your modules in arc and try again. if this will not work, we have to give a look to your bios settings.

mnlk2 commented 10 months ago

ok i'll try

mnlk2 commented 10 months ago

after full upgrade nothing change

AuxXxilium commented 10 months ago

not full upgrade, only modules

AuxXxilium commented 10 months ago

if this will not work, try this: https://github.com/bb-qq/aqc111

mnlk2 commented 10 months ago

install work but fail to launch already try

AuxXxilium commented 10 months ago

than i don't know whats wrong

AuxXxilium commented 10 months ago

and latest modules 23.12.28a havn't worked?

mnlk2 commented 10 months ago

that why i said maybe i choose wrong model on dsm install in arc loader, but i dont know wich one to choose, my cpu is close to DS3615xs have (Intel Core i3-4130). maybe i need a bromolow version of dsm but not fuond, maybe too old

and latest modules 23.12.28a havn't worked?

nop dsm work but always only 1gbs on my acq111u

AuxXxilium commented 10 months ago

is the cable correct? tried a different?

mnlk2 commented 10 months ago

cat 7 factory new delivered with my Qnap on windows it work like it does 350 mb/s

mnlk2 commented 10 months ago

if it help when plug / unplug i have this logs:

[ 1126.433348] usb 4-6: USB disconnect, device number 2
[ 1126.438352] cdc_ether 4-6:2.0 eth1: unregister 'cdc_ether' usb-0000:00:14.0-6, CDC Ethernet Device
[ 1128.043516] usb 4-6: new SuperSpeed USB device number 3 using xhci_hcd
[ 1128.069957] cdc_ether 4-6:2.0 eth1: register 'cdc_ether' at usb-0000:00:14.0-6, CDC Ethernet Device, 24:5e:be:65:ea:3
AuxXxilium commented 10 months ago

deselect cdc_ether in modules of loader.

btw: i can't find any information that this router supports 5gbps ethernet. i only find informations for 100/1000mpps and 10gbps.

AuxXxilium commented 10 months ago

you know that syno removed the most usb support in dsm 7?

mnlk2 commented 10 months ago

deselect cdc_ether in modules of loader.

btw: i can't find any information that this router supports 5gbps ethernet. i only find informations for 100/1000mpps and 10gbps.

10gbps port can work at 10 / 5 /2.5 / 1 n i force it at 5 gbs in settings

Capture d'écran 2023-12-28 203421

you know that syno removed the most usb support in dsm 7? yes i saw it, but i others can make my usb card work

AuxXxilium commented 10 months ago

deselect cdc_ether in modules of loader.

btw: i can't find any information that this router supports 5gbps ethernet. i only find informations for 100/1000mpps and 10gbps.

do this please

mnlk2 commented 10 months ago

must i rebuid loader? after deselect it?

AuxXxilium commented 10 months ago

yes, you have no boot option i guess

mnlk2 commented 10 months ago

yes i dont have

mnlk2 commented 10 months ago

with cdc_ether unselected my card look unpluged in dsm

mnlk2 commented 10 months ago

i have to go, i'll come back tomorrow

thx for help by the way

AuxXxilium commented 10 months ago

please try latest modules 23.12.29 with update modules in arc. i blacklisted your aqc111 for this module, to force load the aqc111 module.

mnlk2 commented 10 months ago

after this update in first case my card look disconnected, i try the 2 commands ethtool with sudo (without : permission denied) and my card work. now it look like work better i can reach 200+ mb/s :

 sudo curl -o /dev/null http://ipv4.appliwave.testdebit.info/10G/10G.iso
Password:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 9536M  100 9536M    0     0   262M      0  0:00:36  0:00:36 --:--:--  269M

edit: after reboot it boot on arc loader, not dsm i must manually boot dsm and card look unplug until i send ethtool command again

AuxXxilium commented 10 months ago

if this happens, there is something wrong with your loader disk.

mnlk2 commented 10 months ago

i'll recreate it with last version and try it

mnlk2 commented 10 months ago

with recreated key, new clear install (hdd formated both) my acq111 appear disconnected at 1rst boot and same after reboot until i re send eth tool commands

AuxXxilium commented 10 months ago

let me think about it

AuxXxilium commented 10 months ago

please try latest modules, they include latest version of aqc111 driver/module, if this will not help, i don't know

mnlk2 commented 10 months ago

no change with new modules :/

AuxXxilium commented 10 months ago

than i don't know whats wrong, it should load the correct module.

mnlk2 commented 10 months ago

i wanted to do a baremetal, i'll try in wm i think thx for time past to help me

AuxXxilium commented 10 months ago

i looked in module code, i think your bios or firmware of nic is forcing a non full linux compatible mode.

mnlk2 commented 10 months ago

when i plug in dsmeg show this :

[  775.574833] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[  776.848282] usbnet: Unknown symbol mii_ethtool_sset (err 0)
[  776.853860] usbnet: Unknown symbol mii_link_ok (err 0)
[  776.859035] usbnet: Unknown symbol mii_nway_restart (err 0)
[  776.864634] usbnet: Unknown symbol mii_ethtool_gset (err 0)

i hope it can help

mnlk2 commented 10 months ago

good news i make it work

i reinstall all from 0 but i choose the oldest model in list DS3617xs at first it dont work, i install bb-qq broadwell driver and now it work like he does

so my 1rst idea : wrong model / hardware couple was true