Date: Wed, 03 Feb 2021 22:27:41 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253237] sys/netgraph/ng_macfilter_test:main test panics on RISC-V QEMU Message-ID: <bug-253237-227-MDV1mUsxcV@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253237-227@https.bugs.freebsd.org/bugzilla/> References: <bug-253237-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253237 --- Comment #1 from Alex Richardson <arichardson@FreeBSD.org> --- Seems to be reproducible. I just rebuilt the image and ran just that test: ``` To change this login announcement, see motd(5). root@freebsd-riscv64:~ # cd /usr/tests/ root@freebsd-riscv64:/usr/tests # kyua test sys/netgraph/ sys/netgraph/ng_macfilter_test:main -> WARNING: attempt to domain_add(netgraph) after domainfinalize() Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex ng_node (ng_node) r = 0 (0xffffffd002139a70) locked @ /local/scratch/alr48/cheri/freebsd/sys/netgraph/ng_base.c:2325 stack backtrace: #0 0xffffffc00031de56 at witness_checkorder+0xe78 #1 0xffffffc00031ef54 at witness_warn+0x3f4 #2 0xffffffc00054619a at do_trap_supervisor+0x3a8 #3 0xffffffc000545e56 at do_trap_supervisor+0x64 #4 0xffffffc000536718 at cpu_exception_handler_supervisor+0x68 t[0] == 0xffffffd07fd97280 t[1] == 0xffffffc0a4e0fb6c t[2] == 0xffffffc098c77750 t[3] == 0xffffffc0002999d6 t[4] == 0x0000000000000000 t[5] == 0xffffffc0985482b0 t[6] == 0x0000000000000001 s[0] == 0x0000000000000000 s[1] == 0xffffffd002139a88 s[2] == 0xffffffd002139a00 s[3] == 0x0000000000001000 s[4] == 0xffffffd002139a68 s[5] == 0x00000000ffffffff s[6] == 0xffffffd002139a00 s[7] == 0x0000000000000001 s[8] == 0x0000000000004f68 s[9] == 0xffffffd009ea3b10 s[10] == 0xffffffd001448d70 s[11] == 0x0000000000000000 a[0] == 0x0000000000000002 a[1] == 0x0000000000000000 a[2] == 0x0000000000000000 a[3] == 0x0000000000100000 a[4] == 0x0000000000000000 a[5] == 0xffffffc0007d6a40 a[6] == 0xffffffd07fd8d380 a[7] == 0x0000000000000027 ra == 0xffffffc0a4e0af30 sp == 0xffffffc098548870 gp == 0x0000000000000000 tp == 0xffffffd009e04780 sepc == 0xffffffc0a4e0af3e sstatus == 0x8000000200006120 panic: Fatal page fault at 0xffffffc0a4e0af3e: 0000000000000000 cpuid = 0 time = 1612391189 KDB: stack backtrace: db_trace_self() at db_trace_self db_fetch_ksymtab() at db_fetch_ksymtab+0x15c kdb_backtrace() at kdb_backtrace+0x2c vpanic() at vpanic+0x148 panic() at panic+0x26 do_trap_supervisor() at do_trap_supervisor+0x500 do_trap_supervisor() at do_trap_supervisor+0x64 cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x68 --- exception 13, tval = 0 KDB: enter: panic [ thread pid 781 tid 100044 ] Stopped at kdb_enter+0x44: sd zero,0(a0) db> ``` I start QEMU with /local/scratch/alr48/cheri/output/sdk/bin/qemu-system-riscv64cheri -M virt -m 2048 -nographic -bios default -kernel /local/scratch/alr48/cheri/output/freebsd-riscv64/boot/kernel/kernel -drive if=none,file=/local/scratch/alr48/cheri/output/freebsd-riscv64.img,id=drv,format=raw -device virtio-blk-device,drive=drv -device virtio-net-device,netdev=net0 -netdev 'user,id=net0,ipv6=off' -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253237-227-MDV1mUsxcV>
