Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tc qdisc show hangs #2026

Closed
shemminger opened this issue Apr 27, 2017 · 5 comments
Closed

tc qdisc show hangs #2026

shemminger opened this issue Apr 27, 2017 · 5 comments

Comments

@shemminger
Copy link

I am glad to see lots of iproute2 commands working but tc command hangs.
Simple example:
$ tc qdisc show

The cause is netlink request to dump qdisc never gets response.

(gdb) where
#0 0x00007ffffec0ec00 in __recvmsg_nocancel () at ../sysdeps/unix/syscall-template.S:81
#1 0x00000000004343c4 in rtnl_dump_filter_l (rth=0x65fe40 , arg=arg@entry=0x7ffffffde290) at libnetlink.c:328
#2 0x00000000004347c3 in rtnl_dump_filter_nc (rth=, filter=filter@entry=0x408200 <print_qdisc>, arg1=, nc_flags=nc_flags@entry=0) at libnetlink.c:416
#3 0x0000000000408e24 in tc_qdisc_list (argc=0, argv=0x7ffffffde450) at tc_qdisc.c:333
#4 0x0000000000407590 in main (argc=3, argv=0x7ffffffde438) at tc.c:343

Suggest that if netlink family for qdisc is not supported, either return error when family is opened, or return error on the netlink request.

@GitTorre
Copy link
Member

GitTorre commented May 5, 2017

What tc capabilities are supported in the BoW environment? This is basically what I see when playing around with tc in BoW -> Cannot talk to rtnetlink: Operation not supported.

@shemminger
Copy link
Author

shemminger commented May 5, 2017 via email

@GitTorre
Copy link
Member

GitTorre commented May 5, 2017

Yep, tc qdisc hangs for me, as well. Same Win10 OS version. In fact, nothing about tc works...

@jonatino
Copy link

Also, have this issue.

  • Your Windows build number: Microsoft Windows [Version 10.0.16299.334]

  • What you're doing and what's happening:
    Run the following command tc qdisc show

  • What's wrong / what should be happening instead:
    The command hangs and never executed.

tc.strace gist here

Currently causing an issue with flent on Windows Linux Subsystems: tohojo/flent#130

@Brian-Perkins
Copy link

There is still no support for qdisc, but the hang should be fixed in build 17666.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants