On Fri, Sep 18, 2015 at 7:31 PM, liu_ch...@buaa.edu.cn <liu_ch...@buaa.edu.cn> wrote: > Well I've been thought about this too, but I used modprobe to install the > kernel module while right after make and make install and make > module_install, is that OK? > If I have to use insmode, shoulde I go to the openvswitch/datapath/linux/ > directory and use insmod openvswitch.ko? > also when I make modules_install there is something I can't understand: > root@sdcn-ProLiant-DL380p-Gen8:~/openvswitch-2.3.1# make > modules_install > cd datapath/linux && make modules_install > make[1]: 正在进入目录 `/root/openvswitch-2.3.1/datapath/linux' > make -C /lib/modules/3.11.0-15-generic/build > M=/root/openvswitch-2.3.1/datapath/linux modules_install > make[2]: 正在进入目录 `/usr/src/linux-headers-3.11.0-15-generic' > INSTALL /root/openvswitch-2.3.1/datapath/linux/openvswitch.ko > Can't read private key > DEPMOD 3.11.0-15-generic > make[2]:正在离开目录 `/usr/src/linux-headers-3.11.0-15-generic' > depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' > /lib/modules/3.11.0-15-generic/build/include/generated/utsrelease.h` > make[1]:正在离开目录 `/root/openvswitch-2.3.1/datapath/linux' > Why is there a "Can't read private key DEPMOD 3.11.0-15-generic"?Does this > mean that modules installed failed?
Yes, this is likely the problem. See this for an explanation: http://lxr.free-electrons.com/source/Documentation/module-signing.txt Using insmod should avoid this problem. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev