public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: DSDT in initrd
@ 2003-05-17  1:17 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A847E96EA0-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 23+ messages in thread
From: Grover, Andrew @ 2003-05-17  1:17 UTC (permalink / raw)
  To: Randy.Dunlap
  Cc: mflt1-DTdK3Ks6N5kHTnRCetW4+N0b+6lKrnBL, Brown, Len,
	acpi-devel-pyega4qmqnRoyOMFzWx49A

> From: Randy.Dunlap [mailto:rddunlap-3NddpPZAyC0@public.gmane.org] 
> Lots of newer systems don't have an option of "... safely reverts to
> non-ACPI ...", and surely you know that.  It's make ACPI work in some
> fashion or have no power management.

Yeah but DSDT in initrd doesn't help solve the problem for anyone but
hackers.

> It seems that your goal is idealistic and not user-friendly, at least
> not in the short-term.  It's a worthy long-term goal.

Anything that does not use the DSDT from the BIOS is not user-friendly.
It should "just work" for as many people as possible, without hackery.
It's never going to be 100%. The only way I can think of to get close is
if we take the time to implement a cutoff based on BIOS date, with both
a Good and Bad BIOS list, for exceptions to that cutoff.

I must admit I'm really torn. If there were 2-3 little AML problems that
if we worked around them, a horde of machines would start working, then
I think we would do that, but my sense is that there are many more ways
a DSDT can be broken, and that implementing workarounds for all of them
would cause other systems to fail. Maybe some of the people who have
fixed their DSDTs can comment on the scope of bugs out there.

> The ACPI interpreter will always have bugs in it.  The BIOS DSDTs
> will always have bugs.  After all, they are software (or firmware).

All I can say w.r.t. bugs is that it used to be the case that when
diagnosing an issue, I started with the assumption the BIOS was right
and the interpreter had a bug -- now I start with the assumption that
the BIOS is buggy. :) If we can come up with a solution to mitigate the
impact of bad DSDTs, then in my mind the only things left are 1)
squashing the few bugs left in the PCI IRQ routing code and 2) sleep
support. We've come a long way baby!

Regards -- Andy


-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful,
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge

^ permalink raw reply	[flat|nested] 23+ messages in thread
* RE: DSDT in initrd
@ 2003-05-19 14:38 Brown, Len
       [not found] ` <A5974D8E5F98D511BB910002A50A6647054FC40A-MgY+aF+eRfZviC08c4yzC1DQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 23+ messages in thread
From: Brown, Len @ 2003-05-19 14:38 UTC (permalink / raw)
  To: Grover, Andrew, Randy.Dunlap
  Cc: mflt1-DTdK3Ks6N5kHTnRCetW4+N0b+6lKrnBL,
	acpi-devel-pyega4qmqnRoyOMFzWx49A

I agree with Andy that the OSDs should avoid the DSDT distribution and
support business.  It is the OEM's job to ship a working BIOS, and they will
do so if they want to pass the OSD's certification test suite.

The concept of a DSDT override is a workaround -- fine for bringup,
development, hackers, enthusiasts, wizards etc.  But somebody who pays money
for a production box that runs Linux will buy one that the OSD certifies and
supports.

So unless the Linux community wants to slide down the slippery slope of
running any old broken BIOS -- forever -- we should maintain -- indeed
sharpen -- our ability to reject bad firmware -- and generously apply that
ability when the OEM goes before an OSD for certification.

Cheers,
-Len


-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge

^ permalink raw reply	[flat|nested] 23+ messages in thread
* RE: DSDT in initrd
@ 2003-05-16 22:50 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A2A7-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 23+ messages in thread
From: Grover, Andrew @ 2003-05-16 22:50 UTC (permalink / raw)
  To: Michael Frank, Brown, Len, acpi-devel-pyega4qmqnRoyOMFzWx49A

> From: Michael Frank [mailto:mflt1-DTdK3Ks6N5kHTnRCetW4+N0b+6lKrnBL@public.gmane.org] 
> On Friday 16 May 2003 09:41, Brown, Len wrote:
> > > IMHO this patch is very useful because it provides the
> > > equivalent of a "DSDT module" and avoids building a kernel
> > > for each DSDT.
> >
> > This is the 1st reason I've seen for not simply using an
> > ACPI_DSDT_OVERRIDE config option to pull a DSDT into the kernel
> > from a well-known file name.
> 
> DSDT problems will be around for a long time as this 
> technology makes it into the main stream, while still maturing.
> 
> For example: I found DSDT of a recent P4 mainboard has 16 
> compile errors. 
> 
> Realistically, one can't go really into production with it 
> without being able to override.

It should be obvious that using DSDT override (however easy we make it)
is NOT an option for distributions or any sort of non-developer
solution. You mention that distributions could install DSDTs on
installation but I don't buy it. This is part of the reason that I
haven't been very receptive towards making DSDT override very easy.

We need to look for solutions that make using an ACPI-enabled kernel
possible on the widest number of machines possible, *without* involving
DSDT override. If there are bugs in the interpreter, we need to fix
them. If there are bugs in the DSDT, we need to get on OEMs to fix them.
Or, we need to have a blacklist that, either via specific system
signatures or just BIOS date, safely reverts to non-ACPI on machines on
which it has problems.

I really think it's kind of funny that so many people on this mailing
list have gotten so good at fixing their systems' DSDT (maybe they
should apply for BIOS engineer jobs!) but this skill is the equivalent
of requiring someone to know how an engine works in order to drive a
car.

Regards -- Andy


-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful,
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge

^ permalink raw reply	[flat|nested] 23+ messages in thread
* RE: DSDT in initrd
@ 2003-05-16  1:41 Brown, Len
       [not found] ` <A5974D8E5F98D511BB910002A50A6647054FC400-MgY+aF+eRfZviC08c4yzC1DQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 23+ messages in thread
