Gentoo Archives: gentoo-user

From: Grant Edwards <grante@××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Networking broke after update: We only hotplug for ethernet interfaces
Date: Tue, 14 Oct 2008 14:28:21
Message-Id: gd2a95$732$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: Networking broke after update: We only hotplug for ethernet interfaces by Alan McKinnon
1 On 2008-10-14, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 > On Tuesday 14 October 2008 15:59:54 Grant Edwards wrote:
3 >
4 >> > from 'cat /etc/rc.conf'
5 >> >
6 >> > # Some people want a finer grain over hotplug/coldplug. rc_plug_services
7 >> > is a # list of services that are matched in order, either allowing or
8 >> > not. By # default we allow services through as rc_coldplug/rc_hotplug has
9 >> > to be YES # anyway.
10 >> > # Example - rc_plug_services="net.wlan !net.*"
11 >> > # This allows net.wlan and any service not matching net.* to be plugged.
12 >> > rc_plug_services=""
13 >>
14 >> 1) None of that text appears in my /etc/rc.conf
15 >
16 > Oops, slipped my mind - that text shows up in openrc and baselayout-2 which
17 > you might not be using yet
18 >
19 >> 2) I don't understand how the above applies.
20 >>
21 >> 3) Has that changed recently thus breaking support for bridge
22 >> interfaces?
23 >
24 > Inferred from the error message - if you prevent any hotplugging from
25 > occurring for a virtual interface, the problem ought to be solved.
26
27 I want hotplugging to work for br0.
28
29 > I'm not sure about recent thinks breaking the bridge, my only
30 > recent experience is that bridges tend to break themselves in
31 > frustrating ways, ably helped along by virtualization software
32 > <bang head><bang head>
33
34 It worked the last time I restarted br0, so I'm going to leave
35 it alone for a while. It turns out it doesn't always fail with
36 that message either. Sometimes it fails after dhcpcd fails
37 like this:
38
39 Oct 14 08:41:10 grante br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
40 Oct 14 08:41:10 grante device eth0 entered promiscuous mode
41 Oct 14 08:41:10 grante br0: port 1(eth0) entering learning state
42 Oct 14 08:41:10 grante rc-scripts: ERROR: net.br0 is already starting.
43 Oct 14 08:41:11 grante dhcpcd[15052]: br0: dhcpcd 4.0.2 starting
44 Oct 14 08:41:11 grante dhcpcd[15052]: br0: broadcasting for a lease
45 Oct 14 08:41:25 grante br0: topology change detected, propagating
46 Oct 14 08:41:25 grante br0: port 1(eth0) entering forwarding state
47 Oct 14 08:41:38 grante dhcpcd[15052]: br0: offered 10.1.1.19 from 10.1.1.1
48 Oct 14 08:41:38 grante dhcpcd[15052]: br0: checking 10.1.1.19 is available on attached network$
49 Oct 14 08:41:41 grante dhcpcd[15052]: br0: timed out
50
51 or sometimes like this:
52
53 Oct 14 08:43:08 grante br0: port 1(eth0) entering learning state
54 Oct 14 08:43:08 grante br0: port 1(eth0) entering disabled state
55 Oct 14 08:43:08 grante device eth0 left promiscuous mode
56 Oct 14 08:43:08 grante br0: port 1(eth0) entering disabled state
57 Oct 14 08:43:08 grante br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
58 Oct 14 08:43:08 grante device eth0 entered promiscuous mode
59 Oct 14 08:43:08 grante br0: port 1(eth0) entering learning state
60 Oct 14 08:43:08 grante dhcpcd[15696]: br0: dhcpcd 4.0.2 starting
61 Oct 14 08:43:08 grante dhcpcd[15696]: br0: broadcasting for a lease
62 Oct 14 08:43:10 grante dhcpcd[15696]: br0: received SIGTERM, stopping
63 Oct 14 08:43:10 grante br0: port 1(eth0) entering disabled state
64 Oct 14 08:43:11 grante device eth0 left promiscuous mode
65 Oct 14 08:43:11 grante br0: port 1(eth0) entering disabled state
66 Oct 14 08:43:11 grante rc-scripts: We only hotplug for ethernet interfaces
67
68
69 It's probably dhcpcd's fault -- several times in the past it
70 has broken after an update because the default behavior has
71 been changed in a way that's incompatible with previous
72 versions.
73
74 --
75 Grant Edwards grante Yow! I'm using my X-RAY
76 at VISION to obtain a rare
77 visi.com glimpse of the INNER
78 WORKINGS of this POTATO!!