DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] dpdk 1.6 insmod rte_kni.ko error
@ 2014-09-06 12:06 rong wen
  2014-09-09  8:41 ` Zhang, Jerry
  0 siblings, 1 reply; 2+ messages in thread
From: rong wen @ 2014-09-06 12:06 UTC (permalink / raw)
  To: dev

Hi All,

I am a new guy to use dpdk. The kernel version is 2.6.32.

After I build the rte_kni.ko, I run insmod rte_kni.ko, error message is:

Unloading any existing DPDK KNI module
Loading DPDK KNI module
insmod: error inserting
'/home/wenrong.wr/dpdk_dev_r1-6-0/x86_64-default-linuxapp-gcc/kmod/rte_kni.ko':
-1 Unknown symbol in module
## ERROR: Could not load kmod/rte_kni.ko.

The dmesg output is:

[181831.351549] rte_kni: Unknown symbol hwmon_device_register
[181831.353671] rte_kni: Unknown symbol hwmon_device_unregister
[182558.257153] rte_kni: Unknown symbol hwmon_device_register
[182558.259288] rte_kni: Unknown symbol hwmon_device_unregister


Thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] dpdk 1.6 insmod rte_kni.ko error
  2014-09-06 12:06 [dpdk-dev] dpdk 1.6 insmod rte_kni.ko error rong wen
@ 2014-09-09  8:41 ` Zhang, Jerry
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Jerry @ 2014-09-09  8:41 UTC (permalink / raw)
  To: rong wen, dev

>-----Original Message-----
>From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of rong wen
>Sent: Saturday, September 6, 2014 8:07 PM
>To: dev
>Subject: [dpdk-dev] dpdk 1.6 insmod rte_kni.ko error
>
>Hi All,
>
>I am a new guy to use dpdk. The kernel version is 2.6.32.
>
>After I build the rte_kni.ko, I run insmod rte_kni.ko, error message is:
>
>Unloading any existing DPDK KNI module
>Loading DPDK KNI module
>insmod: error inserting
>'/home/wenrong.wr/dpdk_dev_r1-6-0/x86_64-default-linuxapp-gcc/kmod/rte_k
>ni.ko':
>-1 Unknown symbol in module
>## ERROR: Could not load kmod/rte_kni.ko.
>
>The dmesg output is:
>
>[181831.351549] rte_kni: Unknown symbol hwmon_device_register
>[181831.353671] rte_kni: Unknown symbol hwmon_device_unregister
>[182558.257153] rte_kni: Unknown symbol hwmon_device_register
>[182558.259288] rte_kni: Unknown symbol hwmon_device_unregister
>

Did you build and insmod kni.ko on the same mache?
If you did, then maybe the hwmon module was not built into your kernel. 
Try the command 'modprobe howmon'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-09  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-06 12:06 [dpdk-dev] dpdk 1.6 insmod rte_kni.ko error rong wen
2014-09-09  8:41 ` Zhang, Jerry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).