From: Arkadiusz Miskiewicz <arekm@beep.pl>
To: netdev@oss.sgi.com
Subject: iproute2 and 2.6.0-test9
Date: Mon, 27 Oct 2003 12:42:36 +0100 [thread overview]
Message-ID: <200310271236.58440.arekm@beep.pl> (raw)
Hi,
I have problem with 2.6.0-test9. iproute hangs when flushing ie:
[root@mobarm arekm]# ip a
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
inet6 ff02::1/128 scope global
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast qlen
1000
link/ether 00:a0:cc:da:d9:3c brd ff:ff:ff:ff:ff:ff
inet 192.168.2.2/24 brd 192.168.2.255 scope global eth0
inet6 fe80::2a0:ccff:feda:d93c/64 scope link
valid_lft forever preferred_lft forever
inet6 ff02::1:ffda:d93c/128 scope global
valid_lft forever preferred_lft forever
inet6 ff02::1/128 scope global
valid_lft forever preferred_lft forever
3: irda0: <NOARP,UP> mtu 2048 qdisc pfifo_fast qlen 8
link/irda
4: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
[root@mobarm arekm]# ip link set eth0 down
[root@mobarm arekm]# ip a flush dev eth0
(hangs here but I can interrupt it with ctrl+c)
[arekm@mobarm arekm]$ ps aux | grep "ip a"
root 12479 93.9 0.1 1560 328 pts/3 R 12:33 0:18 ip a flush dev
eth0
arekm 12513 0.0 0.2 2100 620 pts/5 S 12:33 0:00 grep ip a
[arekm@mobarm arekm]$ ps arx -O wchan | grep "ip a"
12479 - R pts/3 00:00:57 ip a flush dev eth0
eats 93.9% cpu,
When doing the other way - first flush, then down everything is ok:
[root@mobarm arekm]# ip a flush dev eth0
[root@mobarm arekm]# ip link set eth0 down
[root@mobarm arekm]#
iproute2-2.4.7.ss020116
strace shows:
5525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"@\0\0\0\24\0\2\
0\177\35\255?\245<\0\0\n\200\200\376\1\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 192
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"\24\0\0\0\3\0\2
\0\177\35\255?\245<\0\0\0\0\0\0\1\0\0\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 20
15525 sendto(3, "@\0\0\0\25\0\1\0\200\35\255?\245<\0\0\n\200\200\0\2\0\0"...,
64, 0, {sa_family=AF_NETLINK, sa_data="\0\0\0\
0\0\0\0\0\0\0\20\306\377\277"}, 12) = 64
15525 sendto(3, "\24\0\0\0\26\0\1\3\201\35\255?\0\0\0\0\0\365\377\277", 20, 0,
{sa_family=AF_NETLINK, sa_data="\0\0\0\0\0\0\
0\0\0\0\20\306\377\277"}, 12) = 20
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"$\0\0\0\2\0\0\0
\200\35\255?\245<\0\0\235\377\377\377@\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 36
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"<\0\0\0\24\0\2\
0\201\35\255?\245<\0\0\2\10\200\376\1\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 60
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"@\0\0\0\24\0\2\
0\201\35\255?\245<\0\0\n\200\200\376\1\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 192
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"\24\0\0\0\3\0\2
\0\201\35\255?\245<\0\0\0\0\0\0\1\0\0\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 20
15525 sendto(3, "@\0\0\0\25\0\1\0\202\35\255?\245<\0\0\n\200\200\0\2\0\0"...,
64, 0, {sa_family=AF_NETLINK, sa_data="\0\0\0\
0\0\0\0\0\0\0\20\306\377\277"}, 12) = 64
15525 sendto(3, "\24\0\0\0\26\0\1\3\203\35\255?\0\0\0\0\0\365\377\277", 20, 0,
{sa_family=AF_NETLINK, sa_data="\0\0\0\0\0\0\
0\0\0\0\20\306\377\277"}, 12) = 20
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"$\0\0\0\2\0\0\0
\202\35\255?\245<\0\0\235\377\377\377@\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 36
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"<\0\0\0\24\0\2\
0\203\35\255?\245<\0\0\2\10\200\376\1\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 60
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"@\0\0\0\24\0\2\
0\203\35\255?\245<\0\0\n\200\200\376\1\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 192
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"\24\0\0\0\3\0\2
\0\203\35\255?\245<\0\0\0\0\0\0\1\0\0\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 20
15525 sendto(3, "@\0\0\0\25\0\1\0\204\35\255?\245<\0\0\n\200\200\0\2\0\0"...,
64, 0, {sa_family=AF_NETLINK, sa_data="\0\0\0\
0\0\0\0\0\0\0\20\306\377\277"}, 12) = 64
15525 sendto(3, "\24\0\0\0\26\0\1\3\205\35\255?\0\0\0\0\0\365\377\277", 20, 0,
{sa_family=AF_NETLINK, sa_data="\0\0\0\0\0\0\
0\0\0\0\20\306\377\277"}, 12) = 20
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"$\0\0\0\2\0\0\0
\204\35\255?\245<\0\0\235\377\377\377@\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 36
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"<\0\0\0\24\0\2\
0\205\35\255?\245<\0\0\2\10\200\376\1\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 60
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"@\0\0\0\24\0\2\
0\205\35\255?\245<\0\0\n\200\200\376\1\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 192
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"\24\0\0\0\3\0\2
\0\205\35\255?\245<\0\0\0\0\0\0\1\0\0\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 20
15525 sendto(3, "@\0\0\0\25\0\1\0\206\35\255?\245<\0\0\n\200\200\0\2\0\0"...,
64, 0, {sa_family=AF_NETLINK, sa_data="\0\0\0\
0\0\0\0\0\0\0\20\306\377\277"}, 12) = 64
15525 sendto(3, "\24\0\0\0\26\0\1\3\207\35\255?\0\0\0\0\0\365\377\277", 20, 0,
{sa_family=AF_NETLINK, sa_data="\0\0\0\0\0\0\
0\0\0\0\20\306\377\277"}, 12) = 20
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"$\0\0\0\2\0\0\0
\206\35\255?\245<\0\0\235\377\377\377@\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 36
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"<\0\0\0\24\0\2\
0\207\35\255?\245<\0\0\2\10\200\376\1\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 60
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"@\0\0\0\24\0\2\
0\207\35\255?\245<\0\0\n\200\200\376\1\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 192
15525 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, msg_iov(1)=[{"\24\0\0\0\3\0\2
\0\207\35\255?\245<\0\0\0\0\0\0\1\0\0\0"..., 8192}], msg_controllen=0,
msg_flags=0}, 0) = 20
15525 sendto(3, "@\0\0\0\25\0\1\0\210\35\255?\245<\0\0\n\200\200\0\2\0\0"...,
64, 0, {sa_family=AF_NETLINK, sa_data="\0\0\0\
0\0\0\0\0\0\0\20\306\377\277"}, 12) = 64
15525 sendto(3, "\24\0\0\0\26\0\1\3\211\35\255?\0\0\0\0\0\365\377\277", 20, 0,
{sa_family=AF_NETLINK, sa_data="\0\0\0\0\0\0\
0\0\0\0\20\306\377\277"}, 12) = 20
ps. please cc me as I'm not subscribed
--
Arkadiusz Miśkiewicz, Grupa BeeProvider - http://www.beep.pl/
reply other threads:[~2003-10-27 11:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200310271236.58440.arekm@beep.pl \
--to=arekm@beep.pl \
--cc=admin@beep.pl \
--cc=netdev@oss.sgi.com \
/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.