bb-qq / aqc111

DSM driver for Aquantia AQC111U(5Gbps) based USB Ethernet adapters
421 stars 45 forks source link

DSM 7.2.1-69057 Update 3, DS223, QNA-UC5G1T Manual Installation Fails #127

Open cloud-shell opened 6 months ago

cloud-shell commented 6 months ago

Description of the problem

Cannot load module driver.

I downloaded aqc111-rtd1619b-1.3.3.0-12_7.2.spk. and tried manual installation.

driver is not loaded.

So I tried star using scripts.

$ sudo /var/packages/aqc111/scripts/start-stop-status start
++ dirname /var/packages/aqc111/scripts/start-stop-status
+ script_root=/var/packages/aqc111/scripts
++ realpath -m /var/packages/aqc111/scripts/..
+ package_root=/var/packages/aqc111
++ basename /var/packages/aqc111
+ driver_name=aqc111
+ driver_root=/var/packages/aqc111/target/aqc111
+ log_root=/var/packages/aqc111/var/log
+ mkdir -p /var/packages/aqc111/var/log
+ exec
++ tee -a /var/packages/aqc111/var/log/start-stop-status.log
+ echo ----------
----------
+ date
Thu Jan 18 05:16:13 PM KST 2024
+ grep -E '^(version|create_time)' /var/packages/aqc111/INFO
version="1.3.3.0-12"
create_time="20230715-10:16:48"
+ echo start
start
+ case $1 in
+ '[' -e /var/packages/aqc111/scripts/apply-memory-setting ']'
+ sh /var/packages/aqc111/scripts/apply-memory-setting
+ '[' -w /sys/module/usbcore/parameters/autosuspend ']'
+ echo -1
++ count_usb_interfaces
++ ls -l /sys/class/net/
++ grep /usb
++ wc -l
+ initial_count=0
+ '[' -e /var/packages/aqc111/target/aqc111/mii.ko ']'
+ /sbin/insmod /var/packages/aqc111/target/aqc111/mii.ko
insmod: ERROR: could not insert module /var/packages/aqc111/target/aqc111/mii.ko: Invalid module format

Replace this line with your answer.

Description of your products

DS223 Linux iot-cloud 5.10.55+ #69057 SMP Mon Nov 13 14:19:28 CST 2023 aarch64 GNU/Linux synology_rtd1619b_ds223 DSM 7.2.1-69057 Update 3 QNA-UC5G1T

Description of your environment

  • connect directly to a PC or using a hub
    • PC: NIC model name or chipset name
    • Hub: model name
  • cable category (Cat.5e or Cat.6 or Cat.7)

Output of dmesg command

[  170.162691] usb 6-1-port2: port 2, status 02a0, change 0041, 5.0 Gb/s
[  170.169141] usb 6-1.2: USB disconnect, device number 3
[  172.798655] usb 6-1-port1: port 1, status 0203, change 0000, 5.0 Gb/s
[  173.173168] usb 6-1.1: new SuperSpeed Gen 1 USB device number 4 using xhci-hcd
[  173.180397] usb 6-1.1: Get new SuperSpeed USB device number 4 using xhci-hcd at 98050000.dwc3_u3drd
[  337.536236] mii: module verification failed: signature and/or required key missing - tainting kernel
[  337.545461] mii: exports duplicate symbol generic_mii_ioctl (owned by kernel)
[  355.207879] mii: exports duplicate symbol generic_mii_ioctl (owned by kernel)

Output of lsusb command

|__usb5          1d6b:0002:0510 09  2.00  480MBit/s 0mA 1IF  (Linux 5.10.55+ xhci-hcd xHCI Host Controller xhci-hcd.3.auto) hub
  |__5-1         2109:2817:9013 09  2.10  480MBit/s 0mA 1IF  (VIA Labs, Inc.          USB2.0 Hub              syno.ext.hub) hub
|__usb3          1d6b:0002:0510 09  2.00  480MBit/s 0mA 1IF  (Linux 5.10.55+ xhci-hcd xHCI Host Controller xhci-hcd.2.auto) hub
|__usb1          1d6b:0002:0510 09  2.00  480MBit/s 0mA 1IF  (Linux 5.10.55+ xhci-hcd xHCI Host Controller xhci-hcd.1.auto) hub
|__usb6          1d6b:0003:0510 09  3.00 5000MBit/s 0mA 1IF  (Linux 5.10.55+ xhci-hcd xHCI Host Controller xhci-hcd.3.auto) hub
  |__6-1         2109:0817:9013 09  3.20 5000MBit/s 0mA 1IF  (VIA Labs, Inc.          USB3.0 Hub              syno.ext.hub) hub
    |__6-1.1     1c04:0015:0101 00  3.20 5000MBit/s 896mA 2IFs (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 2CI09440)
|__usb4          1d6b:0003:0510 09  3.00 5000MBit/s 0mA 1IF  (Linux 5.10.55+ xhci-hcd xHCI Host Controller xhci-hcd.2.auto) hub
|__usb2          1d6b:0003:0510 09  3.00 5000MBit/s 0mA 1IF  (Linux 5.10.55+ xhci-hcd xHCI Host Controller xhci-hcd.1.auto) hub

Output of ifconfig -a command

eth0      Link encap:Ethernet  HWaddr 90:09:D0:2C:21:8B
          inet addr:192.168.234.38  Bcast:192.168.234.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11204 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11491 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1963622 (1.8 MiB)  TX bytes:16736384 (15.9 MiB)
          Interrupt:32

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:15483 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15483 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1736295 (1.6 MiB)  TX bytes:1736295 (1.6 MiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tun1000   Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:169.254.200.201  P-t-P:169.254.200.201  Mask:255.255.240.0
          inet6 addr: fe80::9918:d5ec:7957:a4af/64 Scope:Link
          inet6 addr: fec0:a2b2:5::8c9/112 Scope:Site
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:211 errors:0 dropped:0 overruns:0 frame:0
          TX packets:287 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:23842 (23.2 KiB)  TX bytes:145190 (141.7 KiB)
bb-qq commented 1 month ago

This error seems to be caused by a mismatched kernel version, is the same problem still there with the latest DSM?