Date: Sat, 25 May 2019 12:14:16 +0000 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 Message-ID: <bug-238076-227-UJSvytdUdq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238076-227@https.bugs.freebsd.org/bugzilla/> References: <bug-238076-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=3D238076 --- Comment #3 from Dennis Clarke <dclarke@blastwave.org> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238076-227-UJSvytdUdq>