root@king-e430:/home/king/nationz/mImage# insmod sequans_usb.ko
insmod: error inserting 'sequans_usb.ko': -1 Unknown symbol in module
用dmesg 查看启动信息:
root@king-e430:/home/king/nationz/mImage#dmesg | tail
[ 4731.336634] sequans_usb: Unknown symbol usbnet_suspend (err 0)
[ 4731.336670] sequans_usb: Unknown symbol usbnet_get_endpoints (err 0)
[ 4731.336728] sequans_usb: Unknown symbol usbnet_disconnect (err 0)
[ 4731.336749] sequans_usb: Unknown symbol usbnet_probe (err 0)
[ 4731.336772] sequans_usb: Unknown symbol usbnet_resume (err 0)
[ 4947.970005] sequans_usb: INFO| Module paramters:
[ 4947.970043] sequans_usb: INFO| registering THP class in sysfs
[ 4947.970106] usbcore: registered new interface driver sequans_usb
[ 5040.618057] usbcore: deregistering interface driver sequans_usb
[ 5040.618108] sequans_usb: INFO| unregistered region for THP devices
root@king-e430:/home/king/nationz/mImage#./sequans_usb.ko |grep depend
depends: usbnet
加载该模块后,sequans_usb.ko就可以顺利加载
root@king-e430:/home/king/nationz/mImage#modprobe usbnet
root@king-e430:/home/king/nationz/mImage#insmod ./sequans_usb.ko
成功加载