[Bug 238076] 13.0-CURRENT r341837 : RISC-V panic sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c, line: 65

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 25 12:14:18 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238076

--- Comment #3 from Dennis Clarke <dclarke at blastwave.org> ---
The panic is repeatable.

Seems to need a few tries to hit it on shutdown

ganymede# uname -a 
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:20: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   

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# 
ganymede# uptime
12:07PM  up 1 day, 21:03, 1 user, load averages: 0.41, 0.25, 0.18
ganymede# 
ganymede# 
ganymede# 
ganymede# shutdown -p 'now'
Shutdown NOW!
shutdown: [pid 6028]
ganymede#                                                                       
*** FINAL System shutdown message from root at ganymede ***                     

System going down IMMEDIATELY                                                  



System shutdown time has arrived
May 25 12:07:57 ganymede shutdown[6028]: power-down by root: 
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... 
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... done
Waiting (max 60 seconds) for system thread `bufspacedaemon-1' to stop... done
Waiting (max 60 seconds) for system thread `bufspacedaemon-2' to stop... done
Waiting (max 60 seconds) for system thread `bufspacedaemon-3' to stop... done
Waiting (max 60 seconds) for system thread `bufspacedaemon-4' to stop... done
All buffers synced.
Uptime: 1d21h5m29s
panic: solaris assert: zrl->zr_refcount == 0 (0x3 == 0x0), file:
/usr/src/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c, line: 65
cpuid = 1
time = 1558786186
KDB: stack backtrace:
db_trace_self() at db_read_token+0x5e2
         pc = 0xffffffc00046539a ra = 0xffffffc0000c1d52
         sp = 0xffffffc06f85c7a0 fp = 0xffffffc06f85c9c0

db_read_token() at kdb_backtrace+0x2e
         pc = 0xffffffc0000c1d52 ra = 0xffffffc0002156ea
         sp = 0xffffffc06f85c9c0 fp = 0xffffffc06f85c9d0

kdb_backtrace() at vpanic+0x15a
         pc = 0xffffffc0002156ea ra = 0xffffffc0001d9f8c
         sp = 0xffffffc06f85c9d0 fp = 0xffffffc06f85ca10

vpanic() at panic+0x22
         pc = 0xffffffc0001d9f8c ra = 0xffffffc0001d9fc4
         sp = 0xffffffc06f85ca10 fp = 0xffffffc06f85ca30

panic() at assfail3+0x18
         pc = 0xffffffc0001d9fc4 ra = 0xffffffc0013ec590
         sp = 0xffffffc06f85ca30 fp = 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 = 0xffffffc00046539a ra = 0xffffffc00046542c
         sp = 0xffffffc06f85c448 fp = 0xffffffc06f85c478

db_trace_thread() at db_skip_to_eol+0x300
         pc = 0xffffffc00046542c ra = 0xffffffc0000bf8e4
         sp = 0xffffffc06f85c478 fp = 0xffffffc06f85c4a8

db_skip_to_eol() at db_skip_to_eol+0x414
         pc = 0xffffffc0000bf8e4 ra = 0xffffffc0000bf9f8
         sp = 0xffffffc06f85c4a8 fp = 0xffffffc06f85c598

db_skip_to_eol() at db_command_loop+0x74
         pc = 0xffffffc0000bf9f8 ra = 0xffffffc0000bff28
         sp = 0xffffffc06f85c598 fp = 0xffffffc06f85c5d8

db_command_loop() at db_read_token+0x4ba
         pc = 0xffffffc0000bff28 ra = 0xffffffc0000c1c2a
         sp = 0xffffffc06f85c5d8 fp = 0xffffffc06f85c818

db_read_token() at kdb_trap+0x122
         pc = 0xffffffc0000c1c2a ra = 0xffffffc000215e1c
         sp = 0xffffffc06f85c818 fp = 0xffffffc06f85c878

kdb_trap() at do_trap_supervisor+0x96
         pc = 0xffffffc000215e1c ra = 0xffffffc00046f064
         sp = 0xffffffc06f85c878 fp = 0xffffffc06f85c898

do_trap_supervisor() at cpu_exception_handler_supervisor+0x68
         pc = 0xffffffc00046f064 ra = 0xffffffc000465a28
         sp = 0xffffffc06f85c898 fp = 0xffffffc06f85c9d0

