The module gets loaded properly after adding myself 'phy_base = 0;'
(which is the value it has on most arch) right after the include's in
datapath/linux/compat/skbuff-openvswitch.c
I also compiled the kernel myself and I compile OVS from a running
instance of that kernel to make sure that I use the proper files ...
Eventually since I hard-coded the above value I've been able to use
OVS as I wanted so this no longer an huge issue for me.
My best bet would be that there might be a bug with the UML macros ...

Thank you for answering anyway !

On 20 March 2014 03:00, Jesse Gross <[email protected]> wrote:
> On Sat, Feb 22, 2014 at 8:57 AM, Olivier Tilmans <[email protected]> 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.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to