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

Driver crashes randomly, several times per day #467

Closed
gabeoravitz opened this issue Dec 26, 2024 · 1 comment
Closed

Driver crashes randomly, several times per day #467

gabeoravitz opened this issue Dec 26, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@gabeoravitz
Copy link

Description of the problem

Driver crashes randomly, once or twice per day

Description of your products

DS420j
Linux synonas-2 4.4.302+ #69057 SMP Fri Jan 12 17:01:55 CST 2024 aarch64 GNU/Linux synology_rtd1296_ds420j
DSM 7.2.1-69057 Update 5
Sabrent USB 2.5G ethernet adapter, RTL8156

Description of your environment

Switch: Switch: ienRon 6 Ports Unmanaged Ethernet Switch, 4x2.5G Base-T Ports+2x10G SFP
Cat6 ethernet

Output of dmesg command

[Wed Dec 25 20:56:43 2024] r8152 5-1:1.0 eth1: Tx timeout
[Wed Dec 25 20:56:43 2024] r8152 5-1:1.0 eth1: Tx status -2
[Wed Dec 25 20:56:43 2024] r8152 5-1:1.0 eth1: Tx status -2
[Wed Dec 25 20:56:43 2024] r8152 5-1:1.0 eth1: Tx status -2
[Wed Dec 25 20:56:43 2024] r8152 5-1:1.0 eth1: Tx status -2
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb400 fail -108
[Wed Dec 25 20:56:45 2024] ------------[ cut here ]------------
[Wed Dec 25 20:56:45 2024] WARNING: at //source/r8152/r8152.c:1395
[Wed Dec 25 20:56:45 2024] Modules linked in: nfsv3 nfs xt_ipvs ip_vs_rr ip_vs xt_mark iptable_mangle br_netfilter bridge stp aufs macvlan veth nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables xt_REDIRECT xt_nat nf_nat_redirect xt_recent xt_iprange xt_limit xt_state xt_tcpudp xt_multiport xt_LOG r8152(OE) raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx nfnetlink xfrm_user xfrm_algo xt_conntrack xt_addrtype ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack iptable_filter ip_tables x_tables fuse vhost_scsi(O) vhost(O) tcm_loop(O) iscsi_target_mod(O) target_core_user(O) target_core_ep(O) target_core_multi_file(O) target_core_file(O) target_core_iblock(O) target_core_mod(O) syno_extent_pool(PO) rodsp_ep(O) tun udf isofs synoacl_vfs(O)
[Wed Dec 25 20:56:45 2024]  8021q nfsd btrfs ecryptfs zstd_decompress zstd_compress xxhash raid6_pq xor lockd grace rpcsec_gss_krb5 auth_rpcgss sunrpc uas usb_storage syno_hddmon(P) ds420j_synobios(O) hid_generic usbhid hid usblp uhci_hcd r8168(O) zlib_deflate sg dm_snapshot dm_bufio dm_mod crc_itu_t crc_ccitt psnap p8022 llc hfsplus md4 hmac sit tunnel4 ipv6 arc4 aes_neon_blk aes_ce_blk gf128mul ablk_helper cryptd ecb authenc des_generic ansi_cprng cts md5 cbc vxlan ip6_udp_tunnel udp_tunnel ip_tunnel loop sha256_generic synorbd(O) synofsbd(O) dwc3_rtk xhci_pci xhci_plat_hcd xhci_hcd ehci_pci ehci_hcd dwc3 usbcore phy_rtk_usb3 phy_rtk_usb2 phy_rtk_rle0599 usb_common [last unloaded: r8152]

[Wed Dec 25 20:56:45 2024] CPU: 0 PID: 7760 Comm: snmpd Tainted: P        W  OE   4.4.302+ #69057
[Wed Dec 25 20:56:45 2024] Hardware name: Realtek_RTD1296 (DT)
[Wed Dec 25 20:56:45 2024] task: ffffffc03a1c4d80 ti: ffffffc03ae78000 task.ti: ffffffc03ae78000
[Wed Dec 25 20:56:45 2024] PC is at ocp_read_word+0x68/0x80 [r8152]
[Wed Dec 25 20:56:45 2024] LR is at ocp_read_word+0x34/0x80 [r8152]
[Wed Dec 25 20:56:45 2024] pc : [<ffffffbffcd97948>] lr : [<ffffffbffcd97914>] pstate: a0000145
[Wed Dec 25 20:56:45 2024] sp : ffffffc03ae7bae0
[Wed Dec 25 20:56:45 2024] x29: ffffffc03ae7bae0 x28: ffffffc03ae78000
[Wed Dec 25 20:56:45 2024] x27: ffffffc000782000 x26: 000000000000001d
[Wed Dec 25 20:56:45 2024] x25: 0000000000000416 x24: ffffffc00f6aae40
[Wed Dec 25 20:56:45 2024] x23: ffffffc03ae7bbec x22: ffffffc03ae7bbae
[Wed Dec 25 20:56:45 2024] x21: 000000000000a000 x20: ffffffc03ae7bb4c
[Wed Dec 25 20:56:45 2024] x19: 0000000000000000 x18: 0000000000000006
[Wed Dec 25 20:56:45 2024] x17: 0000007f697adf10 x16: ffffffc0003cf1d0
[Wed Dec 25 20:56:45 2024] x15: 0000000000000006 x14: ffffffc0809eaa0f
[Wed Dec 25 20:56:45 2024] x13: ffffffc0009eaa17 x12: ffffffc0009ea4a8
[Wed Dec 25 20:56:45 2024] x11: 0000000000000047 x10: 00000000000005dd
[Wed Dec 25 20:56:45 2024] x9 : 00000000000478ad x8 : 303d7865646e6920
[Wed Dec 25 20:56:45 2024] x7 : ffffffc00099ea48 x6 : ffffffc0005916a0
[Wed Dec 25 20:56:45 2024] x5 : 0000000000000000 x4 : 0000000000000000
[Wed Dec 25 20:56:45 2024] x3 : 0000000000000000 x2 : 0000000000000000
[Wed Dec 25 20:56:45 2024] x1 : ffffffbffcdc3ef0 x0 : 00000000ffffff94

