You are not logged in.
I have switched to [testing] and [comunity-testing] (without kde-unstable) few days ago and everything was fine, virtualBox (from here http://aur.archlinux.org/packages.php?ID=9753) too. I wasnt using VirtualBox for 3 days (and im launching pacman -Syu twice a day), and what was my surprise when i saw that this holy VBox feature which is saving-restoring just flew away...
Every other feature of VBox is working fine.
I have tested this on different kernels (2.6.33-rc5-git1 and 2.6.32.6-1-ARCH), i have rebuilded modules, and even rebuilded package, i have switched many VBox advanced options - without success. Then i decided to rollback some reasonable looking packages - just few of them (edit: like libpng-1.4.0-2 (edit: to libpng-1.4.0-1, not to previous version of libpng, although ive checked it with old libpng libs just copied to /usr/lib without symlink - and it did nothing, but problem still can be here - maybe it need direct symlink to prev libpng like: /usr/lib/libpng.so -> libpng12.so ) pciutils-3.1.6-1) - but that wasn't it...
So i decided to comment testing and com-testing and -Suu.
And its working fine now, so it must be [testing] related.
Anyway here's what VBox log is telling:
********************* End of statistics **********************
Changing the VM state from 'DESTROYING' to 'TERMINATED'.
ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={6375231a-c17c-464b-92cb-ae9e128d71c3} aComponent={Console} aText={Failed to load unit 'DisplayScreenshot' (VERR_SSM_LOADED_TOO_MUCH)} aWarning=false, preserve=false
Power up failed (vrc=VERR_SSM_LOADED_TOO_MUCH, rc=NS_ERROR_FAILURE (0X80004005))
I belive that this is problem: Failed to load unit 'DisplayScreenshot' (VERR_SSM_LOADED_TOO_MUCH)
From documentation:
#define VERR_SSM_LOADED_TOO_MUCH (-1821)
A restore routine attempted to load more data then the unit contained.
Definition at line 480 of file err.h.
Nothing about DisplaySceenshot.
Also im using some non-testing packages like libdrm-git glproto-git dri2proto-git mesa-full xf86-video-ati-git all builded on 18.01.2010 - but this shouldn't affect on anything.
Any clue?
Edit: im using arch64
Last edited by Vi0L0 (2010-02-01 03:25:53)
Offline
SOLVED with wonder [vbox] repo http://bbs.archlinux.org/viewtopic.php?id=80991&p=1
Offline
Hi,
i have a similar problem.
I've used the virtualbox_bin (3.1.2-2) version from aur on my i686 system.
It ran always perfectly. But since a few days i have the same problem as Vi0L0 even with the exact same error-message.
Maybe i should add that the vm crashes instantly after resuming. I can even see the screen coming up, but then the window closes without an error-popup.
I also tried the other virtualbox-version from aur (virtualbox-sun 3.1.2.56127-6) but that didn't work either.
Can't switch to wonders repo because of my i686 system and my need for usb-support
Any ideas what's wrong with my version?
Here is a part of the error-message form the virtualbox (virtualbox-sun) log that might be helpful:
00:00:03.228 AssertLogRel /home/vbox/tinderbox/3.1-lnx32-rel/src/VBox/VMM/SSM.cpp(5867) int ssmR3DataReadBufferedV2(SSMHANDLE*, void*, size_t): !pSSM->u.Read.fEndOfData
00:00:03.228 cbBuf=8SSM: LoadExec failed for 'DisplayScreenshot' instance #1100 (version 65537, pass 0xffffffff): VERR_SSM_LOADED_TOO_MUCH
00:00:03.228 VMSetError: /home/vbox/tinderbox/3.1-lnx32-rel/src/VBox/VMM/SSM.cpp(7907) int ssmR3LoadExecV2(VM*, SSMHANDLE*)
00:00:03.228 VMSetError: Failed to load unit 'DisplayScreenshot'
00:00:03.228 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=aeb06000 w=1440 h=793 bpp=32 cbLine=0x1680
00:00:03.228 Changing the VM state from 'LOADING' to 'LOAD_FAILURE'.
00:00:03.228 Changing the VM state from 'LOAD_FAILURE' to 'POWERING_OFF'.
thanks for helping guys
greetings
Last edited by laermQuelle (2010-02-04 16:44:08)
Offline
@laermQuelle:
I think it's problem with virtualbox binaries which are compiled with some old libs, and cant work correctly with newer ones. I believe it's related with new qt and libpng. I don't think we can actually do something with it, thats why i quit this topic as solved (and cuz i've found different soultion for it)... but the true (at least i belive its true) is that for original,closed VirtualBox its unsolvable - we must to wait for newer version of VBox...
Last edited by Vi0L0 (2010-02-05 03:10:54)
Offline
Ha! Gotcha! I have found solution
Its in PKGBUILD of AUR's virtualbox_bin, here:
# Replace VirtualBox built-in Qt by system Qt libraries.
# Fixes problems with some KDE themes reported by users.
local lib
for lib in "libQtCore" "libQtGui" "libQtNetwork" "libQtOpenGL"; do
rm "${lib}VBox.so.4"
ln -s "/usr/lib/$lib.so.4" "${lib}VBox.so.4"
done
Just comment it all and it will work correctly on it's own libs + you need libpng.12 (just copy this files into /usr/lib/: libpng12.a libpng12.so.0 libpng12.so libpng12.so.0.40.0, without making any additional symlinks, and dont you dare to move/replace fresh and new libpng14 )
It has got no qt theme, nor any theme...
But its working fine .
Tested on uploaded yesterday BETA2 http://download.virtualbox.org/virtualbox/3.1.4_BETA2
but it should work good also on 3.1.2, just rebuild your package...
Offline
and for AUR's PKGBUILD of virtualbox-sun comment those lines:
# Replace VirtualBox built-in Qt by system Qt libraries.
# Fixes problems with some KDE themes reported by users.
ln -fs "/usr/lib/libQtCore.so.4" "libQtCoreVBox.so.4"
ln -fs "/usr/lib/libQtGui.so.4" "libQtGuiVBox.so.4"
ln -fs "/usr/lib/libQtNetwork.so.4" "libQtNetworkVBox.so.4"
ln -fs "/usr/lib/libQtOpenGL.so.4" "libQtOpenGLVBox.so.4"
and copy same libpng12 libs as mentioned above.
Rebuild.
Not tested, althought it's the same case as in previous post.
Last edited by Vi0L0 (2010-02-05 14:48:25)
Offline
Thanks Vi0L0
Your tip for virtualbox_bin did it for me
-> double-solved
Offline
I have the same problem but from where do I get libpng12 files?
I've changed those lines on PKGBUILD, After executing VirtualBox and complains about the libpng12 not found,
I've downloaded AUR package libpng-1.2.40 and compiled from source. Copied all the files you say to /usr/lib
recompiled kernel modules, restart the machine...
but I get the same VRR_SSM_LOADED_TOO_MUCH when trying to restore a snapshot. It runs ok when starting a normal virtual machine.
any ideas?
thanks
Last edited by sergi34 (2010-02-06 09:28:37)
Offline
I think that we have to wait a new version of Virtualbox... Pity
Offline
I have the same problem but from where do I get libpng12 files?
I've changed those lines on PKGBUILD, After executing VirtualBox and complains about the libpng12 not found,
I've downloaded AUR package libpng-1.2.40 and compiled from source. Copied all the files you say to /usr/lib
recompiled kernel modules, restart the machine...but I get the same VRR_SSM_LOADED_TOO_MUCH when trying to restore a snapshot. It runs ok when starting a normal virtual machine.
any ideas?
thanks
AUR's libpng should work fine. Although I have used old libs downloaded some time ago by pacman (decompress package & copy libs).
I understand that after doing changes in PKGBUILD you have rebuilded whole package, and installed/updated it . (sorry for silly question, you shouldn't answer it, it's just that people sometime makes strange mistakes).
Did you tested saving-restoring session on freshly started (not-saved) machine?
Umm... you see - when after -Syu you once did try to restore session and your vbox report first VRR_SSM_LOADED_TOO_MUCH - your machine won't start again without this error even on fine working vbox. At least I couldn't start it. I then edited ~/.VirtualBox/Machines/Windows/Windows.xml (Windows is ofcourse name of machine that catched error) and removed this line:
stateFile="Snapshots/{468dba28-fad4-46bd-9cfc-1630734eae9b}.sav"
and changed this line:
<ExtraDataItem name="GUI/LastCloseAction" value="save"/>
so it may looks like:
<ExtraDataItem name="GUI/LastCloseAction" value="powerOff"/>
+ i removed whole 'Snapshots' directory (just to be sure).
Your session will be lost, but you may start your machine again with working saving/restoring feature.
I think that we have to wait a new version of Virtualbox... Pity
Freshly uploaded BETA2 catches same error.
But you see my solution got to work cuz when you'll apply it - vbox will use it's own qt libs so it will be out of arch's new qt libs which causes this vbox error.
Last edited by Vi0L0 (2010-02-06 13:04:59)
Offline
I was talking about the libpng error.
Offline
I was talking about the libpng error.
Umm... ok, if by this you understand that the whole VirtualBox must be compiled with new libpng. BETA2 isn't...
Offline
I downgraded to libpng-1.2.40-1 from /var/cache/pacman/pkg pacman -Ud
*Edit:* causes problems with vim and other apps, but for me virtualbox is more important for the moment
Last edited by alphakamp (2010-02-09 19:16:39)
Offline
Went back to up to date libpng and install version from AUR again... now everything works...
Offline
The newer version is still compiled with the older version of libpng...
Edit : Indeed, the version of AUR solved the problem ! That's great
Last edited by Cr0k (2010-02-13 17:45:41)
Offline