-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kernel NULL pointer dereference spl_kmem_cache_alloc+0x2c
#16109
Comments
That trace points next to no distance at all into the function, and that function hasn't churned at all since 2020, so I'm pretty sure your pointer maps to 1254 in:
which would require that the cache object passed in is NULL to break that way. And if we look up the line in
And My blind guess would be, from that stack trace, doing the import is causing something to decide the pool is imported and trigger traditional You could try doing e: The last couple dozen lines of |
Also, any module parameters set to non-default values? (I'm trying to speculate why this might be breaking for you specifically and not anyone else so far...) |
Thanks for looking into this!
Winner winner chicken dinner! I completely forgot I had:
Removing it resolves the issue. I think setting it to
That seems a bit foot-gunny, I think if But I don't have an actual reason to set it to Edit: removed my completely wrong earlier interpretation. |
System information
Describe the problem you're observing
After upgrading from OpenZFS
2.2.2-4
to OpenZFS2.2.3-2
,zpool import $poolname
hangs forever, and kernel logs show a NULL pointer dereference.Downgrading to OpenZFS
2.2.2-4
(by manually installing packages from Debian's archive) resolves the issue.Describe how to reproduce the problem
I can consistently reproduce this with
zpool import $poolname
(after maskingzfs.target
on boot withsystemd.mask=zfs.target
to be able to boot).Include any warning/errors/backtraces from the system logs
Disassembly of
spl.ko
with:The text was updated successfully, but these errors were encountered: