-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
zfs bced7e3aaa3cf54d5e8e4f94e067144b27cb744b causes null pointer deref in spl_kmem_cache_create #9302
Comments
a18f8bc boots |
a57c82f boots (all those typo patches) |
d02186e boots (sept 04) |
bced7e3 worked but master did not, odd... the diff confirms only tests were touched... going from master to bced7e3 confirms only tests/rpm touched.
I'm gonna leave this as is for other's to comment on |
bced7e3 DID cause the issue on recompile |
Thanks for bisecting this! It looks like bced7e3 accidentally reintroduced issue #7595, which was previously addressed by 517d247. Would it be possible for you to verify that reapplying the original fix addresses the issue. diff --git a/copy-builtin b/copy-builtin
index c108cfc6733..9a35b1845c3 100755
--- a/copy-builtin
+++ b/copy-builtin
@@ -12,9 +12,15 @@ usage()
KERNEL_DIR="$(readlink --canonicalize-existing "$1")"
MODULES=()
+
+# When integrated in to the kernel the spl module must appear first to
+# ensure that it is initialized before the other kmods which depend on it.
+MODULES+="spl"
+
for MODULE_DIR in module/* module/os/linux/*
do
[ -d "$MODULE_DIR" ] || continue
+ [ "spl" = "${MODULE_DIR##*/}" ] && continue
[ "os" = "${MODULE_DIR#*/}" ] && continue
MODULES+=("${MODULE_DIR#*/}")
done |
heh, thought this sounded familiar, I'll test tonight when I update to 5.2.14 |
System information
Describe the problem you're observing
Cannot Boot with builtin kernel (I CAN build it though, unlike in #9297)
Had to boot with earlycon=efifb and console=efifb to see it (and took 15 minutes to read out at 1 line every couple seconds)
Describe how to reproduce the problem
Build a 'built-in' kernel (static) with the commit refrenced above and try to boot.
Include any warning/errors/backtraces from the system logs
Best I have is a picture.
https://photos.app.goo.gl/eAaV8fXuXXfcUqDE7
The text was updated successfully, but these errors were encountered: