[ovs-dev] [PATCH V2 1/2] rhel: Add depmod file for openvswitch module search

Gregory Rose gvrose8192 at gmail.com
Sun Jan 14 02:15:54 UTC 2018


On 1/13/2018 2:53 PM, Flavio Leitner wrote:
> On Sat, Jan 13, 2018 at 10:59:25AM -0800, Gregory Rose wrote:
>> Thank you for the pointer and the explanation.  I'm working on a bug in
>> which after the transactions listed occur then the installation of the kmod
>> kernel drivers rpm will not work right and the openvswitch kernel module
>> drivers are installed to a completely separate directory in /lib/modules.
>>
>> Normally after installing the kmod rpm you'll see something like this:
>>
>> [root at Unknown ~]# find /lib/modules -name "openvswitch.ko"
>> /lib/modules/3.10.0-514.el7.x86_64/kernel/net/openvswitch/openvswitch.ko
>> /lib/modules/3.10.0-514.el7.x86_64/weak-updates/openvswitch/openvswitch.ko
>> /lib/modules/3.10.0-514.6.1.el7.x86_64/extra/openvswitch/openvswitch.ko
>>
>> However, when this bug occurs you see only this instead after installing the
>> same kmod rpm.
>>
>> [root at Unknown ~]# find /lib/modules -name "openvswitch.ko"
>> /lib/modules/3.10.0-514.el7.x86_64/kernel/net/openvswitch/openvswitch.ko
>> /lib/modules/3.10.0-514.6.1.el7.x86_64/extra/openvswitch/openvswitch.ko
>>
>> The running kernel is 3.10.0-514.el7.x86_64 so after the kmod rpm install
>> the system continues to use the older openvswitch kernel driver.
>>
>> It's very perplexing to say the least...
> Does that happen with or without using weak-modules?
>

Without - we have not yet implemented your suggested post install and 
uninstall scripts.

- Greg


More information about the dev mailing list