Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] zfs modprobe error after upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
west17m
n00b
n00b


Joined: 15 Aug 2004
Posts: 13

PostPosted: Wed Apr 18, 2018 10:34 pm    Post subject: [SOLVED] zfs modprobe error after upgrade Reply with quote

My system is otherwise up to date but after upgrade zfs,zfs-kmod,and spl from version 0.7.6 to either 0.7.7 or 0.7.8, I'm no longer able to modprobe zfs:

Code:
# emerge -DNuv --backtrack=100 world
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-kernel/spl-0.7.8::gentoo [0.7.6::gentoo] USE="-custom-cflags -debug" 0 KiB
[ebuild     U  ] sys-fs/zfs-kmod-0.7.8::gentoo [0.7.6::gentoo] USE="rootfs -custom-cflags -debug" 0 KiB
[ebuild     U  ] sys-fs/zfs-0.7.8::gentoo [0.7.6-r1::gentoo] USE="rootfs -custom-cflags -debug (-kernel-builtin) -static-libs -test-suite" PYTHON_TARGETS="python2_7 python3_5 -python3_4" 0 KiB

Total: 3 packages (3 upgrades), Size of downloads: 0 KiB


After reboot

Code:
modprobe: ERROR: could not insert 'zfs': Invalid argument


Here is my full dmesg
snippet of dmesg
Code:
[  567.671182] ZFS: Unloaded module v0.7.6-r0-gentoo
[  568.179908] zfs: disagrees about version of symbol __kstat_delete
[  568.179909] zfs: Unknown symbol __kstat_delete (err -22)
[  568.180213] zfs: disagrees about version of symbol zfs_ratelimit
[  568.180214] zfs: Unknown symbol zfs_ratelimit (err -22)
[  568.180492] zfs: disagrees about version of symbol __kstat_create
[  568.180493] zfs: Unknown symbol __kstat_create (err -22)
[  568.180916] zfs: disagrees about version of symbol zfs_ratelimit_fini
[  568.180917] zfs: Unknown symbol zfs_ratelimit_fini (err -22)
[  568.181034] zfs: disagrees about version of symbol __kstat_set_raw_ops
[  568.181035] zfs: Unknown symbol __kstat_set_raw_ops (err -22)
[  568.181498] zfs: disagrees about version of symbol zfs_ratelimit_init
[  568.181499] zfs: Unknown symbol zfs_ratelimit_init (err -22)
[  568.181596] zfs: disagrees about version of symbol vn_getattr
[  568.181597] zfs: Unknown symbol vn_getattr (err -22)
[  568.181746] zfs: disagrees about version of symbol __kstat_install
[  568.181746] zfs: Unknown symbol __kstat_install (err -22)
[  568.245885] zfs: disagrees about version of symbol __kstat_delete
[  568.245887] zfs: Unknown symbol __kstat_delete (err -22)
[  568.246183] zfs: disagrees about version of symbol zfs_ratelimit


Here's my emerge --info

I'm not passing any zfs kernel params.

And now it looks like 0.7.6-r1 has been removed so I can't roll back. I would appreciate any support. Thanks in advance.


Last edited by west17m on Thu Apr 19, 2018 1:52 pm; edited 2 times in total
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Thu Apr 19, 2018 12:48 am    Post subject: Reply with quote

It says you're using 0.7.6, not 0.7.8. Chances are you forgot to update your initrd.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
west17m
n00b
n00b


Joined: 15 Aug 2004
Posts: 13

PostPosted: Thu Apr 19, 2018 1:21 am    Post subject: Reply with quote

bunder wrote:
It says you're using 0.7.6, not 0.7.8. Chances are you forgot to update your initrd.


Hmm... I'll try that when I get back to work. Maybe my initrd was unintentionally loading the module. I don't use zfs for root so don't need it loaded that early. Thanks.
Back to top
View user's profile Send private message
west17m
n00b
n00b


Joined: 15 Aug 2004
Posts: 13

PostPosted: Thu Apr 19, 2018 1:51 pm    Post subject: Reply with quote

west17m wrote:
bunder wrote:
It says you're using 0.7.6, not 0.7.8. Chances are you forgot to update your initrd.


Hmm... I'll try that when I get back to work. Maybe my initrd was unintentionally loading the module. I don't use zfs for root so don't need it loaded that early. Thanks.


Thanks, that did it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum