[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
Thu May 23 15:44:47 UTC 2019


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

--- Comment #1 from Dennis Clarke <dclarke at blastwave.org> ---
I tried to push this a little further and could not get a panic again.
Once is usually enough.

However I did add some more devices to the zpool and tried to toss
some activity at it.  No panic seen on a reboot. 

ganymede# 
ganymede# zpool list
NAME         SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH
 ALTROOT
rv64imafdc  3.75G   863M  2.91G        -         -     6%    22%  1.00x  ONLINE
 -
ganymede# 
ganymede# zpool status 
  pool: rv64imafdc
 state: ONLINE
  scan: scrub repaired 0 in 0 days 00:00:45 with 0 errors on Thu May 23
14:22:53 2019
config:

        NAME        STATE     READ WRITE CKSUM
        rv64imafdc  ONLINE       0     0     0
          vtbd1     ONLINE       0     0     0

errors: No known data errors
ganymede# 


I added on a mirror.


ganymede# /bin/date '+%Y%m%d%H%M%S' ; zpool status
20190523151823
  pool: rv64imafdc
 state: ONLINE
status: One or more devices is currently being resilvered.  The pool will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Thu May 23 15:15:35 2019
        861M scanned at 5.04M/s, 474M issued at 2.77M/s, 862M total
        472M resilvered, 54.98% done, no estimated completion time
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

errors: No known data errors
ganymede# 
ganymede# /bin/date '+%Y%m%d%H%M%S' ; zpool status
20190523152328
  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

errors: No known data errors
ganymede# 

Add on a hot spare.

ganymede# zpool add rv64imafdc spare vtbd3
ganymede# /bin/date '+%Y%m%d%H%M%S' ; zpool status
20190523152443
  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# 
ganymede# 
ganymede# sysctl -a | grep '^Free'
Free Memory:    12044436K
ganymede# sysctl -a | grep '\.smp\.'
kern.smp.maxid: 7
kern.smp.maxcpus: 16
kern.smp.active: 1
kern.smp.disabled: 0
kern.smp.cpus: 8
kern.smp.topology: 0
kern.smp.forward_signal_enabled: 1
ganymede# zpool list
NAME         SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH
 ALTROOT
rv64imafdc  3.75G   862M  2.91G        -         -     6%    22%  1.00x  ONLINE
 -
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# 
ganymede# uname -a 
FreeBSD ganymede 13.0-CURRENT FreeBSD 13.0-CURRENT r341837 QEMU  riscv
ganymede# 
ganymede# zfs list
NAME               USED  AVAIL  REFER  MOUNTPOINT
rv64imafdc         862M  2.78G    23K  none
rv64imafdc/z       861M  1.16G    23K  /z
rv64imafdc/z/000   861M   163M   844M  /z/000
rv64imafdc/z/001    23K  1024M    23K  /z/001
ganymede# 

Did a shutdown and then boot.  No problem seen.

Really a full fresh build is needed. 



-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

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


More information about the freebsd-bugs mailing list