Created attachment 226260 [details]
console image after a repeatable panic
Per the discussion in the upstream OpenZFS project :
arc: Drop an incorrect assert
We see the ASSERT(HDR_EMPTY(hdr)) here :
Trivial to comment that out. Which I did and then the system runs fine
without a strange panic. Otherwise I get a very reliable and even a
repeatable panic. See attached console images.
UNIX and Linux spoken
GreyBeard and suspenders optional
Created attachment 226261 [details]
console image of panic
I have other images taken of the console but they all look the exact
same other than a timestamp.
Could this affect the old FreeBSD-ZFS code in FreeBSD 12.2? I notice that the same assert is there at line 6268.
Haven't seen that crash on our servers though but I'd prefer to be proactive :-)
(And upgrading to FreeBSD 13/CURRENT is not an option yet)
(In reply to Peter Eriksson from comment #3)
My understanding is that any 13.0-RELEASE machine "works" simply because
INVARIANTS, ie assertions, is off by default for stable kernels but they
are enabled by default for -CURRENT. So they bug is still in there and
being silently ignored. Which bothers me somewhat.