From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarek Poplawski Subject: Re: some tc commands fail on 2.6.29-rc6-git5, works on 2.6.28.7 Date: Mon, 02 Mar 2009 19:44:15 +0100 Message-ID: <49AC28FF.1040102@gmail.com> References: <20090301165729.8e08e1d7.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Joao Correia , linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Andrew Morton Return-path: Received: from mail-bw0-f178.google.com ([209.85.218.178]:37626 "EHLO mail-bw0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751128AbZCBSpR (ORCPT ); Mon, 2 Mar 2009 13:45:17 -0500 In-Reply-To: <20090301165729.8e08e1d7.akpm@linux-foundation.org> Sender: netdev-owner@vger.kernel.org List-ID: Andrew Morton wrote, On 03/02/2009 01:57 AM: > (cc netdev) > > On Mon, 2 Mar 2009 00:36:03 +0000 Joao Correia wrote: > >> Hello all >> >> On a Fedora 9 box, with a 2.6.29-rc6-git5 compiled with the same >> .config as the previously running 2.6.28.7, i get: >> >> [root@duron ~]# /sbin/tc qdisc add dev eth2 handle ffff: ingress >> [root@duron ~]# /sbin/tc filter add dev eth2 parent ffff: protocol ip >> prio 50 u32 match ip src 0.0.0.0/0 police rate 30320kbit burst 500k >> drop flowid :1 >> RTNETLINK answers: Invalid argument >> We have an error talking to the kernel >> [root@duron ~]# uname -a >> Linux duron 2.6.29-rc6-git5 #3 SMP Sun Mar 1 00:02:56 WET 2009 i686 >> athlon i386 GNU/Linux >> [root@duron ~]# >> >> There is no information regarding this event on dmesg or /var/log/messages. >> eth2 exists and is working properly, under 2.6.28.7 it works (without >> complaints). >> >> Please advise on what steps I may take to provide more information. I have >> both kernel sources and availability to apply patches/recompile as needed. Hi, I've just repeated your commands (with eth0) on the current Linus' tree and it works OK. Check your .config and "modules_install" again, and if no result send gzipped .config and show "lsmod" and "tc -V" output after these commands above. Cheers, Jarek P.