Created attachment 392 [details] crash日志文件 Description of problem: kernel_selftests测试套用例执行过程中发生crash,查看执行日志,执行的最后一个用例是mptcp_connect.sh 部分串口日志如下,详细日志见附件: [50024.459776] watchdog: BUG: soft lockup - CPU#53 stuck for 22s! [ping:425437] [50024.468937] Modules linked in: mptcp_diag(E) inet_diag(E) xfrm_interface(E) des_generic(E) libdes(E) ifb(E) sch_netem(E) cls_matchall(E) ip6t_rpfilter(E) mpls_iptunnel(E) mpls_router(E) nft_chain_nat(E) xt_nat(E) nf_nat(E) xt_conntrack(E) nf_conntrack(E) nf_defrag_ipv4(E) nf_defrag_ipv6(E) ip_vti(E) ip6_vti(E) xfrm6_tunnel(E) geneve(E) act_mirred(E) cls_basic(E) esp6(E) authenc(E) echainiv(E) xt_policy(E) esp4_offload(E) seqiv(E) esp4(E) macsec(E) bridge(E) cls_u32(E) sch_htb(E) dummy(E) ccm(E) poly1305_generic(E) libpoly1305(E) chacha_generic(E) chacha_neon(E) libchacha(E) chacha20poly1305(E) tls(E) fuse(E) sch_fq(E) vrf(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) sit(E) ipip(E) tunnel4(E) act_gact(E) cls_flower(E) xt_mark(E) vxlan(E) ip6_udp_tunnel(E) udp_tunnel(E) ip6_gre(E) ip6_tunnel(E) tunnel6(E) ip_gre(E) ip_tunnel(E) gre(E) netdevsim(E) cls_bpf(E) sch_ingress(E) veth(E) nft_counter(E) nft_compat(E) nf_tables(E) nfnetlink(E) xfs(E) libcrc32c(E) binfmt_misc(E) bonding(E) rfkill(E) [50024.469460] rpcrdma(E) vfat(E) fat(E) sunrpc(E) rdma_ucm(E) ib_srpt(E) ib_isert(E) iscsi_target_mod(E) target_core_mod(E) ib_iser(E) rdma_cm(E) ib_umad(E) iw_cm(E) ib_ipoib(E) libiscsi(E) ib_cm(E) scsi_transport_iscsi(E) ipmi_ssif(E) crct10dif_ce(E) ghash_ce(E) sha1_ce(E) acpi_ipmi(E) sbsa_gwdt(E) mlx5_ib(E) ib_uverbs(E) ipmi_si(E) ib_core(E) ipmi_devintf(E) spi_dw_mmio(E) ipmi_msghandler(E) spi_dw(E) hibmc_drm(E) drm_vram_helper(E) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) ext4(E) fb_sys_fops(E) cec(E) hisi_sas_v3_hw(E) mbcache(E) drm_ttm_helper(E) jbd2(E) realtek(E) sha2_ce(E) hns3(E) ttm(E) hisi_sas_main(E) sha256_arm64(E) i2c_designware_platform(E) mlx5_core(E) drm(E) nvme(E) nfit(E) i2c_designware_core(E) hclge(E) gpio_dwapb(E) libsas(E) nvme_core(E) hnae3(E) sg(E) scsi_transport_sas(E) mlxfw(E) i2c_core(E) gpio_generic(E) libnvdimm(E) [last unloaded: test_bpf] [50024.668748] CPU: 53 PID: 425437 Comm: ping Tainted: G W EL 5.10.134-395.git.70ede1ca5.an8.aarch64 #1 [50024.681067] Hardware name: H3C UniServer R4960 G3/BC82AMDDA, BIOS 1.79 08/21/2021 [50024.690708] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO BTYPE=--) [50024.698882] pc : native_queued_spin_lock_slowpath+0x178/0x360 [50024.706785] lr : queued_write_lock_slowpath+0x138/0x160 [50024.714168] sp : ffff8000301d3ca0 [50024.719625] x29: ffff8000301d3ca0 x28: ffff2080262d4900 [50024.727089] x27: ffff800010dd6cf8 x26: ffff8000301d3e10 [50024.734565] x25: 0000000000000000 x24: ffff800012026680 [50024.742043] x23: ffff800010c011e4 x22: 000000000000003b [50024.749542] x21: ffff8000120264ac x20: ffff8000118d1648 [50024.757056] x19: ffff8000120264a8 x18: 0000000000000000 [50024.764578] x17: 0000000000000000 x16: 0000000000000000 [50024.772100] x15: 0000000000000000 x14: 0000000000000000 [50024.779603] x13: 0000000000000000 x12: 0000000000000000 [50024.787099] x11: 0000000000000000 x10: 0000000000d80000 [50024.794579] x9 : 0000000000000000 x8 : ffff206fffd78ac0 [50024.802051] x7 : ffff8000110900b8 x6 : ffff8000115b1ac0 [50024.809524] x5 : ffff206fffd78ac0 x4 : ffff8000118bebf0 [50024.817005] x3 : ffff8000120264ac x2 : 0000000000000000 [50024.824485] x1 : 0000000000000000 x0 : ffff206fffd78ac8 [50024.831981] Call trace: [50024.836621] native_queued_spin_lock_slowpath+0x178/0x360 [50024.844220] queued_write_lock_slowpath+0x138/0x160 [50024.851308] raw_hash_sk+0xb0/0x170 [50024.857006] inet6_create+0x1fc/0x3b8 [50024.862880] __sock_create+0x168/0x298 [50024.868835] __sys_socket+0x64/0xf8 [50024.874536] __arm64_sys_socket+0x24/0x30 [50024.880765] el0_svc_common+0xb8/0x208 [50024.886736] do_el0_svc+0x2c/0x90 [50024.892246] el0_svc+0x1c/0x28 [50024.897458] el0_sync_handler+0x88/0xb0 [50024.903424] el0_sync+0x148/0x180 [50025.292151] watchdog: BUG: soft lockup - CPU#60 stuck for 22s! [ping:425457] [50025.301256] Modules linked in: mptcp_diag(E) inet_diag(E) xfrm_interface(E) des_generic(E) libdes(E) ifb(E) sch_netem(E) cls_matchall(E) ip6t_rpfilter(E) mpls_iptunnel(E) mpls_router(E) nft_chain_nat(E) xt_nat(E) nf_nat(E) xt_conntrack(E) nf_conntrack(E) nf_defrag_ipv4(E) nf_defrag_ipv6(E) ip_vti(E) ip6_vti(E) xfrm6_tunnel(E) geneve(E) act_mirred(E) cls_basic(E) esp6(E) authenc(E) echainiv(E) xt_policy(E) esp4_offload(E) seqiv(E) esp4(E) macsec(E) bridge(E) cls_u32(E) sch_htb(E) dummy(E) ccm(E) poly1305_generic(E) libpoly1305(E) chacha_generic(E) chacha_neon(E) libchacha(E) chacha20poly1305(E) tls(E) fuse(E) sch_fq(E) vrf(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) sit(E) ipip(E) tunnel4(E) act_gact(E) cls_flower(E) xt_mark(E) vxlan(E) ip6_udp_tunnel(E) udp_tunnel(E) ip6_gre(E) ip6_tunnel(E) tunnel6(E) ip_gre(E) ip_tunnel(E) gre(E) netdevsim(E) cls_bpf(E) sch_ingress(E) veth(E) nft_counter(E) nft_compat(E) nf_tables(E) nfnetlink(E) xfs(E) libcrc32c(E) binfmt_misc(E) bonding(E) rfkill(E) [50025.301758] rpcrdma(E) vfat(E) fat(E) sunrpc(E) rdma_ucm(E) ib_srpt(E) ib_isert(E) iscsi_target_mod(E) target_core_mod(E) ib_iser(E) rdma_cm(E) ib_umad(E) iw_cm(E) ib_ipoib(E) libiscsi(E) ib_cm(E) scsi_transport_iscsi(E) ipmi_ssif(E) crct10dif_ce(E) ghash_ce(E) sha1_ce(E) acpi_ipmi(E) sbsa_gwdt(E) mlx5_ib(E) ib_uverbs(E) ipmi_si(E) ib_core(E) ipmi_devintf(E) spi_dw_mmio(E) ipmi_msghandler(E) spi_dw(E) hibmc_drm(E) drm_vram_helper(E) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) ext4(E) fb_sys_fops(E) cec(E) hisi_sas_v3_hw(E) mbcache(E) drm_ttm_helper(E) jbd2(E) realtek(E) sha2_ce(E) hns3(E) ttm(E) hisi_sas_main(E) sha256_arm64(E) i2c_designware_platform(E) mlx5_core(E) drm(E) nvme(E) nfit(E) i2c_designware_core(E) hclge(E) gpio_dwapb(E) libsas(E) nvme_core(E) hnae3(E) sg(E) scsi_transport_sas(E) mlxfw(E) i2c_core(E) gpio_generic(E) libnvdimm(E) [last unloaded: test_bpf] [50025.500098] CPU: 60 PID: 425457 Comm: ping Tainted: G W EL 5.10.134-395.git.70ede1ca5.an8.aarch64 #1 [50025.512359] Hardware name: H3C UniServer R4960 G3/BC82AMDDA, BIOS 1.79 08/21/2021 [50025.521941] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO BTYPE=--) [50025.530059] pc : native_queued_spin_lock_slowpath+0x178/0x360 [50025.537899] lr : queued_write_lock_slowpath+0x138/0x160 [50025.545220] sp : ffff800030713ca0 [50025.550618] x29: ffff800030713ca0 x28: ffff2080258f6d80 [50025.558017] x27: ffff800010dd2730 x26: ffff800030713e10 [50025.565424] x25: 0000000000000001 x24: ffff800012021048 [50025.572834] x23: ffff800010ba74c0 x22: 0000000000000002 [50025.580265] x21: ffff80001202103c x20: ffff8000118d1648 [50025.587706] x19: ffff800012021038 x18: 0000000000000000 [50025.595154] x17: 0000000000000000 x16: 0000000000000000 [50025.602604] x15: 0000000000000000 x14: 0000000000000000 [50025.610035] x13: 0000000000000000 x12: 0000000000000000 [50025.617454] x11: 0000000000000000 x10: 0000000000f40000 [50025.624863] x9 : 0000000000000000 x8 : ffff206fffe66ac0 [50025.632261] x7 : ffff8000110900b8 x6 : ffff8000115b1ac0 [50025.639661] x5 : ffff206fffe66ac0 x4 : ffff8000118bebf0 [50025.647069] x3 : ffff80001202103c x2 : 0000000000000000 [50025.654479] x1 : 0000000000000000 x0 : ffff206fffe66ac8 [50025.661903] Call trace: [50025.666470] native_queued_spin_lock_slowpath+0x178/0x360 [50025.673993] queued_write_lock_slowpath+0x138/0x160 [50025.681006] raw_hash_sk+0xb0/0x170 [50025.686630] inet_create+0x188/0x370 [50025.692327] __sock_create+0x168/0x298 [50025.698207] __sys_socket+0x64/0xf8 [50025.703828] __arm64_sys_socket+0x24/0x30 [50025.709974] el0_svc_common+0xb8/0x208 [50025.715859] do_el0_svc+0x2c/0x90 [50025.721287] el0_svc+0x1c/0x28 [50025.726417] el0_sync_handler+0x88/0xb0 [50025.732300] el0_sync+0x148/0x180 [50028.148034] watchdog: BUG: soft lockup - CPU#50 stuck for 23s! [ping:425427] [50028.157186] Modules linked in: mptcp_diag(E) inet_diag(E) xfrm_interface(E) des_generic(E) libdes(E) ifb(E) sch_netem(E) cls_matchall(E) ip6t_rpfilter(E) mpls_iptunnel(E) mpls_router(E) nft_chain_nat(E) xt_nat(E) nf_nat(E) xt_conntrack(E) nf_conntrack(E) nf_defrag_ipv4(E) nf_defrag_ipv6(E) ip_vti(E) ip6_vti(E) xfrm6_tunnel(E) geneve(E) act_mirred(E) cls_basic(E) esp6(E) authenc(E) echainiv(E) xt_policy(E) esp4_offload(E) seqiv(E) esp4(E) macsec(E) bridge(E) cls_u32(E) sch_htb(E) dummy(E) ccm(E) poly1305_generic(E) libpoly1305(E) chacha_generic(E) chacha_neon(E) libchacha(E) chacha20poly1305(E) tls(E) fuse(E) sch_fq(E) vrf(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) sit(E) ipip(E) tunnel4(E) act_gact(E) cls_flower(E) xt_mark(E) vxlan(E) ip6_udp_tunnel(E) udp_tunnel(E) ip6_gre(E) ip6_tunnel(E) tunnel6(E) ip_gre(E) ip_tunnel(E) gre(E) netdevsim(E) cls_bpf(E) sch_ingress(E) veth(E) nft_counter(E) nft_compat(E) nf_tables(E) nfnetlink(E) xfs(E) libcrc32c(E) binfmt_misc(E) bonding(E) rfkill(E) [50028.157709] rpcrdma(E) [50028.255736] watchdog: BUG: soft lockup - CPU#51 stuck for 22s! [ping:425431] [50024.459776] watchdog: BUG: soft lockup - CPU#53 stuck for 22s! [ping:425437] [50024.468937] Modules linked in: mptcp_diag(E) inet_diag(E) xfrm_interface(E) des_generic(E) libdes(E) ifb(E) sch_netem(E) cls_matchall(E) ip6t_rpfilter(E) mpls_iptunnel(E) mpls_router(E) nft_chain_nat(E) xt_nat(E) nf_nat(E) xt_conntrack(E) nf_conntrack(E) nf_defrag_ipv4(E) nf_defrag_ipv6(E) ip_vti(E) ip6_vti(E) xfrm6_tunnel(E) geneve(E) act_mirred(E) cls_basic(E) esp6(E) authenc(E) echainiv(E) xt_policy(E) esp4_offload(E) seqiv(E) esp4(E) macsec(E) bridge(E) cls_u32(E) sch_htb(E) dummy(E) ccm(E) poly1305_generic(E) libpoly1305(E) chacha_generic(E) chacha_neon(E) libchacha(E) chacha20poly1305(E) tls(E) fuse(E) sch_fq(E) vrf(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) sit(E) ipip(E) tunnel4(E) act_gact(E) cls_flower(E) xt_mark(E) vxlan(E) ip6_udp_tunnel(E) udp_tunnel(E) ip6_gre(E) ip6_tunnel(E) tunnel6(E) ip_gre(E) ip_tunnel(E) gre(E) netdevsim(E) cls_bpf(E) sch_ingress(E) veth(E) nft_counter(E) nft_compat(E) nf_tables(E) nfnetlink(E) xfs(E) libcrc32c(E) binfmt_misc(E) bonding(E) rfkill(E) [50024.469460] rpcrdma(E) vfat(E) fat(E) sunrpc(E) rdma_ucm(E) ib_srpt(E) ib_isert(E) iscsi_target_mod(E) target_core_mod(E) ib_iser(E) rdma_cm(E) ib_umad(E) iw_cm(E) ib_ipoib(E) libiscsi(E) ib_cm(E) scsi_transport_iscsi(E) ipmi_ssif(E) crct10dif_ce(E) ghash_ce(E) sha1_ce(E) acpi_ipmi(E) sbsa_gwdt(E) mlx5_ib(E) ib_uverbs(E) ipmi_si(E) ib_core(E) ipmi_devintf(E) spi_dw_mmio(E) ipmi_msghandler(E) spi_dw(E) hibmc_drm(E) drm_vram_helper(E) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) ext4(E) fb_sys_fops(E) cec(E) hisi_sas_v3_hw(E) mbcache(E) drm_ttm_helper(E) jbd2(E) realtek(E) sha2_ce(E) hns3(E) ttm(E) hisi_sas_main(E) sha256_arm64(E) i2c_designware_platform(E) mlx5_core(E) drm(E) nvme(E) nfit(E) i2c_designware_core(E) hclge(E) gpio_dwapb(E) libsas(E) nvme_core(E) hnae3(E) sg(E) scsi_transport_sas(E) mlxfw(E) i2c_core(E) gpio_generic(E) libnvdimm(E) [last unloaded: test_bpf] [50024.668748] CPU: 53 PID: 425437 Comm: ping Tainted: G W EL 5.10.134-395.git.70ede1ca5.an8.aarch64 #1 [50024.681067] Hardware name: H3C UniServer R4960 G3/BC82AMDDA, BIOS 1.79 08/21/2021 [50024.690708] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO BTYPE=--) [50024.698882] pc : native_queued_spin_lock_slowpath+0x178/0x360 [50024.706785] lr : queued_write_lock_slowpath+0x138/0x160 [50024.714168] sp : ffff8000301d3ca0 [50024.719625] x29: ffff8000301d3ca0 x28: ffff2080262d4900 [50024.727089] x27: ffff800010dd6cf8 x26: ffff8000301d3e10 [50024.734565] x25: 0000000000000000 x24: ffff800012026680 [50024.742043] x23: ffff800010c011e4 x22: 000000000000003b [50024.749542] x21: ffff8000120264ac x20: ffff8000118d1648 [50024.757056] x19: ffff8000120264a8 x18: 0000000000000000 [50024.764578] x17: 0000000000000000 x16: 0000000000000000 [50024.772100] x15: 0000000000000000 x14: 0000000000000000 [50024.779603] x13: 0000000000000000 x12: 0000000000000000 [50024.787099] x11: 0000000000000000 x10: 0000000000d80000 [50024.794579] x9 : 0000000000000000 x8 : ffff206fffd78ac0 [50024.802051] x7 : ffff8000110900b8 x6 : ffff8000115b1ac0 [50024.809524] x5 : ffff206fffd78ac0 x4 : ffff8000118bebf0 [50024.817005] x3 : ffff8000120264ac x2 : 0000000000000000 [50024.824485] x1 : 0000000000000000 x0 : ffff206fffd78ac8 [50024.831981] Call trace: [50024.836621] native_queued_spin_lock_slowpath+0x178/0x360 [50024.844220] queued_write_lock_slowpath+0x138/0x160 [50024.851308] raw_hash_sk+0xb0/0x170 [50024.857006] inet6_create+0x1fc/0x3b8 [50024.862880] __sock_create+0x168/0x298 [50024.868835] __sys_socket+0x64/0xf8 [50024.874536] __arm64_sys_socket+0x24/0x30 [50024.880765] el0_svc_common+0xb8/0x208 [50024.886736] do_el0_svc+0x2c/0x90 [50024.892246] el0_svc+0x1c/0x28 [50024.897458] el0_sync_handler+0x88/0xb0 [50024.903424] el0_sync+0x148/0x180 [50025.292151] watchdog: BUG: soft lockup - CPU#60 stuck for 22s! [ping:425457] [50025.301256] Modules linked in: mptcp_diag(E) inet_diag(E) xfrm_interface(E) des_generic(E) libdes(E) ifb(E) sch_netem(E) cls_matchall(E) ip6t_rpfilter(E) mpls_iptunnel(E) mpls_router(E) nft_chain_nat(E) xt_nat(E) nf_nat(E) xt_conntrack(E) nf_conntrack(E) nf_defrag_ipv4(E) nf_defrag_ipv6(E) ip_vti(E) ip6_vti(E) xfrm6_tunnel(E) geneve(E) act_mirred(E) cls_basic(E) esp6(E) authenc(E) echainiv(E) xt_policy(E) esp4_offload(E) seqiv(E) esp4(E) macsec(E) bridge(E) cls_u32(E) sch_htb(E) dummy(E) ccm(E) poly1305_generic(E) libpoly1305(E) chacha_generic(E) chacha_neon(E) libchacha(E) chacha20poly1305(E) tls(E) fuse(E) sch_fq(E) vrf(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) sit(E) ipip(E) tunnel4(E) act_gact(E) cls_flower(E) xt_mark(E) vxlan(E) ip6_udp_tunnel(E) udp_tunnel(E) ip6_gre(E) ip6_tunnel(E) tunnel6(E) ip_gre(E) ip_tunnel(E) gre(E) netdevsim(E) cls_bpf(E) sch_ingress(E) veth(E) nft_counter(E) nft_compat(E) nf_tables(E) nfnetlink(E) xfs(E) libcrc32c(E) binfmt_misc(E) bonding(E) rfkill(E) [50025.301758] rpcrdma(E) vfat(E) fat(E) sunrpc(E) rdma_ucm(E) ib_srpt(E) ib_isert(E) iscsi_target_mod(E) target_core_mod(E) ib_iser(E) rdma_cm(E) ib_umad(E) iw_cm(E) ib_ipoib(E) libiscsi(E) ib_cm(E) scsi_transport_iscsi(E) ipmi_ssif(E) crct10dif_ce(E) ghash_ce(E) sha1_ce(E) acpi_ipmi(E) sbsa_gwdt(E) mlx5_ib(E) ib_uverbs(E) ipmi_si(E) ib_core(E) ipmi_devintf(E) spi_dw_mmio(E) ipmi_msghandler(E) spi_dw(E) hibmc_drm(E) drm_vram_helper(E) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) ext4(E) fb_sys_fops(E) cec(E) hisi_sas_v3_hw(E) mbcache(E) drm_ttm_helper(E) jbd2(E) realtek(E) sha2_ce(E) hns3(E) ttm(E) hisi_sas_main(E) sha256_arm64(E) i2c_designware_platform(E) mlx5_core(E) drm(E) nvme(E) nfit(E) i2c_designware_core(E) hclge(E) gpio_dwapb(E) libsas(E) nvme_core(E) hnae3(E) sg(E) scsi_transport_sas(E) mlxfw(E) i2c_core(E) gpio_generic(E) libnvdimm(E) [last unloaded: test_bpf] [50025.500098] CPU: 60 PID: 425457 Comm: ping Tainted: G W EL 5.10.134-395.git.70ede1ca5.an8.aarch64 #1 [50025.512359] Hardware name: H3C UniServer R4960 G3/BC82AMDDA, BIOS 1.79 08/21/2021 [50025.521941] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO BTYPE=--) [50025.530059] pc : native_queued_spin_lock_slowpath+0x178/0x360 [50025.537899] lr : queued_write_lock_slowpath+0x138/0x160 [50025.545220] sp : ffff800030713ca0 [50025.550618] x29: ffff800030713ca0 x28: ffff2080258f6d80 [50025.558017] x27: ffff800010dd2730 x26: ffff800030713e10 [50025.565424] x25: 0000000000000001 x24: ffff800012021048 [50025.572834] x23: ffff800010ba74c0 x22: 0000000000000002 [50025.580265] x21: ffff80001202103c x20: ffff8000118d1648 [50025.587706] x19: ffff800012021038 x18: 0000000000000000 [50025.595154] x17: 0000000000000000 x16: 0000000000000000 [50025.602604] x15: 0000000000000000 x14: 0000000000000000 [50025.610035] x13: 0000000000000000 x12: 0000000000000000 [50025.617454] x11: 0000000000000000 x10: 0000000000f40000 [50025.624863] x9 : 0000000000000000 x8 : ffff206fffe66ac0 [50025.632261] x7 : ffff8000110900b8 x6 : ffff8000115b1ac0 [50025.639661] x5 : ffff206fffe66ac0 x4 : ffff8000118bebf0 [50025.647069] x3 : ffff80001202103c x2 : 0000000000000000 [50025.654479] x1 : 0000000000000000 x0 : ffff206fffe66ac8 [50025.661903] Call trace: [50025.666470] native_queued_spin_lock_slowpath+0x178/0x360 [50025.673993] queued_write_lock_slowpath+0x138/0x160 [50025.681006] raw_hash_sk+0xb0/0x170 [50025.686630] inet_create+0x188/0x370 [50025.692327] __sock_create+0x168/0x298 [50025.698207] __sys_socket+0x64/0xf8 [50025.703828] __arm64_sys_socket+0x24/0x30 [50025.709974] el0_svc_common+0xb8/0x208 [50025.715859] do_el0_svc+0x2c/0x90 [50025.721287] el0_svc+0x1c/0x28 [50025.726417] el0_sync_handler+0x88/0xb0 [50025.732300] el0_sync+0x148/0x180 [50028.148034] watchdog: BUG: soft lockup - CPU#50 stuck for 23s! [ping:425427] [50028.157186] Modules linked in: mptcp_diag(E) inet_diag(E) xfrm_interface(E) des_generic(E) libdes(E) ifb(E) sch_netem(E) cls_matchall(E) ip6t_rpfilter(E) mpls_iptunnel(E) mpls_router(E) nft_chain_nat(E) xt_nat(E) nf_nat(E) xt_conntrack(E) nf_conntrack(E) nf_defrag_ipv4(E) nf_defrag_ipv6(E) ip_vti(E) ip6_vti(E) xfrm6_tunnel(E) geneve(E) act_mirred(E) cls_basic(E) esp6(E) authenc(E) echainiv(E) xt_policy(E) esp4_offload(E) seqiv(E) esp4(E) macsec(E) bridge(E) cls_u32(E) sch_htb(E) dummy(E) ccm(E) poly1305_generic(E) libpoly1305(E) chacha_generic(E) chacha_neon(E) libchacha(E) chacha20poly1305(E) tls(E) fuse(E) sch_fq(E) vrf(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) sit(E) ipip(E) tunnel4(E) act_gact(E) cls_flower(E) xt_mark(E) vxlan(E) ip6_udp_tunnel(E) udp_tunnel(E) ip6_gre(E) ip6_tunnel(E) tunnel6(E) ip_gre(E) ip_tunnel(E) gre(E) netdevsim(E) cls_bpf(E) sch_ingress(E) veth(E) nft_counter(E) nft_compat(E) nf_tables(E) nfnetlink(E) xfs(E) libcrc32c(E) binfmt_misc(E) bonding(E) rfkill(E) [50028.157709] rpcrdma(E) [50028.255736] watchdog: BUG: soft lockup - CPU#51 stuck for 22s! [ping:425431] 版本信息: cat /etc/os-release NAME="Anolis OS" VERSION="8.5" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.5" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.5" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" 内核信息: uname -r 5.10.134-395.git.70ede1ca5.an8.aarch64 内存信息: free -g total used free shared buff/cache available Mem: 754 4 749 0 0 745 Swap: 1 0 1 cpu信息: lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 96 On-line CPU(s) list: 0-95 Thread(s) per core: 1 Core(s) per socket: 48 Socket(s): 2 NUMA node(s): 4 Vendor ID: HiSilicon BIOS Vendor ID: HiSilicon Model: 0 Model name: Kunpeng-920 BIOS Model name: HUAWEI Kunpeng 920 5250 Stepping: 0x1 CPU max MHz: 2600.0000 CPU min MHz: 200.0000 BogoMIPS: 200.00 L1d cache: 64K L1i cache: 64K L2 cache: 512K L3 cache: 24576K NUMA node0 CPU(s): 0-23 NUMA node1 CPU(s): 24-47 NUMA node2 CPU(s): 48-71 NUMA node3 CPU(s): 72-95 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm How reproducible: 目前只出现了一次,手动执行测试套及通过框架拉起执行均未复现 Steps to Reproduce: 手动执行步骤: 下载当前内核对应的kernel源码包 rpm -ivh xxx.src.rpm 默认安装到/root下 yum-builddep -y rpmbuild/SPECS/kernel.spec 自动安装前置依赖包,需要yum-utils rpmbuild -bp ./rpmbuild/SPECS/kernel.spec # 这个步骤会打相关的patch, 解压缩tar包,生成BUILD目录 cd rpmbuild/BUILD/kernel-xxx/linux-xxx/ 接下来就可以编译测试了 cd /tools/testing/selftests make 执行测试用例 ./run_kselftest.sh Actual results: 执行kernel-selftests测试套用例过程中环境卡住,发生crash Expected results: 用例可以正常执行,不会发生crash Additional info:
问题已复现,今天的nightly在执行到kernel-selftests时同样发生卡住,串口日志一样。