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’t installe r8152 on DS418 DSM7.2.1 #377

Closed
Toniohec opened this issue Feb 23, 2024 · 16 comments
Closed

Can’t installe r8152 on DS418 DSM7.2.1 #377

Toniohec opened this issue Feb 23, 2024 · 16 comments

Comments

@Toniohec
Copy link

Hi, I can’t install the driver r8152 through SSH once I manually “failed” to install it in DSM.

I have a DS418 (rtd1296), I downloaded the suitable driver for it ( https://github.com/bb-qq/r8152/releases/download/2.17.1/r8152-rtd1296-2.17.1-1_7.2.spk) but when I type the command in SSH “ sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su” it asks for password, I type my password then enter and nothing happens, no line appears. I didn’t buy any adapter yet, wanted to be sure to be able to install driver first.

Output of dmesg

Output of lsusb command

|__usb2 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.302+ xhci-hcd xHCI Host Controller xhci-hcd.2.auto) hub
|__usb3 1d6b:0003:0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.302+ xhci-hcd xHCI Host Controller xhci-hcd.2.auto) hub
|__usb4 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.302+ xhci-hcd xHCI Host Controller xhci-hcd.5.auto) hub
|__usb5 1d6b:0003:0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.302+ xhci-hcd xHCI Host Controller xhci-hcd.5.auto) hub

Output of ifconfig -a command

bond0 Link encap:Ethernet HWaddr 00:11:32:81:A5:88
inet addr:192.168.1.61 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2a01:e0a:8e5:8a70:211:32ff:fe81:a588/64 Scope:Global
inet6 addr: fe80::211:32ff:fe81:a588/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:10164 errors:0 dropped:0 overruns:0 frame:0
TX packets:12023 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2198856 (2.0 MiB) TX bytes:5982903 (5.7 MiB)

eth0 Link encap:Ethernet HWaddr 00:11:32:81:A5:88
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:8462 errors:0 dropped:0 overruns:0 frame:0
TX packets:5644 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2059489 (1.9 MiB) TX bytes:3649112 (3.4 MiB)
Interrupt:11

