linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Nottingham <notting@redhat.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: OT(?) -- Should the net.agent script cause "ifup lo" to be run?
Date: Mon, 26 Feb 2001 00:38:33 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-98314798823456@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-98309074821805@msgid-missing>

David Brownell (david-b@pacbell.net) said: 
> I guess I don't see what you mean by "actual hotplug device".
> What PCI or USB device wouldn't be a hotplug device, why?

Any PCI device in an non-hotplug slot is not really hot-pluggable
(at least without risk to the card and motherboard. ;) )

> What "drastic change"?

In all our previous OS releases, interfaces are not necessarily
brought up just because the module is loaded; this changes that.
For example, we have documented behavior on how to mark interfaces
not to be brought up at boot time; hotplug now breaks these assumptions.

Also, to maintain stable network interface ordering (with the current
kernel semantics), we load all the network modules once at boot so
all the device -> ethX mappings remain consistent; now hotplug tries
to activate all these interfaces. We've also noticed that (presumably
because of the PCI hotplug stuff), if you bring down an interface and
try and unload a module, it comes back. (This last one may be currently
fixed; it was reported against our last beta.)

> That patch to not make the ppp/isdn/... interfaces go "ifup" is
> in CVS, by the way.

Cool. You probably want to add plip to the list if it's not
already on it. :)

> Am I correct that the issue is that those
> devices get brought "up" differently than eth* interfaces?

Very differently. In fact, for PPP, by the time the device
exists in the kernel, you pretty much have to have already
run 'ifup' in some manner, unless you're not using any
networking scripts as all.

> And "lo" has yet a third kind of init model magic?

Not really, it's just brought up automatically here
when the network is started. It's certainly something
the hotplug scripts could do in the future; it's just
that it's not really a pluggable interface.

I was probably overly harsh in my assessment; it's not that
the scripts are buggy (aside from the ppp thing); it's that
in the current state what they do conflicts with how the
distribution used to work before. It would be good to be
able to configure it so that it can mesh better (for example,
handle USB and cardbus, but ignore other PCI stuff.)

One other minor note; it currently didn't seem to handle
multiple modules that support the same device as well, in
that I couldn't tell it to load tulip instead of xircom_tulip_cb,
without editing the modules.pcimap directly. Not sure where
you'd put 'preferences' like this though. (Please, correct
me if I'm wrong.)

Bill

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2001-02-26  0:38 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-25  8:47 OT(?) -- Should the net.agent script cause "ifup lo" to be run? Miles Lane
2001-02-25 10:03 ` Adam J. Richter
2001-02-25 21:37 ` Bill Nottingham
2001-02-25 23:45 ` David Brownell
2001-02-26  0:38 ` Bill Nottingham [this message]
2001-02-26  3:40 ` David Brownell
2001-02-26  4:12 ` Bill Nottingham
2001-02-26  4:14 ` Bill Nottingham
2001-02-26  6:59 ` Miles Lane
2001-02-26  7:17 ` Miles Lane
2001-02-26 16:50 ` David Brownell
2001-02-26 17:31 ` David Brownell
2001-02-26 19:52 ` Bill Nottingham
2001-02-26 22:08 ` David Brownell
2001-02-26 22:14 ` David Brownell
2001-02-26 22:17 ` David Brownell
2001-02-26 22:24 ` Bill Nottingham
2001-02-26 22:30 ` Bill Nottingham
2001-02-26 22:48 ` David Brownell
2001-02-27  6:23 ` Miles Lane
2001-02-27  6:46 ` Miles Lane
2001-02-27  7:17 ` Miles Lane
2001-02-27  7:23 ` Miles Lane
2001-02-27  7:54 ` David Hinds
2001-02-28  5:14 ` Miles Lane
2001-02-28 16:50 ` David Brownell
2001-02-28 17:24 ` David Hinds
2001-03-01  4:37 ` David Brownell
2001-03-01  5:27 ` Bill Nottingham
2001-03-01  5:34 ` Bill Nottingham
2001-03-01  5:45 ` David Hinds
2001-03-01 17:27 ` David Brownell

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=marc-linux-hotplug-98314798823456@msgid-missing \
    --to=notting@redhat.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).