[Bug 595190] Re: kernel NULL pointer dereference when starting a Windows guest in VMware-player

Stefan Brozinski Stefan.Brozinski at gmx.net
Sat Jun 19 17:56:54 UTC 2010


I tried to test with the latest kernel from http://kernel.ubuntu.com
/~kernel-ppa/mainline/daily/current/.

I noticed that the file 'linux-source-2.6.35_2.6.35-999.201006151505_all.deb' is only 2.2K. That doesn't look good to me.
However, the other files have a reasonable size and the kernel image boots.

  # uname -a
  Linux layton 2.6.35-999-generic #201006151505 SMP Tue Jun 15 14:08:25 UTC 2010 x86_64 GNU/Linux

Before running VMware player, I have to recompile VMware's kernel
modules. The automated process fails, and trying to compile the modules
manually results in:

# vmware-modconfig --console --install-all
Using 2.6.x kernel build system.
make: Entering directory '/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-999-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-2.6.35-999-generic'
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2004: warning: ‘newUpBase’ may be used uninitialized in this function
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:156: error: implicit declaration of function ‘iommu_map_range’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_VMCleanup’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:403: error: implicit declaration of function ‘iommu_unmap_range’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Fehler 2
make[1]: Leaving directory '/usr/src/linux-headers-2.6.35-999-generic'
make: *** [vmmon.ko] Fehler 2
make: Leaving directory '/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon

This may be caused by this very small 'linux-source-2.6.35_2.6.35-999.201006151505_all.deb' archive.
Doing a 'grep' for the missing symbol ‘iommu_map_range’ does find a few occurrences in my 'old' kernel header tree (/usr/src/linux-headers-2.6.32-22), but it does not appear in the 'new' kernel header tree '/usr/src/linux-headers-2.6.35-999'.

There are two dead symlinks below 'linux-headers-2.6.35-999-generic':

# ls -l /usr/src/linux-headers-2.6.35-999-generic/source
lrwxrwxrwx 1 root root 26 2010-06-19 19:23 /usr/src/linux-headers-2.6.35-999-generic/source -> /home/kernel-ppa/COD/linux

# ls -l /usr/src/linux-headers-2.6.35-999-generic/include/asm
lrwxrwxrwx 1 root root 7 2010-06-19 19:23 /usr/src/linux-headers-2.6.35-999-generic/include/asm -> asm-x86

Both point to a non-existing target.

I am stuck at this point. Any idea how to proceed?

** Tags removed: needs-upstream-testing

-- 
kernel NULL pointer dereference when starting a Windows guest in VMware-player
https://bugs.launchpad.net/bugs/595190
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list