The abovementioned patch does NOT fix this problem on a 32-bit guest I'm working on. This is with the same version of the module source package.
With that patch applied, I get the following:
CC [M] /usr/src/modules/open-vm/modules/linux/vmhgfs/page.o
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c: In function ‘HgfsDoWriteBegin’:
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c:763: warning: ISO C90 forbids mixed declarations and code
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c: In function ‘HgfsWriteBegin’:
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c:867: error: implicit declaration of function ‘__grab_cache_page’
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c:867: warning: assignment makes pointer from integer without a cast
make[5]: *** [/usr/src/modules/open-vm/modules/linux/vmhgfs/page.o] Error 1
make[4]: *** [_module_/usr/src/modules/open-vm/modules/linux/vmhgfs] Error 2
make[4]: Leaving directory `/usr/src/linux-headers-2.6.28-11-server'
The abovementioned patch does NOT fix this problem on a 32-bit guest I'm working on. This is with the same version of the module source package.
With that patch applied, I get the following:
CC [M] /usr/src/ modules/ open-vm/ modules/ linux/vmhgfs/ page.o modules/ open-vm/ modules/ linux/vmhgfs/ page.c: In function ‘HgfsDoWriteBegin’: modules/ open-vm/ modules/ linux/vmhgfs/ page.c: 763: warning: ISO C90 forbids mixed declarations and code modules/ open-vm/ modules/ linux/vmhgfs/ page.c: In function ‘HgfsWriteBegin’: modules/ open-vm/ modules/ linux/vmhgfs/ page.c: 867: error: implicit declaration of function ‘__grab_cache_page’ modules/ open-vm/ modules/ linux/vmhgfs/ page.c: 867: warning: assignment makes pointer from integer without a cast modules/ open-vm/ modules/ linux/vmhgfs/ page.o] Error 1 /usr/src/ modules/ open-vm/ modules/ linux/vmhgfs] Error 2 linux-headers- 2.6.28- 11-server'
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
make[5]: *** [/usr/src/
make[4]: *** [_module_
make[4]: Leaving directory `/usr/src/