public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Keeping network device renaming working in the presence of netconsole?
@ 2009-10-16 19:43 Nix
  2009-10-16 19:57 ` Matt Mackall
  0 siblings, 1 reply; 8+ messages in thread
From: Nix @ 2009-10-16 19:43 UTC (permalink / raw)
  To: Matt Mackall; +Cc: linux-kernel

So I'm testing suspend/resume and getting a lot of wildly variable
panics on resume. I'd like to report them, so I need to capture them
somehow.

Netconsole looks like just the thing: it even says it's nonintrusive.

Unfortunately it intrudes in one very unfortunate way: if netconsole is
jabbering out of some network interface, that interface is up, so you
can't rename it: and because (to catch early panics) netconsole has to
start before userspace kicks up, this means that there is *no*
opportunity to rename network interfaces that netconsole is operating
over.

This breaks userspace more than slightly if you rely on udev's
persistent net generator rules to keep network interface names constant,
or if you rename the lot to something more memorable than ethN. Any
userspace setup of that interface, assignment of additional addresses,
routing, MTU setting et al is all toast: and you can't stop using
interface renaming unless you like your interfaces to change identities
intermittently (but we've had that flamewar).

Is there a way to rename interfaces netconsole is working over? Why
can't you rename interfaces that are in use anyway?  Yes, there's the
name_hlist, but that's protected by the dev_base_lock anyway.

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

end of thread, other threads:[~2009-10-23 19:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-16 19:43 Keeping network device renaming working in the presence of netconsole? Nix
2009-10-16 19:57 ` Matt Mackall
2009-10-17 11:08   ` Nix
2009-10-20 18:54     ` [PATCH] Allow renaming of network interfaces that are up Nix
2009-10-21  0:39       ` David Miller
2009-10-21  1:38       ` Stephen Hemminger
2009-10-21  6:50         ` Nix
2009-10-23 19:50         ` [PATCH] Make it clear how to rename netconsole-used network interfaces Nix

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