Hello, I have been experimenting with htb+imq, and while adding/removing rules got a kernel oops (machine frozen, only sysrq worked). Last entries in the kernel log: Oct 11 13:25:50 mach2 kernel: HTB init, kernel part version 3.6 Oct 11 13:25:50 mach2 kernel: htb*g j=111462262 Oct 11 13:25:50 mach2 kernel: htb*r7 m=0 Oct 11 13:25:50 mach2 kernel: htb*r6 m=0 Oct 11 13:25:50 mach2 kernel: htb*r5 m=0 Oct 11 13:25:50 mach2 kernel: htb*r4 m=0 Oct 11 13:25:50 mach2 kernel: htb*r3 m=0 Oct 11 13:25:50 mach2 kernel: htb*r2 m=0 Oct 11 13:25:50 mach2 kernel: htb*r1 m=0 Oct 11 13:25:50 mach2 kernel: htb*r0 m=0 Oct 11 13:26:03 mach2 kernel: HTB: quantum of class 10001 is small. Consider r2q change. <4>HTB: quantum of class 10010 is small. Consider r2q change. <4>HTB: quantum of class 10020 is small. Consider r2q change. <4>HTB: quantum of class 10100 is small. Consider r2q change. <4>HTB: quantum of class 10200 is small. Consider r2q change. <7>retrans_out leaked. Oct 11 13:26:03 mach2 kernel: retrans_out leaked. Oct 11 13:26:03 mach2 kernel: retrans_out leaked. Oct 11 13:31:05 mach2 kernel: retrans_out leaked. Any hints on what could have caused the machine to hang? Thank you very much. PS. kernel 2.4.18 + imq-2.4.18.diff-10.1 + htb3.6_2.4.17, on a slackware 8.0 system. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Fri, 11 Oct 2002, Razvan Cosma wrote:> I have been experimenting with htb+imq, and while adding/removing > rules got a kernel oops (machine frozen, only sysrq worked).I cant help You but I have also problems, system hangs after some time of work [day or two]. I am not sure if its IMQ but I suppose it''s. Probably be sure after more tests. [system hangs without an oops and sysrq doesn''t work] Regards tw -- ---------------- ck.eter.tym.pl "Never let shooling disturb Your education" _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Fri, 11 Oct 2002, Tomasz Wrona wrote:> On Fri, 11 Oct 2002, Razvan Cosma wrote: > > > I have been experimenting with htb+imq, and while adding/removing > > rules got a kernel oops (machine frozen, only sysrq worked). > > I cant help You but I have also problems, system hangs after some time of > work [day or two]. I am not sure if its IMQ but I suppose it''s. Probably > be sure after more tests. [system hangs without an oops and sysrq doesn''t > work] > > Regards > tw >Found the problem (or at least I think so) - the PREROUTING and POSTROUTING rules need to be attached to different imq devices. Thank you Ciprian Niculescu. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Razvan Cosma wrote:> On Fri, 11 Oct 2002, Tomasz Wrona wrote: > > >>On Fri, 11 Oct 2002, Razvan Cosma wrote: >> >> >>> I have been experimenting with htb+imq, and while adding/removing >>>rules got a kernel oops (machine frozen, only sysrq worked). >> >>I cant help You but I have also problems, system hangs after some time of >>work [day or two]. I am not sure if its IMQ but I suppose it''s. Probably >>be sure after more tests. [system hangs without an oops and sysrq doesn''t >>work] >> >>Regards >>tw >> > > Found the problem (or at least I think so) - the PREROUTING and > POSTROUTING rules need to be attached to different imq devices. Thank > you Ciprian Niculescu. >you''re welcome, but i don''t remember helping you C P.S. esti si pe rlug parca? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Dear Gurus I am trying HTB (first time) and this floated: # tchtb qdisc add dev eth0 root handle 1: htb default 12 RTNETLINK answers: Invalid argument # (tchtb is the tc program I downloaded from HTB home page - I renamed it so I can have both tc''s - currently I use iproute2-2.4.7-now-ss020116-try - don''t know if it already supports HTB) But this works like a charm: # tchtb qdisc add dev eth0 root handle 1: cbq bandwidth 10Mbit avpkt 1000 # (No erros or warnings!) # uname -a Linux inte 2.4.20-pre10 #6 Sat Oct 12 20:51:34 BRT 2002 i586 unknown # grep HTB /usr/src/linux/.config CONFIG_NET_SCH_HTB=y .config says: (I set all QoS to Y - no modules) # # QoS and/or fair queueing # CONFIG_NET_SCHED=y CONFIG_NET_SCH_CBQ=y CONFIG_NET_SCH_HTB=y CONFIG_NET_SCH_CSZ=y CONFIG_NET_SCH_PRIO=y CONFIG_NET_SCH_RED=y CONFIG_NET_SCH_SFQ=y CONFIG_NET_SCH_TEQL=y CONFIG_NET_SCH_TBF=y There is no CONFIG_NETLINK option to set running menuconfig Any soul to the rescue? Regards Ethy H. Brito /"\ InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML +55 (12) 3941-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL S.J.Campos - Brasil / \ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Sunday 13 October 2002 02:13, Ethy H. Brito wrote: Hi Ethy,> (tchtb is the tc program I downloaded from HTB home page - I renamed it so > I can have both tc''s - currently I use iproute2-2.4.7-now-ss020116-try - > don''t know if it already supports HTB)wrong. Download: http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz and use the tc binary in it. -- Kind regards Marc-Christian Petersen http://sourceforge.net/projects/wolk PGP/GnuPG Key: 1024D/569DE2E3DB441A16 Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16 Key available at www.keyserver.net. Encrypted e-mail preferred. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Sun, 13 Oct 2002, Marc-Christian Petersen wrote:> On Sunday 13 October 2002 02:13, Ethy H. Brito wrote: > > Hi Ethy, > > > (tchtb is the tc program I downloaded from HTB home page - I renamed it so > > I can have both tc''s - currently I use iproute2-2.4.7-now-ss020116-try - > > don''t know if it already supports HTB) > wrong. > > Download: http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz > > and use the tc binary in it.Worked like a charm. Thank you Regards Ethy H. Brito /"\ InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML +55 (12) 3941-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL S.J.Campos - Brasil / \ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> On Sunday 13 October 2002 02:13, Ethy H. Brito wrote: > > Download: http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz > > and use the tc binary in it.Hello, I am trying to get htb working on a Mandrake 8.2 machine. The tc that comes with the distro doesn''t work, so I downloaded the above and tried it, but it also didn''t work. here is some info about my system. [root@dw jtwatson]# cat /boot/config | grep HTB CONFIG_NET_SCH_HTB=m [root@dw jtwatson]# uname -a Linux 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i586 unknown [root@dwwireless jtwatson]# lsmod Module Size Used by Not tainted sch_htb 12960 0 (autoclean) (unused) ..... All looks good to me, I have the new tc binary in the current directory, and issue the following command: [root@dw jtwatson]# ./tc qdisc add dev eth1 root handle 1: htb default 12 RTNETLINK answers: Invalid argument I tried the very same thing on a Mandrake 9.0 machine and it worked great. Any suggestions would be great!! I am trying to accomplish the following: tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1: classid 1:1 htb rate 1500kbps ceil 1500kbps tc class add dev eth0 parent 1:1 classid 1:10 htb rate 256kbps ceil 256kbps tc class add dev eth0 parent 1:1 classid 1:11 htb rate 256kbps ceil 256kbps tc class add dev eth0 parent 1:1 classid 1:12 htb rate 256kbps ceil 256kbps ... tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 \ match ip src 1.2.3.4 flowid 1:10 tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 \ match ip src 1.2.3.5 flowid 1:11 tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 \ match ip src 1.2.3.6 flowid 1:12 ... Can this be done with another qdisc??? -- Regards Joseph Watson _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Sun, 20 Oct 2002, Joseph Watson wrote:> [root@dw jtwatson]# uname -a > Linux 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i586 unknown > [root@dwwireless jtwatson]# lsmod > Module Size Used by Not tainted > sch_htb 12960 0 (autoclean) (unused) > ..... > > All looks good to me, I have the new tc binary in the current directory, and > issue the following command: > > [root@dw jtwatson]# ./tc qdisc add dev eth1 root handle 1: htb default 12 > RTNETLINK answers: Invalid argumentFrom "Changes" on the HTB homepage: * 15.8.2002 o HTB included in 2.4.20pre1 and next 2.5.x patch. You''re using kernel 2.4.18. Perhaps it does not include the HTB v3.6 patch, only HTB2. Then the kernel module would not understand the "new" HTB3 tc commands. Check your kernel syslog messages! 2.4.20pre10 gives me the following: kernel: HTB init,kernel part version 3.7 Walter _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/