Description
System information
Type | Version/Name |
---|---|
Distribution Name | FreeBSD |
Distribution Version | 14.0-CURRENT |
Kernel Version | 1400089 |
Architecture | amd64 |
OpenZFS Version | 2.1.99-FreeBSD_gad0a55461 |
% zfs version
zfs-2.1.99-FreeBSD_gad0a55461
zfs-kmod-2.1.99-FreeBSD_gad0a55461
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #41 main-n263189-c2c9ac88c2bb-dirty: Sat May 27 16:55:26 BST 2023 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400089 1400089
% freebsd-version -kru
14.0-CURRENT
14.0-CURRENT
14.0-CURRENT
%
In context, chronological order:
- d38c815 (2023-05-09)
- https://cgit.freebsd.org/src/commit/?id=c0a83fe074a375c66ca669bfe1f128fe12b9f377 (2023-05-23) zfs: merge ad0a55461
- https://cgit.freebsd.org/src/log/?qt=range&q=c2c9ac88c2bb | freebsd/freebsd-src@c2c9ac8 (2023-05-26) – that is, the
c2c9ac88c2bb
above in output fromuname -aKU
.
Describe the problem you're observing
Frequent panics with a GENERIC 14.0-CURRENT kernel. No panic with GENERIC-NODEBUG.
From the original report at https://lists.freebsd.org/archives/freebsd-current/2023-May/003736.html:
… The first panic occurred during installworld, uptime five minutes.
The second was in single user mode, when I took the third of three L2ARC devices online, uptime twenty-two minutes.
The third panic was whilst using Plasma, without the device that featured in the second panic, uptime twenty-three minutes.
The result of a probe at 07:49 UTC: https://bsd-hardware.info/?probe=65376d6b42
Describe how to reproduce the problem
I nearly always use the GENERIC-NODEBUG kernel with 14.0-CURRENT.
I'm not sure about reproducibility, however five panics with GENERIC, in a fifteen-hour period, make me wonder whether:
- there's a bug; and/or
- the panics are symptomatic of a hardware issue.
I use three simple USB flash drives for L2ARC, which might be unusual, however the performance gains are great.
Include any warning/errors/backtraces from the system logs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271772 includes four backtraces from five panics.
Additional information available on request.
This upstream report is at the suggestion of @PMT:libera.chat
in Matrix/Element.
(I looked at #14828 before writing to the freebsd-current list. PMT looked at the same PR.)
L2ARC overview
% lsblk
DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT
ada0 0:123 932G GPT - -
ada0p1 0:125 260M efi gpt/efiboot0 -
<FREE> -:- 1.0M - - -
ada0p2 0:127 16G freebsd-swap gpt/swap0 SWAP
ada0p2.eli 2:59 16G freebsd-swap - SWAP
ada0p3 0:129 915G freebsd-zfs gpt/zfs0 <ZFS>
ada0p3.eli 0:136 915G - - -
<FREE> -:- 708K - - -
da0 0:154 7.2G GPT - -
<FREE> -:- 1.0M - - -
da0p1 0:155 7.2G freebsd-zfs gpt/cache3-august <ZFS>
<FREE> -:- 1.0M - - -
da1 0:219 932G GPT - -
<FREE> -:- 1.0M - - -
da1p1 0:220 932G freebsd-zfs gpt/Transcend <ZFS>
<FREE> -:- 712K - - -
da2 0:221 14G GPT - -
<FREE> -:- 1.0M - - -
da2p1 0:224 14G freebsd-zfs gpt/cache2-august <ZFS>
<FREE> -:- 1.0M - - -
da3 0:222 14G GPT - -
<FREE> -:- 1.0M - - -
da3p1 0:225 14G freebsd-zfs gpt/cache-august <ZFS>
<FREE> -:- 1.0M - - -
% geom disk list da3
Geom name: da3
Providers:
1. Name: da3
Mediasize: 15552479232 (14G)
Sectorsize: 512
Mode: r1w1e3
descr: Kingston DataTraveler 3.0
lunname: KingstonDataTraveler 3.01.01
lunid: KingstonDataTraveler 3.01.01
ident: 60A44C426697AF20F000167F
rotationrate: unknown
fwsectors: 63
fwheads: 255
% geom disk list da2
Geom name: da2
Providers:
1. Name: da2
Mediasize: 15502147584 (14G)
Sectorsize: 512
Mode: r1w1e3
descr: Kingston DataTraveler 3.0
lunname: PHISON USB3
lunid: 2000acde48234567
ident: 08606E6B6446BFB138159554
rotationrate: unknown
fwsectors: 63
fwheads: 255
% geom disk list da0
Geom name: da0
Providers:
1. Name: da0
Mediasize: 7755268096 (7.2G)
Sectorsize: 512
Mode: r1w1e3
descr: Kingston DataTraveler 2.0
ident: 60A44C4253CABDA03B46026A
rotationrate: unknown
fwsectors: 63
fwheads: 255
% zpool status -x
all pools are healthy
% zpool iostat -v 3
capacity operations bandwidth
pool alloc free read write read write
------------------- ----- ----- ----- ----- ----- -----
august 763G 149G 5 52 60.5K 1.17M
ada0p3.eli 763G 149G 5 52 60.5K 1.17M
cache - - - - - -
gpt/cache2-august 10.3G 4.14G 16 0 416K 119K
gpt/cache-august 10.4G 4.08G 17 0 415K 119K
gpt/cache3-august 3.28G 3.94G 13 0 278K 117K
------------------- ----- ----- ----- ----- ----- -----
capacity operations bandwidth
pool alloc free read write read write
------------------- ----- ----- ----- ----- ----- -----
august 763G 149G 55 66 388K 1.48M
ada0p3.eli 763G 149G 55 66 388K 1.48M
cache - - - - - -
gpt/cache2-august 10.3G 4.14G 47 1 366K 42.7K
gpt/cache-august 10.4G 4.09G 42 1 267K 162K
gpt/cache3-august 3.28G 3.94G 31 1 240K 79.2K
------------------- ----- ----- ----- ----- ----- -----
capacity operations bandwidth
pool alloc free read write read write
------------------- ----- ----- ----- ----- ----- -----
august 763G 149G 22 160 338K 3.92M
ada0p3.eli 763G 149G 22 160 338K 3.92M
cache - - - - - -
gpt/cache2-august 10.3G 4.14G 19 1 199K 234K
gpt/cache-august 10.4G 4.09G 14 1 131K 294K
gpt/cache3-august 3.28G 3.94G 14 1 161K 156K
------------------- ----- ----- ----- ----- ----- -----
^C
%