[ovs-discuss] Compiling OVS to be used with UML

Jesse Gross jesse at nicira.com
Thu Mar 20 02:00:28 UTC 2014

On Sat, Feb 22, 2014 at 8:57 AM, Olivier Tilmans <otilmans at gmail.com> wrote:
> Hello,
> I am currently trying to get OVS to run on a UML kernel (namely an
> updated version of netkit),
> I cannot get the datapath module to load as for some unexplicable
> reasons the kernel symbol 'phys_base' gets included in the *.ko
> although this symbol is no present in the built kernel. (I checked
> /proc/kallsyms & the System.map file)
> I execute the following commands to build & install the module (I am
> building the latest git release but this occurs for older tags as
> well):
> $ ./configure --with-linux=~/netkit/kernel/build/linux-3.10.28/ KARCH=um
> $ make -C datapath
> $ cp datapath/linux/openvswitch.ko /path/to/vm/modules/dir
> [switching to vm console)
> # modprobe openvswitch
> ERROR: could not insert 'openvswitch': Unknown symbol in module, or
> unknown parameter (see dmesg)
> # dmesg | tail
> openvswitch: Unknown symbol phys_base (err 0)

Usually this happens if the wrong kernel headers are used, those
headers aren't configured or the a different OVS module is being
loaded than you expect so I would double check those.

More information about the discuss mailing list