bb-qq / r8152

Synology DSM driver for Realtek RTL8152/RTL8153/RTL8156 based adapters
GNU General Public License v2.0
1.91k stars 178 forks source link

DS418j stability issue #279

Closed powerpc970 closed 1 year ago

powerpc970 commented 1 year ago

Description of the problem

A few hours after startup, the NAS suddenly became disconnected. No ping response.

When I connect to the 1GbE port and open the control panel, the USB ethernet port does not appear in network interface tag. However, the lsusb command, eth1 is shown.

Description of your products

NAS model: DS418j Linux xxxx 4.4.180+ #42962 SMP Tue Oct 18 15:07:11 CST 2022 aarch64 GNU/Linux synology_rtd1296_ds418j DSM: DSM 7.1.1-42962 Update 3 Ethernet dongle : RSHTECH USB C adaptor (RTL8156B) LUA-U3-A2G (RTL8156) x 2

Description of your environment

PC: MacBookPro MacOS 12.6.2

Output of dmesg command

[19094.168444] Synotify use 16384 event queue size [19458.514417] usb 5-1: USB disconnect, device number 2 [19458.863159] usb 4-1: new high-speed USB device number 2 using xhci-hcd [19459.033294] usb 4-1: not running at top speed [19465.293090] usb 5-1: new SuperSpeed USB device number 3 using xhci-hcd [19465.349053] audit: type=1325 audit(1673782005.562:73): table=filter family=2 entries=0 [19465.546973] usb 5-1: reset SuperSpeed USB device number 3 using xhci-hcd [19465.633756] r8152 5-1:1.0 eth1: v2.16.3 (2022/07/06) [19465.638852] r8152 5-1:1.0 eth1: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.

[19465.654828] r8152 5-1:1.0 eth1: chip rev 14 [19465.659117] r8152 5-1:1.0 eth1: rx_buf_sz will be overridden to 8192 [19521.890424] r8169 98016000.gmac eth0: link up 1 Gbps [19521.895529] r8169_reset_task: reset with slow event. [19521.955667] r8169 98016000.gmac eth0: rtl_csiar_cond == 0 (loop: 100, delay: 10). [19521.964594] r8169 98016000.gmac eth0: rtl_csiar_cond == 1 (loop: 100, delay: 10). [19521.973519] r8169 98016000.gmac eth0: link up 1 Gbps [19541.550156] audit: type=1325 audit(1673782081.763:74): table=filter family=2 entries=4 [19541.573859] audit: type=1325 audit(1673782081.793:75): table=filter family=2 entries=8 [19542.870527] audit: type=1325 audit(1673782083.083:76): table=filter family=2 entries=9 [19542.894476] audit: type=1325 audit(1673782083.113:77): table=filter family=2 entries=8 [19542.946424] Module [xt_recent] is removed. [19543.015596] Module [xt_iprange] is removed. [19543.055362] Module [xt_limit] is removed. [19543.120511] Module [xt_state] is removed. [19543.175482] Module [xt_tcpudp] is removed. [19543.225179] Module [xt_multiport] is removed. [19543.302328] Module [xt_LOG] is removed. [19543.382169] Module [iptable_filter] is removed. [19546.896746] audit: type=1325 audit(1673782087.113:78): table=filter family=2 entries=0 [19547.398811] audit: type=1325 audit(1673782087.613:79): table=filter family=2 entries=4 [19547.434658] audit: type=1325 audit(1673782087.653:80): table=filter family=2 entries=8 [19549.814732] audit: type=1325 audit(1673782090.034:81): table=filter family=2 entries=9 [19549.837734] audit: type=1325 audit(1673782090.054:82): table=filter family=2 entries=8 [19549.886869] Module [xt_recent] is removed. [19549.983617] Module [xt_iprange] is removed. [19550.033478] Module [xt_limit] is removed. [19550.083461] Module [xt_state] is removed. [19550.134685] Module [xt_tcpudp] is removed. [19550.183375] Module [xt_multiport] is removed. [19550.256941] Module [xt_LOG] is removed. [19550.326653] Module [iptable_filter] is removed. [19552.407876] audit: type=1325 audit(1673782092.624:83): table=filter family=2 entries=0 [19552.565659] audit: type=1325 audit(1673782092.784:84): table=filter family=2 entries=4 [19552.587746] audit: type=1325 audit(1673782092.804:85): table=filter family=2 entries=8 [19556.928243] audit: type=1325 audit(1673782097.144:86): table=filter family=2 entries=9 [19556.950994] audit: type=1325 audit(1673782097.174:87): table=filter family=2 entries=8 [19556.998867] Module [xt_recent] is removed. [19557.093038] Module [xt_iprange] is removed. [19557.144799] Module [xt_limit] is removed. [19557.182731] Module [xt_state] is removed. [19557.232896] Module [xt_tcpudp] is removed. [19557.282559] Module [xt_multiport] is removed. [19557.355099] Module [xt_LOG] is removed. [19557.425056] Module [iptable_filter] is removed. [19557.661803] audit: type=1325 audit(1673782097.884:88): table=filter family=2 entries=0 [19557.830280] audit: type=1325 audit(1673782098.044:89): table=filter family=2 entries=4 [19557.853939] audit: type=1325 audit(1673782098.074:90): table=filter family=2 entries=8 [19561.198746] audit: type=1325 audit(1673782101.414:91): table=filter family=2 entries=9 [19561.222611] audit: type=1325 audit(1673782101.444:92): table=filter family=2 entries=8 [19561.273166] Module [xt_recent] is removed. [19561.360156] Module [xt_iprange] is removed. [19561.403959] Module [xt_limit] is removed. [19561.454396] Module [xt_state] is removed. [19561.517625] Module [xt_tcpudp] is removed. [19561.564385] Module [xt_multiport] is removed. [19561.638972] Module [xt_LOG] is removed. [19561.805905] Module [iptable_filter] is removed. [19598.507283] usb 5-1: USB disconnect, device number 3 [19602.519864] usb 5-1: new SuperSpeed USB device number 4 using xhci-hcd [19602.793652] usb 5-1: reset SuperSpeed USB device number 4 using xhci-hcd [19602.830454] r8152 5-1:1.0 eth1: v2.16.3 (2022/07/06) [19602.835564] r8152 5-1:1.0 eth1: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.