cpu_exception_handler_supervisor() at vpanic+0x16a
         pc = 0xffffffc000465a28 ra = 0xffffffc0001d9f9c
         sp = 0xffffffc06f85c9d0 fp = 0xffffffc06f85ca10

vpanic() at panic+0x22
         pc = 0xffffffc0001d9f9c ra = 0xffffffc0001d9fc4
         sp = 0xffffffc06f85ca10 fp = 0xffffffc06f85ca30

panic() at assfail3+0x18
         pc = 0xffffffc0001d9fc4 ra = 0xffffffc0013ec590
         sp = 0xffffffc06f85ca30 fp = 0xffffffd005bb10a8

db> halt
panic: cpu_halt
cpuid = 1
time = 1558786186
KDB: stack backtrace:
db_trace_self() at db_read_token+0x5e2
         pc = 0xffffffc00046539a ra = 0xffffffc0000c1d52
         sp = 0xffffffc06f85c1b8 fp = 0xffffffc06f85c3d8

db_read_token() at kdb_backtrace+0x2e
         pc = 0xffffffc0000c1d52 ra = 0xffffffc0002156ea
         sp = 0xffffffc06f85c3d8 fp = 0xffffffc06f85c3e8

kdb_backtrace() at vpanic+0x15a
         pc = 0xffffffc0002156ea ra = 0xffffffc0001d9f8c
         sp = 0xffffffc06f85c3e8 fp = 0xffffffc06f85c428

vpanic() at panic+0x22
         pc = 0xffffffc0001d9f8c ra = 0xffffffc0001d9fc4
         sp = 0xffffffc06f85c428 fp = 0xffffffc06f85c448

panic() at cpu_halt+0x14
         pc = 0xffffffc0001d9fc4 ra = 0xffffffc0004668f0
         sp = 0xffffffc06f85c448 fp = 0xffffffc06f85c498

cpu_halt() at db_capture_cmd+0x296
         pc = 0xffffffc0004668f0 ra = 0xffffffc0000bf47a
         sp = 0xffffffc06f85c498 fp = 0xffffffc06f85c4a8

db_capture_cmd() at db_skip_to_eol+0x414
         pc = 0xffffffc0000bf47a ra = 0xffffffc0000bf9f8
         sp = 0xffffffc06f85c4a8 fp = 0xffffffc06f85c598

db_skip_to_eol() at db_command_loop+0x74
         pc = 0xffffffc0000bf9f8 ra = 0xffffffc0000bff28
         sp = 0xffffffc06f85c598 fp = 0xffffffc06f85c5d8

db_command_loop() at db_read_token+0x4ba
         pc = 0xffffffc0000bff28 ra = 0xffffffc0000c1c2a
         sp = 0xffffffc06f85c5d8 fp = 0xffffffc06f85c818

db_read_token() at kdb_trap+0x122
         pc = 0xffffffc0000c1c2a ra = 0xffffffc000215e1c
         sp = 0xffffffc06f85c818 fp = 0xffffffc06f85c878

kdb_trap() at do_trap_supervisor+0x96
         pc = 0xffffffc000215e1c ra = 0xffffffc00046f064
         sp = 0xffffffc06f85c878 fp = 0xffffffc06f85c898

do_trap_supervisor() at cpu_exception_handler_supervisor+0x68
         pc = 0xffffffc00046f064 ra = 0xffffffc000465a28
         sp = 0xffffffc06f85c898 fp = 0xffffffc06f85c9d0

cpu_exception_handler_supervisor() at vpanic+0x16a
         pc = 0xffffffc000465a28 ra = 0xffffffc0001d9f9c
         sp = 0xffffffc06f85c9d0 fp = 0xffffffc06f85ca10

vpanic() at panic+0x22
         pc = 0xffffffc0001d9f9c ra = 0xffffffc0001d9fc4
         sp = 0xffffffc06f85ca10 fp = 0xffffffc06f85ca30

panic() at assfail3+0x18
         pc = 0xffffffc0001d9fc4 ra = 0xffffffc0013ec590
         sp = 0xffffffc06f85ca30 fp = 0xffffffd005bb10a8

Uptime: 1d21h5m29s
Rebooting...
Power off
titan$

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list