On Wed, Jun 6, 2018 at 12:41 PM, Kristian Evensen <kristian.even...@gmail.com> wrote: > Hi, > > I am experiencing the same issue on a PC Engines APU2 running kernel > 4.14.34, both with and without hardware encryption. With hw. > encryption, the crash occurs within 2-4 hours. Without hw. encryption, > it takes 7-8 hours. My setup is nothing crazy, between 7 and 20 > tunnels with heavy RX/TX.
I am very sorry, I forgot to c&p the oops. Here it is: [26675.130763] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 [26675.139335] IP: xfrm_lookup+0x1d/0x7b0 [26675.143318] PGD 11726e067 P4D 11726e067 PUD 11697e067 PMD 0 [26675.149542] Oops: 0000 [#1] SMP NOPTI [26675.153451] Modules linked in: qcserial ppp_async option cdc_mbim usb_wwan rt2800pci rt2800mmio rt2800lib rndis_host qmi_wwan ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether ax88179_178a asix xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_policy xt_pkttype xt_owner xt_nfacct xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connlabel xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NFQUEUE xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet ts_fsm ts_bm slhc rt2x00pci rt2x00mmio rt2x00lib r8169 nfnetlink_queue nfnetlink_acct nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect [26675.227953] nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda lib80211_crypt_wep lib80211_crypt_tkip lib80211_crypt_ccmp lib80211 iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip6table_raw ip_tables crc_itu_t crc_ccitt compat_xtables cdc_wdm br_netfilter ath10k_pci ath10k_core sch_cake ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 compat act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress [26675.300777] evdev i2c_dev cryptodev xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables igb i2c_algo_bit e1000 ifb ipcomp6 xfrm6_tunnel xfrm6_mode_tunnel xfrm6_mode_transport xfrm6_mode_beet esp6 ah6 ipcomp xfrm4_tunnel xfrm4_mode_tunnel xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 tunnel6 tunnel4 tun af_key xfrm_user xfrm_ipcomp xfrm_algo eeprom_93cx6 sha256_ssse3 sha1_ssse3 sha1_generic michael_mic md5 echainiv des_generic deflate zlib_deflate [26675.373443] cmac authenc crypto_acompress xhci_plat_hcd uhci_hcd leds_apu2 ehci_platform gpio_button_hotplug ptp pps_core mii libphy [26675.385812] CPU: 3 PID: 24 Comm: ksoftirqd/3 Not tainted 4.14.34 #0 [26675.392308] Hardware name: PC Engines apu2/apu2, BIOS 88a4f96 03/07/2016 [26675.399200] task: ffff88011a0fc680 task.stack: ffffc900000e0000 [26675.405368] RIP: 0010:xfrm_lookup+0x1d/0x7b0 [26675.409736] RSP: 0018:ffffc900000e3b68 EFLAGS: 00010292 [26675.415066] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [26675.422407] RDX: ffffc900000e3be8 RSI: 0000000000000000 RDI: ffffffff81c6b480 [26675.429732] RBP: ffffc900000e3bd8 R08: 0000000000000002 R09: 0000000000000001 [26675.437107] R10: 0000000000000032 R11: 0000000000000000 R12: ffff880112954800 [26675.444524] R13: 0000000000000002 R14: ffffc900000e3be8 R15: ffffffff81c6b480 [26675.451876] FS: 0000000000000000(0000) GS:ffff88011ed80000(0000) knlGS:0000000000000000 [26675.460101] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [26675.465971] CR2: 0000000000000020 CR3: 0000000116928000 CR4: 00000000000406e0 [26675.473282] Call Trace: [26675.475801] ? __xfrm_policy_check+0x1cc/0x520 [26675.480419] __xfrm_route_forward+0x96/0xe0 [26675.484698] ip_forward+0x10f/0x3a0 [26675.488233] ? ip_route_input_noref+0x14/0x20 [26675.492713] ip_rcv_finish+0x26d/0x2c0 [26675.496525] ip_rcv+0x253/0x2c0 [26675.499767] ? ip_local_deliver_finish+0x180/0x180 [26675.504752] __netif_receive_skb_core+0x7b6/0x920 [26675.509577] __netif_receive_skb+0x54/0x60 [26675.513754] ? __netif_receive_skb+0x54/0x60 [26675.518140] process_backlog+0x91/0x130 [26675.522194] net_rx_action+0xf3/0x250 [26675.525933] __do_softirq+0xb5/0x1d1 [26675.529600] run_ksoftirqd+0x1b/0x40 [26675.533275] smpboot_thread_fn+0x152/0x170 [26675.537538] kthread+0x112/0x120 [26675.540873] ? sort_range+0x20/0x20 [26675.544422] ? kthread_create_on_node+0x40/0x40 [26675.549092] ret_from_fork+0x22/0x40 [26675.552737] Code: 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 ff 53 49 89 d6 48 89 f3 45 89 c5 48 83 ec 48 <48> 8b 46 20 48 85 c9 0f b7 00 c7 45 ac 00 00 00 00 66 89 45 a0 [26675.572124] RIP: xfrm_lookup+0x1d/0x7b0 RSP: ffffc900000e3b68 [26675.578059] CR2: 0000000000000020 [26675.581516] ---[ end trace a1b7aabd4d96add5 ]--- [26675.586317] Kernel panic - not syncing: Fatal exception in interrupt [26675.592914] Kernel Offset: disabled [26675.596505] Rebooting in 3 seconds.. BR, Kristian