All of lore.kernel.org
 help / color / mirror / Atom feed
From: <arek@chelmnet.pl>
To: lartc@vger.kernel.org
Subject: [LARTC] tc -s class problem (with cbq only)
Date: Fri, 05 Dec 2003 14:32:46 +0000	[thread overview]
Message-ID: <marc-lartc-107063653124162@msgid-missing> (raw)

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¯_NETLINK, {sa_family\x16,
sa_data="\0\0\0\0\0\0\0\0\0\0@\25\6\10"}, 12) = 0
getsockname(3, {sin_family¯_NETLINK, {sa_family\x16,
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¯_NETLINK, {sa_family\x16,
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¯_NETLINK, {sa_family\x16,
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¯_NETLINK, {sa_family\x16,
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¯_NETLINK, {sa_family\x16,
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¯_NETLINK, {sa_family\x16,
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@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2003-12-05 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05 14:32 arek [this message]
2003-12-06  0:02 ` [LARTC] tc -s class problem (with cbq only) arek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-107063653124162@msgid-missing \
    --to=arek@chelmnet.pl \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.