[19602.851554] r8152 5-1:1.0 eth1: chip rev 14 [19602.855851] r8152 5-1:1.0 eth1: rx_buf_sz will be overridden to 8192 [19617.315427] audit: type=1325 audit(1673782157.535:93): table=filter family=2 entries=0 [19617.608617] audit: type=1325 audit(1673782157.825:94): table=filter family=2 entries=4 [19617.633104] audit: type=1325 audit(1673782157.855:95): table=filter family=2 entries=8 [19626.168453] r8169 98016000.gmac eth0: link down [19677.955027] audit: type=1325 audit(1673782218.166:96): table=filter family=2 entries=9 [19677.979327] audit: type=1325 audit(1673782218.196:97): table=filter family=2 entries=8 [19678.033766] Module [xt_recent] is removed. [19678.123714] Module [xt_iprange] is removed. [19678.183394] Module [xt_limit] is removed. [19678.243446] Module [xt_state] is removed. [19678.293546] Module [xt_tcpudp] is removed. [19678.343447] Module [xt_multiport] is removed. [19678.433211] Module [xt_LOG] is removed. [19678.504130] Module [iptable_filter] is removed. [19688.670079] audit: type=1325 audit(1673782228.887:98): table=filter family=2 entries=0 [19707.129658] r8169 98016000.gmac eth0: link up 1 Gbps [19707.134752] r8169_reset_task: reset with slow event. [19707.181484] r8169 98016000.gmac eth0: rtl_csiar_cond == 0 (loop: 100, delay: 10). [19707.190426] r8169 98016000.gmac eth0: rtl_csiar_cond == 1 (loop: 100, delay: 10). [19707.199379] r8169 98016000.gmac eth0: link up 1 Gbps [19723.527751] audit: type=1325 audit(1673782263.748:99): table=filter family=2 entries=4 [19723.552272] audit: type=1325 audit(1673782263.768:100): table=filter family=2 entries=8 [19747.566838] audit: type=1325 audit(1673782287.788:101): table=filter family=2 entries=9 [19747.595901] audit: type=1325 audit(1673782287.808:102): table=filter family=2 entries=8 [19747.768107] Module [xt_recent] is removed. [19747.875064] Module [xt_iprange] is removed. [19747.924401] Module [xt_limit] is removed. [19747.969319] Module [xt_state] is removed. [19748.005634] Module [xt_tcpudp] is removed. [19748.064596] Module [xt_multiport] is removed. [19748.163619] Module [xt_LOG] is removed. [19748.268575] Module [iptable_filter] is removed. [19754.424558] audit: type=1325 audit(1673782294.638:103): table=filter family=2 entries=0 [19754.865967] audit: type=1325 audit(1673782295.078:104): table=filter family=2 entries=4 [19754.889243] audit: type=1325 audit(1673782295.108:105): table=filter family=2 entries=8 [19759.232179] audit: type=1325 audit(1673782299.448:106): table=filter family=2 entries=9 [19759.255613] audit: type=1325 audit(1673782299.468:107): table=filter family=2 entries=8 [19759.305397] Module [xt_recent] is removed. [19759.399091] Module [xt_iprange] is removed. [19759.449271] Module [xt_limit] is removed. [19759.499074] Module [xt_state] is removed. [19759.549428] Module [xt_tcpudp] is removed. [19759.608737] Module [xt_multiport] is removed. [19759.682900] Module [xt_LOG] is removed. [19759.747407] Module [iptable_filter] is removed. [19815.237980] audit: type=1325 audit(1673782355.460:108): table=filter family=2 entries=0 [19815.436730] audit: type=1325 audit(1673782355.660:109): table=filter family=2 entries=4 [19815.462702] audit: type=1325 audit(1673782355.680:110): table=filter family=2 entries=8 [19819.763789] audit: type=1325 audit(1673782359.980:111): table=filter family=2 entries=9 [19819.787910] audit: type=1325 audit(1673782360.010:112): table=filter family=2 entries=8 [19819.840719] Module [xt_recent] is removed. [19819.939743] Module [xt_iprange] is removed. [19819.991364] Module [xt_limit] is removed. [19820.042630] Module [xt_state] is removed. [19820.090708] Module [xt_tcpudp] is removed. [19820.160760] Module [xt_multiport] is removed. [19820.232216] Module [xt_LOG] is removed. [19820.300543] Module [iptable_filter] is removed. [19823.869480] audit: type=1325 audit(1673782364.090:113): table=filter family=2 entries=0 [19824.123335] audit: type=1325 audit(1673782364.340:114): table=filter family=2 entries=4 [19824.147940] audit: type=1325 audit(1673782364.370:115): table=filter family=2 entries=8 [19827.444572] audit: type=1325 audit(1673782367.660:116): table=filter family=2 entries=9 [19827.467739] audit: type=1325 audit(1673782367.690:117): table=filter family=2 entries=8 [19827.517336] Module [xt_recent] is removed. [19827.587391] Module [xt_iprange] is removed. [19827.637138] Module [xt_limit] is removed. [19827.687075] Module [xt_state] is removed. [19827.737353] Module [xt_tcpudp] is removed. [19827.776915] Module [xt_multiport] is removed. [19827.850664] Module [xt_LOG] is removed. [19827.920489] Module [iptable_filter] is removed.

