From: "J . A . Magallon" <jamagallon@able.es>
To: Lista Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: problems with lo and AF_NETLINK
Date: Tue, 10 Jul 2001 10:16:05 +0200 [thread overview]
Message-ID: <20010710101605.A3984@werewolf.able.es> (raw)
Hi.
With latest 2.4.6-ac2, my lo interface setup looks like broken.
Initscripts use /sbin/ip (it is a Mandrake Cooker box) to query the interface,
and it only gets 'refused connections'. I think it worked with previous
kernels.
This is an strace of the problem:
werewolf:~# strace ip -o link
...
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\353\215\5\10"}, 12) = 0
getsockname(3, {sin_family=AF_NETLINK, {sa_family=16, sa_data="\0\0\215\17\0\0\0\0\0\0\353\215\5\10"}, [12]) = 0
time(NULL) = 994752488
sendto(3, "\24\0\0\0\22\0\1\3\351\267J;\0\0\0\0\21\362\5\10", 20, 0, {sin_family=AF_NETLINK, {sa_family=16, sa_data="\0\0\0\0\0\0\0\0\0\0`d\5\10"}, 12) = -1 ECONNREFUSED (Connection refused)
write(2, "Cannot send dump request: Connec"..., 45Cannot send dump request: Connection refused
) = 45
_exit(1) = ?
I saw that NETLINK support has changed a bit in ac series:
Netlink device emulation
CONFIG_NETLINK_DEV
This option will be removed soon. Any programs that want to use
character special nodes like /dev/tap0 or /dev/route (all with major
number 36) need this option, and need to be rewritten soon to use
the real netlink socket.
This is a backward compatibility option, choose Y for now.
I have activated it, but nothing changes. Any idea ?
Thanks.
--
J.A. Magallon # Let the source be with you...
mailto:jamagallon@able.es
Mandrake Linux release 8.1 (Cooker) for i586
Linux werewolf 2.4.6-ac2 #1 SMP Sun Jul 8 23:57:11 CEST 2001 i686
next reply other threads:[~2001-07-10 8:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-10 8:16 J . A . Magallon [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-11 16:37 problems with lo and AF_NETLINK Corin Hartland-Swann
2001-10-11 22:28 ` J . A . Magallon
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=20010710101605.A3984@werewolf.able.es \
--to=jamagallon@able.es \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox