lkml.org 
[lkml]   [2001]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PnPBIOS 2.4.9-ac1[56] Vaio fix
 --- 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
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.984 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site