<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: VMware Server 1.0.9 und Kernel 2.6.31.3</title>
	<atom:link href="http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/</link>
	<description>Meine Katharsis</description>
	<lastBuildDate>Sun, 25 Sep 2011 07:53:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: VMware Server 1.0.10 und Kernel 2.6.32.2 &#124; IT-Psycho Blog</title>
		<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/comment-page-1/#comment-16254</link>
		<dc:creator>VMware Server 1.0.10 und Kernel 2.6.32.2 &#124; IT-Psycho Blog</dc:creator>
		<pubDate>Wed, 30 Dec 2009 15:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-psycho.de/?p=404#comment-16254</guid>
		<description>[...] Die aktuellsten Versionen von VMware Server (1.0.10) und dem Linux Kernel (2.6.32.2) funktionieren weiterhin mit den bereits existierenden IT-Psycho Patches vom Oktober. [...]</description>
		<content:encoded><![CDATA[<p>[...] Die aktuellsten Versionen von VMware Server (1.0.10) und dem Linux Kernel (2.6.32.2) funktionieren weiterhin mit den bereits existierenden IT-Psycho Patches vom Oktober. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IT Psycho</title>
		<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/comment-page-1/#comment-15218</link>
		<dc:creator>IT Psycho</dc:creator>
		<pubDate>Fri, 13 Nov 2009 20:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-psycho.de/?p=404#comment-15218</guid>
		<description>Btw: There is no need to manually patch the init_mm export. There is a patchset available in this blog posting.</description>
		<content:encoded><![CDATA[<p>Btw: There is no need to manually patch the init_mm export. There is a patchset available in this blog posting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichiX</title>
		<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/comment-page-1/#comment-15106</link>
		<dc:creator>MichiX</dc:creator>
		<pubDate>Thu, 05 Nov 2009 22:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-psycho.de/?p=404#comment-15106</guid>
		<description>Thanks for your corrections.  It is easy to apply the patch to Kernel  2.6.31-14 which is shipped with Ubuntu.  Just install the sources:

  apt-get install linux-source-2.6.31

and the following packages required to build your own kernel:

apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge apt-get build-dep linux

The following has to be done as root:

  sudo bash

Next, unpack the kernel sources:

  cd /usr/src
  tar xvfj linux-source-2.6.31.tar.bz2

and change to the source directory:

  cd linux-source-2.6.31

Now, copy the kernel-config you use (I use the generic-pae one):

  cp /boot/config-2.6.31-14-generic-pae .config

Now, patch the kernel sources manually:

  vi arch/x86/kernel/init_task.c
    after line:
      static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
    add new line:
      EXPORT_UNUSED_SYMBOL(init_mm);

  vi include/linux/init_task.h
    after line:
      extern struct fs_struct init_fs;
    add new lines:
      #define INIT_MM(name) \
      {                                                               \
              .mm_rb          = RB_ROOT,                              \
              .pgd            = swapper_pg_dir,                       \
              .mm_users       = ATOMIC_INIT(2),                       \
              .mm_count       = ATOMIC_INIT(1),                       \
              .mmap_sem       = __RWSEM_INITIALIZER(name.mmap_sem),   \
              .page_table_lock =  __SPIN_LOCK_UNLOCKED(name.page_table_lock), \
              .mmlist         = LIST_HEAD_INIT(name.mmlist),          \
              .cpu_vm_mask    = CPU_MASK_ALL,                         \
      }

That&#039;s it.  Now you need to build the kernel as documented:

  http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/

and install the kernel with

  dpkg -i 

Don&#039;t forget to use the kernel modules provided by IT-Psycho to get VMWare
running.  Here, you might need to change all calls:

  compat_smp_call_function(LinuxDriverIPIHandler, NULL, 1, 1);

into:

  compat_smp_call_function(LinuxDriverIPIHandler, NULL, 1);

for the files vmmon-only/linux/driver.c and vmmon-only/linux/hostif.c

For better comfort you may want to download the fixed kernel (only based on
generic-pae) and the VMWare module files here:

http://in-flux.de/docs/linux-image-2.6.31-14-vmware-pae_2.6.31-14.48_i386.deb
http://in-flux.de/docs/linux-headers-2.6.31-14-vmware-pae_2.6.31-14.48_i386.deb
http://in-flux.de/docs/vmmon.tar
http://in-flux.de/docs/vmnet.tar

Best regards and thank you for your wonderful blog entry,
Michael.</description>
		<content:encoded><![CDATA[<p>Thanks for your corrections.  It is easy to apply the patch to Kernel  2.6.31-14 which is shipped with Ubuntu.  Just install the sources:</p>
<p>  apt-get install linux-source-2.6.31</p>
<p>and the following packages required to build your own kernel:</p>
<p>apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge apt-get build-dep linux</p>
<p>The following has to be done as root:</p>
<p>  sudo bash</p>
<p>Next, unpack the kernel sources:</p>
<p>  cd /usr/src<br />
  tar xvfj linux-source-2.6.31.tar.bz2</p>
<p>and change to the source directory:</p>
<p>  cd linux-source-2.6.31</p>
<p>Now, copy the kernel-config you use (I use the generic-pae one):</p>
<p>  cp /boot/config-2.6.31-14-generic-pae .config</p>
<p>Now, patch the kernel sources manually:</p>
<p>  vi arch/x86/kernel/init_task.c<br />
    after line:<br />
      static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);<br />
    add new line:<br />
      EXPORT_UNUSED_SYMBOL(init_mm);</p>
<p>  vi include/linux/init_task.h<br />
    after line:<br />
      extern struct fs_struct init_fs;<br />
    add new lines:<br />
      #define INIT_MM(name) \<br />
      {                                                               \<br />
              .mm_rb          = RB_ROOT,                              \<br />
              .pgd            = swapper_pg_dir,                       \<br />
              .mm_users       = ATOMIC_INIT(2),                       \<br />
              .mm_count       = ATOMIC_INIT(1),                       \<br />
              .mmap_sem       = __RWSEM_INITIALIZER(name.mmap_sem),   \<br />
              .page_table_lock =  __SPIN_LOCK_UNLOCKED(name.page_table_lock), \<br />
              .mmlist         = LIST_HEAD_INIT(name.mmlist),          \<br />
              .cpu_vm_mask    = CPU_MASK_ALL,                         \<br />
      }</p>
<p>That&#8217;s it.  Now you need to build the kernel as documented:</p>
<p>  <a href="http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/">http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/</a></p>
<p>and install the kernel with</p>
<p>  dpkg -i </p>
<p>Don&#8217;t forget to use the kernel modules provided by IT-Psycho to get VMWare<br />
running.  Here, you might need to change all calls:</p>
<p>  compat_smp_call_function(LinuxDriverIPIHandler, NULL, 1, 1);</p>
<p>into:</p>
<p>  compat_smp_call_function(LinuxDriverIPIHandler, NULL, 1);</p>
<p>for the files vmmon-only/linux/driver.c and vmmon-only/linux/hostif.c</p>
<p>For better comfort you may want to download the fixed kernel (only based on<br />
generic-pae) and the VMWare module files here:</p>
<p><a href="http://in-flux.de/docs/linux-image-2.6.31-14-vmware-pae_2.6.31-14.48_i386.deb">http://in-flux.de/docs/linux-image-2.6.31-14-vmware-pae_2.6.31-14.48_i386.deb</a><br />
<a href="http://in-flux.de/docs/linux-headers-2.6.31-14-vmware-pae_2.6.31-14.48_i386.deb">http://in-flux.de/docs/linux-headers-2.6.31-14-vmware-pae_2.6.31-14.48_i386.deb</a><br />
<a href="http://in-flux.de/docs/vmmon.tar">http://in-flux.de/docs/vmmon.tar</a><br />
<a href="http://in-flux.de/docs/vmnet.tar">http://in-flux.de/docs/vmnet.tar</a></p>
<p>Best regards and thank you for your wonderful blog entry,<br />
Michael.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johann</title>
		<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/comment-page-1/#comment-15094</link>
		<dc:creator>Johann</dc:creator>
		<pubDate>Tue, 03 Nov 2009 13:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-psycho.de/?p=404#comment-15094</guid>
		<description>Besten Dank f&#252;r die Anleitung. Wie benutze ich den patch - und l&#228;uft der auch f&#252;r den Kernel 2.6.31-14-generic (Karmic -aktuell)?
Bin schon Tage am Suchen ...

Freue mich &#252;ber eine kurze Antwort.

Johann</description>
		<content:encoded><![CDATA[<p>Besten Dank f&uuml;r die Anleitung. Wie benutze ich den patch &#8211; und l&auml;uft der auch f&uuml;r den Kernel 2.6.31-14-generic (Karmic -aktuell)?<br />
Bin schon Tage am Suchen &#8230;</p>
<p>Freue mich &uuml;ber eine kurze Antwort.</p>
<p>Johann</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: badza</title>
		<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/comment-page-1/#comment-14987</link>
		<dc:creator>badza</dc:creator>
		<pubDate>Tue, 20 Oct 2009 21:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-psycho.de/?p=404#comment-14987</guid>
		<description>I don&#039;t understand, 4 arguments are too many and 3 arguments are too little :(

/tmp/vmware-config0/vmmon-only/linux/driver.c:1736:71: error: macro &quot;compat_smp_call_function&quot; requires 4 arguments, but only 3 given</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand, 4 arguments are too many and 3 arguments are too little :(</p>
<p>/tmp/vmware-config0/vmmon-only/linux/driver.c:1736:71: error: macro &#8220;compat_smp_call_function&#8221; requires 4 arguments, but only 3 given</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IT Psycho</title>
		<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/comment-page-1/#comment-14986</link>
		<dc:creator>IT Psycho</dc:creator>
		<pubDate>Tue, 20 Oct 2009 20:41:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-psycho.de/?p=404#comment-14986</guid>
		<description>Try this one:
Edit the line #1736 in vmmon-only/linux/driver.c 
from
retval = compat_smp_call_function(LinuxDriverIPIHandler, NULL, 1, 1);
to
retval = compat_smp_call_function(LinuxDriverIPIHandler, NULL, 1);

Please let me know if that does the trick.</description>
		<content:encoded><![CDATA[<p>Try this one:<br />
Edit the line #1736 in vmmon-only/linux/driver.c<br />
from<br />
retval = compat_smp_call_function(LinuxDriverIPIHandler, NULL, 1, 1);<br />
to<br />
retval = compat_smp_call_function(LinuxDriverIPIHandler, NULL, 1);</p>
<p>Please let me know if that does the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: badza</title>
		<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/comment-page-1/#comment-14985</link>
		<dc:creator>badza</dc:creator>
		<pubDate>Tue, 20 Oct 2009 17:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-psycho.de/?p=404#comment-14985</guid>
		<description>Hi,
# CONFIG_SMP is not set
and result is OK (with many warnings). Without SMP other 3 cores of my Quad are unusable, but i need them :(  Can you help me pls?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
# CONFIG_SMP is not set<br />
and result is OK (with many warnings). Without SMP other 3 cores of my Quad are unusable, but i need them :(  Can you help me pls?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IT Psycho</title>
		<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/comment-page-1/#comment-14982</link>
		<dc:creator>IT Psycho</dc:creator>
		<pubDate>Tue, 20 Oct 2009 05:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-psycho.de/?p=404#comment-14982</guid>
		<description>Try without SMP support and tell me if that works for you.</description>
		<content:encoded><![CDATA[<p>Try without SMP support and tell me if that works for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: badza</title>
		<link>http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/comment-page-1/#comment-14976</link>
		<dc:creator>badza</dc:creator>
		<pubDate>Mon, 19 Oct 2009 20:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-psycho.de/?p=404#comment-14976</guid>
		<description>Thx for patch, but ... :(

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only&#039;
make -C /lib/modules/2.6.31.3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.31.3-patched&#039;
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/./include/machine.h:24,
                 from /tmp/vmware-config2/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/tmp/vmware-config2/vmmon-only/./include/x86.h:830:1: warning: &quot;PTE_PFN_MASK&quot; redefined
In file included from /usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/paravirt.h:7,
                 from /usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/irqflags.h:61,
                 from include/linux/irqflags.h:57,
                 from /usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/system.h:11,
                 from /usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /tmp/vmware-config2/vmmon-only/linux/driver.c:12:
/usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/pgtable_types.h:182:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.h:20,
                 from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:11:1: warning: &quot;VMW_HAVE_EPOLL&quot; redefined
: warning: this is the location of the previous definition
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config2/vmmon-only/linux/driver.c:1736: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31.3-patched&#039;
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only&#039;
Unable to build the vmmon module.</description>
		<content:encoded><![CDATA[<p>Thx for patch, but &#8230; :(</p>
<p>Building the vmmon module.</p>
<p>Using 2.6.x kernel build system.<br />
make: Entering directory `/tmp/vmware-config2/vmmon-only&#8217;<br />
make -C /lib/modules/2.6.31.3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules<br />
make[1]: Entering directory `/usr/src/linux-2.6.31.3-patched&#8217;<br />
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o<br />
In file included from /tmp/vmware-config2/vmmon-only/./include/machine.h:24,<br />
                 from /tmp/vmware-config2/vmmon-only/linux/driver.h:15,<br />
                 from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:<br />
/tmp/vmware-config2/vmmon-only/./include/x86.h:830:1: warning: &#8220;PTE_PFN_MASK&#8221; redefined<br />
In file included from /usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/paravirt.h:7,<br />
                 from /usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/irqflags.h:61,<br />
                 from include/linux/irqflags.h:57,<br />
                 from /usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/system.h:11,<br />
                 from /usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/processor.h:17,<br />
                 from include/linux/prefetch.h:14,<br />
                 from include/linux/list.h:6,<br />
                 from include/linux/module.h:9,<br />
                 from /tmp/vmware-config2/vmmon-only/linux/driver.c:12:<br />
/usr/src/linux-2.6.31.3-patched/arch/x86/include/asm/pgtable_types.h:182:1: warning: this is the location of the previous definition<br />
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.h:20,<br />
                 from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:<br />
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:11:1: warning: &#8220;VMW_HAVE_EPOLL&#8221; redefined<br />
: warning: this is the location of the previous definition<br />
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:<br />
/tmp/vmware-config2/vmmon-only/linux/driver.c:1736: error: too many arguments to function ‘smp_call_function’<br />
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1<br />
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2<br />
make[1]: Leaving directory `/usr/src/linux-2.6.31.3-patched&#8217;<br />
make: *** [vmmon.ko] Error 2<br />
make: Leaving directory `/tmp/vmware-config2/vmmon-only&#8217;<br />
Unable to build the vmmon module.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

