imq0 not being detected
mdew:~# tc qdisc add dev imq0 handle 1: root htb default 12 r2q 1 Cannot find device "imq0" mdew:~# lsmod Module Size Used by Not tainted ipt_REDIRECT 728 0 (autoclean) ipt_MARK 728 2 (autoclean) iptable_mangle 2100 1 (autoclean) ipt_REJECT 2712 4 (autoclean) iptable_filter 1672 1 (autoclean) ip_nat_ftp 3760 0 (unused) ip_conntrack_ftp 3616 0 [ip_nat_ftp] ip_nat_irc 3024 0 (unused) iptable_nat 19608 3 [ipt_REDIRECT ip_nat_ftp ip_nat_irc] ip_conntrack_irc 2720 0 [ip_nat_irc] ip_conntrack 21372 3 [ipt_REDIRECT ip_nat_ftp ip_conntrack_ftp ip_nat rc iptable_nat ip_conntrack_irc] keybdev 1632 0 (unused) 8139too 12904 2 mdew:~# modprobe ipt_IMQ mdew:~# tc qdisc add dev imq0 handle 1: root htb default 12 r2q 1 Cannot find device "imq0" mdew:~# lsmod Module Size Used by Not tainted ipt_IMQ 760 0 (unused) ipt_REDIRECT 728 0 (autoclean) ipt_MARK 728 2 (autoclean) iptable_mangle 2100 1 (autoclean) ipt_REJECT 2712 4 (autoclean) iptable_filter 1672 1 (autoclean) ip_nat_ftp 3760 0 (unused) ip_conntrack_ftp 3616 0 [ip_nat_ftp] ip_nat_irc 3024 0 (unused) iptable_nat 19608 3 [ipt_REDIRECT ip_nat_ftp ip_nat_irc] ip_conntrack_irc 2720 0 [ip_nat_irc] ip_conntrack 21372 3 [ipt_REDIRECT ip_nat_ftp ip_conntrack_ftp ip_nat rc iptable_nat ip_conntrack_irc] keybdev 1632 0 (unused) 8139too 12904 2 mdew:~# modprobe imq mdew:~# tc qdisc add dev imq0 handle 1: root htb default 12 r2q 1 RTNETLINK answers: Invalid argument
(imq/htb kernel and iptables patch applied)
ip_conntrack (992 buckets, 7936 max)
imq driver loaded.
HTB init, kernel part version 3.6
HTB: need tc/htb version 3 (minor is 6), you have 1 HTB init, kernel part version 3.6
HTB: need tc/htb version 3 (minor is 6), you have 1 HTB init, kernel part version 3.6
HTB: need tc/htb version 3 (minor is 6), you have 1 HTB init, kernel part version 3.6
HTB: need tc/htb version 3 (minor is 6), you have 10
from dmesg.. what version of htb is needed? Im using 3.6 (well i think)
Quoted 47 lines · mdew
mdew:~# tc qdisc add dev imq0 handle 1: root htb default 12 r2q 1 Cannot find device "imq0" mdew:~# lsmod Module Size Used by Not tainted ipt_REDIRECT 728 0 (autoclean) ipt_MARK 728 2 (autoclean) iptable_mangle 2100 1 (autoclean) ipt_REJECT 2712 4 (autoclean) iptable_filter 1672 1 (autoclean) ip_nat_ftp 3760 0 (unused) ip_conntrack_ftp 3616 0 [ip_nat_ftp] ip_nat_irc 3024 0 (unused) iptable_nat 19608 3 [ipt_REDIRECT ip_nat_ftp ip_nat_irc] ip_conntrack_irc 2720 0 [ip_nat_irc] ip_conntrack 21372 3 [ipt_REDIRECT ip_nat_ftp ip_conntrack_ftp ip_nat rc iptable_nat ip_conntrack_irc] keybdev 1632 0 (unused) 8139too 12904 2 mdew:~# modprobe ipt_IMQ mdew:~# tc qdisc add dev imq0 handle 1: root htb default 12 r2q 1 Cannot find device "imq0" mdew:~# lsmod Module Size Used by Not tainted ipt_IMQ 760 0 (unused) ipt_REDIRECT 728 0 (autoclean) ipt_MARK 728 2 (autoclean) iptable_mangle 2100 1 (autoclean) ipt_REJECT 2712 4 (autoclean) iptable_filter 1672 1 (autoclean) ip_nat_ftp 3760 0 (unused) ip_conntrack_ftp 3616 0 [ip_nat_ftp] ip_nat_irc 3024 0 (unused) iptable_nat 19608 3 [ipt_REDIRECT ip_nat_ftp ip_nat_irc] ip_conntrack_irc 2720 0 [ip_nat_irc] ip_conntrack 21372 3 [ipt_REDIRECT ip_nat_ftp ip_conntrack_ftp ip_nat rc iptable_nat ip_conntrack_irc] keybdev 1632 0 (unused) 8139too 12904 2 mdew:~# modprobe imq mdew:~# tc qdisc add dev imq0 handle 1: root htb default 12 r2q 1 RTNETLINK answers: Invalid argument(imq/htb kernel and iptables patch applied)
Quoted 3 lines · mdew
HTB init, kernel part version 3.6
HTB: need tc/htb version 3 (minor is 6), you have 10
As the messages say, it seems like a version mismatch between the kernel an userspace (tc) side of HTB. Get HTB3 from:
http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz
The tarball includes two patches, one for the kernel and the other for tc (as well as a precompiled "tc" binary"):
-rw-rw-r-- devik/devik 53438 2002-05-25 11:15:45 htb3.6_2.4.17.diff
-rw-rw-r-- devik/devik 9302 2002-05-25 11:11:58 htb3.6_tc.diff
-rwxrwxr-x devik/devik 101992 2002-05-12 22:26:53 tc
Kernel versions 2.4.20-pre1 and up include HTB3 by default.
Signature · 5 lines
Jose Luis Domingo Lopez Linux Registered User #189436 Debian Linux Woody (Linux 2.4.19-pre6aa1) _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 16 lines · Jose Luis Domingo Lopez
Quoted 3 lines · mdew
HTB init, kernel part version 3.6
HTB: need tc/htb version 3 (minor is 6), you have 10As the messages say, it seems like a version mismatch between the kernel an userspace (tc) side of HTB. Get HTB3 from:
http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgzThe tarball includes two patches, one for the kernel and the other for tc (as well as a precompiled "tc" binary"):
(quoted diff) +0
-3-rw-rw-r-- devik/devik 53438 2002-05-25 11:15:45 htb3.6_2.4.17.diff -rw-rw-r-- devik/devik 9302 2002-05-25 11:11:58 htb3.6_tc.diff -rwxrwxr-x devik/devik 101992 2002-05-12 22:26:53 tc
Quoted 8 lines
Kernel versions 2.4.20-pre1 and up include HTB3 by default.
Signature · 5 lines
Jose Luis Domingo Lopez Linux Registered User #189436 Debian Linux Woody (Linux 2.4.19-pre6aa1) _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Im still having the same problems with HTB, I've upgraded to 2.4.20pre6+IMQ..(loaded not as module, but directly into the kernel)
HTB init, kernel part version 3.6
HTB: need tc/htb version 3 (minor is 6), you have 10
mdew:/sbin# ls -al tc* -rwxr-xr-x 1 root root 94368 Sep 8 13:15 tc -rwxr-xr-x 1 root root 153792 Apr 3 06:46 tc-2
tc-2 is the debian package(htb compt), tc is the package from
http://luxik.cdi.cz/~devik/qos/htb/v2/tc.gz
mdew:/sbin# tc-2 qdisc add dev imq0 handle 1: root htb default 1 RTNETLINK answers: Invalid argument mdew:~# modprobe imq numdevs=1 mdew:~# tc qdisc add dev imq0 handle 1: root htb default 1 RTNETLINK answers: Invalid argument
mdew:~# lsmod Module Size Used by Not tainted ipt_IMQ 760 0 (unused) ipt_MARK 792 2 (autoclean) ipt_REJECT 2840 4 (autoclean) ipt_REDIRECT 792 0 (autoclean) ip_conntrack_ftp 3760 1 (autoclean) ip_nat_ftp 2896 0 (unused) ip_conntrack_irc 2992 1 (autoclean) ip_nat_irc 2288 0 (unused) iptable_nat 14328 3 (autoclean) [ipt_REDIRECT ip_nat_ftp ip_nat_irc] ip_conntrack 16448 3 (autoclean) [ipt_REDIRECT ip_conntrack_ftp ip_nat_ftp ip_conntrack_irc ip_nat_irc iptable_nat] iptable_mangle 2160 1 (autoclean) iptable_filter 1668 1 (autoclean) keybdev 1664 0 (unused) 8139too 13704 2
mdew:/sbin# uname -a Linux mdew 2.4.20-pre5-xfs #1 Sun Sep 8 14:04:31 NZST 2002 i686 unknown unknown GNU/Linux
http://mdew.dyndns.org/config-2.4
suggestions guys?
mdew:/harddisk/apache# cat /proc/cpuinfo processor : 0 vendor_id : CyrixInstead cpu family : 6 model : 2 model name : M II 3.5x Core/Bus Clock stepping : 8 cpu MHz : 233.865 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr cx8 pge cmov mmx cyrix_arr bogomips : 466.94
On Mon, 2002-09-09 at 02:45, mdew wrote:
ah dont worry bout it...my fuckup :)
Quoted 93 lines · Jose Luis Domingo Lopez
Quoted 16 lines
Quoted 3 lines · mdew
HTB init, kernel part version 3.6
HTB: need tc/htb version 3 (minor is 6), you have 10As the messages say, it seems like a version mismatch between the kernel an userspace (tc) side of HTB. Get HTB3 from:
http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgzThe tarball includes two patches, one for the kernel and the other for tc (as well as a precompiled "tc" binary"):
(quoted diff) +0
-3-rw-rw-r-- devik/devik 53438 2002-05-25 11:15:45 htb3.6_2.4.17.diff -rw-rw-r-- devik/devik 9302 2002-05-25 11:11:58 htb3.6_tc.diff -rwxrwxr-x devik/devik 101992 2002-05-12 22:26:53 tcQuoted 8 lines
Kernel versions 2.4.20-pre1 and up include HTB3 by default.
Signature · 5 lines
Jose Luis Domingo Lopez Linux Registered User #189436 Debian Linux Woody (Linux 2.4.19-pre6aa1) _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/Im still having the same problems with HTB, I've upgraded to 2.4.20pre6+IMQ..(loaded not as module, but directly into the kernel)
HTB init, kernel part version 3.6
HTB: need tc/htb version 3 (minor is 6), you have 10mdew:/sbin# ls -al tc*(quoted diff) +0
-2-rwxr-xr-x 1 root root 94368 Sep 8 13:15 tc -rwxr-xr-x 1 root root 153792 Apr 3 06:46 tc-2tc-2 is the debian package(htb compt), tc is the package from
http://luxik.cdi.cz/~devik/qos/htb/v2/tc.gzmdew:/sbin# tc-2 qdisc add dev imq0 handle 1: root htb default 1 RTNETLINK answers: Invalid argument mdew:~# modprobe imq numdevs=1 mdew:~# tc qdisc add dev imq0 handle 1: root htb default 1 RTNETLINK answers: Invalid argumentmdew:~# lsmod Module Size Used by Not tainted ipt_IMQ 760 0 (unused) ipt_MARK 792 2 (autoclean) ipt_REJECT 2840 4 (autoclean) ipt_REDIRECT 792 0 (autoclean) ip_conntrack_ftp 3760 1 (autoclean) ip_nat_ftp 2896 0 (unused) ip_conntrack_irc 2992 1 (autoclean) ip_nat_irc 2288 0 (unused) iptable_nat 14328 3 (autoclean) [ipt_REDIRECT ip_nat_ftp ip_nat_irc] ip_conntrack 16448 3 (autoclean) [ipt_REDIRECT ip_conntrack_ftp ip_nat_ftp ip_conntrack_irc ip_nat_irc iptable_nat] iptable_mangle 2160 1 (autoclean) iptable_filter 1668 1 (autoclean) keybdev 1664 0 (unused) 8139too 13704 2mdew:/sbin# uname -a Linux mdew 2.4.20-pre5-xfs #1 Sun Sep 8 14:04:31 NZST 2002 i686 unknown unknown GNU/Linuxhttp://mdew.dyndns.org/config-2.4
suggestions guys?
mdew:/harddisk/apache# cat /proc/cpuinfo processor : 0 vendor_id : CyrixInstead cpu family : 6 model : 2 model name : M II 3.5x Core/Bus Clock stepping : 8 cpu MHz : 233.865 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr cx8 pge cmov mmx cyrix_arr bogomips : 466.94