* 2.4.16: "Address family not supported" on RH IBM T23
@ 2001-11-27 19:05 Heikki Levanto
2001-11-27 19:15 ` Chris Wright
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Heikki Levanto @ 2001-11-27 19:05 UTC (permalink / raw)
To: linux-kernel
Tried to compile 2.4.16 on my brand new IBM T23.
Small problem: Kernel panic at start, null pointer reference when
initializing agp code. Disabled agp, and boots OK. Probably too new
motherboard? Should I report what details?
Large problem: Network won't come up. Says:
> Cannot open netlink socket: Address family not supported by protocol
This happens both to lo and eth0, with a stock kernel, only option I changed
was the agp (see above). Can boot past this, but no networking configured.
Invoking ifup by hand causes same behaviour.
Manually running ifconfig lo 127.0.0.1 and ifconfig lo up work. Same for
eth0.
More digging pointed me to redhat's ifup script (7.2 with latest updates),
in the function is_available, there is a line that tests 'ip -o link'. This
is what gives the error messages in ifup (as well as when run by hand).
Could not find much documentation for that /sbin/ip, redhat special?
Problem does not occur on redhat 7.2 default kernel 2.4.7-10, nor on the one
their thing upgraded my box to, 2.4.9-13
Does this indicate a kernel problem, redhat problem, or my problem?
Thank you in advance
Heikki Levanto
P.S. I try to follow the list, but would still appreciate a direct cc if you
have any comments, suggestions, or workarounds.
--
Heikki Levanto heikki@indexdata.dk "In Murphy We Turst"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.4.16: "Address family not supported" on RH IBM T23
2001-11-27 19:05 Heikki Levanto
@ 2001-11-27 19:15 ` Chris Wright
2001-11-27 19:18 ` Joao Soares Veiga
2001-11-27 19:19 ` arjan
2 siblings, 0 replies; 8+ messages in thread
From: Chris Wright @ 2001-11-27 19:15 UTC (permalink / raw)
To: Heikki Levanto; +Cc: linux-kernel
* Heikki Levanto (heikki@indexdata.dk) wrote:
>
> Large problem: Network won't come up. Says:
> > Cannot open netlink socket: Address family not supported by protocol
did you enable CONFIG_NETLINK _and_ CONFIG_RTNETLINK?
-chris
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: 2.4.16: "Address family not supported" on RH IBM T23
2001-11-27 19:05 Heikki Levanto
2001-11-27 19:15 ` Chris Wright
@ 2001-11-27 19:18 ` Joao Soares Veiga
2001-11-27 19:19 ` arjan
2 siblings, 0 replies; 8+ messages in thread
From: Joao Soares Veiga @ 2001-11-27 19:18 UTC (permalink / raw)
To: lkml; +Cc: Heikki Levanto
>
> Large problem: Network won't come up. Says:
> > Cannot open netlink socket: Address family not supported by protocol
>
Have you compiled the netlink device into the kernel?
Check this:
yk /usr/src/linux $ grep NETLINK .config
CONFIG_NETLINK=y
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.4.16: "Address family not supported" on RH IBM T23
2001-11-27 19:05 Heikki Levanto
2001-11-27 19:15 ` Chris Wright
2001-11-27 19:18 ` Joao Soares Veiga
@ 2001-11-27 19:19 ` arjan
2001-11-27 20:31 ` Andrew Pimlott
2 siblings, 1 reply; 8+ messages in thread
From: arjan @ 2001-11-27 19:19 UTC (permalink / raw)
To: Heikki Levanto; +Cc: linux-kernel
In article <20011127200522.B27480@indexdata.dk> you wrote:
> is what gives the error messages in ifup (as well as when run by hand).
> Could not find much documentation for that /sbin/ip, redhat special?
You need to enable the netlink config options
> Does this indicate a kernel problem, redhat problem, or my problem?
your problem; it's even mentioned in the releasenotes..
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.4.16: "Address family not supported" on RH IBM T23
2001-11-27 19:19 ` arjan
@ 2001-11-27 20:31 ` Andrew Pimlott
2001-11-27 21:01 ` David S. Miller
0 siblings, 1 reply; 8+ messages in thread
From: Andrew Pimlott @ 2001-11-27 20:31 UTC (permalink / raw)
To: arjan; +Cc: Heikki Levanto, linux-kernel
On Tue, Nov 27, 2001 at 07:19:05PM +0000, arjan@fenrus.demon.nl wrote:
> You need to enable the netlink config options
>
> your problem; it's even mentioned in the releasenotes..
It would be even better to mention it in the kernel documentation,
since iproute2 is fairly standard now. I'm really not enough of a
kernel hacker to change it, but the current Configure.help entry for
CONFIG_NETLINK suggests that it is useful only for relatively
obscure applications.
You need to say Y here to use the tools in the iproute2 package
(<ftp://ftp.inr.ac.ru>).
And is CONFIG_RTNETLINK also necessary for ip?
Andrew
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.4.16: "Address family not supported" on RH IBM T23
2001-11-27 20:31 ` Andrew Pimlott
@ 2001-11-27 21:01 ` David S. Miller
0 siblings, 0 replies; 8+ messages in thread
From: David S. Miller @ 2001-11-27 21:01 UTC (permalink / raw)
To: andrew; +Cc: arjan, heikki, linux-kernel
From: andrew@pimlott.ne.mediaone.net (Andrew Pimlott)
Date: Tue, 27 Nov 2001 15:31:19 -0500
It would be even better to mention it in the kernel documentation,
since iproute2 is fairly standard now. I'm really not enough of a
kernel hacker to change it, but the current Configure.help entry for
CONFIG_NETLINK suggests that it is useful only for relatively
obscure applications.
That is changing soon, the config options are in fact going away and
both will be on all the time if you have networking enabled at all.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.4.16: "Address family not supported" on RH IBM T23
[not found] ` <20011127153119.A25554@pimlott.ne.mediaone.net.suse.lists.linux.kernel>
@ 2001-11-27 21:11 ` Andi Kleen
2001-11-27 21:20 ` Benjamin LaHaise
0 siblings, 1 reply; 8+ messages in thread
From: Andi Kleen @ 2001-11-27 21:11 UTC (permalink / raw)
To: Andrew Pimlott; +Cc: linux-kernel
andrew@pimlott.ne.mediaone.net (Andrew Pimlott) writes:
>
> And is CONFIG_RTNETLINK also necessary for ip?
In vger (networking development tree) these options have just been removed
and hardcoded to on.
It'll likely show up soon in the main tree soon.
If that were not the case it would be better to fix iproute2 to give a
more meaningfull error message.
-Andi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.4.16: "Address family not supported" on RH IBM T23
2001-11-27 21:11 ` 2.4.16: "Address family not supported" on RH IBM T23 Andi Kleen
@ 2001-11-27 21:20 ` Benjamin LaHaise
0 siblings, 0 replies; 8+ messages in thread
From: Benjamin LaHaise @ 2001-11-27 21:20 UTC (permalink / raw)
To: Andi Kleen; +Cc: Andrew Pimlott, linux-kernel
On Tue, Nov 27, 2001 at 10:11:14PM +0100, Andi Kleen wrote:
> In vger (networking development tree) these options have just been removed
> and hardcoded to on.
> It'll likely show up soon in the main tree soon.
>
> If that were not the case it would be better to fix iproute2 to give a
> more meaningfull error message.
It would be better to keep the options around, but perhaps hidden under
a global "embedded systems" option and making the options negative so that
the default of off results in a working system.
-ben
--
Fish.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-11-27 21:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20011127200522.B27480@indexdata.dk.suse.lists.linux.kernel>
[not found] ` <m168nl3-000OVrC@amadeus.home.nl.suse.lists.linux.kernel>
[not found] ` <20011127153119.A25554@pimlott.ne.mediaone.net.suse.lists.linux.kernel>
2001-11-27 21:11 ` 2.4.16: "Address family not supported" on RH IBM T23 Andi Kleen
2001-11-27 21:20 ` Benjamin LaHaise
2001-11-27 19:05 Heikki Levanto
2001-11-27 19:15 ` Chris Wright
2001-11-27 19:18 ` Joao Soares Veiga
2001-11-27 19:19 ` arjan
2001-11-27 20:31 ` Andrew Pimlott
2001-11-27 21:01 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox