From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Nychis Date: Wed, 24 May 2006 01:04:24 +0000 Subject: Re: [LARTC] how to debug RTNETLINK invalid argument? Message-Id: <4473B118.3070405@cmu.edu> List-Id: References: <44733597.4000208@cmu.edu> In-Reply-To: <44733597.4000208@cmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Larry Brigman wrote: > On 5/23/06, George Nychis wrote: >> Larry Brigman wrote: >> > On 5/23/06, George Nychis wrote: >> >> Larry Brigman wrote: >> >> > On 5/23/06, George Nychis wrote: >> >> >> Hey, >> >> >> >> >> >> I am getting an invalid argument trying to insert a qdisc: >> >> >> >> >> >> [root@emu-5 iproute2]# tc qdisc add dev eth0 root xcp capacity >> 50Mbit >> >> >> limit 500 >> >> >> RTNETLINK answers: Invalid argument >> >> >> >> >> >> I'm not sure whats wrong here, because i can successfully insert >> this >> >> >> qdisc on other computers of mine. >> >> >> >> >> >> How can i debug this? >> >> >> >> >> > Check to see which kernel versions you have on the boxes that >> work and >> >> > the one that >> >> > does not. Also check to see if you have the latest version of >> >> > iproute2 installed on the >> >> > machine that does not work. >> >> > >> >> >> >> They are both running the exact same kernel and version of iproute2, >> >> however they are in different environments, what could the environment >> >> have to do with it? >> >> >> > Modules that are not loaded? modprobe.conf? >> > lsmod on both boxes looking for specific networking modules. >> > >> >> What modules would qdisc's be dependent on? The weird thing is, netem >> works on both machines... therefore I know qdisc's in general are >> working. Lets just say its not working on my other machine, how do i go >> about debugging it on the one machine alone? >> > > Has the tc command been changed recently from your customized version back > to the standard release (ie yum running via cron) or your environment > path changed to > pick up the wrong tc command? > the tc I am using is the standard tc, i didn't change anything about tc, only trying to use a new custom qdisc with it... i'm not sure honestly, theres no way to figure out why i'm getting the invalid argument? _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc