zfs
zfs copied to clipboard
ZFS doesn't work with CONFIG_INIT_STACK_ALL_PATTERN
System information
Type | Version/Name |
---|---|
Distribution Name | Debian |
Distribution Version | unstable |
Kernel Version | 6.1.86, 6.7.12 |
Architecture | amd64 |
OpenZFS Version | 2.2.3 |
Describe the problem you're observing
I am using ZFS on Root with zfs native encryption. If I compile the kernel with CONFIG_INIT_STACK_ALL_PATTERN
, the zfs modules get loaded and I can enter the passphrase, but then everything just hangs without any further messages. Everything works as expected when using CONFIG_INIT_STACK_ALL_ZERO
. So I would assume there is an uninitialized variable somewhere in the zfs/spl code.
I compiled 6.1.83 with CONFIG_INIT_STACK_ALL_PATTERN=y
, with OpenZFS master 21bc066ec. Creating a new dataset with encryption=aes-256-gcm
, it completed a write cycle, scrub, export and reimport without issue.
So, more info required. Can you describe the steps you take in detail, and post the kernel config, pool topology and pool and dataset properties, and I can try to reproduce.
When it hangs, do you have a working root shell? If so, it'd be good to inspect the system and find out exactly where the hang is.
thanks for the answer! and sorry for the delay, it'll take a few more days until I can provide you with the info - but I will :)