VirtualBox

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.

Change History (2)

by Martin Cockerell, 13 years ago

Attachment: memobj-r0drv-linux.c added

memobj-r0drv-linux.c with added printk calls for debugging

by Martin Cockerell, 13 years ago

Attachment: dmesg.log added

Extract from dmesg output showing debugging messages

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use