[zfs-discuss] ZFS broken on Centos 7.2 3.10.0-327.10.1.el7.x86_64

Alan Latteri alan at instinctualsoftware.com
Sat Feb 20 12:32:01 EST 2016


Hi Gordan,

I did first try your instructions verbatim, and was still having the same issue as I did before.

Alan.

> On Feb 20, 2016, at 9:30 AM, Gordan Bobic via zfs-discuss <zfs-discuss at list.zfsonlinux.org> wrote:
> 
> On Sat, Feb 20, 2016 at 5:12 PM, Alan Latteri <alan at instinctualsoftware.com <mailto:alan at instinctualsoftware.com>> wrote:
> I’ve tried all these things and still getting unknown symbol when booting into 3.10.
> 
> dkms remove --all zfs/0.6.5.4 <http://0.6.5.4/>
> dkms remove --all spl/0.6.5.4 <http://0.6.5.4/>
> 
> find /lib/modules/$(uname -r)/extra -name "splat.ko" -or -name "zcommon.ko" -or -name "zpios.ko" -or -name "spl.ko" -or -name "zavl.ko" -or -name "zfs.ko" -or -name "znvpair.ko" -or -name "zunicode.ko" | xargs rm -f
> find /lib/modules/$(uname -r)/weak-updates/ -name "splat.ko" -or -name "zcommon.ko" -or -name "zpios.ko" -or -name "spl.ko" -or -name "zavl.ko" -or -name "zfs.ko" -or -name "znvpair.ko" -or -name "zunicode.ko" | xargs rm -f
> yum reinstall zfs-release
> yum reinstall $(rpm -qa | egrep “zfs | spl”)
> 
> 
> 
> yum reinstall is pointless, that isn't related to the problem you are having. You need to rebuild the spl and zfs modules for your current kernel, which is the two dkms lines in my previous post, below.
>  
> 
>> On Feb 17, 2016, at 11:07 AM, Gordan Bobic via zfs-discuss <zfs-discuss at list.zfsonlinux.org <mailto:zfs-discuss at list.zfsonlinux.org>> wrote:
>> 
>> Are you using dkms for your zfs modules (spl-dkms and zfs-dkms packages)?
>> If so:
>> 
>> # dkms install -k 3.10.0-327.10.1.el7.x86_64 spl/0.6.5.4 <http://0.6.5.4/>
>> # dkms install -k 3.10.0-327.10.1.el7.x86_64 zfs/0.6.5.4 <http://0.6.5.4/>
>> # depmod -a
>> # rmmod zfs spl
>> # modprobe spl
>> # modprobe zfs
>> 
>> That should get things working again. You will probably want to remove stuff in /lib/modules/$(uname -r)/weak-updates
>> 
>> I generally consider weak-updates to be evil beyond description and whoever came up with the idea of them has a special place in hell waiting for them, along with creators of systemd.
>> 
>> 
>> 
>> 
>> On Wed, Feb 17, 2016 at 6:52 PM, Alan Latteri via zfs-discuss <zfs-discuss at list.zfsonlinux.org <mailto:zfs-discuss at list.zfsonlinux.org>> wrote:
>> Hello,
>> 
>>         This morning I did a yum update on my Centos 7.2 based server.   ZFS module now fails to load.  I’ve done a full yum remove and re-install of both spl and zfs.  I’m completely screwed right now.
>> 
>> [root at beast ~]# modprobe zfs
>> modprobe: ERROR: could not insert 'zfs': Unknown symbol in module, or unknown parameter (see dmesg)
>> 
>> [  600.135690] spl: module verification failed: signature and/or required key missing - tainting kernel
>> [  600.139801] SPL: Loaded module v0.6.5.4-1
>> [  600.140001] zavl: module license 'CDDL' taints kernel.
>> [  600.140004] Disabling lock debugging due to kernel taint
>> [  600.145355] zfs: Unknown symbol nvpair_value_uint8 (err 0)
>> [  600.145413] zfs: Unknown symbol fnvlist_dup (err 0)
>> [  600.145436] zfs: Unknown symbol dataset_namecheck (err 0)
>> [  600.145465] zfs: Unknown symbol nvlist_lookup_uint64_array (err 0)
>> [  600.145501] zfs: Unknown symbol nvlist_dup (err 0)
>> [  600.145523] zfs: Unknown symbol nvpair_value_nvlist (err 0)
>> [  600.145545] zfs: Unknown symbol nv_alloc_fini (err 0)
>> [  600.145595] zfs: Unknown symbol zfs_prop_default_string (err 0)
>> [  600.145612] zfs: Unknown symbol nvlist_add_uint64_array (err 0)
>> [  600.145638] zfs: Unknown symbol fnvlist_remove_nvpair (err 0)
>> [  600.145662] zfs: Unknown symbol zpool_prop_default_numeric (err 0)
>> [  600.145684] zfs: Unknown symbol nvlist_lookup_nvlist_array (err 0)
>> [  600.145695] zfs: Unknown symbol nvlist_add_int16 (err 0)
>> [  600.145707] zfs: Unknown symbol fnvlist_add_string (err 0)
>> [  600.145746] zfs: Unknown symbol nvlist_add_byte_array (err 0)
>> [  600.145788] zfs: Unknown symbol fnvlist_pack (err 0)
>> [  600.145805] zfs: Unknown symbol fletcher_2_native (err 0)
>> [  600.145816] zfs: Unknown symbol nvlist_size (err 0)
>> [  600.145827] zfs: Unknown symbol nvpair_value_byte (err 0)
>> [  600.145869] zfs: Unknown symbol zfs_userquota_prop_prefixes (err 0)
>> [  600.145881] zfs: Unknown symbol fletcher_4_byteswap (err 0)
>> [  600.145898] zfs: Unknown symbol zfs_zpl_version_map (err 0)
>> [  600.145909] zfs: Unknown symbol zfs_prop_index_to_string (err 0)
>> [  600.145954] zfs: Unknown symbol nvlist_add_nvpair (err 0)
>> [  600.145965] zfs: Unknown symbol zpool_prop_index_to_string (err 0)
>> [  600.145998] zfs: Unknown symbol nvpair_type (err 0)
>> [  600.146010] zfs: Unknown symbol fnvlist_lookup_nvlist (err 0)
>> [  600.146025] zfs: Unknown symbol nvlist_add_byte (err 0)
>> [  600.146036] zfs: Unknown symbol fnvpair_value_int32 (err 0)
>> [  600.146058] zfs: Unknown symbol fletcher_4_incremental_byteswap (err 0)
>> [  600.146069] zfs: Unknown symbol nvlist_add_boolean_value (err 0)
>> [  600.146092] zfs: Unknown symbol zfs_prop_readonly (err 0)
>> [  600.146113] zfs: Unknown symbol zfs_prop_user (err 0)
>> [  600.146140] zfs: Unknown symbol nvlist_next_nvpair (err 0)
>> [  600.146151] zfs: Unknown symbol zpool_name_to_prop (err 0)
>> [  600.146173] zfs: Unknown symbol fnvlist_lookup_string (err 0)
>> [  600.146184] zfs: Unknown symbol fnvpair_value_string (err 0)
>> [  600.146200] zfs: Unknown symbol zpool_prop_init (err 0)
>> [  600.146215] zfs: Unknown symbol fnvlist_add_nvlist_array (err 0)
>> [  600.146236] zfs: Unknown symbol zpool_get_rewind_policy (err 0)
>> [  600.146284] zfs: Unknown symbol nvlist_add_int8 (err 0)
>> [  600.146301] zfs: Unknown symbol nvlist_merge (err 0)
>> [  600.146312] zfs: Unknown symbol nvpair_value_uint32 (err 0)
>> [  600.146323] zfs: Unknown symbol zfs_prop_userquota (err 0)
>> [  600.146334] zfs: Unknown symbol fletcher_4_native (err 0)
>> [  600.146357] zfs: Unknown symbol fnvlist_add_boolean (err 0)
>> [  600.146369] zfs: Unknown symbol fnvpair_value_uint64 (err 0)
>> [  600.146380] zfs: Unknown symbol nvlist_remove_all (err 0)
>> [  600.146398] zfs: Unknown symbol nvlist_add_uint32 (err 0)
>> [  600.146456] zfs: Unknown symbol nvpair_value_int16 (err 0)
>> [  600.146482] zfs: Unknown symbol nvlist_lookup_byte_array (err 0)
>> [  600.146493] zfs: Unknown symbol nvlist_lookup_nv_alloc (err 0)
>> [  600.146511] zfs: Unknown symbol uiomove (err 0)
>> [  600.146522] zfs: Unknown symbol zfs_prop_default_numeric (err 0)
>> [  600.146536] zfs: Unknown symbol nvlist_add_int32_array (err 0)
>> [  600.146550] zfs: Unknown symbol nvlist_unpack (err 0)
>> [  600.146583] zfs: Unknown symbol nvlist_add_uint16 (err 0)
>> [  600.146593] zfs: Unknown symbol nvpair_value_boolean_value (err 0)
>> [  600.146644] zfs: Unknown symbol nvlist_lookup_uint64 (err 0)
>> [  600.146654] zfs: Unknown symbol nvlist_add_uint8 (err 0)
>> [  600.146668] zfs: Unknown symbol nvlist_free (err 0)
>> [  600.146680] zfs: Unknown symbol fnvlist_add_uint64_array (err 0)
>> [  600.146690] zfs: Unknown symbol nvlist_lookup_nvlist (err 0)
>> [  600.146704] zfs: Unknown symbol zfs_deleg_verify_nvlist (err 0)
>> [  600.146722] zfs: Unknown symbol nvpair_value_int16_array (err 0)
>> [  600.146754] zfs: Unknown symbol nvlist_add_int64_array (err 0)
>> [  600.146791] zfs: Unknown symbol nvpair_name (err 0)
>> [  600.146805] zfs: Unknown symbol nvpair_value_nvlist_array (err 0)
>> [  600.146816] zfs: Unknown symbol fnvlist_add_nvlist (err 0)
>> [  600.146862] zfs: Unknown symbol uiocopy (err 0)
>> [  600.146878] zfs: Unknown symbol zfs_deleg_whokey (err 0)
>> [  600.146892] zfs: Unknown symbol nvlist_add_string (err 0)
>> [  600.146902] zfs: Unknown symbol nvpair_value_int8 (err 0)
>> [  600.146922] zfs: Unknown symbol uioskip (err 0)
>> [  600.146932] zfs: Unknown symbol nvpair_value_int32_array (err 0)
>> [  600.146964] zfs: Unknown symbol nvpair_value_uint16 (err 0)
>> [  600.147016] zfs: Unknown symbol nvlist_lookup_int32 (err 0)
>> [  600.147041] zfs: Unknown symbol nvpair_value_hrtime (err 0)
>> [  600.147059] zfs: Unknown symbol zfs_allocatable_devs (err 0)
>> [  600.147070] zfs: Unknown symbol nvlist_alloc (err 0)
>> [  600.147082] zfs: Unknown symbol fletcher_2_byteswap (err 0)
>> [  600.147093] zfs: Unknown symbol nvlist_add_nvlist_array (err 0)
>> [  600.147103] zfs: Unknown symbol nvlist_remove_nvpair (err 0)
>> [  600.147121] zfs: Unknown symbol zpool_prop_feature (err 0)
>> [  600.147131] zfs: Unknown symbol nv_fixed_ops (err 0)
>> [  600.147141] zfs: Unknown symbol nvlist_add_uint16_array (err 0)
>> [  600.147167] zfs: Unknown symbol fnvlist_free (err 0)
>> [  600.147210] zfs: Unknown symbol fletcher_4_incremental_native (err 0)
>> [  600.147228] zfs: Unknown symbol fnvpair_value_nvlist (err 0)
>> [  600.147238] zfs: Unknown symbol fnvlist_num_pairs (err 0)
>> [  600.147260] zfs: Unknown symbol nvlist_add_int8_array (err 0)
>> [  600.147279] zfs: Unknown symbol nvlist_lookup_nvpair (err 0)
>> [  600.147299] zfs: Unknown symbol nvpair_value_uint64_array (err 0)
>> [  600.147310] zfs: Unknown symbol zfs_spa_version_map (err 0)
>> [  600.147340] zfs: Unknown symbol nvpair_value_uint64 (err 0)
>> [  600.147360] zfs: Unknown symbol nvpair_value_int8_array (err 0)
>> [  600.147386] zfs: Unknown symbol uio_prefaultpages (err 0)
>> [  600.147400] zfs: Unknown symbol nvpair_value_int32 (err 0)
>> [  600.147410] zfs: Unknown symbol nvlist_xalloc (err 0)
>> [  600.147424] zfs: Unknown symbol nvlist_add_string_array (err 0)
>> [  600.147462] zfs: Unknown symbol nvlist_add_int16_array (err 0)
>> [  600.147476] zfs: Unknown symbol nv_alloc_init (err 0)
>> [  600.147515] zfs: Unknown symbol pool_namecheck (err 0)
>> [  600.147527] zfs: Unknown symbol fnvlist_size (err 0)
>> [  600.147540] zfs: Unknown symbol zfs_prop_setonce (err 0)
>> [  600.147551] zfs: Unknown symbol zfs_prop_valid_for_type (err 0)
>> [  600.147565] zfs: Unknown symbol fnvlist_add_uint64 (err 0)
>> [  600.147578] zfs: Unknown symbol nvlist_lookup_string (err 0)
>> [  600.147591] zfs: Unknown symbol nvpair_value_uint32_array (err 0)
>> [  600.147603] zfs: Unknown symbol nvpair_value_uint8_array (err 0)
>> [  600.147615] zfs: Unknown symbol zpool_prop_to_name (err 0)
>> [  600.147631] zfs: Unknown symbol nvpair_value_uint16_array (err 0)
>> [  600.147641] zfs: Unknown symbol nvlist_add_nvlist (err 0)
>> [  600.147657] zfs: Unknown symbol fnvlist_lookup_uint64 (err 0)
>> [  600.147668] zfs: Unknown symbol zfs_prop_inheritable (err 0)
>> [  600.147680] zfs: Unknown symbol nvpair_value_int64 (err 0)
>> [  600.147691] zfs: Unknown symbol nvlist_empty (err 0)
>> [  600.147707] zfs: Unknown symbol zfs_prop_to_name (err 0)
>> [  600.147719] zfs: Unknown symbol zpool_prop_get_type (err 0)
>> [  600.147733] zfs: Unknown symbol nvlist_remove (err 0)
>> [  600.147763] zfs: Unknown symbol nvlist_exists (err 0)
>> [  600.147783] zfs: Unknown symbol nvlist_pack (err 0)
>> [  600.147799] zfs: Unknown symbol fnvlist_pack_free (err 0)
>> [  600.147809] zfs: Unknown symbol nvlist_add_uint64 (err 0)
>> [  600.147826] zfs: Unknown symbol zfs_component_namecheck (err 0)
>> [  600.147838] zfs: Unknown symbol nvlist_prev_nvpair (err 0)
>> [  600.147863] zfs: Unknown symbol nvpair_value_int64_array (err 0)
>> [  600.147884] zfs: Unknown symbol nvlist_add_uint32_array (err 0)
>> [  600.147899] zfs: Unknown symbol fnvlist_alloc (err 0)
>> [  600.147918] zfs: Unknown symbol zfs_name_to_prop (err 0)
>> [  600.147931] zfs: Unknown symbol nvlist_add_uint8_array (err 0)
>> [  600.147941] zfs: Unknown symbol zfs_prop_init (err 0)
>> [  600.147955] zfs: Unknown symbol fnvlist_add_int32 (err 0)
>> [  600.147967] zfs: Unknown symbol fnvlist_lookup_nvpair (err 0)
>> [  600.147983] zfs: Unknown symbol nvpair_value_string (err 0)
>> [  600.147993] zfs: Unknown symbol nvlist_add_int64 (err 0)
>> [  600.148006] zfs: Unknown symbol zfs_prop_get_type (err 0)
>> [  600.148018] zfs: Unknown symbol nvlist_add_int32 (err 0)
>> [  600.148029] zfs: Unknown symbol nvlist_add_boolean_array (err 0)
>> _______________________________________________
>> zfs-discuss mailing list
>> zfs-discuss at list.zfsonlinux.org <mailto:zfs-discuss at list.zfsonlinux.org>
>> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss <http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss>
>> 
>> _______________________________________________
>> zfs-discuss mailing list
>> zfs-discuss at list.zfsonlinux.org <mailto:zfs-discuss at list.zfsonlinux.org>
>> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss <http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss>
> 
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20160220/da7cedd4/attachment-0001.html>


More information about the zfs-discuss mailing list