Tiny patch for vmware-config.pl

Phil Stracchino wrote:
> 
> I just compiled and installed kernel 2.4.0-test11.  Upon rebooting,
> vmware-2.0.3-786 refused to run.  Running vmware-config.pl resulted in a
> the following message:
> 
>         "Your processor does not have a Time Stamp Counter. VMware will
>          not run on this system."
> 

-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               [EMAIL PROTECTED]

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               [EMAIL PROTECTED]
=====================================================================
--- vmware-config.pl.old        Thu Nov 23 15:12:32 2000
+++ vmware-config.pl    Thu Nov 23 15:12:55 2000
@@ -1113,7 +1113,7 @@
   if (direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string('^cpuid') . 
' /proc/cpuinfo') eq '') {
     error('Your ' . (($gSystem{'smp'} eq 'yes') ? 'processors do' : 'processor does') 
. ' not support the cpuid instruction. VMware will not run on this system.' . "\n\n");
   }
-  if (direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string('^flags.* 
tsc') . ' /proc/cpuinfo') eq '') {
+  if (direct_command(shell_string($gHelper{'grep'}) . ' ' . shell_string('^features.* 
+tsc') . ' /proc/cpuinfo') eq '') {
     error('Your ' . (($gSystem{'smp'} eq 'yes') ? 'processors do' : 'processor does') 
. ' not have a Time Stamp Counter. VMware will not run on this system.' . "\n\n");
   }
 }

Reply via email to