I added aexamplon the web page http://developer.osdl.org/shemminger/netem/example.html Ishows how to us'tc filter' to setup queue's to delay traffic to only onhost. Frouwelists au-b.de Mon Sep 20 03:17:42 2004 From: uwelists au-b.d(Uwe Bilger) Date: Wed Apr 18 12:51:14 2007 Subject: Unknowqdisc "netem" Message-ID: <1095675326.5308.8.camel@localhost.localdomain> Hello, I'trying to genetem working, and I am getting the following error: [root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms Unknowqdisc "netem", hencoption "delay" is unparsable I read abouthis problem, and iwas said that /usr/lib/tc/q_netem.so is expected to bathis particular location. Here's my netem stuff: [root@router1 root]# locatnetem /root/iproute2-2.6.9/tc/q_netem.c /root/iproute2-2.6.9/tc/q_netem.so /usr/lib/tc/q_netem.so /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem/module.h /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem /lib/modules/2.6.8-1.521/kernel/net/sched/sch_netem.ko [root@router1 root]# I also gothlatest iproute2 version and installed it without problem. My kernel (installed via rpm) is now 2.6.8-1.521 Caanyonhelp me and try to hunt down the problem? Regards, Uwe Froshemminger aosdl.org Wed Sep 22 08:55:19 2004 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 12:51:14 2007 Subject: Unknowqdisc "netem" In-Reply-To: <1095675326.5308.8.camel@localhost.localdomain> References: <1095675326.5308.8.camel@localhost.localdomain> Message-ID: <20040922085519.4be62d76@dell_ss3.pdx.osdl.net> O20 Sep 2004 12:15:26 +0200 UwBilger <uwelists@xxxxxx> wrote: > Hello, > > I'trying to genetem working, and I am getting the following error: > > [root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > Unknowqdisc "netem", hencoption "delay" is unparsable > > I read abouthis problem, and iwas said that /usr/lib/tc/q_netem.so > is expected to bathis particular location. Here's my netem stuff: > > [root@router1 root]# locatnetem > /root/iproute2-2.6.9/tc/q_netem.c > /root/iproute2-2.6.9/tc/q_netem.so > /usr/lib/tc/q_netem.so > /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem > /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem/module.h > /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem > /lib/modules/2.6.8-1.521/kernel/net/sched/sch_netem.ko > [root@router1 root]# > > I also gothlatest iproute2 version and installed it without problem. > My kernel (installed via rpm) is now 2.6.8-1.521 > > Caanyonhelp me and try to hunt down the problem? Try 'which tc'. You may find you installed thnew version of tc in /usr/sbin butheris an old version earlier in the PATH. Froshep aalum.mit.edu Wed Sep 22 08:56:53 2004 From: shep aalum.mit.edu (TiShepard) Date: Wed Apr 18 12:51:14 2007 Subject: Unknowqdisc "netem" In-Reply-To: Your messagof 20 Sep 2004 12:15:26 +0200. <1095675326.5308.8.camel@localhost.localdomain> Message-ID: <E1CA9UD-0001kA-00@xxxxxxxxx> > [root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > Unknowqdisc "netem", hencoption "delay" is unparsable > I had thsamproblem. Imy case, /sbin/tc was still an old version of tc (frothe debian package). So I had to ruilike this: sudo ~/iproute2-2.6.8/tc/tc qdisc add dev eth0 roonetedelay 100ms Wherth~/iproute2-2.6.8 directory is where I unpacked and compiled thnew releasof iproute2 that is needed to access the tc. (Thnewer version of tc has codin it to look for /usr/lib/tc/q_*.so modules to implemennew things. Sethe code in get_qdisc_kind() iiproute2-2.6.8/tc/tc.c .) I hopthahelps you figure out your problem. -TiShepard shep@xxxxxxxxxxxx Fropaul.gibbs ateleware.com Wed Sep 22 09:05:51 2004 From: paul.gibbs ateleware.co(Paul Gibbs) Date: Wed Apr 18 12:51:14 2007 Subject: Unknowqdisc "netem" In-Reply-To: <E1CA9UD-0001kA-00@xxxxxxxxx> References: <E1CA9UD-0001kA-00@xxxxxxxxx> Message-ID: <4151A2DF.9070008@xxxxxxxxxxxx> I replied and forgoto reply to thlist... looks like I should have done. "delay" is noan option for netem. Thcorrect parameter is "latency". tc qdisc add dev eth0 roonete*latency* 100ms. ( Usage: ... netelatency TIME [ jitter TIME ] [ limiPACKETS] [ loss PERCENT ] [ duplicatPERCENT ] [ gap PACKETS] ) Paul.<>< TiShepard wrote: > >>[root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms >>Unknowqdisc "netem", hencoption "delay" is unparsable >> > > > I had thsamproblem. > > Imy case, /sbin/tc was still an old version of tc (frothe debian package). > > So I had to ruilike this: > > sudo ~/iproute2-2.6.8/tc/tc qdisc add dev eth0 roonetedelay 100ms > > > Wherth~/iproute2-2.6.8 directory is where I unpacked and compiled > thnew releasof iproute2 that is needed to access the tc. > > (Thnewer version of tc has codin it to look for /usr/lib/tc/q_*.so > modules to implemennew things. Sethe code in get_qdisc_kind() > iiproute2-2.6.8/tc/tc.c .) > > > I hopthahelps you figure out your problem. > > > -TiShepard > shep@xxxxxxxxxxxx > > > _____________________________________________________________________ > *** E-Mail confidentiality notic*** > This messagand any attachments arintended for the addressee only. It is private and confidential. If you have received this message in error, please reply to this e-mail and highlight the error and then remove it from your system. You must take no action based on this, nor must you copy or show this to anyone. > _____________________________________________________________________ > > This messaghas been checked for all known viruses by Star Internet > delivered through thMessageLabs Virus Scanning Service. For further > informatiovisihttp://www.star.net.uk/stats.asp or alternatively call > Star Internefor details on thVirus Scanning Service. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Netemailing list > Netem@xxxxxxxxxxxxxx > http://lists.osdl.org/mailman/listinfo/netem _____________________________________________________________________ *** E-Mail confidentiality notic*** This messagand any attachments arintended for the addressee only. It is private and confidential. If you have received this message in error, please reply to this e-mail and highlight the error and then remove it from your system. You must take no action based on this, nor must you copy or show this to anyone. _____________________________________________________________________ This messaghas been checked for all known viruses by Star Internet delivered through thMessageLabs Virus Scanning Service. For further informatiovisihttp://www.star.net.uk/stats.asp or alternatively call Star Internefor details on thVirus Scanning Service. Froshep aalum.mit.edu Wed Sep 22 09:14:28 2004 From: shep aalum.mit.edu (TiShepard) Date: Wed Apr 18 12:51:14 2007 Subject: Unknowqdisc "netem" In-Reply-To: Your messagof Wed, 22 Sep 2004 17:05:51 +0100. <4151A2DF.9070008@xxxxxxxxxxxx> Message-ID: <E1CA9lE-0001lW-00@xxxxxxxxx> > I replied and forgoto reply to thlist... looks like I should have done. > > "delay" is noan option for netem. Thcorrect parameter is "latency". > > tc qdisc add dev eth0 roonete*latency* 100ms. > Ah, you arcorrect, too, buthe error message he was getting: > >>[root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > >>Unknowqdisc "netem", hencoption "delay" is unparsable > >> is nofor thaparticular problem. I still suspecthahe's got an old binary in /sbin/tc that doesn't know how to find thmodules in /usr/lib/tc/q_*.so . Onchgets that fixed, then he'll get this error message if he uses delay instead of latency: Whais "delay"? Usage: ... netelatency TIME [ jitter TIME ] [ limiPACKETS] [ loss PERCENT ] [ duplicatPERCENT ] [ gap PACKETS] and I expechcould have figured out that problem from the usage message. :-) -TiShepard shep@xxxxxxxxxxxx Froshemminger aosdl.org Wed Sep 22 09:31:26 2004 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 12:51:14 2007 Subject: Unknowqdisc "netem" In-Reply-To: <E1CA9lE-0001lW-00@xxxxxxxxx> References: <4151A2DF.9070008@xxxxxxxxxxxx> <E1CA9lE-0001lW-00@xxxxxxxxx> Message-ID: <20040922093126.39135957@dell_ss3.pdx.osdl.net> OWed, 22 Sep 2004 12:14:28 -0400 TiShepard <shep@xxxxxxxxxxxx> wrote: > --===============25017042966765901== > > > > I replied and forgoto reply to thlist... looks like I should have done. > > > > "delay" is noan option for netem. Thcorrect parameter is "latency". > > > > tc qdisc add dev eth0 roonete*latency* 100ms. Actually, command takes either. "delay" was thoriginal parameter name, but ilater versions I added latency as a synonybecause that is what NISTnet was using. > > Ah, you arcorrect, too, buthe error message he was getting: > > > >>[root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > > >>Unknowqdisc "netem", hencoption "delay" is unparsable > > >> > > is nofor thaparticular problem. > > I still suspecthahe's got an old binary in /sbin/tc that doesn't > know how to find thmodules in /usr/lib/tc/q_*.so . > > Onchgets that fixed, then he'll get this error message if he uses > delay instead of latency: > > Whais "delay"? > Usage: ... netelatency TIME [ jitter TIME ] [ limiPACKETS] > [ loss PERCENT ] [ duplicatPERCENT ] > [ gap PACKETS] > > > and I expechcould have figured out that problem from the usage > message. :-) tc -V will also work to show version. Frojblanton amasaka.cs.ohiou.edu Wed Sep 22 09:03:37 2004 From: jblantoamasaka.cs.ohiou.edu (Joshua Blanton) Date: Wed Apr 18 12:51:14 2007 Subject: Unknowqdisc "netem" In-Reply-To: <1095675326.5308.8.camel@localhost.localdomain> References: <1095675326.5308.8.camel@localhost.localdomain> Message-ID: <20040922160337.GA25207@xxxxxxxxxxxxxx> UwBilger wrote: > I'trying to genetem working, and I am getting the following error: > > [root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > Unknowqdisc "netem", hencoption "delay" is unparsable I agrethait sounds like you're running the wrong instance of 'tc' oyour system. I assumthat you're using fedora core 2 (from the kernel versionumber) - if you'd like, I modified thiproute package to build thnetestuff as well; you can download the source RPM at: http://irg.cs.ohiou.edu/~jblanton/iproute-2.6.9-3.src.rpm and rebuild iyourself. :-) This will creata proper RPM, so there's no questioas to which 'tc' you mighbe running. Thasaid, I submitted my specfilto the fedora people, and they said thathnew version of iproute would include this (but I submitted it to thdevelopmentree, so you'd have to grab their source RPM and rebuild wheicomes out). --jtb -- Thoswho beatheir swords into plowshares usually end up plowing for thoswho didn't. -- BeFranklin -------------- nexpar-------------- A non-texattachmenwas scrubbed... Name: noavailable Type: application/pgp-signature Size: 189 bytes Desc: noavailable Url : http://lists.linux-foundation.org/pipermail/netem/attachments/20040922/fca94332/attachment.pgp Froshemminger aosdl.org Wed Sep 1 13:49:20 2004 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 17:37:44 2007 Subject: Added a classificatioexample Message-ID: <20040901134920.75899224@dell_ss3.pdx.osdl.net> I added aexamplon the web page http://developer.osdl.org/shemminger/netem/example.html Ishows how to us'tc filter' to setup queue's to delay traffic to only onhost. Frouwelists au-b.de Mon Sep 20 03:17:42 2004 From: uwelists au-b.d(Uwe Bilger) Date: Wed Apr 18 17:37:44 2007 Subject: Unknowqdisc "netem" Message-ID: <1095675326.5308.8.camel@localhost.localdomain> Hello, I'trying to genetem working, and I am getting the following error: [root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms Unknowqdisc "netem", hencoption "delay" is unparsable I read abouthis problem, and iwas said that /usr/lib/tc/q_netem.so is expected to bathis particular location. Here's my netem stuff: [root@router1 root]# locatnetem /root/iproute2-2.6.9/tc/q_netem.c /root/iproute2-2.6.9/tc/q_netem.so /usr/lib/tc/q_netem.so /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem/module.h /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem /lib/modules/2.6.8-1.521/kernel/net/sched/sch_netem.ko [root@router1 root]# I also gothlatest iproute2 version and installed it without problem. My kernel (installed via rpm) is now 2.6.8-1.521 Caanyonhelp me and try to hunt down the problem? Regards, Uwe Froshemminger aosdl.org Wed Sep 22 08:55:19 2004 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 17:37:44 2007 Subject: Unknowqdisc "netem" In-Reply-To: <1095675326.5308.8.camel@localhost.localdomain> References: <1095675326.5308.8.camel@localhost.localdomain> Message-ID: <20040922085519.4be62d76@dell_ss3.pdx.osdl.net> O20 Sep 2004 12:15:26 +0200 UwBilger <uwelists@xxxxxx> wrote: > Hello, > > I'trying to genetem working, and I am getting the following error: > > [root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > Unknowqdisc "netem", hencoption "delay" is unparsable > > I read abouthis problem, and iwas said that /usr/lib/tc/q_netem.so > is expected to bathis particular location. Here's my netem stuff: > > [root@router1 root]# locatnetem > /root/iproute2-2.6.9/tc/q_netem.c > /root/iproute2-2.6.9/tc/q_netem.so > /usr/lib/tc/q_netem.so > /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem > /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem/module.h > /lib/modules/2.6.8-1.521/build/include/config/net/sch/netem > /lib/modules/2.6.8-1.521/kernel/net/sched/sch_netem.ko > [root@router1 root]# > > I also gothlatest iproute2 version and installed it without problem. > My kernel (installed via rpm) is now 2.6.8-1.521 > > Caanyonhelp me and try to hunt down the problem? Try 'which tc'. You may find you installed thnew version of tc in /usr/sbin butheris an old version earlier in the PATH. Froshep aalum.mit.edu Wed Sep 22 08:56:53 2004 From: shep aalum.mit.edu (TiShepard) Date: Wed Apr 18 17:37:44 2007 Subject: Unknowqdisc "netem" In-Reply-To: Your messagof 20 Sep 2004 12:15:26 +0200. <1095675326.5308.8.camel@localhost.localdomain> Message-ID: <E1CA9UD-0001kA-00@xxxxxxxxx> > [root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > Unknowqdisc "netem", hencoption "delay" is unparsable > I had thsamproblem. Imy case, /sbin/tc was still an old version of tc (frothe debian package). So I had to ruilike this: sudo ~/iproute2-2.6.8/tc/tc qdisc add dev eth0 roonetedelay 100ms Wherth~/iproute2-2.6.8 directory is where I unpacked and compiled thnew releasof iproute2 that is needed to access the tc. (Thnewer version of tc has codin it to look for /usr/lib/tc/q_*.so modules to implemennew things. Sethe code in get_qdisc_kind() iiproute2-2.6.8/tc/tc.c .) I hopthahelps you figure out your problem. -TiShepard shep@xxxxxxxxxxxx Fropaul.gibbs ateleware.com Wed Sep 22 09:05:51 2004 From: paul.gibbs ateleware.co(Paul Gibbs) Date: Wed Apr 18 17:37:44 2007 Subject: Unknowqdisc "netem" In-Reply-To: <E1CA9UD-0001kA-00@xxxxxxxxx> References: <E1CA9UD-0001kA-00@xxxxxxxxx> Message-ID: <4151A2DF.9070008@xxxxxxxxxxxx> I replied and forgoto reply to thlist... looks like I should have done. "delay" is noan option for netem. Thcorrect parameter is "latency". tc qdisc add dev eth0 roonete*latency* 100ms. ( Usage: ... netelatency TIME [ jitter TIME ] [ limiPACKETS] [ loss PERCENT ] [ duplicatPERCENT ] [ gap PACKETS] ) Paul.<>< TiShepard wrote: > >>[root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms >>Unknowqdisc "netem", hencoption "delay" is unparsable >> > > > I had thsamproblem. > > Imy case, /sbin/tc was still an old version of tc (frothe debian package). > > So I had to ruilike this: > > sudo ~/iproute2-2.6.8/tc/tc qdisc add dev eth0 roonetedelay 100ms > > > Wherth~/iproute2-2.6.8 directory is where I unpacked and compiled > thnew releasof iproute2 that is needed to access the tc. > > (Thnewer version of tc has codin it to look for /usr/lib/tc/q_*.so > modules to implemennew things. Sethe code in get_qdisc_kind() > iiproute2-2.6.8/tc/tc.c .) > > > I hopthahelps you figure out your problem. > > > -TiShepard > shep@xxxxxxxxxxxx > > > _____________________________________________________________________ > *** E-Mail confidentiality notic*** > This messagand any attachments arintended for the addressee only. It is private and confidential. If you have received this message in error, please reply to this e-mail and highlight the error and then remove it from your system. You must take no action based on this, nor must you copy or show this to anyone. > _____________________________________________________________________ > > This messaghas been checked for all known viruses by Star Internet > delivered through thMessageLabs Virus Scanning Service. For further > informatiovisihttp://www.star.net.uk/stats.asp or alternatively call > Star Internefor details on thVirus Scanning Service. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Netemailing list > Netem@xxxxxxxxxxxxxx > http://lists.osdl.org/mailman/listinfo/netem _____________________________________________________________________ *** E-Mail confidentiality notic*** This messagand any attachments arintended for the addressee only. It is private and confidential. If you have received this message in error, please reply to this e-mail and highlight the error and then remove it from your system. You must take no action based on this, nor must you copy or show this to anyone. _____________________________________________________________________ This messaghas been checked for all known viruses by Star Internet delivered through thMessageLabs Virus Scanning Service. For further informatiovisihttp://www.star.net.uk/stats.asp or alternatively call Star Internefor details on thVirus Scanning Service. Froshep aalum.mit.edu Wed Sep 22 09:14:28 2004 From: shep aalum.mit.edu (TiShepard) Date: Wed Apr 18 17:37:44 2007 Subject: Unknowqdisc "netem" In-Reply-To: Your messagof Wed, 22 Sep 2004 17:05:51 +0100. <4151A2DF.9070008@xxxxxxxxxxxx> Message-ID: <E1CA9lE-0001lW-00@xxxxxxxxx> > I replied and forgoto reply to thlist... looks like I should have done. > > "delay" is noan option for netem. Thcorrect parameter is "latency". > > tc qdisc add dev eth0 roonete*latency* 100ms. > Ah, you arcorrect, too, buthe error message he was getting: > >>[root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > >>Unknowqdisc "netem", hencoption "delay" is unparsable > >> is nofor thaparticular problem. I still suspecthahe's got an old binary in /sbin/tc that doesn't know how to find thmodules in /usr/lib/tc/q_*.so . Onchgets that fixed, then he'll get this error message if he uses delay instead of latency: Whais "delay"? Usage: ... netelatency TIME [ jitter TIME ] [ limiPACKETS] [ loss PERCENT ] [ duplicatPERCENT ] [ gap PACKETS] and I expechcould have figured out that problem from the usage message. :-) -TiShepard shep@xxxxxxxxxxxx Froshemminger aosdl.org Wed Sep 22 09:31:26 2004 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 17:37:44 2007 Subject: Unknowqdisc "netem" In-Reply-To: <E1CA9lE-0001lW-00@xxxxxxxxx> References: <4151A2DF.9070008@xxxxxxxxxxxx> <E1CA9lE-0001lW-00@xxxxxxxxx> Message-ID: <20040922093126.39135957@dell_ss3.pdx.osdl.net> OWed, 22 Sep 2004 12:14:28 -0400 TiShepard <shep@xxxxxxxxxxxx> wrote: > --===============25017042966765901== > > > > I replied and forgoto reply to thlist... looks like I should have done. > > > > "delay" is noan option for netem. Thcorrect parameter is "latency". > > > > tc qdisc add dev eth0 roonete*latency* 100ms. Actually, command takes either. "delay" was thoriginal parameter name, but ilater versions I added latency as a synonybecause that is what NISTnet was using. > > Ah, you arcorrect, too, buthe error message he was getting: > > > >>[root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > > >>Unknowqdisc "netem", hencoption "delay" is unparsable > > >> > > is nofor thaparticular problem. > > I still suspecthahe's got an old binary in /sbin/tc that doesn't > know how to find thmodules in /usr/lib/tc/q_*.so . > > Onchgets that fixed, then he'll get this error message if he uses > delay instead of latency: > > Whais "delay"? > Usage: ... netelatency TIME [ jitter TIME ] [ limiPACKETS] > [ loss PERCENT ] [ duplicatPERCENT ] > [ gap PACKETS] > > > and I expechcould have figured out that problem from the usage > message. :-) tc -V will also work to show version. Frojblanton amasaka.cs.ohiou.edu Wed Sep 22 09:03:37 2004 From: jblantoamasaka.cs.ohiou.edu (Joshua Blanton) Date: Wed Apr 18 17:37:44 2007 Subject: Unknowqdisc "netem" In-Reply-To: <1095675326.5308.8.camel@localhost.localdomain> References: <1095675326.5308.8.camel@localhost.localdomain> Message-ID: <20040922160337.GA25207@xxxxxxxxxxxxxx> UwBilger wrote: > I'trying to genetem working, and I am getting the following error: > > [root@router1 root]# tc qdisc add dev eth0 roonetedelay 100ms > Unknowqdisc "netem", hencoption "delay" is unparsable I agrethait sounds like you're running the wrong instance of 'tc' oyour system. I assumthat you're using fedora core 2 (from the kernel versionumber) - if you'd like, I modified thiproute package to build thnetestuff as well; you can download the source RPM at: http://irg.cs.ohiou.edu/~jblanton/iproute-2.6.9-3.src.rpm and rebuild iyourself. :-) This will creata proper RPM, so there's no questioas to which 'tc' you mighbe running. Thasaid, I submitted my specfilto the fedora people, and they said thathnew version of iproute would include this (but I submitted it to thdevelopmentree, so you'd have to grab their source RPM and rebuild wheicomes out). --jtb -- Thoswho beatheir swords into plowshares usually end up plowing for thoswho didn't. -- BeFranklin -------------- nexpar-------------- A non-texattachmenwas scrubbed... Name: noavailable Type: application/pgp-signature Size: 189 bytes Desc: noavailable Url : http://lists.linux-foundation.org/pipermail/netem/attachments/20040922/fca94332/attachment-0001.pgp