public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* problems with lo and AF_NETLINK
@ 2001-07-10  8:16 J . A . Magallon
  0 siblings, 0 replies; 3+ messages in thread
From: J . A . Magallon @ 2001-07-10  8:16 UTC (permalink / raw)
  To: Lista Linux-Kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* problems with lo and AF_NETLINK
@ 2001-10-11 16:37 Corin Hartland-Swann
  2001-10-11 22:28 ` J . A . Magallon
  0 siblings, 1 reply; 3+ messages in thread
From: Corin Hartland-Swann @ 2001-10-11 16:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: J . A . Magallon


Hi there,
	
I'm having problems with getting kernel 2.4.12 (and yesterday 2.4.11, but
that has bitten the dust now) to work on my laptop (Dell Inspiron 8000,
PIII-850, 512MB RAM).

I searched the lkml archive, and found the following post which describes
my problem exactly:

  http://marc.theaimsgroup.com/?l=linux-kernel&m=99475318111175&w=2

Unfortunately nobody responded to it. I assume that something to do with
AF_NETLINK has been merged in from the -ac series since 2.4.8, as the
distributor supplied kernel (2.4.8-26mdk) works fine.

As the previous poster suggested, I have tried re-compiling with
CONFIG_NETLINK_DEV, but that didn't help, and I am still getting:

  Cannot send dump request: Connection refused

Does anyone have any suggestions?

Thanks,

Corin

/------------------------+-------------------------------------\
| Corin Hartland-Swann   |    Tel: +44 (0) 20 7491 2000        |
| Commerce Internet Ltd  |    Fax: +44 (0) 20 7491 2010        |
| 22 Cavendish Buildings | Mobile: +44 (0) 79 5854 0027        | 
| Gilbert Street         |                                     |
| Mayfair                |    Web: http://www.commerce.uk.net/ |
| London W1K 5HJ         | E-Mail: cdhs@commerce.uk.net        |
\------------------------+-------------------------------------/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-11 22:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-10  8:16 problems with lo and AF_NETLINK J . A . Magallon
  -- strict thread matches above, loose matches on Subject: below --
2001-10-11 16:37 Corin Hartland-Swann
2001-10-11 22:28 ` J . A . Magallon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox