Skip to content
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

stack dumps after upgrade (easy workaround) #415

Closed
aarcane opened this issue Sep 29, 2011 · 1 comment
Closed

stack dumps after upgrade (easy workaround) #415

aarcane opened this issue Sep 29, 2011 · 1 comment
Milestone

Comments

@aarcane
Copy link

aarcane commented Sep 29, 2011

after a zfs upgrade, I get the following errors in my dmesg log:

[148527.284812] SPL: Showing stack for process 25415
[148527.284824] Pid: 25415, comm: zfs Tainted: P 2.6.38-11-server #50-Ubuntu
[148527.284831] Call Trace:
[148527.284856] [] ? spl_debug_dumpstack+0x27/0x40 [spl]
[148527.284875] [] ? kmem_alloc_debug+0x11d/0x130 [spl]
[148527.284951] [] ? zfs_prop_set_special+0x235/0x3e0 [zfs]
[148527.284964] [] ? zprop_get_proptable+0x13/0x30 [zcommon]
[148527.285028] [] ? zfs_set_prop_nvlist+0x177/0x680 [zfs]
[148527.285093] [] ? zfs_ioc_set_prop+0x7b/0x130 [zfs]
[148527.285156] [] ? spa_open+0x13/0x20 [zfs]
[148527.285219] [] ? zfsdev_ioctl+0xf6/0x1b0 [zfs]
[148527.285230] [] ? do_vfs_ioctl+0x8f/0x320
[148527.285239] [] ? schedule+0x3ec/0x760
[148527.285247] [] ? sys_ioctl+0x91/0xa0
[148527.285255] [] ? system_call_fastpath+0x16/0x1b

repeatedly, with time differences of about 1 sec.

I fixed it easily by calling rmmod zfs znvpair zavl zunicode zcommon spl a few times before re-running rmmod zfs, but I think there should be a simple utility script that will rmmod these modules in the proper order (but that isn't called by default!) and modprobe zfs again. Either that, or zfs should refuse to load if the in-kernel version of spl doesn't match.

@behlendorf
Copy link
Contributor

This warning was fixed by commit fa6e5ce which will appear in 0.6.0-rc6. It was harmless for the record.

As for a script to remove the modules if your using the upstream packaging (not the PPA) you can run /usr/libexec/zfs/zfs.sh -u to remove the entire module stack. It's part of the zfs-test package.

sdimitro pushed a commit to sdimitro/zfs that referenced this issue Oct 1, 2021
Space reclamation following zpool destroy
sdimitro pushed a commit to sdimitro/zfs that referenced this issue May 23, 2022
… in initial library list in github workflow runs. (openzfs#415)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants