RT3200 usb harddrive issues

Hi,

Recently with 22.02.03 I see warnings and errors in the log for the usb hdd that is connected to the router (RT3200).
This used to work flawlessly for many years with the DIR860L.
Can someone provide some pointers?
The drive works Ok if connected to a computer.

Thu Mar  2 16:52:59 2023 kern.crit kernel: [1836791.357413] EXT4-fs error (device sda2): ext4_get_inode_loc:4522: inode #52953090: block 211812384: comm minidlnad: unable to read itable block
Thu Mar  2 16:52:59 2023 kern.crit kernel: [1836791.370536] EXT4-fs error (device sda2) in ext4_reserve_inode_write:5819: IO failure
Thu Mar  2 16:52:59 2023 kern.crit kernel: [1836791.378650] EXT4-fs error (device sda2): ext4_dirty_inode:6021: inode #52953090: comm minidlnad: mark_inode_dirty error
Thu Mar  2 16:52:59 2023 kern.warn kernel: [1836791.389778] ------------[ cut here ]------------
Thu Mar  2 16:52:59 2023 kern.debug kernel: [1836791.394601] bdi-(unknown) not registered
Thu Mar  2 16:53:00 2023 kern.warn kernel: [1836791.398895] WARNING: CPU: 0 PID: 4815 at 0xffffffc0101bab08
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.404637] Modules linked in: ksmbd asn1_decoder pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet wireguard pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mt7915e mt7615e mt7615_common mt76_connac_lib mt76 mac80211 libchacha20poly1305 iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables chacha_neon cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY x_tables slhc sch_cake poly1305_neon nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_ipv6 nf_log_ipv4 nf_log_common nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c libchacha hwmon crc_ccitt compat sch_tbf sch_ingress sch_htb
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.404811]  sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact ifb ip6_udp_tunnel udp_tunnel oid_registry vfat fat nls_utf8 nls_iso8859_1 nls_cp437 sha512_generic seqiv md5 md4 des_generic libdes usb_storage leds_gpio xhci_plat_hcd gpio_button_hotplug [last unloaded: ksmbd]
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.522250] CPU: 0 PID: 4815 Comm: minidlnad Tainted: G S                5.10.161 #0
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.530157] Hardware name: Linksys E8450 (UBI) (DT)
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.535201] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.541372] pc : 0xffffffc0101bab08
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.545025] lr : 0xffffffc0101bab08
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.548677] sp : ffffffc01430bb90
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.552155] x29: ffffffc01430bb90 x28: ffffff8005a412e0
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.557633] x27: ffffff8003527c98 x26: ffffffc01430bd78
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.563111] x25: ffffff8003527c00 x24: 0000000000000010
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.568589] x23: 0000000000000000 x22: 0000000000000001
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.574067] x21: 0000000000000000 x20: ffffff8001389c60
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.579546] x19: ffffff8005a412e0 x18: 000000000000042d
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.585023] x17: 0000000000000000 x16: 0000000000000000
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.590501] x15: ffffffc010a09998 x14: 0000000000000c87
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.595979] x13: 000000000000042d x12: ffffffc01430b868
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.601457] x11: ffffffc010a61998 x10: 00000000fffff000
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.606934] x9 : ffffffc010a61998 x8 : 0000000000000000
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.612411] x7 : ffffffc010a09998 x6 : 0000000000000001
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.617889] x5 : ffffff801feb06c8 x4 : 0000000000000000
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.623366] x3 : 0000000000000027 x2 : 0000000000000027
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.628844] x1 : 0000000000000023 x0 : 000000000000001c
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.634322] Call trace:
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.636934]  0xffffffc0101bab08
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.640239]  0xffffffc0101a88bc
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.643545]  0xffffffc010119740
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.646850]  0xffffffc010119ba4
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.650154]  0xffffffc01023627c
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.653459]  0xffffffc010183664
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.656765]  0xffffffc0101855b4
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.660070]  0xffffffc010185934
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.663376]  0xffffffc0101859c8
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.666681]  0xffffffc010010ee0
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.669986]  0xffffffc010010fac
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.673292]  0xffffffc0108054e4
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.676597]  0xffffffc010805900
Thu Mar  2 16:53:00 2023 kern.debug kernel: [1836791.679902]  0xffffffc0100025c8
Thu Mar  2 16:53:00 2023 kern.warn kernel: [1836791.683208] ---[ end trace 0c68174dde8d6bcf ]---
Thu Mar  2 16:53:06 2023 kern.err kernel: [1836797.474105] Aborting journal on device sda2-8.
Thu Mar  2 16:53:06 2023 kern.warn kernel: [1836797.478733] buffer_io_error: 9 callbacks suppressed
Thu Mar  2 16:53:06 2023 kern.err kernel: [1836797.478739] Buffer I/O error on dev sda2, logical block 121667584, lost sync page write
Thu Mar  2 16:53:06 2023 kern.err kernel: [1836797.492152] JBD2: Error -5 detected when updating journal superblock for sda2-8.

could be a power issue, try a powered usb hub.

1 Like

I noticed that in Openwrt for the rt3200, usb3 drivers were installed, but the usb port is only usb2.
After installing the kmod-usb2 and removing the usb3 drivers, the errors are gone, at least for now... I will keep monitoring this.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.