-
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
Failure to boot (encrypted) since the 5th of october 2018 (master) #8022
Comments
https://photos.app.goo.gl/wNebep23XcWTEGu49 crypto_comp_decompress? |
further, it's a static kernel with zfs built in, so maybe that's it? |
The oddity that strikes me in your trace here is that you're seeing issues under pstore, which is the Linux component in charge of storing dmesg traces in case the linux kernel crashes, or hits BUGs. It can do so in RAM or EFI vars for example. That shouldn't be ZFS-related. |
I don't see anything ZFS related on the console either. Perhaps you could try rolling back the kernel and using the latest ZFS to isolate the problem. |
good point, I can try with 4.18.12 and zfs master. I did do some light bisecting, (but my technique sucks). I'm currently on 4.18.14 with zfs master from 05/10/2018. So I think it's 4cbde2e and NOT d7e4b30 like I originally though. I am guessing that it causes problems for static kernels. The copy-builtin seems to be having issues maybe, it didn't copy everything when I tried last. |
This was after manually copying some stuff. Debugging the copy-builtin stuff now. |
Gentoo modifies a Makefile, causing the
This would fix it, but I'd rather have the git-rev defined, even if dirty. diff --git a/scripts/make_gitrev.sh b/scripts/make_gitrev.sh
index 04be0959..b9b5273b 100755
--- a/scripts/make_gitrev.sh
+++ b/scripts/make_gitrev.sh
@@ -40,12 +40,12 @@ rm -f "$file"
#
# Check if git is installed and we are in a git repo.
#
-git rev-parse --git-dir > /dev/null 2>&1 || exit
+git rev-parse --git-dir > /dev/null 2>&1 || exit 0
#
# Check if there are uncommitted changes
#
-git diff-index --quiet HEAD || exit
+git diff-index --quiet HEAD || exit 0
rev=$(git describe 2>/dev/null) || exit |
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Closes: openzfs#8022
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Closes: openzfs#8022
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Closes: openzfs#8022 Signed-off-by: Matthew Thode <[email protected]>
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Closes: openzfs#8022 Signed-off-by: Matthew Thode <[email protected]>
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Closes: openzfs#8022 Signed-off-by: Matthew Thode <[email protected]>
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Reviewed-by: John Kennedy <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Thode <[email protected]> Closes #8022 Closes #8025
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Reviewed-by: John Kennedy <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Thode <[email protected]> Closes openzfs#8022 Closes openzfs#8025
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Reviewed-by: John Kennedy <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Thode <[email protected]> Closes openzfs#8022 Closes openzfs#8025
`scripts/make_gitrev.sh` had 'set -e' so if any command failed it would fail and cause copy-builtin to fail (copy-builtin also has `set -e`. This commit also simplifies scripts/make_gitrev.sh to always write a file by using a cleanup function. It also simplifies other areas of the script as well (making it much shorter). Reviewed-by: John Kennedy <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Thode <[email protected]> Closes openzfs#8022 Closes openzfs#8025
System information
Describe the problem you're observing
Failure to boot / import (encryption enabled if it matters) since zfs/kernel built on the 5th of october. initramfs built an hour ago works fine, not the kernel.
Describe how to reproduce the problem
not sure if encryption is needed, but maybe that?
Include any warning/errors/backtraces from the system logs
None found so far.
The text was updated successfully, but these errors were encountered: