Ticket #2550 (closed defect: fixed)
Undefined symbol in vboxvfs in x86_64 guest => Fixed in SVN
|Reported by:||sandbox||Owned by:|
|Version:||VirtualBox 2.0.4||Keywords:||shared folder linux guest x86 vboxvfs RTSpinlockCreate|
I tried to use shared folders in opensuse 64 11.0 guest but vboxvfs fails to load even though the compile process claims to be successful:
VirtualBox 2.0.4 Guest Additions installation Building the VirtualBox Guest Additions kernel module... Building the shared folder support kernel module... Installing the VirtualBox Guest Additions... Successfully installed the VirtualBox Guest Additions. You must restart your guest system in order to complete the installation.
opensuse11-64:/tmp/install # modprobe vboxvfs FATAL: Error inserting vboxvfs (/lib/modules/22.214.171.124-0.2-default/misc/vboxvfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)
opensuse11-64:/tmp/install # dmesg|tail -n 3 SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=10.0.2.15 DST=126.96.36.199 LEN=64 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=44 vboxvfs: disagrees about version of symbol RTSpinlockCreate vboxvfs: Unknown symbol RTSpinlockCreate
in /tmp/vboxadd-Module.symvers there is one strange line:
0x00000000 RTSpinlockCreate /tmp/vbox.8/vboxadd EXPORT_SYMBOL
all other lines do have an address instead of 0x00. If I delete this line and recompile only vboxvfs with "/usr/src/vboxvfs-2.0.4/build_in_tmp --use-module-symvers /tmp/vboxadd-Module.symvers --no-print-directory install" the resulting module loads fine and shared folders seem to work:
opensuse11-64:/usr/src/vboxvfs-2.0.4 # modprobe vboxvfs; lsmod|grep vbox vboxvfs 58792 0 vboxadd 89312 5 vboxvfs
However this is only an ugly workaround, I do not realy know if this breaks something and I suspect this error to occur on every newer 64 Bit distribution (it fails with same symptom and error code on Ubuntu 8.10).
I tried to reproduce this error with opensuse 11.0 32 Bit but there aren't any RTSpinlock* Symbols exported - maybe they also shouldn't be exported on 64 Bit?
Host: opensuse 11.0 64 Bit
Guest: opensuse 11.0 64 Bit or Ubuntu 8.10 64 Bit
- Summary changed from undefined symbol in vboxvfs in opensuse x86_64 guest to undefined symbol in vboxvfs in opensuse x86_64 guest => Fixed in SVN
- Summary changed from undefined symbol in vboxvfs in opensuse x86_64 guest => Fixed in SVN to Undefined symbol in vboxvfs in x86_64 guest => Fixed in SVN
comment:14 Changed 8 years ago by therp
- Status changed from closed to reopened
- Resolution fixed deleted
comment:16 Changed 8 years ago by sandervl73
- Status changed from reopened to closed
- Resolution set to fixed