From: "J.D. Hood" <jdthood@yahoo.co.uk>
To: Stelian Pop <stelian.pop@fr.alcove.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] PnPBIOS 2.4.9-ac1[56] Vaio fix
Date: Mon, 1 Oct 2001 20:21:04 +0100 (BST) [thread overview]
Message-ID: <20011001192104.17249.qmail@web10307.mail.yahoo.com> (raw)
In-Reply-To: <20011001154136.K5531@come.alcove-fr>
--- Stelian Pop <stelian.pop@fr.alcove.com> wrote:
> As I said, the DMI scan routines are still *after* the PnP
> driver initialization. I didn't really tested it, but I suspect
> is_sony_vaio_laptop to be 0 when your routines are called.
> Something else must have changed in your code to enable my Vaio to
> boot...
I changed the initialization routine so that it would
use "boot" rather than "current" config values as much as
possible.
However, if is_sony_vaio_laptop is 0 at pnpbios init
time then if you look in /proc/bus/pnp you'll see numerical
entries there. Want to crash your machine? Just read from
them. (The numerically named entries in /proc/bus/pnp/boot
should be okay to read and write, though.)
We need to know when is_sony_vaio_laptop so that we can
stop this from happening. So either we put the dmi scan
earlier (which Alan says is in the works) or else we allow
the creation of the proc entries at init time but reject
read/write accesses after init time. I'll make up a patch
that does the latter, but it would be nicest if the proc
entries were omitted altogether.
--
Thomas
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
next prev parent reply other threads:[~2001-10-01 19:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-01 12:54 Thomas Hood
2001-10-01 13:41 ` Stelian Pop
2001-10-01 19:21 ` J.D. Hood [this message]
2001-10-02 8:35 ` Stelian Pop
2001-10-01 13:44 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2001-10-02 15:15 Thomas Hood
2001-10-02 13:37 Thomas Hood
2001-10-02 1:54 Thomas Hood
2001-09-30 17:46 Thomas Hood
2001-10-01 10:04 ` Stelian Pop
2001-10-01 13:50 ` St?phane List
2001-09-29 0:29 Thomas Hood
2001-09-29 0:28 Thomas Hood
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=20011001192104.17249.qmail@web10307.mail.yahoo.com \
--to=jdthood@yahoo.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=stelian.pop@fr.alcove.com \
/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
all inboxes | Powered by JetHome®