Skip to content

[bug] 在DP1000上验证kernel时发生panic #216

Description

@WangJia-UR

使用OLK-6.6分支代码编译并安装到openEuler 24.04 SP3后产生panic:

[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting Network Manager Wait Online...
         Starting OpenSSH server daemon...
         Starting Permit User Sessions...
         Starting Dynamic System Tuning Daemon...
[  OK  ] Started OpenSSH server daemon.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Command Scheduler.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started PC/SC Smart Card Daemon.
         Starting Authorization Manager...
[  OK  ] Started Authorization Manager.
[   27.639595][ T1006] Unable to handle kernel access to user memory without uaccess routines at virtual address 0000000000000014
[   27.651040][ T1006] Oops [#1]
[   27.654013][ T1006] Modules linked in: nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables libcrc32c drm_exec amdxcp snd_usb_audio motorcomm drm_buddy snd_hda_intel gpu_sched snd_hwdep snd_intel_dspcfg snd_usbmidi_lib video snd_hda_codec drm_suballoc_helper snd_rawmidi dwmac_ultrarisc drm_ttm_helper ttm snd_hda_core sg uio_pdrv_genirq uio sch_fq_codel nfnetlink dm_mirror dm_region_hash dm_log
[   27.691418][ T1006] CPU: 6 PID: 1006 Comm: firewalld Not tainted 6.6.0+ #2
[   27.698308][ T1006] Hardware name: ultrarisc,dp1000 DT)
[   27.703630][ T1006] epc : nft_setelem_remove+0x1e/0x94 [nf_tables]
[   27.710705][ T1006]  ra : __nf_tables_abort+0x4ca/0xa8e [nf_tables]
[   27.717680][ T1006] epc : ffffffff0320837e ra : ffffffff03212a60 sp : ffff8f80024f36f0
[   27.725614][ T1006]  gp : ffffffff82796470 tp : ffffaf8098cd0e80 t0 : 0000000000000000
[   27.733548][ T1006]  t1 : 00000000000007e0 t2 : 0000000000000000 s0 : ffff8f80024f3710
[   27.741482][ T1006]  s1 : ffffaf809311c000 a0 : ffffffff82bf70c0 a1 : ffffaf809311c800
[   27.749416][ T1006]  a2 : ffffaf809311c060 a3 : 0000000000000070 a4 : ffffffff0322f1d0
[   27.757349][ T1006]  a5 : 0000000000000010 a6 : 0000000000000000 a7 : 0000000000000000
[   27.765283][ T1006]  s2 : ffffaf809311f800 s3 : ffffaf80985c09d0 s4 : ffff8f80024f3728
[   27.773215][ T1006]  s5 : ffffaf80985c09c0 s6 : ffffffff0322c6fc s7 : 0000000000000020
[   27.781149][ T1006]  s8 : ffffffff82bf70c0 s9 : ffffaf8085138800 s10: 000000000000000a
[   27.789082][ T1006]  s11: fffffffffffffff5 t3 : ffff8f8000000000 t4 : 0000000000000000
[   27.797015][ T1006]  t5 : 0000000000000000 t6 : ffffffc1fe400000
[   27.803033][ T1006] status: 0000000200000120 badaddr: 0000000000000014 cause: 000000000000000d
[   27.811664][ T1006] [<ffffffff0320837e>] nft_setelem_remove+0x1e/0x94 [nf_tables]
[   27.819857][ T1006] [<ffffffff03212a60>] __nf_tables_abort+0x4ca/0xa8e [nf_tables]
[   27.828136][ T1006] [<ffffffff03213096>] nf_tables_abort+0x72/0x1c2 [nf_tables]
[   27.836153][ T1006] [<ffffffff02c28c76>] nfnetlink_rcv_batch+0x660/0x7f6 [nfnetlink]
[   27.843950][ T1006] [<ffffffff02c28f70>] nfnetlink_rcv+0x164/0x192 [nfnetlink]
[   27.851219][ T1006] [<ffffffff80e0be96>] netlink_unicast+0x180/0x200
[   27.857589][ T1006] [<ffffffff80e0c110>] netlink_sendmsg+0x1fa/0x42c
[   27.863958][ T1006] [<ffffffff80d700b8>] __sock_sendmsg+0x34/0x72
[   27.870066][ T1006] [<ffffffff80d704ea>] ____sys_sendmsg+0x238/0x2c2
[   27.876433][ T1006] [<ffffffff80d70d4c>] ___sys_sendmsg+0x6a/0xbe
[   27.882540][ T1006] [<ffffffff80d72a86>] __sys_sendmsg+0x96/0xe0
[   27.888559][ T1006] [<ffffffff80d72af2>] __riscv_sys_sendmsg+0x22/0x2a
[   27.895101][ T1006] [<ffffffff811a3186>] do_trap_ecall_u+0xa8/0x19a
[   27.901383][ T1006] [<ffffffff811b1432>] _new_vmalloc_restore_context_a0+0xc6/0xd2
[   27.908974][ T1006] Code: e822 ec06 1000 61f8 3803 0c06 6783 0a07 97c2 c781 c683) 0047
[   27.917124][ T1006] ---[ end trace 0000000000000000 ]---
[   27.922460][ T1006] Kernel panic - not syncing: Fatal exception
[   27.928392][ T1006] SMP: stopping secondary CPUs
[   27.933044][ T1006] ---[ end Kernel panic - not syncing: Fatal exception ]---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions