LKML Archive on
help / color / mirror / Atom feed
From: Thomas Hood <>
Subject: Re: Linux should not set the "PnP OS" boot flag
Date: 06 Oct 2001 22:54:37 -0400	[thread overview]
Message-ID: <1002423279.978.28.camel@thanatos> (raw) wrote:
> Hmm.  Linux isn't quite a "PnP OS".  I agree that in the short
> term we should not set the boot flag.  But we should also investigate
> what needs to added so that setpnp does not need to be called.

This change has to be permanent.  Linux should never automatically
set the boot flag, no matter how PnP-competent we make it.
The reason is that setting the flag affects what the BIOS will
do on the _subsequent_ boot.  But Linux can't possibly know 
which operating system will be booted _next time_.  This is
something that has to be left up to the user to control.

Assuming I've made that point, I'll go on to say that I do not
know of any reason why the PnP-OS flag should _ever_ be set.
SFAIK all that setting the flag does is stop the PnP BIOS
from configuring devices in the way that it has been told to do
(if we used "setpnp -b" to set the nonvolative configuration).
I don't see why we would ever want to do this.  If the BIOS does
configure the devices, nothing stops us from reconfiguring them
(using "setpnp") once Linux has booted.  The PnP-OS flag is called
a "quick boot" flag, but the time savings involved must be on the
order of milliseconds.  All that we seem to achieve by booting
Linux with disabled devices is to induce certain device drivers
to segfault.

Please let me know if I'm overlooking something.

If I'm right, then bootflag.c should be modified (see my patch)
to remove the bit that sets the flag.  It would be nice,
however, if the flag could be controlled via a /proc entry.


             reply	other threads:[~2001-10-07  2:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-07  2:54 Thomas Hood [this message]
2001-10-07 10:02 ` Alan Cox
2001-10-07 13:50   ` Thomas Hood
2001-10-07 14:07     ` Dave Jones
2001-10-07 14:18     ` Alan Cox
2001-10-07 17:10       ` Thomas Hood
2001-10-07 21:59         ` Alan Cox
2001-10-07 17:54       ` Thomas Hood
  -- strict thread matches above, loose matches on Subject: below --
2001-10-08 12:40 Thomas Hood
2001-10-08 13:25 ` Stelian Pop
2001-10-08 22:12   ` J.D. Hood
2001-10-06  3:35 Thomas Hood
2001-10-06 19:24 ` Eric W. Biederman
2001-10-06 21:11   ` Alan Cox
2001-10-07  1:08     ` Eric W. Biederman

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1002423279.978.28.camel@thanatos \ \ \
    --subject='Re: Linux should not set the "PnP OS" boot flag' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).