手动加载内核模块时候,报如下错误信息:
/$ insmod cpld_lcmxo2-2000hc.ko
/$cpld_lcmxo2_2000hc: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint
cpld_lcmxo2_2000hc: Unknown symbol spi_register_driver (err 0)
cpld_lcmxo2_2000hc: Unknown symbol mxs_spi_setup (err 0)
cpld_lcmxo2_2000hc: Unknown symbol spi_bus_type (err 0)
cpld_lcmxo2_2000hc: Unknown symbol mxs_spi_transfer (err 0)
insmod: can't insert 'cpld_lcmxo2-2000hc.ko': unknown symbol in module, or unknown parameter
解决办法:
通过信息中的绿色背景信息,可以找到解决办法:在内核模块源码文件中添加MODULE_LICENSE("GPL");
阅读(16997) | 评论(0) | 转发(0) |