Hi all, I'm trying to set up an OpenVPN client, but my router reboots after I start OpenVPN. I'm curious if anybody might have seen something like this. Maybe I should look into WireGuard...
I managed to capture the error message by running this in second SSH session as I launched OpenVPN as I couldn't find any logs of what happened after the restart:
while true
do
dmesg -c
done
The message:
[ 742.740000] Dead loop on virtual device tun0, fix it urgently!
[ 742.750000] Kernel bug detected[#1]:
[ 742.750000] CPU: 0 UID: 0 PID: 7099 Comm: openvpn Tainted: G O 6.18.55 #0 NONE
[ 742.750000] Tainted: [O]=OOT_MODULE
[ 742.750000] Hardware name: AVM FRITZ!Box 5490/5491
[ 742.750000] $ 0 : 00000000 00000001 00000001 82ed8300
[ 742.750000] $ 4 : 81801400 80d4f700 82ed8200 82ed8200
[ 742.750000] $ 8 : 89705f41 36b4a597 000000ac 0000012c
[ 742.750000] $12 : 82d2e5bc 0000012c 80adaa08 ffffffff
[ 742.750000] $16 : 80d4f700 80d4f700 000f0020 82ed8200
[ 742.750000] $20 : 00000000 81801400 82ed8200 839021c8
[ 742.750000] $24 : 00000018 00000000
[ 742.810000] $28 : 82d2e000 82d2e958 00000001 80226848
[ 742.810000] Hi : 0000005c
[ 742.810000] Lo : d7d59b6c
[ 742.810000] epc : 80226cd4 __slab_free.isra.0+0x5c/0x36c
[ 742.810000] ra : 80226848 kfree+0x2f8/0x33c
[ 742.810000] Status: 1100ff03 KERNEL EXL IE
[ 742.810000] Cause : 10800034 (ExcCode 0d)
[ 742.810000] PrId : 00019556 (MIPS 34Kc)
[ 742.810000] Modules linked in: avm_wasp(O) rtl8192cu(O) rtl8192c_common(O) rtl_usb(O) rt2800usb(O) rt2800lib(O) nft_flow_offload nft_fib_inet nf_flow_table_inet nf_flow_table rtlwifi(O) rt2x00usb(O) rt2x00lib(O) pppoe nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_chain_nat nf_tables mac80211(O) ipt_REJECT cfg80211(O) xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xfrm_interface wireguard usbip_host usbip_core sch_cake pppox ppp_async nfnetlink nf_reject_ipv4 nf_nat_sip nf_log_syslog nf_conntrack_sip ltq_deu_vr9(O) libcurve25519 libchacha20poly1305 iptable_nat iptable_mangle iptable_filter ip_tables crc_ccitt compat(O) fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact jool_siit(O) jool(O) jool_common(O)
[ 742.810000] ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 pppoatm ppp_generic slhc nfsd nfs ifb ip6_vti ip_vti ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ip6_tunnel tunnel6 tunnel4 ip_tunnel rpcsec_gss_krb5 auth_rpcgss oid_registry tun ovpn(O) udp_tunnel ip6_udp_tunnel xfrm_user xfrm_ipcomp af_key xfrm_algo lockd sunrpc grace dns_resolver br2684 atm nls_utf8 nls_iso8859_1 nls_cp437 ecdh_generic ecc xcbc crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha512 libsha512 sha256 sha1 seqiv sha3_generic jitterentropy_rng drbg pcbc md5 libmd5 md4 hmac echainiv geniv des_generic libdes cts cmac chacha20poly1305 libpoly1305 chacha libchacha cbc authencesn authenc arc4 xhci_plat_hcd xhci_pci_renesas xhci_pci xhci_hcd tag_qca qca8k tag_gswip lantiq_gswip loop gpio_button_hotplug(O) vfat fat ext4 mbcache jbd2 qca83xx crc32c_cryptoap
Note that I'm running 0364bc256fdc16665ddbab3e518f4d3e67e6fe39 so it might also be that there was/is an issue in the main branch.