Test with pull request and add ipv6 offload
That seems very expensive for what it is though and I would be a bit careful about FT232RL as there are a lot of fakes around so I would suggest that you look for a geniune part number from FTDI at that price range. https://wiki.freebsd.org/USB/Peripherals/Serial also has useful information in general =)
I use these serial leads, tried and tested for me, probably cheaper on ebay or aliexpress. Just search for that model of usb serial tty lead.
Only use the TX,RX and GND leads - DONT use the 5v!
With 350Mb you don't need offload.
Above 500Mb it's more complicated
No crash so far with Packet Steering disabled
Kernel panics are back. Maybe this commit breaks someting.
<4>[28920.551442] CPU: 0 PID: 11 Comm: ksoftirqd/0 Tainted: G O 5.10.100 #0
<4>[28920.559180] $ 0 : 00000000 00000001 0000005c 0000006a
<4>[28920.564437] $ 4 : 00678000 00000a20 80667e30 00000000
<4>[28920.569681] $ 8 : 00000100 00000040 00000039 ffffffff
<4>[28920.574928] $12 : 00001d77 80ada5ac 80ada5bc 80ada53c
<4>[28920.580181] $16 : 81412a00 00000a20 80a3d40c 00000000
<4>[28920.585431] $20 : 80667e30 80a40000 00000001 06d2e5a8
<4>[28920.590678] $24 : 00001ee8 00000000
<4>[28920.595932] $28 : 81460000 81461c88 89f547c0 80667e30
<4>[28920.601176] Hi : 00000000
<4>[28920.604052] Lo : 00000041
<4>[28920.606930] epc : 801a438c 0x801a438c
<4>[28920.610752] ra : 80667e30 0x80667e30
<4>[28920.614574] Status: 11008403 KERNEL EXL IE
<4>[28920.618764] Cause : 40800010 (ExcCode 04)
<4>[28920.622760] BadVA : 0000006a
<4>[28920.625637] PrId : 0001992f (MIPS 1004Kc)
<4>[28920.629722] Modules linked in: ksmbd(O) nf_nat_amanda nf_conntrack_amanda wireguard snd_usb_audio rndis_host nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet mt7615e(O) mt7615_common(O) mt76_connac_lib(O) mt76(O) mac80211(O) lz4 libblake2s ipt_REJECT cfg80211(O) cdc_ether xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_policy xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_ipv4options(O) xt_iprange xt_iface(O) xt_hl xt_helper xt_hashlimit xt_geoip(O) xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connlabel xt_connbytes xt_comment xt_cgroup xt_bpf xt_addrtype xt_TCPOPTSTRIP xt_TCPMSS xt_REDIRECT xt_NETMAP xt_MASQUERADE xt_LUA(O) xt_LOG xt_IPMARK(O) xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY vhci_hcd usbnet usbip_host usbip_core usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_kmp ts_fsm ts_bm snd_usbmidi_lib
<4>[28920.630132] sch_cake ntfs3(O) nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject_bridge nft_reject nft_redir nft_quota nft_queue nft_objref nft_numgen nft_nat nft_meta_bridge nft_masq nft_log nft_limit nft_hash nft_fwd_netdev nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_dup_netdev nft_ct nft_counter nft_compat nft_chain_nat nfnetlink_queue nf_tables nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_log_ipv4 nf_flow_table nf_dup_netdev nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast nf_conntrack_bridge nf_conncount macremapper(O) lz4_decompress lz4_compress libchacha20poly1305 libblake2s_generic iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip6table_raw ip_tables hwmon hid_generic crc_ccitt compat_xtables(O) compat(O) br_netfilter arptable_filter arpt_mangle arp_tables fuse cls_bpf act_bpf sch_tbf
<4>[28920.716994] sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact sg hid evdev ledtrig_gpio cryptodev(O) xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat ip6t_NPT ip6t_rt ip6t_mh ip6t_ipv6header ip6t_hbh ip6t_frag ip6t_eui64 ip6t_ah nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nfsd bonding ip6_gre ip_gre gre ifb nat46(O) sit ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ip6_tunnel tunnel6 tunnel4 rpcsec_gss_krb5 auth_rpcgss oid_registry tun snd_rawmidi snd_seq_device snd_pcm_oss snd_mixer_oss snd_hwdep snd_compress snd_pcm snd_timer snd soundcore ovpn_dco(O) xfrm_user
<4>[28920.803835] xfrm_ipcomp af_key xfrm_algo lockd sunrpc grace isofs hfsplus hfs cdrom autofs4 dm_mirror dm_region_hash dm_log dm_crypt dm_mod dax nls_utf8 nls_koi8_r nls_cp866 nls_cp1251 zram algif_skcipher algif_rng algif_hash algif_aead af_alg echainiv arc4 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ahci libahci libata gpio_button_hotplug(O) xfs f2fs ext4 mbcache jbd2 btrfs xor raid6_pq mii tpm rng_core crc32_generic
<4>[28920.928637] Process ksoftirqd/0 (pid: 11, threadinfo=701d4a25, task=5df6148b, tls=00000000)
<4>[28920.936957] Stack : 81d2b080 00000000 00001ee8 00000000 80c20000 80c20000 0000000e 81461cc8
<4>[28920.945317] 89f547c0 89f547c0 89f547c0 00000960 86e51920 c5ee0000 00000000 81d2b080
<4>[28920.953665] 00000000 80667e30 87d59480 c5ee0000 00000007 81d2b080 89f547c0 00000960
<4>[28920.962022] a957ca10 80667ea0 ff7cc590 ff7cc614 06e51920 81d2b5ec 000000a1 81d2b5ec
<4>[28920.970378] 000000a1 805b2fa0 0015000e 82a46540 b8da5cd6 00001a4d 00000000 00000000
<4>[28920.978736] ...
<4>[28920.981192] Call Trace:
<4>[28920.981371] [<80667e30>] 0x80667e30
<4>[28920.987328] [<80667ea0>] 0x80667ea0
<4>[28920.990896] [<805b2fa0>] 0x805b2fa0
<4>[28920.994514] [<805b52a8>] 0x805b52a8
<4>[28920.998054] [<806db24c>] 0x806db24c
<4>[28921.001587] [<8068b16c>] 0x8068b16c
<4>[28921.005066] [<8067fd64>] 0x8067fd64
<4>[28921.008566] [<8068b498>] 0x8068b498
<4>[28921.012046] [<800157c0>] 0x800157c0
<4>[28921.015529] [<808a0404>] 0x808a0404
<4>[28921.019007] [<80066e40>] 0x80066e40
<4>[28921.022493] [<8003a0a8>] 0x8003a0a8
<4>[28921.025970] [<8089b428>] 0x8089b428
<4>[28921.029447] [<8005c608>] 0x8005c608
<4>[28921.032926] [<800562c4>] 0x800562c4
<4>[28921.036406] [<8089b9a8>] 0x8089b9a8
<4>[28921.039885] [<8005c4e0>] 0x8005c4e0
<4>[28921.043368] [<8005c4e0>] 0x8005c4e0
<4>[28921.046847] [<8005683c>] 0x8005683c
<4>[28921.050328] [<800566c4>] 0x800566c4
<4>[28921.053806] [<80063cc0>] 0x80063cc0
<4>[28921.057282] [<800566c4>] 0x800566c4
<4>[28921.060767] [<800566c4>] 0x800566c4
<4>[28921.064249] [<8000376c>] 0x8000376c
<4>[28921.067741]
<4>[28921.069231] Code: 02803025 8e02001c 00621821 <8c660000> 41656000 30a50001 000000c0 8f84000c 8e020000
<4>[28921.078988]
<4>[28921.080637] ---[ end trace b5c19dfec5be0965 ]---
<0>[28921.233769] Kernel panic - not syncing: Fatal exception in interrupt
<4>[28921.240128] ------------[ cut here ]------------
<4>[28921.244729] WARNING: CPU: 0 PID: 11 at kernel/smp.c:633 0x800cad04
<4>[28921.250878] Modules linked in: ksmbd(O) nf_nat_amanda nf_conntrack_amanda wireguard snd_usb_audio rndis_host nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet mt7615e(O) mt7615_common(O) mt76_connac_lib(O) mt76(O) mac80211(O) lz4 libblake2s ipt_REJECT cfg80211(O) cdc_ether xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_policy xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_ipv4options(O) xt_iprange xt_iface(O) xt_hl xt_helper xt_hashlimit xt_geoip(O) xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connlabel xt_connbytes xt_comment xt_cgroup xt_bpf xt_addrtype xt_TCPOPTSTRIP xt_TCPMSS xt_REDIRECT xt_NETMAP xt_MASQUERADE xt_LUA(O) xt_LOG xt_IPMARK(O) xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY vhci_hcd usbnet usbip_host usbip_core usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_kmp ts_fsm ts_bm snd_usbmidi_lib
<4>[28921.251198] sch_cake ntfs3(O) nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject_bridge nft_reject nft_redir nft_quota nft_queue nft_objref nft_numgen nft_nat nft_meta_bridge nft_masq nft_log nft_limit nft_hash nft_fwd_netdev nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_dup_netdev nft_ct nft_counter nft_compat nft_chain_nat nfnetlink_queue nf_tables nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_log_ipv4 nf_flow_table nf_dup_netdev nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast nf_conntrack_bridge nf_conncount macremapper(O) lz4_decompress lz4_compress libchacha20poly1305 libblake2s_generic iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip6table_raw ip_tables hwmon hid_generic crc_ccitt compat_xtables(O) compat(O) br_netfilter arptable_filter arpt_mangle arp_tables fuse cls_bpf act_bpf sch_tbf
<4>[28921.337996] sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact sg hid evdev ledtrig_gpio cryptodev(O) xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat ip6t_NPT ip6t_rt ip6t_mh ip6t_ipv6header ip6t_hbh ip6t_frag ip6t_eui64 ip6t_ah nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nfsd bonding ip6_gre ip_gre gre ifb nat46(O) sit ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ip6_tunnel tunnel6 tunnel4 rpcsec_gss_krb5 auth_rpcgss oid_registry tun snd_rawmidi snd_seq_device snd_pcm_oss snd_mixer_oss snd_hwdep snd_compress snd_pcm snd_timer snd soundcore ovpn_dco(O) xfrm_user
<4>[28921.424742] xfrm_ipcomp af_key xfrm_algo lockd sunrpc grace isofs hfsplus hfs cdrom autofs4 dm_mirror dm_region_hash dm_log dm_crypt dm_mod dax nls_utf8 nls_koi8_r nls_cp866 nls_cp1251 zram algif_skcipher algif_rng algif_hash algif_aead af_alg echainiv arc4 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ahci libahci libata gpio_button_hotplug(O) xfs f2fs ext4 mbcache jbd2 btrfs xor raid6_pq mii tpm rng_core crc32_generic
<4>[28921.549510] CPU: 0 PID: 11 Comm: ksoftirqd/0 Tainted: G D O 5.10.100 #0
<4>[28921.557216] Stack : 00000000 00000000 80c40000 00000000 00000000 00000000 00000000 00000000
<4>[28921.565554] 00000000 00000000 00000000 00000000 00000000 00000001 81461958 80aab114
<4>[28921.573892] 814619f0 00000000 00000000 81461818 00000038 8040d064 ffffffea 00000000
<4>[28921.582230] 81461808 000007a4 80a47108 3a646574 81461938 808b92ac 00000000 808c0000
<4>[28921.590568] 00000009 80a40000 00000001 00000000 00000000 804a8480 000fd757 000fd797
<4>[28921.598920] ...
<4>[28921.601368] Call Trace:
<4>[28921.601388] [<8040d064>] 0x8040d064
<4>[28921.607287] [<804a8480>] 0x804a8480
<4>[28921.610760] [<8000a184>] 0x8000a184
<4>[28921.614230] [<8000a18c>] 0x8000a18c
<4>[28921.617698] [<803f1194>] 0x803f1194
<4>[28921.621170] [<800cad04>] 0x800cad04
<4>[28921.624639] [<800873f4>] 0x800873f4
<4>[28921.628107] [<8008afd8>] 0x8008afd8
<4>[28921.631580] [<800cad04>] 0x800cad04
<4>[28921.635050] [<800355cc>] 0x800355cc
<4>[28921.638519] [<800cad04>] 0x800cad04
<4>[28921.641992] [<80035694>] 0x80035694
<4>[28921.645463] [<800cad04>] 0x800cad04
<4>[28921.648933] [<80015530>] 0x80015530
<4>[28921.652406] [<80667e30>] 0x80667e30
<4>[28921.655876] [<800cad70>] 0x800cad70
<4>[28921.659345] [<80035038>] 0x80035038
<4>[28921.662819] [<80667e30>] 0x80667e30
<4>[28921.666297] [<8000a470>] 0x8000a470
<4>[28921.669769] [<801a438c>] 0x801a438c
<4>[28921.673241] [<8000cba8>] 0x8000cba8
<4>[28921.676848] [<80667e30>] 0x80667e30
<4>[28921.680318] [<8000d14c>] 0x8000d14c
<4>[28921.683790] [<800040f4>] 0x800040f4
<4>[28921.687282] [<80667e30>] 0x80667e30
<4>[28921.690758] [<80667e30>] 0x80667e30
<4>[28921.694229] [<80667e30>] 0x80667e30
<4>[28921.697697] [<801a438c>] 0x801a438c
<4>[28921.701225] [<80667e30>] 0x80667e30
<4>[28921.704730] [<80667ea0>] 0x80667ea0
<4>[28921.708232] [<805b2fa0>] 0x805b2fa0
<4>[28921.711796] [<805b52a8>] 0x805b52a8
<4>[28921.715302] [<806db24c>] 0x806db24c
<4>[28921.718789] [<8068b16c>] 0x8068b16c
<4>[28921.722261] [<8067fd64>] 0x8067fd64
<4>[28921.725750] [<8068b498>] 0x8068b498
<4>[28921.729220] [<800157c0>] 0x800157c0
<4>[28921.732694] [<808a0404>] 0x808a0404
<4>[28921.736165] [<80066e40>] 0x80066e40
<4>[28921.739667] [<8003a0a8>] 0x8003a0a8
<4>[28921.743154] [<8089b428>] 0x8089b428
<4>[28921.746630] [<8005c608>] 0x8005c608
<4>[28921.750105] [<800562c4>] 0x800562c4
<4>[28921.753584] [<8089b9a8>] 0x8089b9a8
<4>[28921.757060] [<8005c4e0>] 0x8005c4e0
<4>[28921.760539] [<8005c4e0>] 0x8005c4e0
<4>[28921.764015] [<8005683c>] 0x8005683c
<4>[28921.767490] [<800566c4>] 0x800566c4
<4>[28921.770971] [<80063cc0>] 0x80063cc0
<4>[28921.774447] [<800566c4>] 0x800566c4
<4>[28921.777923] [<800566c4>] 0x800566c4
<4>[28921.781401] [<8000376c>] 0x8000376c
<4>[28921.784893]
<4>[28921.786380] ---[ end trace b5c19dfec5be0966 ]---
Yesterday, it was caused by swapper (I missed the log). Happens even with disabled HW/SW NAT.
Also, I found another issue. When I tried to send something to a remote FTP server, wan port is dead. No errors in log, just watchcat says no internet and dnscrypt-proxy can't connect to DNS servers. Sometimes I see that my PC reconnects on 10Mb->1Gb speed. Happens on iptables/fw3 and nftables/fw4. With disabled HW NAT, everything works as expected.
Can someone confirm all of this?
That's unfortunate news.
I am still running r18792-337e942290 (from Feb 11th). Completing almost 4 days stable, with HW flow offload active and working (testing with IPv4 only).
I will not be able to test new snapshot builds soon (probably only during the weekend).
After this never crashed
Strange stuff...
Firmware update re-enabled 'Packet Steering' !?
Maybe a luci error?
With r18785-8072bf3322
I have no problems: Uptime: 4d, 07:22:59
.
Upgrading to r18809-5a0975f7ef
, let's see what happens.
Any kernel panics so far with this?
Not yet.
BusyBox v1.35.0 (2022-02-14 13:40:34 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r18809-5a0975f7ef
-----------------------------------------------------
| Machine: D-Link DIR-860L B1 |
| Uptime: 1d, 02:27:51 |
| Load: 0.14 0.10 0.02 |
| Flash: total: 5.4MB, free: 5.1MB, used: 5% |
| Memory: total: 117.4MB, free: 81.8MB, used: 30% |
| WAN: xx.xx.xx.xx, proto: pppoe |
| LAN: 192.168.xx.xx, leases: xx |
-----------------------------------------------------
My use case is just an average case: using it as an AP with a minimal usage of (the 1000/300) bandwidth.
With 19.07.8 I had a few random reboot per month, but for the last time it lasted 50 days of uptime before I upgraded to test the fix from here.
All ok:
08:37:10 up 6 days, 52 min, load average: 0.21, 0.79, 0.55
@xabolcs, sorry about the newbie and OT question: how to you get this status from CLI? Is it a custom script you did or is there a command to check this status? Thanks!
It's: sysinfo
I tried @cezary's easyconfig once and borrowed it.
You can install (get) it from cezary's packages feed!
It's a nice addition to motd
, I like it too!
Build SNAPSHOT r18792-337e942290
just completed 6 days up and running with firewall4 and HW flow offload enabled on an Archer C6 v3.2! I just saved this build and marked it as stable in my image library!
OpenWrt SNAPSHOT r18812-918d4ab41e
Working fine:
- hw offload
- wifi 2.4ghz
- wifi 5ghz
My last problem was wifi mcu timeout
Snapshot r18878-a93dfff10e is good so far on my main ER-X gateway. I'm just using SW offload (with fq_codel/simple.qos SQM). Packet steering enabled, irqbalance enabled, adblock running, 4 VLAN's (but no PPOE needed with ISP) and two AP's wired to it.
I can't claim 6 days of runtime LOL...more like 11 hours, but that includes a full work day of video and voice conferencing with the family doing whatever (streaming, games, etc.) in the background.
System and kernel logs look clean. No reboots. Everything working fine.
I can also report snapshot r18896-2fd049f5cd with:
net: ethernet: mtk_eth_soc: add ipv6 flow offload support
has been working fabulously for a day now.
Same use as above, though I did also briefly test HW offload on a high throughput download and CPU usage dropped to essentially zero, as expected.
I also did some careful testing with fq_codel/simple.qos on a hardwired device and am easily getting 250 Mbps SQM throughput (I dialed it back from the high 200's), which I think is pretty phenomenal for a MT7621AT ER-X. SW offload, packet steering and irqbalance are enabled.
CAKE/layer_cake maxes out around 100-110 Mbps. With the ER-X as the server, iperf3 network throughout is ~490 Mbps, and in reverse (-R) it's ~800 Mbps. Traffic through the ER-X hits line rate (~930 Mbps) - no surprise there.
Thank You devs for the continued work on more "post DSA" finishing touches and restoring offloading on this target!
Offload on today snapshot a gigabit ftth works only at 1000mb/400upload, with 19.07 works at 1000/1000... back to 19.07 or a lean fork back to normal values.
PD: DSA, nftables, ipv6 too much changes makes unstable for me, stick with old releases for more years
Send setup for test pls. I build server on my house for test with netperf.
tested on redmi ac2100, with nftables, iptables, ipv6 disabled or enable, iperf3 shows 400mb max upload.