-
Notifications
You must be signed in to change notification settings - Fork 814
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
Comments
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. |
On my corp laptop with Win10 creators
shemminger@MININT-FU8L5V5:~$ tc qdisc
*** hangs need ^C to exit
Also the version in Ubuntu WSL is old (like 3yrs since version is data stamp).
shemminger@MININT-FU8L5V5:~$ tc -V
tc utility, iproute2-ss131122
Current upstream version
shemminger@MININT-FU8L5V5:~$ cd iproute2/
shemminger@MININT-FU8L5V5:~/iproute2$ ./tc/tc -V
tc utility, iproute2-ss170220
I think the issue is the Ubuntu gets packages from Debian stable which is quite old by now.
From: Charles Torre [mailto:[email protected]]
Sent: Friday, May 5, 2017 1:10 PM
To: Microsoft/BashOnWindows <[email protected]>
Cc: Stephen Hemminger <[email protected]>; Author <[email protected]>
Subject: Re: [Microsoft/BashOnWindows] tc qdisc show hangs (#2026)
What tc capabilities are supported in the BoW environment? This is basically what I see when playing around tc in BoW -> Cannot talk to rtnetlink: Operation not supported.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#2026 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ABAYOcIRudvgAjXileQdMNnO4mohNQjgks5r24IcgaJpZM4NKeiX> . <https://github.com/notifications/beacon/ABAYOXEPiEW93T5RqhqWzaBs6W_1MDGtks5r24IcgaJpZM4NKeiX.gif>
|
Yep, tc qdisc hangs for me, as well. Same Win10 OS version. In fact, nothing about tc works... |
Also, have this issue.
Currently causing an issue with flent on Windows Linux Subsystems: tohojo/flent#130 |
There is still no support for qdisc, but the hang should be fixed in build 17666. |
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.
The text was updated successfully, but these errors were encountered: