Re: [ovs-discuss] The kernel module does not support meters

2018-08-09 Thread Vikas Kumar
Thank you very much Ben Pfaff. it helped me a lot.

Thanks
Vikash

Justin Pettit Aug 7 (2 days ago)
Right, the OVS out-of-tree kernel module (the one that ships with OVS)
doesn'..

Did you read the FAQ?

Q: I get an error like this when I configure Open vSwitch:

configure: error: Linux kernel in  is version , but
version newer than  is not supported (please refer to the
FAQ for advice)

What should I do?

A: You have the following options:

- Use the Linux kernel module supplied with the kernel that you are
using.
  (See also the following FAQ.)

- If there is a newer released version of Open vSwitch, consider
building
  that one, because it may support the kernel that you are building
  against.  (To find out, consult the table in the previous FAQ.)

- The Open vSwitch "master" branch may support the kernel that you are
  using, so consider building the kernel module from "master".

All versions of Open vSwitch userspace are compatible with all versions
of
the Open vSwitch kernel module, so you do not have to use the kernel
module
from one source along with the userspace programs from the same source.



On Tue, Aug 7, 2018 at 10:12 PM, Ben Pfaff  wrote:

> Did you read the FAQ?
>
> Q: I get an error like this when I configure Open vSwitch:
>
> configure: error: Linux kernel in  is version , but
> version newer than  is not supported (please refer to the
> FAQ for advice)
>
> What should I do?
>
> A: You have the following options:
>
> - Use the Linux kernel module supplied with the kernel that you are
> using.
>   (See also the following FAQ.)
>
> - If there is a newer released version of Open vSwitch, consider
> building
>   that one, because it may support the kernel that you are building
>   against.  (To find out, consult the table in the previous FAQ.)
>
> - The Open vSwitch "master" branch may support the kernel that you are
>   using, so consider building the kernel module from "master".
>
> All versions of Open vSwitch userspace are compatible with all
> versions of
> the Open vSwitch kernel module, so you do not have to use the kernel
> module
> from one source along with the userspace programs from the same source.
>
> On Tue, Aug 07, 2018 at 03:06:44PM +0530, Vikas Kumar wrote:
> > Thanks for your reply Justin,
> > I had Linux kernel 4.15 version earlier, but when i was trying to
> configure
> > the ovs master version, in that case i was getting some other error.
> > please see below my previous conversation,
> >
> > Vikas Kumar 
> > Aug 2 (5 days ago)
> > to bugs
> > hi Team,
> > i am using ubuntu 16.0. i am trying to configure the ovs source code,
> but i
> > am getting the below error message. please help me on this
> >
> > configure: error: Linux kernel in /lib/modules/4.15.0-29-generic/build
> is
> > version 4.15.18, but version newer than 4.14.x is not supported (please
> > refer to the FAQ for advice)
> >
> > Regards
> > vikash
> > Darrell Ball 
> > Aug 2 (5 days ago)
> > to me, bugs
> >
> > Means your kernel has been upgraded to 4.15 in your Xenial environment
> > (check uname –r)
> >
> >
> >
> > Latest OVS release supports up to 4.14
> >
> >
> >
> > http://docs.openvswitch.org/en/latest/faq/releases/
> >
> > Second question.
> >
> >
> >
> >
> >
> > *From: * on behalf of Vikas Kumar <
> > vikassanm...@gmail.com>
> > *Date: *Thursday, August 2, 2018 at 2:08 AM
> > *To: *"b...@openvswitch.org" 
> > *Subject: *[ovs-discuss] Bug in configuring of Ovs
> >
> >
> > Actually i want to dump the ovs flows for my investigation.
> >
> > Thanks
> > Vikash
> >
> > On Tue, Aug 7, 2018 at 2:17 PM, Justin Pettit  wrote:
> >
> > >
> > > > On Aug 6, 2018, at 8:49 PM, Vikas Kumar 
> wrote:
> > > >
> > > > hi Team,
> > > > kindly help me on this, when i am typing sudo ovs-dpctl dump-flows
> > > command, i am getting the below error
> > > > |1|dpif_netlink|INFO|The kernel module does not support meters.
> > > >
> > > > I am using the below ubuntu version:
> > > >
> > > > 4.14.13-041413-generic
> > >
> > > Meters were introduced to the Linux kernel in 4.15, so earlier versions
> > > don't support them.  Unfortunately, all the released upstream kernels
> have
> > > a bug in them that prevents meters from being used properly.  A patch
> was
> > > recently accepted upstream, which means that new releases (including
> > > maintained older kernels) should receive the fix.
> > >
> > > The OVS 2.10 out-of-tree kernel module will contain meters on all
> > > supported kernels.
> > >
> > > All of that said, unless you need meters, you can just ignore that
> > > message; it's just informational.
> > >
> > > --Justin
> > >
> > >
> > >
>
> > ___
> > discuss mailing list
> > disc...@openvswitch.org
> > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
>
___
discuss mailing list

Re: [ovs-discuss] The kernel module does not support meters

2018-08-07 Thread Justin Pettit
Right, the OVS out-of-tree kernel module (the one that ships with OVS) doesn't 
support kernels greater than 4.14 yet.  When OVS 2.10 ships, the plan is to 
include support for at least kernel 4.15.

The Linux kernel includes an OVS kernel module, which always works with 
whatever Linux kernel it ships with.  However, it will only include whatever 
OVS features were included at the time of that kernel release.  We maintain the 
out-of-tree kernel module so that we can introduce new features to those older 
kernels.  Maintaining this backwards compatibility in the out-of-tree kernel 
module can be fairly complex at times, which is why it sometimes lags behind 
the latest kernel releases.

--Justin


