Hello All,
I’m facing kernel panic in Linux Kernel 5.10.41 Version. I attached the log below.
I install the below packages in Unmatched board.
apt-get install ufw iptables docker-riscv64 systemd-container
after im stating the docker services. by using below commands
$ mkdir /etc/ld.so.conf.d
$ echo /usr/local/lib > /etc/ld.so.conf.d/libseccomp-riscv64.conf
$ ldconfig
Docker
$ systemctl daemon-reload
$ systemctl enable containerd
$ systemctl start containerd
$ systemctl start docker
$ systemctl enable docker
kernel panic log
root@Exaleap-Unmatched-Linux-1:~# [ 173.306589] Bridge firewalling registered
[ 174.468119] Initializing XFRM netlink socket
[ 175.168418] Unable to handle kernel paging request at virtual address 0000005f81b2087a
[ 175.175579] Oops [#1]
[ 175.177820] Modules linked in: xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype iptable_filter iptable_nat nf_nat ip_tables br_netfilter overlay nls_cp437 fuse
[ 175.194762] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G W 5.10.41 #1
[ 175.202142] epc: ffffffdf81b2087a ra : ffffffe000b415d4 sp : ffffffe07ffe3a80
[ 175.209263] gp : ffffffe0018089b8 tp : ffffffe07ffcab00 t0 : 0000000000000000
[ 175.216472] t1 : 0000000000000000 t2 : 00000000160000e0 s0 : ffffffe07ffe3ad0
[ 175.223682] s1 : 0000000000000002 a0 : ffffffe085d74320 a1 : ffffffe083aec100
[ 175.230891] a2 : ffffffe07ffe3ad8 a3 : 00000000000249f0 a4 : ffffffdf81b2087a
[ 175.238099] a5 : ffffffe083de8fa0 a6 : 0000000000000000 a7 : 0000000000000000
[ 175.245309] s2 : 0000000000000001 s3 : ffffffe083de8f80 s4 : ffffffe083aec100
[ 175.252518] s5 : 0000000000000001 s6 : 0000000000000003 s7 : ffffffe07ffe3ad8
[ 175.259728] s8 : ffffffe083dcc830 s9 : ffffffe083dcc800 s10: ffffffe000bb5340
[ 175.266936] s11: ffffffe083dcc8a8 t3 : 00000000160000e0 t4 : 0000000000020000
[ 175.274145] t5 : 0000000000000000 t6 : 0000000000000000
[ 175.279445] status: 0000000200000120 badaddr: 0000005f81b2087a cause: 000000000000000c
[ 175.287397] —[ end trace a6c6602989b9c91b ]—
[ 175.291972] Kernel panic - not syncing: Fatal exception in interrupt
[ 175.298298] SMP: stopping secondary CPUs
[ 175.302222] —[ end Kernel panic - not syncing: Fatal exception in interrupt ]–
same kernel panic is came once we are doing voice recognization. attached the screen shot
I’m unable to find the root cause for the kernel panic.
even i tried in the Linux kernel 5.10.19 and 5.10.99 versions also in that kernel also im facing same issue.
i observe that same issue posted in git lab @giantswarm (Giant Swarm · GitHub) Kernel panics in 5.10.37 version
i obeserved that after enabling below configurations, im getting kernel panic, may be if im wrong please correct me.
+CONFIG_SLUB_MEMCG_SYSFS_ON=y
+CONFIG_NF_CONNTRACK=m
+CONFIG_NF_CONNTRACK_PROCFS=y
+CONFIG_NF_CONNTRACK_EVENTS=y
+CONFIG_NF_CT_PROTO_DCCP=y
+CONFIG_NF_CT_PROTO_SCTP=y
+CONFIG_NF_CT_PROTO_UDPLITE=y
+CONFIG_NF_NAT=m
+CONFIG_NF_NAT_MASQUERADE=y
+CONFIG_NETFILTER_XTABLES=m
+CONFIG_NETFILTER_XT_NAT=m
+CONFIG_NF_DEFRAG_IPV4=m
+CONFIG_IP_NF_IPTABLES=m
+CONFIG_IP_NF_NAT=m
+CONFIG_IP_NF_TARGET_MASQUERADE=m
+CONFIG_NF_DEFRAG_IPV6=m
+CONFIG_NF_CONNTRACK_BRIDGE=m
In This kernel 5.10.41 dont have kexec & kernel crash dump support for riscv. they given supporting from 5.13 kernel onwards.
what is the main cause for **> end Kernel panic - not syncing: Fatal exception in interrupt**
is related to interrupt drivers issue, is there any bug in the interrupts or any issue with network drivers.
how can i debug the oops and kernel panic issue. Please help me to fix this issue.
Thanks
Babu P