$sudo modprobe lpfc_scst FATAL: Error inserting lpfc_scst (/lib/modules/2.6.32-33-generic/extra/lpfc_scst.ko): UnkNown symbol in module,or unkNown parameter (see dmesg)$dmesg | tail[ 1201.262842] lpfc_scst: UnkNown symbol scst_register_target[ 1201.262949] lpfc_scst: UnkNown symbol lpfc_tm_term[ 1201.263161] lpfc_scst: no symbol version for scst_register_session[ 1201.263164] lpfc_scst: UnkNown symbol scst_register_session[ 1201.263284] lpfc_scst: no symbol version for scst_rx_mgmt_fn[ 1201.263286] lpfc_scst: UnkNown symbol scst_rx_mgmt_fn[ 1201.263395] lpfc_scst: no symbol version for scst_unregister_session[ 1201.263398] lpfc_scst: UnkNown symbol scst_unregister_session[ 1201.263573] lpfc_scst: no symbol version for scst_rx_data[ 1201.263575] lpfc_scst: UnkNown symbol scst_rx_data$cat /proc/kallsyms | grep scst_register_targetdffd2a10 r __ksymtab_scst_register_target [scst]dffd302e r __kstrtab_scst_register_target [scst]dffd2b34 r __kcrctab_scst_register_target [scst]dffd2a20 r __ksymtab___scst_register_target_template_non_gpl [scst]dffd3063 r __kstrtab___scst_register_target_template_non_gpl [scst]dffd2b3c r __kcrctab___scst_register_target_template_non_gpl [scst]dffd2c10 r __ksymtab___scst_register_target_template [scst]dffd308b r __kstrtab___scst_register_target_template [scst]dffd2de8 r __kcrctab___scst_register_target_template [scst]dff913a0 t __scst_register_target_template [scst]dff90dd0 T scst_register_target [scst]dff91840 T __scst_register_target_template_non_gpl [scst]$
非常感谢.
解决方法 我已经解决了这个问题,如 this forum所示:>编辑scst.
>将生成的Module.symvers附加到/lib/modules/\u0026lt;version\u0026gt;/build/Module.symvers(Hack.不知道为什么内核没有看到导出的符号).
>将scst复制到/ lib / modules /< version> / extra.
> depmod -a.
>编译lpfc_scst.
>插入模块lpfc_scst没有问题.
祝你今天愉快.
总结以上是内存溢出为你收集整理的linux – 加载内核模块时的未知符号全部内容,希望文章能够帮你解决linux – 加载内核模块时的未知符号所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)