eth1 Link encap:Ethernet HWaddr 00:11:32:81:A5:89
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:1702 errors:0 dropped:0 overruns:0 frame:0
TX packets:6379 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:139367 (136.1 KiB) TX bytes:2333791 (2.2 MiB)
Interrupt:28 base 0x4000

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:8979 errors:0 dropped:0 overruns:0 frame:0
TX packets:8979 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:2131676 (2.0 MiB) TX bytes:2131676 (2.0 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:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Thank you

@Toniohec

This comment was marked as spam.

@bb-qq
Copy link
Owner

bb-qq commented Feb 24, 2024

I type my password then enter and nothing happens, no line appears.

This is the expected result.

@Toniohec
Copy link
Author

I thought I read somewhere it would reinstall somehow through SSH.
I still have the error when I look up for the package in DSM.
Still ok ?
Thanks

@bb-qq
Copy link
Owner

bb-qq commented Feb 25, 2024

After installing spk_su using SSH, did you manually install the driver package again?

@Toniohec
Copy link
Author

No I didn’t, now I did.. I feel dumb… It seems to be working now I installed it again manually.
But I read some ppl saying they can’t get it work properly with their DS418. The can go PC to NAS but NAS to PC the connection shuts down. Any USB adapter you recommend ?
Thank you for everything

@bb-qq
Copy link
Owner

bb-qq commented Feb 26, 2024

they can’t get it work properly with their DS418.

Oh, I forgot that. Currently, models using rtd1296 seem to have a critical issue to work. You may encounter problems with DS418...

@mvoong
Copy link

mvoong commented Feb 28, 2024

Used StarTech.com US2GA30 adaptor and just got it working on my DS418 with the r8152-rtd1296-2.17.1-1_7.2 release. A previous version only worked at 1 Gbps.

@Toniohec
Copy link
Author

Toniohec commented Feb 28, 2024

just got it working on my DS418

You didn't get any connection shutting down ?

@mvoong
Copy link

mvoong commented Feb 28, 2024

Seems fine for me. Using front port.

Edit: I'm having issues with disconnections now. Ah well.

@mvoong
Copy link

mvoong commented Feb 29, 2024

2.17.1-1 seems more stable

@Toniohec
Copy link
Author

Thanks for your tests @mvoong, when you say

2.17.1-1 seems more stable

are you refering to _7.1 ? more stable is not full stable I presume ?

@mvoong
Copy link

mvoong commented Feb 29, 2024

It's still unstable, getting this in dmesg.

[  487.393110] r8152 3-1:1.0 eth2: Tx timeout
[  487.399804] r8152 3-1:1.0 eth2: Tx status -2
[  487.404202] r8152 3-1:1.0 eth2: Tx status -2
[  487.408602] r8152 3-1:1.0 eth2: Tx status -2
[  487.412996] r8152 3-1:1.0 eth2: Tx status -2
[  489.430016] r8152 3-1:1.0 eth2: get_registers -108
[  489.435003] r8152 3-1:1.0 eth2: get_registers -71
[  489.439883] r8152 3-1:1.0 eth2: get_registers -71
[  489.444766] r8152 3-1:1.0 eth2: get_registers -71
[  489.449642] r8152 3-1:1.0 eth2: get_registers -71
[  489.454540] r8152 3-1:1.0 eth2: get_registers -71
[  489.459412] r8152 3-1:1.0 eth2: get_registers -71
[  489.464292] r8152 3-1:1.0 eth2: get_registers -71
[  489.470990] r8152 3-1:1.0 eth2: get_registers -71
[  489.475872] r8152 3-1:1.0 eth2: get_registers -71
[  489.480755] r8152 3-1:1.0 eth2: get_registers -71
[  489.485638] r8152 3-1:1.0 eth2: get_registers -71
[  489.490508] r8152 3-1:1.0 eth2: get_registers -71
[  489.495396] r8152 3-1:1.0 eth2: get_registers -71
[  489.500265] r8152 3-1:1.0 eth2: get_registers -71
[  489.505165] r8152 3-1:1.0 eth2: get_registers -71
[  489.510951] r8152 3-1:1.0 eth2: get_registers -71
[  489.515873] r8152 3-1:1.0 eth2: get_registers -71
[  489.520768] r8152 3-1:1.0 eth2: get_registers -71
[  489.525671] r8152 3-1:1.0 eth2: get_registers -71
[  489.530543] r8152 3-1:1.0 eth2: get_registers -71
[  489.535432] r8152 3-1:1.0 eth2: get_registers -71
[  489.540305] r8152 3-1:1.0 eth2: get_registers -71
[  489.545246] r8152 3-1:1.0 eth2: get_registers -71
[  489.592559] usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd

I've ordered a powered USB hub and will try again tomorrow when it arrives.

@mvoong
Copy link

mvoong commented Mar 1, 2024

No difference with powered USB hub. iperf3 works fine but as soon as I try to copy a file using SMB, the connection goes down. At this point I may just upgrade to a DS923+

@wchow77
Copy link

wchow77 commented Mar 25, 2024

they can’t get it work properly with their DS418.

Oh, I forgot that. Currently, models using rtd1296 seem to have a critical issue to work. You may encounter problems with DS418...

Confirmed with 2.17.1-2 on a DS-220j with a rtd1296 and generic RTL8156BG USB-A (Aliexpress).

It installs and gets an IP address. I get the login screen from a browser and I can view file shares in Windows but the minute I try to login or transfer files it freezes and stops working. After that it fails to get an IP address on subsequent reboots. At first I thought it was because it was connected to a multi-gig port on the ASUS RT-AX89X router but plugged it into a 2.5GbE port on a LIANGUO 8 Port 2.5GbE Ethernet Switch. It got an IP address but once I tried to transfer files it froze up and failed again.

I actually don't use any of Synology's advanced features so I'm replacing it with the new Ugreen NAS with the latest hardware. At least the USB adapter works on Windows.

@ziv01
Copy link

ziv01 commented Apr 5, 2024

they can’t get it work properly with their DS418.

Oh, I forgot that. Currently, models using rtd1296 seem to have a critical issue to work. You may encounter problems with DS418...

Confirmed with 2.17.1-2 on a DS-220j with a rtd1296 and generic RTL8156BG USB-A (Aliexpress).

It installs and gets an IP address. I get the login screen from a browser and I can view file shares in Windows but the minute I try to login or transfer files it freezes and stops working. After that it fails to get an IP address on subsequent reboots. At first I thought it was because it was connected to a multi-gig port on the ASUS RT-AX89X router but plugged it into a 2.5GbE port on a LIANGUO 8 Port 2.5GbE Ethernet Switch. It got an IP address but once I tried to transfer files it froze up and failed again.

I actually don't use any of Synology's advanced features so I'm replacing it with the new Ugreen NAS with the latest hardware. At least the USB adapter works on Windows.

I am trying to install an TRL8156 USB-a card. Driver installed correctly, when I connect the USB NIC it doesn't show up and if I try to restrt the driver/service it throws a error. It will let me stop it and won't let start it

@bb-qq
Copy link
Owner

bb-qq commented Apr 17, 2024

The rtd1296 platform has reported stability issues with 2.5G connections; 1G connections seem to work.

Please let me merge this issue into this issue to consolidate information.

@bb-qq bb-qq closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants