To run PW build 2226 under linux kernel 2.6.25 one needs:
1) To patch the kernel to restore export of init_mm symbol as described at this link:
http://www.nvnews.net/vbulletin/showthread.php?t=109362
(it seems to be enough just to have CONFIG_UNUSED_SYMBOLS=y in the kernel config)
2) To apply the following patch to PW build 2226 (posted above) run something like:
mkdir temp
cd temp
tar -xvzf /usr/lib/parallels/devel.tar.gz
patch -p1 </path_to_patch/support_2.6.25.patch
tar -czf devel.tar.gz *
Copy created devel.tar.gz over original /usr/lib/parallels/devel.tar.gz and run parallels-config
Code:
diff -ru old/drivers/drv_main/compat/compat_memory.h new/drivers/drv_main/compat/compat_memory.h
--- old/drivers/drv_main/compat/compat_memory.h 2008-03-13 21:00:00.000000000 -0700
+++ new/drivers/drv_main/compat/compat_memory.h 2008-04-17 23:38:47.000000000 -0700
@@ -115,7 +115,7 @@
#endif
/* change page attr */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20) && LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 25)
# define compat_change_page_attr(pg, cnt, flag) change_page_attr(pg, cnt, flag)
#else
# define compat_change_page_attr(pg, cnt, flag) (0)
diff -ru old/drivers/drv_main/vmmain.h new/drivers/drv_main/vmmain.h
--- old/drivers/drv_main/vmmain.h 2008-03-13 21:00:00.000000000 -0700
+++ new/drivers/drv_main/vmmain.h 2008-04-17 23:36:44.000000000 -0700
@@ -19,6 +19,7 @@
#ifndef __VMMAIN_H__
#define __VMMAIN_H__
+#include <asm/semaphore.h>
#include <linux/slab.h>
#include "timer.h"
#include "compat/compat_memory.h"