OK. Just found out that I need to apply a patch to the kernel source for it to work properly. Seem that the BIOS is giving the wrong version info. Attach is my patch file, can it be included so that I don't need to recompile the kernel everytime?
Thanks. On Monday 12 August 2002 09:32 am, Chua Keng Koon wrote: > Just installed the beta 2 on my dual boot notebook (window 2000/mandrake > cooker). > > everything works great! however, when I booted to window 2000 and then > boot back to linux, the system freezes ramdomly. > > I'm using FOSA 340S8 ( SIS630 chipsets) -- Chua Keng Koon Email:[EMAIL PROTECTED] Linux 2.4.18-21mdk (gcc 3.2) Mandrake Linux release 9.0 (Cooker) for i686 11:26am up 2:46, 4 users, load average: 0.25, 0.12, 0.08
--- apm.c 2002-05-25 09:01:40.000000000 +0800 +++ /home/koon/Personal/apm.c 2002-05-24 11:29:41.000000000 +0800 @@ -1866,6 +1866,12 @@ if (apm_disabled != -1) apm_info.disabled = apm_disabled; + + /* Crude fix for FOSA 340S + */ + + if (apm_info.bios.version == 0x102) + apm_info.bios.version = 0x101; /* * Fix for the Compaq Contura 3/25c which reports BIOS version 0.1 * but is reportedly a 1.0 BIOS.