> On Aug 6, 2018, at 11:36 PM, Vikas Kumar  wrote:
> 
> Thanks for your reply Justin, 
> I had Linux kernel 4.15 version earlier, but when i was trying to configure 
> the ovs master version, in that case i was getting some other error.
> please see below my previous conversation, 
> 
> 
> Vikas Kumar 
> Aug 2 (5 days ago)
> 
> to bugs
> hi Team,
> i am using ubuntu 16.0. i am trying to configure the ovs source code, but i 
> am getting the below error message. please help me on this
> 
> configure: error: Linux kernel in /lib/modules/4.15.0-29-generic/build is 
> version 4.15.18, but version newer than 4.14.x is not supported (please refer 
> to the FAQ for advice)
> 
> Regards
> vikash
> 
> Darrell Ball 
> Aug 2 (5 days ago)
> 
> to me, bugs
> Means your kernel has been upgraded to 4.15 in your Xenial environment (check 
> uname –r)
>  
> Latest OVS release supports up to 4.14
>  
> http://docs.openvswitch.org/en/latest/faq/releases/
> Second question.
>  
>  
> From:  on behalf of Vikas Kumar 
> 
> Date: Thursday, August 2, 2018 at 2:08 AM
> To: "b...@openvswitch.org" 
> Subject: [ovs-discuss] Bug in configuring of Ovs
> 
> Actually i want to dump the ovs flows for my investigation.
> 
> Thanks 
> Vikash
> 
> On Tue, Aug 7, 2018 at 2:17 PM, Justin Pettit  wrote:
> 
> > On Aug 6, 2018, at 8:49 PM, Vikas Kumar  wrote:
> > 
> > hi Team,
> > kindly help me on this, when i am typing sudo ovs-dpctl dump-flows command, 
> > i am getting the below error
> > |1|dpif_netlink|INFO|The kernel module does not support meters.
> > 
> > I am using the below ubuntu version:
> > 
> > 4.14.13-041413-generic
> 
> Meters were introduced to the Linux kernel in 4.15, so earlier versions don't 
> support them.  Unfortunately, all the released upstream kernels have a bug in 
> them that prevents meters from being used properly.  A patch was recently 
> accepted upstream, which means that new releases (including maintained older 
> kernels) should receive the fix.
> 
> The OVS 2.10 out-of-tree kernel module will contain meters on all supported 
> kernels.
> 
> All of that said, unless you need meters, you can just ignore that message; 
> it's just informational.
> 
> --Justin
> 
> 
> 

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] The kernel module does not support meters

2018-08-07 Thread Vikas Kumar
Thanks for your reply Justin,
I had Linux kernel 4.15 version earlier, but when i was trying to configure
the ovs master version, in that case i was getting some other error.
please see below my previous conversation,

Vikas Kumar 
Aug 2 (5 days ago)
to bugs
hi Team,
i am using ubuntu 16.0. i am trying to configure the ovs source code, but i
am getting the below error message. please help me on this

configure: error: Linux kernel in /lib/modules/4.15.0-29-generic/build is
version 4.15.18, but version newer than 4.14.x is not supported (please
refer to the FAQ for advice)

Regards
vikash
Darrell Ball 
Aug 2 (5 days ago)
to me, bugs

Means your kernel has been upgraded to 4.15 in your Xenial environment
(check uname –r)



Latest OVS release supports up to 4.14



http://docs.openvswitch.org/en/latest/faq/releases/

Second question.





*From: * on behalf of Vikas Kumar <
vikassanm...@gmail.com>
*Date: *Thursday, August 2, 2018 at 2:08 AM
*To: *"b...@openvswitch.org" 
*Subject: *[ovs-discuss] Bug in configuring of Ovs


Actually i want to dump the ovs flows for my investigation.

Thanks
Vikash

On Tue, Aug 7, 2018 at 2:17 PM, Justin Pettit  wrote:

>
> > On Aug 6, 2018, at 8:49 PM, Vikas Kumar  wrote:
> >
> > hi Team,
> > kindly help me on this, when i am typing sudo ovs-dpctl dump-flows
> command, i am getting the below error
> > |1|dpif_netlink|INFO|The kernel module does not support meters.
> >
> > I am using the below ubuntu version:
> >
> > 4.14.13-041413-generic
>
> Meters were introduced to the Linux kernel in 4.15, so earlier versions
> don't support them.  Unfortunately, all the released upstream kernels have
> a bug in them that prevents meters from being used properly.  A patch was
> recently accepted upstream, which means that new releases (including
> maintained older kernels) should receive the fix.
>
> The OVS 2.10 out-of-tree kernel module will contain meters on all
> supported kernels.
>
> All of that said, unless you need meters, you can just ignore that
> message; it's just informational.
>
> --Justin
>
>
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] The kernel module does not support meters

2018-08-07 Thread Justin Pettit


> On Aug 6, 2018, at 8:49 PM, Vikas Kumar  wrote:
> 
> hi Team,
> kindly help me on this, when i am typing sudo ovs-dpctl dump-flows command, i 
> am getting the below error
> |1|dpif_netlink|INFO|The kernel module does not support meters.
> 
> I am using the below ubuntu version:
> 
> 4.14.13-041413-generic

Meters were introduced to the Linux kernel in 4.15, so earlier versions don't 
support them.  Unfortunately, all the released upstream kernels have a bug in 
them that prevents meters from being used properly.  A patch was recently 
accepted upstream, which means that new releases (including maintained older 
kernels) should receive the fix.

The OVS 2.10 out-of-tree kernel module will contain meters on all supported 
kernels.

All of that said, unless you need meters, you can just ignore that message; 
it's just informational.

--Justin


___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss