From owner-freebsd-bugs@freebsd.org Wed Feb 3 22:27:41 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 48A5A52E15C for ; Wed, 3 Feb 2021 22:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DWGXF1R6Qz3v8y for ; Wed, 3 Feb 2021 22:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2F3EB52E34F; Wed, 3 Feb 2021 22:27:41 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F06652E4E0 for ; Wed, 3 Feb 2021 22:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DWGXF0jgrz3v8x for ; Wed, 3 Feb 2021 22:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0142828849 for ; Wed, 3 Feb 2021 22:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 113MRecU081342 for ; Wed, 3 Feb 2021 22:27:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 113MRens081341 for bugs@FreeBSD.org; Wed, 3 Feb 2021 22:27:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253237] sys/netgraph/ng_macfilter_test:main test panics on RISC-V QEMU Date: Wed, 03 Feb 2021 22:27:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arichardson@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 22:27:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253237 --- Comment #1 from Alex Richardson --- 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.=