Bug 268416 - Crash on boot while tasting large USB ZFS disk
Summary: Crash on boot while tasting large USB ZFS disk
Status: Closed DUPLICATE of bug 267028
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2022-12-16 17:53 UTC by George Mitchell
Modified: 2023-02-07 15:05 UTC (History)
1 user (show)

See Also:


Attachments
core.txt.2 from this morning's crash (153.06 KB, text/plain)
2022-12-16 17:53 UTC, George Mitchell
no flags Details
core.txt.1 from two days ago (90.81 KB, text/plain)
2022-12-16 17:54 UTC, George Mitchell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description George Mitchell 2022-12-16 17:53:10 UTC
Created attachment 238845 [details]
core.txt.2 from this morning's crash

My system has a large (1TB) external USB disk (GPT label, full disk allocated for on ZFS file system).  On booting up, it can take anywhere from a few seconds to half a minute for the USB disk to come on line.  When it does come on line, soon afterwards the ZFS subsystem detects it and mounts it.  But rarely (although unfortunately twice in the last three days) the system crashes while mounting the disk.  The attached core.txt.2 from this morning has a panic I've never seen before: VERIFY3(0 == nvlist_add_nvlist(nvl, name, val)) failed (0 == 22).  The core.txt.1 file from the day before yesterday that I'll attach next is a page fault in kernel mode.

Please let me know any other information needed.

I've been using ZFS for almost as long it has been part of FreeBSD, but only on my main file server that is on all the time.  It's only recently that I've started using it on my desktop (that gets booted up once or twice per day) or on a USB disk.
Comment 1 George Mitchell 2022-12-16 17:54:11 UTC
Created attachment 238846 [details]
core.txt.1 from two days ago

Page fault while in kernel mode.
Comment 2 George Mitchell 2022-12-18 18:34:00 UTC
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238886 from bug #267028 is another instance of this crash,  Although all these crashes seem to be happening in ZFS code, there are no crashes when amdgpu.ko has not been loaded.
Comment 3 George Mitchell 2023-02-07 15:05:42 UTC
I have convinced myself not only that this is a duplicate of bug #267028 but also that neither one is a ZFS bug, but rather an amdgpu.ko bug.

*** This bug has been marked as a duplicate of bug 267028 ***