Opened 13 years ago
Last modified 10 years ago
#9159 closed defect
Guest additions module vboxguest fails to load with 'unresolved symbol vunmap' — at Initial Version
Reported by: | Martin Cockerell | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 4.0.10 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
Module vboxguest fails to load due to 'unresolved symbol vunmap' in Linux guest with kernel version 2.4.20 - the vunmap system function is not available at this kernel level.
The guest additions source code contains conditional compilation directives to support various kernel levels (including above/below 2.4.22, the level at which the vmap/vunmap functions become available) but these are incomplete in the source file memobj-r0drv-linux.c. Specifically, although the use of vmap and vunmap is bypassed in several places, vunmap is still called in function rtR0MemObjNativeFree for memory types RTR0MEMOBJTYPE_RES_VIRT and RTR0MEMOBJTYPE_MAPPING.
Commenting out these vunmap calls and rebuilding allows vboxguest to load and the shared folder functionality to work.
memobj-r0drv-linux.c with added printk calls for debugging