public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech•com>
To: netdev <netdev@vger•kernel.org>
Subject: Cannot connect to netlink socket??
Date: Fri, 17 Jul 2015 14:29:19 -0700	[thread overview]
Message-ID: <55A973AF.8090400@candelatech.com> (raw)

Any idea what can cause this?  The system was working fine earlier,
so it is compiled with netlink support, etc.

Last thing someone did was to add 258 mac-vlans on top of
an ethernet port.  Removing macvlan module did not improve
things.

'ifconfig -a' works fine.

This is on a 4.0.4 (+ local hacks) kernel, nothing overly weird in dmesg, and no
new dmesg info when this fails to work:

strace ip addr show

...

socket(PF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_ROUTE) = 3
setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(3, SOL_SOCKET, SO_RCVBUF, [1048576], 4) = 0
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=16631, groups=00000000}, [12]) = 0
sendto(3, "(\0\0\0\22\0\1\3%m\251U\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 40, 0, NULL, 0) = -1 ECONNREFUSED (Connection refused)
dup(2)                                  = 4
fcntl(4, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
brk(0)                                  = 0x1679000
brk(0x169a000)                          = 0x169a000
brk(0)                                  = 0x169a000
fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb40d3c9000
write(4, "Cannot send dump request: Connec"..., 45Cannot send dump request: Connection refused
) = 45
close(4)                                = 0
munmap(0x7fb40d3c9000, 4096)            = 0
exit_group(1)                           = ?
+++ exited with 1 +++



A reboot 'fixed' things, and we have not been able to reproduce the
problem.


Thanks,
Ben

-- 
Ben Greear <greearb@candelatech•com>
Candela Technologies Inc  http://www.candelatech.com

                 reply	other threads:[~2015-07-17 21:29 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=55A973AF.8090400@candelatech.com \
    --to=greearb@candelatech$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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