Time stamp counter - co s tim ?

Pavel Janík ml. Pavel na Janik.cz
Středa Prosinec 6 09:34:16 CET 2000


   From: "David Kalita" <xkalitad na den.sin.cvut.cz>
   Date: Tue, 05 Dec 2000 20:23:00 -0500

Zdravím,

   > Prosim Vas nevite co tohle znamena. Po nainstalovani VMwaru to na me
   > krici, ze muj procesor nepodporuje TSR (time stamp counter) a odmitne se 
   > spustit. Pritom v /proc/cpuinfo je uspecifikace procesoru i TSR.
   > 
   > Pouzivam teda develop jadro 2.4.0-test11. Nevim jestli jsem neco
   > nezapomnel zakompilovat do jadra. Nemate s tim nekdo podobne zkusenosti.

ne, není to Vaše chyba. V 2.4 se změnil flags na features v
/proc/cpuinfo. Aplikujte:

--- vmware-config.pl.orig	Wed Dec  6 09:30:23 2000
+++ vmware-config.pl	Wed Dec  6 09:31:40 2000
@@ -1110,7 +1110,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");
   }
 }

Případně si můžete začít hrát s regulárními výrazy a upravit vmware tak,
aby fungoval i v 2.2. V lkml se o tom pořád mluví...
-- 
Pavel Janík ml.
Pavel na Janik.cz
http://www.janik.cz


Další informace o konferenci Linux