Output of lsusb command

|usb2 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.180+ xhci-hcd xHCI Host Controller xhci-hcd.2.auto) hub |usb3 1d6b:0003:0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.180+ xhci-hcd xHCI Host Controller xhci-hcd.2.auto) hub |usb4 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.180+ xhci-hcd xHCI Host Controller xhci-hcd.5.auto) hub |usb5 1d6b:0003:0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.180+ xhci-hcd xHCI Host Controller xhci-hcd.5.auto) hub |__5-1 0bda:8156:3100 00 3.20 5000MBit/s 256mA 1IF (Realtek USB 10/100/1G/2.5G LAN 001000001)

Output of ifconfig -a command

eth0 Link encap:Ethernet HWaddr 00:11:32:7E:F7:8A
inet addr:192.168.0.16 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::211:32ff:fe7e:f78a/64 Scope:Link inet6 addr: 240d:1a:2de:2e00:211:32ff:fe7e:f78a/64 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:13738 errors:0 dropped:0 overruns:0 frame:0 TX packets:13412 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3812071 (3.6 MiB) TX bytes:13508264 (12.8 MiB) Interrupt:11

eth1 Link encap:Ethernet HWaddr 00:E0:4C:68:00:32
BROADCAST MULTICAST MTU:1500 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)

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:19231 errors:0 dropped:0 overruns:0 frame:0 TX packets:19231 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:2646327 (2.5 MiB) TX bytes:2646327 (2.5 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)

bb-qq commented 1 year ago

Many problems have been reported regarding the rtd1296 platform. Unfortunately, we have not found a way to remedy the symptoms at this time. Please see this Issue for more information.

I merge this issue to it for consolidating information.