[Wed Dec 25 20:56:45 2024] Call trace:
[Wed Dec 25 20:56:45 2024] [<ffffffbffcd97948>] ocp_read_word+0x68/0x80 [r8152]
[Wed Dec 25 20:56:45 2024] [<ffffffbffcd97c24>] r8152_phy_read+0x60/0x8c [r8152]
[Wed Dec 25 20:56:45 2024] [<ffffffbffcd9d3c4>] rtl8152_get_settings+0x74/0x370 [r8152]
[Wed Dec 25 20:56:45 2024] [<ffffffc0006ce760>] ethtool_get_settings+0x130/0x170
[Wed Dec 25 20:56:45 2024] [<ffffffc0006cf04c>] dev_ethtool+0x8ac/0x21c0
[Wed Dec 25 20:56:45 2024] [<ffffffc0006e1c18>] dev_ioctl+0x118/0x6a0
[Wed Dec 25 20:56:45 2024] [<ffffffc0006ab314>] sock_ioctl+0x2e4/0x310
[Wed Dec 25 20:56:45 2024] [<ffffffc00039a798>] do_vfs_ioctl+0xa48/0xd10
[Wed Dec 25 20:56:45 2024] [<ffffffc00039ab14>] SyS_ioctl+0xb4/0xd0
[Wed Dec 25 20:56:45 2024] [<ffffffc000284670>] el0_svc_naked+0x24/0x28
[Wed Dec 25 20:56:45 2024] ---[ end trace 70a55891196fa4f1 ]---
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb400 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x01cc, index=0xb400 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb404 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x01cc, index=0xb404 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb408 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x01cc, index=0xb408 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb40c fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x01cc, index=0xb40c fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb400 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb400 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x01cc, index=0xb400 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb404 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x01cc, index=0xb404 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb408 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x01cc, index=0xb408 fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x0133, index=0xb40c fail -71
[Wed Dec 25 20:56:45 2024] r8152 5-1:1.0: read type=0x01cc, index=0xb40c fail -71
[Wed Dec 25 20:56:45 2024] usb 5-1: reset SuperSpeed USB device number 2 using xhci-hcd

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
  |__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

docker0   Link encap:Ethernet  HWaddr 02:42:CB:C3:B0:4B
          inet addr:172.17.0.1  Bcast:172.17.255.255  Mask:255.255.0.0
          inet6 addr: fe80::42:cbff:fec3:b04b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1130791 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1098823 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:132211436 (126.0 MiB)  TX bytes:138125855 (131.7 MiB)

dockerafe Link encap:Ethernet  HWaddr 56:46:15:DF:62:8B
          inet6 addr: fe80::5446:15ff:fedf:628b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1130791 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1098810 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:148042510 (141.1 MiB)  TX bytes:138124673 (131.7 MiB)

eth0      Link encap:Ethernet  HWaddr 00:11:32:BE:E7:C9
          inet addr:10.10.10.10  Bcast:10.10.255.255  Mask:255.255.0.0
          inet6 addr: fe80::211:32ff:febe:e7c9/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:17756571 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1511420 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26253465752 (24.4 GiB)  TX bytes:558310177 (532.4 MiB)
          Interrupt:11

eth1      Link encap:Ethernet  HWaddr 00:24:27:88:46:A6
          inet addr:192.168.1.102  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::224:27ff:fe88:46a6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2672850296 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33308338 errors:8 dropped:22 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4043443708967 (3.6 TiB)  TX bytes:2654793751 (2.4 GiB)

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:60669 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60669 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:8150290 (7.7 MiB)  TX bytes:8150290 (7.7 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 bb-qq added the duplicate This issue or pull request already exists label Dec 31, 2024
@bb-qq
Copy link
Owner

bb-qq commented Dec 31, 2024

This problem appears to be caused by the rtd1296 platform. See #275 for more information. This Issue is closed to integrate information.

@bb-qq bb-qq closed this as completed Dec 31, 2024
@bb-qq bb-qq reopened this Dec 31, 2024
@bb-qq bb-qq closed this as not planned Won't fix, can't repro, duplicate, stale Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants