From mboxrd@z Thu Jan 1 00:00:00 1970 From: gypsy Date: Wed, 27 Apr 2005 14:12:37 +0000 Subject: Re: [LARTC] invalid argument Message-Id: <426F9DD5.C5F522F8@iswest.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Grace Baldonasa wrote: > > Hi All, > > I cross compiled and run tc in arm platform. > When I tried executing it I got this error. > > tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 > mpu 64 > RTNETLINK answers: Invalid argument > > Is there something I'm missing here... > > Thanks. > > Grace I don't know what "arm" is. Are you certain that the CBQ module loaded? Yes, it should be a module, not built into the kernel. First make sure that there is only one TC executable on your system. Then try a few different TC commands: tc -s qdisc ls dev eth0 tc -s class ls dev eth0 tc qdisc add dev eth0 root handle 1: htb default 30 If the htb works then the problem is, of course, cbq. If both cbq and htb fail but the "show" commands above work, then I can't help. But if all fail, your cross compile was bad. Also try modprobe sch_cbq modprobe -r sch_cbq modprobe sch_htb modprobe -r sch_htb and watch your logs. gypsy _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc