RTMemLockedFree undefined in 52428 trunk?

Discussions related to using the OSE version of VirtualBox.
Post Reply
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

RTMemLockedFree undefined in 52428 trunk?

Post by incident41 »

I built today's SVN to try and see whether it would compile under the 3.17-rc1 kernel, and indeed the compilation is successful (4.3.14 does not build due to changes in net structures).

The resulting build however fails to start my 64-bit Win7 VM in the x86_64 F19 host with this popup window content:

Code: Select all

Failed to open a session for the virtual machine Win7-64-OBI.

Loading VD plugins failed (VERR_FILE_NOT_FOUND).

Failed to attach driver below us! File not found. (VERR_FILE_NOT_FOUND).

AHCI: Failed to attach drive to Port0 (VERR_FILE_NOT_FOUND).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {d129b03e-037a-40b1-b288-a08ae73de535}
and VBoxSVC.log complains about an unresolvable RTMemLockedFree in VDPluginCrypt.so:

(minor edits: replaced my home username and cut out the DNS servers information)

Code: Select all

VirtualBox XPCOM Server 4.3.53_OSE r52428 linux.amd64 (Aug 26 2014 15:40:54) release log
00:00:00.000808 main     Log opened 2014-08-26T13:46:44.959226000Z
00:00:00.000812 main     Build Type: release
00:00:00.000819 main     OS Product: Linux
00:00:00.000821 main     OS Release: 3.17.0-rc1
00:00:00.000823 main     OS Version: #2 SMP Tue Aug 19 13:01:00 CEST 2014
00:00:00.000868 main     DMI Product Name: Latitude E6420
00:00:00.000888 main     DMI Product Version: 01
00:00:00.001185 main     Host RAM: 7920MB total, 7309MB available
00:00:00.001192 main     Executable: /opt/VirtualBox/VBoxSVC
00:00:00.001193 main     Process ID: 26871
00:00:00.001195 main     Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.117011 nspr-2   Loading settings file "/home/<xxxxx>/.VirtualBox/VirtualBox.xml" with version "1.12-linux"
00:00:00.122547 nspr-2   Successfully initialised host USB using sysfs
00:00:00.131098 nspr-2   NetIfAdpCtlOut: VBoxNetAdpCtl: Error while retrieving link speed for wlp2s0: VBoxNetAdpCtl: ioctl failed: Operation not supported
00:00:00.155984 nspr-2   VDInit finished
00:00:00.195606 nspr-2   rtldrNativeLoad: dlopen('/opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VDPluginCrypt.so', RTLD_NOW | RTLD_LOCAL) failed: /opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VDPluginCrypt.so: undefined symbol: RTMemLockedFree
00:00:00.257593 nspr-2   Loading settings file "/home/<xxxxx>/VirtualBox VMs/Win7-64-OBI/Win7-64-OBI.vbox" with version "1.12-linux"
00:00:07.039499 nspr-2   ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={96ae59d6-fecd-4a32-b051-23643eb4cd56} aComponent={MachineWrap} aText={Machine is not locked for session (session state: Unlocked)}, preserve=false
00:00:07.246085 nspr-2   Load [/opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxHostWebcam.so] rc VINF_SUCCESS
00:00:07.435008 nspr-3   ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={96ae59d6-fecd-4a32-b051-23643eb4cd56} aComponent={SessionMachine} aText={Saved screenshot data is not available (VERR_NOT_SUPPORTED)}, preserve=false
00:00:07.453143 nspr-4   NetIfAdpCtlOut: VBoxNetAdpCtl: Error while retrieving link speed for wlp2s0: VBoxNetAdpCtl: ioctl failed: Operation not supported
Any hints? Thanks in advance :)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: RTMemLockedFree undefined in 52428 trunk?

Post by Perryg »

It's not uncommon for pre-released kernels to have issues. There is a discussion I read about some work around, however I don't remember where it is located.

Search via google or your favorite search engine for 3.16 kernel site:virtualbox.org
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: RTMemLockedFree undefined in 52428 trunk?

Post by incident41 »

Hi Perryg -
not sure I am understanding you here...

I am aware that VirtualBox-release might not build on -rc kernels - no issue there, that's why I try SVN builds :)


The VirtualBox-SVN-52428 build works from a compilation standpoint - it "builds" successfully.

It does not however "run" correctly, in that my Win7 VM does not start from the GUI, nor it does from vboxmanage.


Maybe you're referring to a distinct issue I had time ago - viewtopic.php?f=10&t=56954 ?
If so, I renamed /opt/VirtualBox this time around as well and still I get the same error :(

I'll try next removing the "out" dir (which I didn't need to do last time) and report back.
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: RTMemLockedFree undefined in 52428 trunk?

Post by incident41 »

Still no go, unfortunately.

- rm "out" directory in local trunk copy
- remove /opt/VirtualBox
- recompile VirtualBox-SVN-52428 / pack / install in /opt/VirtualBox
- first GUI error upon starting VM suggests I install Extensions Pack
First error on GUI
First error on GUI
vbox-gui-error-1.png (106.29 KiB) Viewed 7636 times
-> I install the 4.3.14 Extensions Pack

- try again, second GUI error complaining about AHCI
Second GUI error
Second GUI error
vbox-gui-error-2.png (104.28 KiB) Viewed 7636 times
- VBoxSVC.log still complains about dlopen unresolved symbol as per previous posts.


Apologies for the scaled-down low-quality screenshots, my Gimp skills are nearly zero and the originals exceeded the forum limits.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: RTMemLockedFree undefined in 52428 trunk?

Post by Perryg »

You can't use the 4.3.* extension pack with SVN. It will not work. SVN is actually a build for 4.4.* and used for testing.
You can request a valid extpack on the DEVs mailing list.
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: RTMemLockedFree undefined in 52428 trunk?

Post by incident41 »

OK - didn't know about the extpack issue, thanks for clarifying.

Unfortunately I don't think I have enough bandwidth to get on the dev lists and follow up, so for now I'll simply stick to using 4.3.14 under pre-3.17 kernels.

Thanks again!
Martin
Volunteer
Posts: 2560
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: RTMemLockedFree undefined in 52428 trunk?

Post by Martin »

The vbox-dev mailing list has only a few messages per day (156 this year) :wink:
Post Reply