[ovs-dev] Compiling openvswitch 1.1.1 kernel module against linux_xen_2.6.39.x-stable

Sébastien Riccio sr at swisscenter.com
Wed Jul 6 06:15:00 UTC 2011


Hi,

I'm having kernel panic when starting openvswitch with freshly compiled
2.6.39.2 (supposed stable) xenified dom0 linux kernel.

While compiling the modules I have this warning :

/usr/src/openvswitch-1.1.1/datapath/linux-2.6/vport-netdev.c: In 
function netdev_create:
/usr/src/openvswitch-1.1.1/datapath/linux-2.6/vport-netdev.c:140: 
warning: passing argument 2 of netdev_rx_handler_register from 
incompatible pointer type
include/linux/netdevice.h:2076: note: expected enum rx_handler_result_t 
(*)(struct sk_buff **) but argument is of typestruct sk_buff * 
(*)(struct sk_buff *)

I wonder if this may be the cause of the panic and if it's a known issue ?

How to get the kernel:

*git* clone 
*git*://*git*.kernel.org/pub/scm/linux/kernel/*git*/konrad/*xen*.*git* 
linux_xen_2.6.39.x-stable
cd linux_xen_2.6.39.x-stable
*git* checkout -b stable/*2.6.39* .x origin/stable/*2.6.39*.x

Thanks for your help!

Kind regards,
Sébastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20110706/e2df0a42/attachment-0003.html>


More information about the dev mailing list