tc -s class problem (with cbq only)

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have changed kernel to 2.2.22 and have a problem:

#tc -s class ls dev eth3
and
#tc show class dev eth3
and
#tc -s -d class ls dev eth3

shows me NOTHING when i use CBQ queues on interface !!!

i can olny watch queues (QDISC) with:
#tc -s qdisc ls dev eth3
(this is working OK, as earlier)

I tried many of tc bin's (from devik, compiled, old , etc) - nothing help.

the tc -s class ls dev eth0 works fine, when i used HTB queues.

How to solve that problem ?

this is trace of problem:
open("/proc/net/psched", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40014000
read(3, "000c8000 000f4240 000f4240 00000"..., 4096) = 36
close(3)                                = 0
munmap(0x40014000, 4096)                = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 3
bind(3, {sin_family=AF_NETLINK, {sa_family=16,
sa_data="\0\0\0\0\0\0\0\0\0\0@\25\6\10"}, 12) = 0
getsockname(3, {sin_family=AF_NETLINK, {sa_family=16,
sa_data="q\3375<\0\0\0\0\0\0@\25\6\10"}, [12]) = 0
time(NULL)                              = 1070634212
sendto(3, "\24\0\0\0\22\0\1\3\345\224\320?\0\0\0\0\0006\1@", 20, 0,
{sin_family=AF_NETLINK, {sa_family=16,
sa_data="\0\0\0\0\0\0\0\0\0\0\24\0\0\0"}, 12) = 20
recvmsg(3, {msg_name(12)={sin_family=AF_NETLINK, {sa_family=16,
sa_data="\21\300\0\0\0\0\0\0\0\0\264\0\0\0"},
msg_iov(1)=[{"\264\0\0\0\20\0\2\0\345\224\320?5
recvmsg(3, {msg_name(12)={sin_family=AF_NETLINK, {sa_family=16,
sa_data="\301\367\0\0\0\0\0\0\0\0\24\0\0\0"},
msg_iov(1)=[{"\24\0\0\0\3\0\2\0\345\224\320?5<\
sendmsg(3, {msg_name(12)={sin_family=AF_NETLINK, {sa_family=16,
sa_data="\0\0\0\0\0\0\0\0\0\0$\0\0\0"},
msg_iov(2)=[{"$\0\0\0*\0\1\3\346\224\320?\0\0\0\0", 1
recvmsg(3, {msg_name(12)={sin_family=AF_NETLINK, {sa_family=16,
sa_data="\301\367\0\0\0\0\0\0\0\0\24\0\0\0"},
msg_iov(1)=[{"\24\0\0\0\3\0\2\0\346\224\320?5<\
_exit(0)                                = ?
Why does it exit's here ?? if i'm sure that there are queues/classes on that
interface:
here i past them :
# tc -s qdisc ls dev eth3 |head -n 10
qdisc tbf 84e3: rate 160Kbit burst 300Kb peakrate 10Mbit minburst 1600b lat
189.2ms
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

 qdisc tbf 84e2: rate 640Kbit burst 300Kb peakrate 10Mbit minburst 1600b lat
189.2ms
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

 qdisc tbf 84e1: rate 150Kbit burst 300Kb peakrate 10Mbit minburst 1600b lat
189.2ms
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

 qdisc tbf 84e0: rate 600Kbit burst 300Kb peakrate 10Mbit minburst 1600b lat
189.2ms



PLEASE HELP ME !


A.Binder

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux