Re: Stelian Pop <stelian.pop@fr.alcove.com>

From: Eric W. Biederman (ebiederm@xmission.com)
Date: Fri Oct 05 2001 - 11:57:12 EST


jdthood@home.dhs.org (Thomas Hood) writes:

> Stelian Pop wrote:
> >> Well, the funny thing is, the same kernel doesn't boot on a Dell Inspiron
> >> laptop either, if PNP is enabled -- and the oops is the same. So it's not
> >> just Sony...
> >
> >Maybe we'll need to test against something like 'pnp_broken'
> >variable instead of is_sony_vaio_laptop in PnP drivers, and
> >add the callbacks in dmi_scan to initialize pnp_broken...
>
> Yes, the "pnp_bios_dont_use_current_config" flag in the driver
> can be set based on additional criteria.
>
> I notice that both the Vaio and the Inspiron have Phoenix BIOSes.
> So perhaps there is a class of Phoenix BIOSes we should be testing
> for. For the time being, we will need to add Ion Badulescu's Inspiron
> to the dmi_blacklist. Ion, can you give us the exact product name,
> exact BIOS vendor name, exact BIOS version and exact BIOS date?
> Also, let us know all the results of your tests of various kernels.
>
> It's interesting to note that my IBM ThinkPad BIOS has a bug that
> is similar to the bug in your BIOS. After Linux is run, on the
> subsequent boot the "current" config is not initialized from the
> "boot" config; instead, all devices are left disabled. This does
> not happen if Windows was the previous OS run, or if the BIOS
> is initialized before the boot. My sneaking suspicion is that this
> behavior is a "feature" of the BIOS: when certain of its functions
> are accessed it deduces that it is being used by a Plug-n-Play
> operating system (tm) and so refrains from configuring devices other
> than the vital ones.

Hmm. If you are using an AC kernel I seriously suspect the bootflag code,
because that is what the code is telling the BIOS to do explicitly.

> My workaround for now is to use "setpnp" to
> switch on all the configurable devices. The "right" solution may
> be to use the ESCD functions of the BIOS. Or it may be to stop
> doing whatever it is that suggests to the BIOS that Linux is a
> PnP OS.

Suggests. With the bootflag stuff we are saying treat as a pnpos we
know what we are doing.

Eric

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:38 EST