Skip to contentSkip to conversation

PnPBIOS 2.4.9-ac1[56] Vaio fix

PATCH Thomas Hood 1 participant 1 message Oct 2, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines
Quoted 3 lines

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
Quoted 6 lines
Quoted 3 lines

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.

Signature · 2 lines
Thomas Hood
(Don't reply to the From: address but to jdthood_AT_yahoo.co.uk)