From: Brown, Len @ 2003-05-16  1:41 UTC (permalink / raw)
  To: 'Michael Frank', acpi-devel-pyega4qmqnRoyOMFzWx49A

> IMHO this patch is very useful because it provides the 
> equivalent of a "DSDT module" and avoids building a kernel 
> for each DSDT.

This is the 1st reason I've seen for not simply using an ACPI_DSDT_OVERRIDE
config option to pull a DSDT into the kernel from a well-known file name.

I figure that the set of people who go to the trouble to get a custom DSDT
are mostly included in the set of people who config and build a kernel for
their system.  As such, ACPI_DSDT_OVERRIDE would be simple and sufficient --
without requiring admins to change any code.

It makes me uneasy to append the DSDT to the initrd image.  This encumbers
the initrd booting scheme with ACPI BIOS workarounds.  What happens when
somebody changes how initrd works?  If appending a DSDT image to initrd is
okay, why not append other things such as the ACPI black-list, for the same
reasons?

I think I'd be happier with the DSDT being _in_ the initrd as a named
file/module -- just like the other boot-time modules, rather than being
magically appended to the image.  Of course this would require you to run
mkinitrd for each platform; unless multiple named tables were included in
the initrd.

-Len


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

^ permalink raw reply	[flat|nested] 23+ messages in thread
* DSDT in initrd
@ 2003-05-13  4:28 Michael Frank
  0 siblings, 0 replies; 23+ messages in thread
From: Michael Frank @ 2003-05-13  4:28 UTC (permalink / raw)
  To: acpi-devel-pyega4qmqnRoyOMFzWx49A

Hi All,

I would like to use the DSDT override and have at this time at 3 buggy DSDT's to fix.

So far I build a modular kernel for use on all machines, even those w/o ACPI.

IMHO this patch is very useful because it provides the equivalent of a "DSDT module" and avoids building a kernel for each DSDT.

Please consider inclusion.


Regards
Michael


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

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

end of thread, other threads:[~2003-05-21  7:23 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-17  1:17 DSDT in initrd Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847E96EA0-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-05-18 20:07   ` Mark Santcroos
     [not found]     ` <20030518200724.GB631-ScjxTogt4I4lGuH5DXb43w@public.gmane.org>
2003-05-19 10:10       ` Adachi, Kenichi
2003-05-18 21:34   ` Working around bugs in ACPI BIOS [was Re: DSDT in initrd] Pavel Machek
     [not found]     ` <20030518213405.GB452-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-05-19 15:17       ` Ducrot Bruno
     [not found]         ` <20030519151727.GK346-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-05-19 15:14           ` Alan Cox
     [not found]             ` <1053357286.28972.0.camel-2MMpYkNvuYAXoXS6vNje7nviChZXdy279dF7HbQ/qKg@public.gmane.org>
2003-05-20 14:01               ` Ducrot Bruno
2003-05-19 17:07     ` Kevin Fenzi
  -- strict thread matches above, loose matches on Subject: below --
2003-05-19 14:38 DSDT in initrd Brown, Len
     [not found] ` <A5974D8E5F98D511BB910002A50A6647054FC40A-MgY+aF+eRfZviC08c4yzC1DQ4js95KgL@public.gmane.org>
2003-05-19 14:53   ` Ducrot Bruno
2003-05-19 15:26   ` Michael Frank
2003-05-20 16:56   ` Markus Gaugusch
     [not found]     ` <Pine.LNX.4.53.0305191725350.9728-sxQ525G0OhRQK2oVCIMtW7NldLUNz+W/@public.gmane.org>
2003-05-20 18:01       ` Matthew Wilcox
     [not found]         ` <20030520180149.GJ31518-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2003-05-20 18:03           ` Markus Gaugusch
2003-05-21  7:23             ` Nathan Gray
2003-05-16 22:50 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A2A7-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-05-16 23:04   ` Randy.Dunlap
2003-05-17  9:30   ` Markus Gaugusch
2003-05-20 15:37   ` Christian Zoz
2003-05-16  1:41 Brown, Len
     [not found] ` <A5974D8E5F98D511BB910002A50A6647054FC400-MgY+aF+eRfZviC08c4yzC1DQ4js95KgL@public.gmane.org>
2003-05-16  5:58   ` Markus Gaugusch
2003-05-16  6:24   ` Michael Frank
2003-05-13  4:28 Michael Frank

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