From owner-freebsd-bugs@freebsd.org Sat May 25 12:14:18 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 026F715ABA83 for ; Sat, 25 May 2019 12:14:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 907C76EDE9 for ; Sat, 25 May 2019 12:14:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4F19C15ABA81; Sat, 25 May 2019 12:14:17 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B13915ABA7F for ; Sat, 25 May 2019 12:14:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ACA7A6EDE5 for ; Sat, 25 May 2019 12:14:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F2C97345A for ; Sat, 25 May 2019 12:14:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4PCEFga035026 for ; Sat, 25 May 2019 12:14:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4PCEFQl035017 for bugs@FreeBSD.org; Sat, 25 May 2019 12:14:15 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 238076] 13.0-CURRENT r341837 : RISC-V panic sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c, line: 65 Date: Sat, 25 May 2019 12:14:16 +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: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dclarke@blastwave.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.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 May 2019 12:14:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238076 --- Comment #3 from Dennis Clarke --- The panic is repeatable. Seems to need a few tries to hit it on shutdown ganymede# uname -a=20 FreeBSD ganymede 13.0-CURRENT FreeBSD 13.0-CURRENT r341837 QEMU riscv ganymede# zpool status pool: rv64imafdc state: ONLINE scan: resilvered 861M in 0 days 00:05:14 with 0 errors on Thu May 23 15:2= 0:49 2019 config: NAME STATE READ WRITE CKSUM rv64imafdc ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 vtbd1 ONLINE 0 0 0 vtbd2 ONLINE 0 0 0 spares vtbd3 AVAIL=20=20=20 errors: No known data errors ganymede# sysctl hw.machine hw.ncpu hw.machine_arch kern.smp.maxcpus kern.smp.active kern.smp.disabled kern.smp.cpus hw.machine: riscv hw.ncpu: 8 hw.machine_arch: riscv64 kern.smp.maxcpus: 16 kern.smp.active: 1 kern.smp.disabled: 0 kern.smp.cpus: 8 ganymede#=20 ganymede# uptime 12:07PM up 1 day, 21:03, 1 user, load averages: 0.41, 0.25, 0.18 ganymede#=20 ganymede#=20 ganymede#=20 ganymede# shutdown -p 'now' Shutdown NOW! shutdown: [pid 6028] ganymede#=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 *** FINAL System shutdown message from root@ganymede ***=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 System going down IMMEDIATELY=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 System shutdown time has arrived May 25 12:07:57 ganymede shutdown[6028]: power-down by root:=20 Stopping cron. Waiting for PIDS: 561. Stopping sshd. Waiting for PIDS: 551. 90 second watchdog timeout expired. Shutdown terminated. Sat May 25 12:09:34 UTC 2019 May 25 12:09:35 ganymede syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop...=20 Syncing disks, vnodes remaining... 0 0 0 done Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... do= ne Waiting (max 60 seconds) for system thread `bufspacedaemon-1' to stop... do= ne Waiting (max 60 seconds) for system thread `bufspacedaemon-2' to stop... do= ne Waiting (max 60 seconds) for system thread `bufspacedaemon-3' to stop... do= ne Waiting (max 60 seconds) for system thread `bufspacedaemon-4' to stop... do= ne All buffers synced. Uptime: 1d21h5m29s panic: solaris assert: zrl->zr_refcount =3D=3D 0 (0x3 =3D=3D 0x0), file: /usr/src/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c, line= : 65 cpuid =3D 1 time =3D 1558786186 KDB: stack backtrace: db_trace_self() at db_read_token+0x5e2 pc =3D 0xffffffc00046539a ra =3D 0xffffffc0000c1d52 sp =3D 0xffffffc06f85c7a0 fp =3D 0xffffffc06f85c9c0 db_read_token() at kdb_backtrace+0x2e pc =3D 0xffffffc0000c1d52 ra =3D 0xffffffc0002156ea sp =3D 0xffffffc06f85c9c0 fp =3D 0xffffffc06f85c9d0 kdb_backtrace() at vpanic+0x15a pc =3D 0xffffffc0002156ea ra =3D 0xffffffc0001d9f8c sp =3D 0xffffffc06f85c9d0 fp =3D 0xffffffc06f85ca10 vpanic() at panic+0x22 pc =3D 0xffffffc0001d9f8c ra =3D 0xffffffc0001d9fc4 sp =3D 0xffffffc06f85ca10 fp =3D 0xffffffc06f85ca30 panic() at assfail3+0x18 pc =3D 0xffffffc0001d9fc4 ra =3D 0xffffffc0013ec590 sp =3D 0xffffffc06f85ca30 fp =3D 0xffffffd005bb10a8 KDB: enter: panic [ thread pid 0 tid 100108 ] Stopped at kdb_enter+0x3a: c.ebreak db> bt Tracing pid 0 tid 100108 td 0xffffffd0058d0000 db_trace_self() at db_trace_thread+0x3c pc =3D 0xffffffc00046539a ra =3D 0xffffffc00046542c sp =3D 0xffffffc06f85c448 fp =3D 0xffffffc06f85c478 db_trace_thread() at db_skip_to_eol+0x300 pc =3D 0xffffffc00046542c ra =3D 0xffffffc0000bf8e4 sp =3D 0xffffffc06f85c478 fp =3D 0xffffffc06f85c4a8 db_skip_to_eol() at db_skip_to_eol+0x414 pc =3D 0xffffffc0000bf8e4 ra =3D 0xffffffc0000bf9f8 sp =3D 0xffffffc06f85c4a8 fp =3D 0xffffffc06f85c598 db_skip_to_eol() at db_command_loop+0x74 pc =3D 0xffffffc0000bf9f8 ra =3D 0xffffffc0000bff28 sp =3D 0xffffffc06f85c598 fp =3D 0xffffffc06f85c5d8 db_command_loop() at db_read_token+0x4ba pc =3D 0xffffffc0000bff28 ra =3D 0xffffffc0000c1c2a sp =3D 0xffffffc06f85c5d8 fp =3D 0xffffffc06f85c818 db_read_token() at kdb_trap+0x122 pc =3D 0xffffffc0000c1c2a ra =3D 0xffffffc000215e1c sp =3D 0xffffffc06f85c818 fp =3D 0xffffffc06f85c878 kdb_trap() at do_trap_supervisor+0x96 pc =3D 0xffffffc000215e1c ra =3D 0xffffffc00046f064 sp =3D 0xffffffc06f85c878 fp =3D 0xffffffc06f85c898 do_trap_supervisor() at cpu_exception_handler_supervisor+0x68 pc =3D 0xffffffc00046f064 ra =3D 0xffffffc000465a28 sp =3D 0xffffffc06f85c898 fp =3D 0xffffffc06f85c9d0 cpu_exception_handler_supervisor() at vpanic+0x16a pc =3D 0xffffffc000465a28 ra =3D 0xffffffc0001d9f9c sp =3D 0xffffffc06f85c9d0 fp =3D 0xffffffc06f85ca10 vpanic() at panic+0x22 pc =3D 0xffffffc0001d9f9c ra =3D 0xffffffc0001d9fc4 sp =3D 0xffffffc06f85ca10 fp =3D 0xffffffc06f85ca30 panic() at assfail3+0x18 pc =3D 0xffffffc0001d9fc4 ra =3D 0xffffffc0013ec590 sp =3D 0xffffffc06f85ca30 fp =3D 0xffffffd005bb10a8 db> halt panic: cpu_halt cpuid =3D 1 time =3D 1558786186 KDB: stack backtrace: db_trace_self() at db_read_token+0x5e2 pc =3D 0xffffffc00046539a ra =3D 0xffffffc0000c1d52 sp =3D 0xffffffc06f85c1b8 fp =3D 0xffffffc06f85c3d8 db_read_token() at kdb_backtrace+0x2e pc =3D 0xffffffc0000c1d52 ra =3D 0xffffffc0002156ea sp =3D 0xffffffc06f85c3d8 fp =3D 0xffffffc06f85c3e8 kdb_backtrace() at vpanic+0x15a pc =3D 0xffffffc0002156ea ra =3D 0xffffffc0001d9f8c sp =3D 0xffffffc06f85c3e8 fp =3D 0xffffffc06f85c428 vpanic() at panic+0x22 pc =3D 0xffffffc0001d9f8c ra =3D 0xffffffc0001d9fc4 sp =3D 0xffffffc06f85c428 fp =3D 0xffffffc06f85c448 panic() at cpu_halt+0x14 pc =3D 0xffffffc0001d9fc4 ra =3D 0xffffffc0004668f0 sp =3D 0xffffffc06f85c448 fp =3D 0xffffffc06f85c498 cpu_halt() at db_capture_cmd+0x296 pc =3D 0xffffffc0004668f0 ra =3D 0xffffffc0000bf47a sp =3D 0xffffffc06f85c498 fp =3D 0xffffffc06f85c4a8 db_capture_cmd() at db_skip_to_eol+0x414 pc =3D 0xffffffc0000bf47a ra =3D 0xffffffc0000bf9f8 sp =3D 0xffffffc06f85c4a8 fp =3D 0xffffffc06f85c598 db_skip_to_eol() at db_command_loop+0x74 pc =3D 0xffffffc0000bf9f8 ra =3D 0xffffffc0000bff28 sp =3D 0xffffffc06f85c598 fp =3D 0xffffffc06f85c5d8 db_command_loop() at db_read_token+0x4ba pc =3D 0xffffffc0000bff28 ra =3D 0xffffffc0000c1c2a sp =3D 0xffffffc06f85c5d8 fp =3D 0xffffffc06f85c818 db_read_token() at kdb_trap+0x122 pc =3D 0xffffffc0000c1c2a ra =3D 0xffffffc000215e1c sp =3D 0xffffffc06f85c818 fp =3D 0xffffffc06f85c878 kdb_trap() at do_trap_supervisor+0x96 pc =3D 0xffffffc000215e1c ra =3D 0xffffffc00046f064 sp =3D 0xffffffc06f85c878 fp =3D 0xffffffc06f85c898 do_trap_supervisor() at cpu_exception_handler_supervisor+0x68 pc =3D 0xffffffc00046f064 ra =3D 0xffffffc000465a28 sp =3D 0xffffffc06f85c898 fp =3D 0xffffffc06f85c9d0 cpu_exception_handler_supervisor() at vpanic+0x16a pc =3D 0xffffffc000465a28 ra =3D 0xffffffc0001d9f9c sp =3D 0xffffffc06f85c9d0 fp =3D 0xffffffc06f85ca10 vpanic() at panic+0x22 pc =3D 0xffffffc0001d9f9c ra =3D 0xffffffc0001d9fc4 sp =3D 0xffffffc06f85ca10 fp =3D 0xffffffc06f85ca30 panic() at assfail3+0x18 pc =3D 0xffffffc0001d9fc4 ra =3D 0xffffffc0013ec590 sp =3D 0xffffffc06f85ca30 fp =3D 0xffffffd005bb10a8 Uptime: 1d21h5m29s Rebooting... Power off titan$ --=20 You are receiving this mail because: You are the assignee for the bug.=