Skip site navigation (1)Skip section navigation (2)
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=3D253237

--- 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 =3D 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] =3D=3D 0xffffffd07fd97280
t[1] =3D=3D 0xffffffc0a4e0fb6c
t[2] =3D=3D 0xffffffc098c77750
t[3] =3D=3D 0xffffffc0002999d6
t[4] =3D=3D 0x0000000000000000
t[5] =3D=3D 0xffffffc0985482b0
t[6] =3D=3D 0x0000000000000001
s[0] =3D=3D 0x0000000000000000
s[1] =3D=3D 0xffffffd002139a88
s[2] =3D=3D 0xffffffd002139a00
s[3] =3D=3D 0x0000000000001000
s[4] =3D=3D 0xffffffd002139a68
s[5] =3D=3D 0x00000000ffffffff
s[6] =3D=3D 0xffffffd002139a00
s[7] =3D=3D 0x0000000000000001
s[8] =3D=3D 0x0000000000004f68
s[9] =3D=3D 0xffffffd009ea3b10
s[10] =3D=3D 0xffffffd001448d70
s[11] =3D=3D 0x0000000000000000
a[0] =3D=3D 0x0000000000000002
a[1] =3D=3D 0x0000000000000000
a[2] =3D=3D 0x0000000000000000
a[3] =3D=3D 0x0000000000100000
a[4] =3D=3D 0x0000000000000000
a[5] =3D=3D 0xffffffc0007d6a40
a[6] =3D=3D 0xffffffd07fd8d380
a[7] =3D=3D 0x0000000000000027
ra =3D=3D 0xffffffc0a4e0af30
sp =3D=3D 0xffffffc098548870
gp =3D=3D 0x0000000000000000
tp =3D=3D 0xffffffd009e04780
sepc =3D=3D 0xffffffc0a4e0af3e
sstatus =3D=3D 0x8000000200006120
panic: Fatal page fault at 0xffffffc0a4e0af3e: 0000000000000000
cpuid =3D 0
time =3D 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 =3D 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=3Dnone,file=3D/local/scratch/alr48/cheri/output/freebsd-riscv64.img,id=
=3Ddrv,format=3Draw
-device virtio-blk-device,drive=3Ddrv -device virtio-net-device,netdev=3Dne=
t0
-netdev 'user,id=3Dnet0,ipv6=3Doff'

--=20
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>