Re: [PATCH] PnPBIOS 2.4.9-ac1[56] Vaio fix

From: Thomas Hood (jdthood@home.dhs.org)
Date: Tue Oct 02 2001 - 08:37:50 EST


>> 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.
>
>Yes:
># cd /proc/bus/pnp/
># ls
>00 01 02 03 04 05 06 07 08 09 0b 0c 0d 0e boot devices
># ls boot
>00 01 02 03 04 05 06 07 08 09 0b 0c 0d 0e
>
>> 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.)
>
>It doesn't crash. I did a "cat /proc/bus/pnp/0* > /dev/null"
>and the laptop is still alive.

Well! That's interesting. Reading from those files
induces the same calls to the PnP BIOS that crashed
your system before. A mystery. Perhaps there's a way
to use the "current" config of your PnP BIOS after all---
so long as you avoid the particular [sequences of] calls that
cause crashes. You'll have to experiment with this yourself.

In the meantime, though, it's safest to disable use of
the "current" config entirely on Sony Vaio Laptops. I'll
test your patch now.

-- 
Thomas Hood
(Don't reply to the From: address but to jdthood_AT_yahoo.co.uk)
-
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:21 EST