linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: trenn@suse.de
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Philippe Coval <rzr@users.sourceforge.net>,
	linux-acpi@vger.kernel.org
Subject: initrd DSDT override (Re: Feedback about your talk in Rennes France (20080124) : Evolution of the Linux kernel & virtualization technologies)
Date: Fri, 25 Jan 2008 23:39:44 -0500	[thread overview]
Message-ID: <200801252339.44246.lenb@kernel.org> (raw)
In-Reply-To: <20080125063328.4e3b4752.akpm@linux-foundation.org>


> > I am annoyed by this missing (or rejected) feature upstream : DSDT
> >   http://gaugusch.at/kernel.shtml
> > 
> > So to use "custom DSDT loading" I have to patch my laptop buggy BIOS
> > 
> > As usual, I reported this issue to the vendor (which goes nowhere so far) :
> >   http://support.fujitsu-siemens.de/forum/viewtopic.php?p=37001
> > 
> > Hopefully many distro already include this patch, but not all of them
> > such as debian :
> >   http://bugs.debian.org/251023
> >   http://wiki.debian.org/DebianKernelPatchAcceptanceGuidelines
> > 
> > So as a debian contributor, I keep staying on debian and compile my own
> > kernel
> >   and provide it to a "amiloa laptop" community I am managing :
> >   http://tech.groups.yahoo.com/group/amilo/
> > 
> > It's ok for me I can live with this,  but what average users have to do
> > with their (buggy) hardware ?
> 
> Philosophically speaking: we sholdn't be making decisions for other people
> like this.
> 
> Practically speaking: the fact that distros are shipping it is a huge
> indication that the decision was wrong.
> 
> Len?  I think we goofed here.

Here is the existing supported DSDT override method:

http://www.lesswatts.org/projects/acpi/overridingDSDT.php

and at the bottom of that page I point to the alternate initrd
method and explain why I've not applied it upstream.

My goal for the Linux/ACPI project is to make Linux
work out-of-the-box on any system where Windows works.

Giving "Joe User", who is incapable of compiling
a kernel, an easy method to override his BIOS image
makes him more likely to settle for a workaround.
And that effort undermines, rather than supports, our goal.

However, Philippe points out that the FSC Amilo box
also fails the same way under Windows -- and the
vendor is unwilling or unable to fix their BIOS.
While Phillippe could build a kernel from source
and link in a DSDT via the supported developer method above,
or he could run SuSE or Ubuntu which include the initrd
patch, he'd prefer to track Debian w/o re-compiling.

I'm fine with making it more convenient for
FSC Amilo ownersr to make their laptops work better
under Linux than under Windows -- even if it is impossible
for a Linux distro to support the resulting configuration.
They're otherwise stuck with junk hardware or extra work.

Also, Thomas continues to assert that this patch
makes SuSE easier to debug in the field b/c he can convince
users who are unable to re-compile their kernel
go ahead and override their BIOS image for debugging
(bless their trusting hearts;-)

So at the risk that we're giving "Joe User" more
than enough rope to hang themselves, lets do it --
with some strings attached...

Thomas,
Since you've been a big supporter of this patch, perhaps you
can update it and submit it to the list for review?

I think it needs the following changes:

1. tainted bit needs to be set when a DSDT override is used.
   (this is common both to the new patch and the current
    override method)

2. upon setting the tainted bit, print a BIG FAT WARNING
   that this is not a supported configuration.

3. cmdline option needs to be available to disable
   an override.  Otherwise a bad image in the intrd
   may be a serious pickle for some users.

4. get rid of alarming failure message:

+	printk(KERN_INFO "Looking for DSDT in initrd ...");
...
+	printk(" not found!\n");

Probably it is best to forward the original patch
w/ proper credits, and then send updates to address 1-4.

thanks,
-Len


       reply	other threads:[~2008-01-26  4:40 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4798E2A5.6020804@users.sf.net>
     [not found] ` <20080125063328.4e3b4752.akpm@linux-foundation.org>
2008-01-26  4:39   ` Len Brown [this message]
2008-01-30 17:27     ` [PATCH] Override DSDT and SSDTs via initramfs Thomas Renninger
2008-01-30 22:36       ` Éric Piel
2008-01-31 19:17         ` Len Brown
2008-02-01  9:53           ` Thomas Renninger
2008-02-01 11:07             ` Alexey Starikovskiy
2008-02-01 11:29               ` Thomas Renninger
2008-02-02  4:36             ` Len Brown
2008-02-03 17:28               ` [PATCH 0/3] Override DSDT " Éric Piel
2008-02-04 17:53                 ` Thomas Renninger
2008-02-04 22:57                   ` Éric Piel
2008-02-07  0:15                 ` Len Brown
2008-02-07  0:23                   ` Éric Piel
2008-02-07  1:07                     ` Len Brown
2008-02-07  1:12                     ` initrd DSDT override patch series Len Brown
2008-02-07  1:12                     ` [PATCH] ACPI: basic initramfs DSDT override support Len Brown
2008-02-07  1:12                     ` [PATCH] ACPI: Taint kernel on ACPI table override (format corrected) Len Brown
2008-02-07  1:12                     ` [PATCH] ACPI: Add "acpi_no_initrd_override" kernel parameter Len Brown
2008-02-07  1:12                     ` [PATCH] ACPI: update DSDT override documentation Len Brown
2008-02-07  1:12                     ` [PATCH] ACPI: update intrd DSDT override console messages Len Brown
2008-02-03 17:28               ` [PATCH 1/3] The basics of DSDT from initramfs Éric Piel
2008-02-03 17:39                 ` Markus Gaugusch
2008-02-03 17:55                   ` Éric Piel
2008-02-04 23:04                     ` [PATCH 1/3] The basics of DSDT from initramfs (format corrected) Éric Piel
2008-02-06 23:54                       ` Len Brown
2008-02-05 14:43                 ` [PATCH 1/3] The basics of DSDT from initramfs Thomas Renninger
2008-02-05 14:56                   ` Carlos Corbacho
2008-02-03 17:29               ` [PATCH 2/3] Taint kernel on ACPI table override Éric Piel
2008-02-04 23:04                 ` [PATCH 2/3] Taint kernel on ACPI table override (format corrected) Éric Piel
2008-02-03 17:29               ` [PATCH 3/3] Add acpi_no_initrd_override kernel parameter Éric Piel
2008-02-04 23:04                 ` [PATCH 3/3] Add acpi_no_initrd_override kernel parameter (format corrected) Éric Piel
2008-02-01 10:21         ` [PATCH] Override DSDT and SSDTs via initramfs Thomas Renninger
2008-02-01 10:38           ` Eric Piel
2008-02-07  2:51           ` Len Brown
2008-02-07  7:57             ` Éric Piel
2008-04-18 22:07             ` Philippe Coval
2008-04-18 23:25               ` Eric Piel
2008-02-07  2:49         ` Len Brown

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=200801252339.44246.lenb@kernel.org \
    --to=lenb@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rzr@users.sourceforge.net \
    --cc=trenn@suse.de \
    /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).