Opened 15 years ago
Closed 14 years ago
#6064 closed defect (fixed)
no VMs can be suspended in F12 x86_64
Reported by: | karlkleinpaste | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 3.1.2 |
Keywords: | suspend | Cc: | |
Guest type: | other | Host type: | Linux |
Description
With any recent F12 kernel (e.g. currently 2.6.31.12-174.2.3.fc12.x86_64), I am no longer able to suspend any VM. I have WinXP, Ubuntu, OpenSolaris, FreeBSD, and older Fedora guests, in both 32- and 64-bit flavors, and with various CPU options enabled (i.e. PAE/NX, IO APIC, nested paging). The log (attached) reports what appears to be normal suspend behavior ("changing state from SAVING to SUSPENDED"), followed 0.097sec later by changing from SUSPENDED to POWERING_OFF. It's not as though I personally had time in between to change my mind about what I wanted to see done with the VM.
Attachments (1)
Change History (16)
by , 15 years ago
follow-up: 2 comment:1 by , 15 years ago
Can't see a problem in the logfile, the state transition looks correct. What is actual the problem? You are trying to suspend a VM, the VM is saved and there powered off. Isn't the VM marked as saved after that or what is the problem?
comment:2 by , 15 years ago
The VM is momentarily (flashed on the screen) marked "Saved" and then immediately changes to "Aborted". On powering back up, it begins from a reboot -- there is no .sav file in Machines/WindowsXP/Snapshots/ containing the memory image. It is not an issue of lack of disc space to create the .sav; the filesystem has ~70G free.
comment:3 by , 15 years ago
Aha, aborted means that it crashes when creating the saved state. You can help finding this bug by creating a core dump. Please contact me via private E-mail at frank _dot_ mehnert _at_ sun _dot_ com, I can tell you a server for uploading the core dump.
comment:4 by , 15 years ago
Got your core dump. The crash is somewhere within an X11 function. Could you check if your F12 is up-to-date (seems not)?
comment:5 by , 15 years ago
On the contrary, I'm somewhat fanatic about staying up to date, and yumex offers no new updates. If you'll tell me which packages are in question, I'll verify for you what package revisions are installed.
comment:6 by , 15 years ago
So backtrace shows death in _XrmInternalStringToQuark, in /usr/lib64/libX11.so.6. That's from package libX11-1.3-1.fc12.x86_64. That's the original as distributed in F12, as seen at http://download.fedora.redhat.com/pub/fedora/linux/releases/12/Everything/x86_64/os/Packages/ and there are no newer versions at http://download.fedora.redhat.com/pub/fedora/linux/updates/12/x86_64/.
comment:7 by , 15 years ago
New information... I noticed in the stack trace that it included use of /usr/lib64/nvidia/libGL.so.1. This package, xorg-x11-drv-nvidia-libs, was one which I installed not long ago in order that gnome-mplayer stop whining about its lack every time it begins playing a video. I never did understand why a package named for "nvidia" was needed on a machine (Lenovo T60p) with ATI display hardware.
When I move this one file out of the way, VBox can again save VMs. So it seems that there is a conflict between X11 and this library.
Regrets for the imprecise early report.
comment:8 by , 15 years ago
Unfortunately the backtrace wasn't complete here although I installed a lot of missing debug packages. gdb complained that there are no debug symbols for nvidia but yum didn't find the debug symbols for nvidia. Where do your nvidia packages come from?
comment:9 by , 15 years ago
gnome-mplayer needs libvdpau_nvidia, for no good reason I can identify. Renaming/removing this lib's libGL.so keeps VBox happy.
A pity that I didn't notice the time correlation between installing this package and VBox having trouble.
comment:10 by , 15 years ago
Well, no I get a better backtrace but unfortunately nVidia didn't put debugging symbols for their libGL.so onto the server :-( What happens when you stop your VMs, are they aborted as well?
comment:11 by , 15 years ago
With the bad libGL in place, saving aborts but just stopping via power-off ends normally, with the VM listed as "Powered off."
I've kept just the necessary libvdpau_nvidia for gnome-mplayer's sake, and moved the rest of it (/usr/lib64/nvidia) out of the way. Everything works now.
comment:12 by , 15 years ago
Btw, #6250 applies to you as well (although not related to this problem).
sample log of failure to suspend of WinXP VM in Fedora12 x86_64 host