Bug 249985 - kernel panic at shutdown in zfs_acl_free() and list_remove()
Summary: kernel panic at shutdown in zfs_acl_free() and list_remove()
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-29 13:48 UTC by Guido Falsi
Modified: 2020-10-29 13:27 UTC (History)
3 users (show)

See Also:


Attachments
dump info file (493 bytes, text/plain)
2020-09-29 13:48 UTC, Guido Falsi
no flags Details
core dump details (73.02 KB, text/plain)
2020-09-29 13:48 UTC, Guido Falsi
no flags Details
Crash info for crash duting pkg upgrade (156.13 KB, text/plain)
2020-10-29 13:27 UTC, Guido Falsi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer 2020-09-29 13:48:00 UTC
Created attachment 218405 [details]
dump info file

Hi,

On my laptop I'm experiencing some kernel panics, mainly at startup or shutdown. I've got a good dump from a panic happening in shutdown, I'm attaching the core.txt and info files.

The panic happens every 3-4 shutdowns, and sometimes at startup, I'll also add a dump from the startup crash as soon as I can get one.

The machine is running r366077, with a GENERIC-NODEBUG kernel. I did test the ram and it looks fine.

Also this machine already had a zfs elated issue due to a shutdown panic some time ago, it was refusing to boot with "zfs: allocating allocated segment". I reinstalled the OS from scratch at the time.

I am unable to tell much more, apart from the clear connection to ZFS.


If any further information is needed please ask. I do have the core file, so if some further investigation is needed I can try that, if told what to look at.


Thanks in advance.
Comment 1 Guido Falsi freebsd_committer 2020-09-29 13:48:25 UTC
Created attachment 218406 [details]
core dump details
Comment 2 Guido Falsi freebsd_committer 2020-10-29 08:47:00 UTC
I wanted to followup in this.

While it's not definitive I discovered, when updating the machine from old in kernel ZFS to in kernel OpenZFS I actually did not perform the "zpool upgrade".

I did that at a later time (a few days ago). And I have not seen a crash since. This is not definite because too few days have passed and I can't still rule out a crash in the next few days, but a pattern is showing.

The system was crashing also with the old in kernel ZFS code.

Maybe the same problem was present there and is still lurking in OpenZFS, but is mitigated by the presence of a new feature flag?
Comment 3 Guido Falsi freebsd_committer 2020-10-29 13:27:28 UTC
Created attachment 219200 [details]
Crash info for crash duting pkg upgrade

I spoke too early. Just after sending the previous comment the machine crashed during "pkg upgrade". It was extracting content of a package.

I'm attaching info about this last crash.

I update to new head since, it was r366077 as in the previous dump.