Page 1 of 2

Problem with Guest Additions

Posted: 3. Jun 2013, 16:26
by Coston
Hi all.

My machine Windows 7 (64 bit)
My virtual machine Oracle Linux 6 (32 bit)

I install additional packages and run installation GA.
Install - Passed.

I restart my machine. But I can't do fullscreen mode. The button "Host + G" unabled :(

Help me please. Do you have any idea?
Thank's.

Re: Problem with Guest Additions

Posted: 3. Jun 2013, 16:57
by Perryg
Actually Full screen is host+F. Host+G turns auto resize on and off.

Are you certain that you have actually installed the guest additions and that there were no errors?

Post the following:
/var/log/vboxadd-install.log

Re: Problem with Guest Additions

Posted: 3. Jun 2013, 17:27
by Coston
I find in other forum, that I should install dkms.
I installed "dkms", and try reinstall GA.

And now I have:
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.12 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.2.12 of VirtualBox Guest Additions...

I wait severel minutes and nothing.

/var/log/vboxadd-install.log:

Uninstalling modules from DKMS
removing old DKMS module vboxguest version 4.2.12
-------- Uninstall Beginning --------
Module: vboxguest
Version: 4.2.12
Kernel: 2.6.39-400.24.1.el6uek.i686 (i686)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
Removing any linked weak-modules


Help me please.
Thank's

Re: Problem with Guest Additions

Posted: 3. Jun 2013, 18:08
by Perryg
Post the guests log file (as an attachment)
See Online Users Manual for the location of the file.

Re: Problem with Guest Additions

Posted: 4. Jun 2013, 08:22
by Coston
Hello! Thanks for the help.
I attached all my log files in zip archive.
Last evening I got reinstall GA, restart my machine, but I still can not strech my VM on full screen.

Re: Problem with Guest Additions

Posted: 4. Jun 2013, 14:34
by Perryg

Code: Select all

00:00:00.734957 HWACCM: No VT-x or AMD-V CPU extension found. Reason VERR_VMX_MSR_LOCKED_OR_DISABLED
First thing I would do is enable hardware virtualization in your PCs bios. It will make you guest experience a lot better.

Log shows that you have installed the guest additions so it must be related to the guest.

Look at /var/log/VBox*.log files to see what they say.

Re: Problem with Guest Additions

Posted: 5. Jun 2013, 10:46
by Coston
Hello.
Thank's for the help!
I enabled hardware virtualization in BIOS.
Also I reinstall GA, installiation - passed. The problem has not disappeared.

I look at /var/log/VBox*.log files:
And I see only one strange thing in "VBoxGuestAdditions-uninstall.log" file -
Removing existing VirtualBox DKMS kernel modulesError! There are no instances of module: vboxguest
4.2.12 located in the DKMS tree.

I think something wrong with my DKMS? If that true, how I can resolve this problem?

I attached all /var/log/VBox*.log files.
Thank's.

Re: Problem with Guest Additions

Posted: 5. Jun 2013, 14:21
by Perryg
Remove DKMS and see if the guest additions install properly and work.

You shouldn't need DKMS for the GAs to install and work. It is convenient if you do have it so when ever a kernel upgrade happens you don't need to manually re-build the VBox kernel modules. ( /etc/init.d/vboxadd setup )

Re: Problem with Guest Additions

Posted: 5. Jun 2013, 20:39
by Coston
Now I uninstall DKMS.
Reinstall the GA. When I reinstall it, I recived the next logs in my console:

Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules [ OK ]
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-uek-devel-2.6.39-400.24.1.el6uek.i686
Building the main Guest Additions module [ OK ]
Building the shared folder support module [ OK ]
Building the OpenGL support module [ OK ]
Doing non-kernel setup of the Guest Additions [ OK ]
You should restart your guest to make sure the new modules are actually used
Installing the Window System drivers
Installing X.Org Server 1.13 modules [ OK ]
Setting up the Window System to use the Guest Additions [ OK ]
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services componen[ OK ]
Press Return to close this window...

Hmm...
"The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-uek-devel-2.6.39-400.24.1.el6uek.i686"
But all modules it's [OK]
I restart my guest machine, but "Host + G" and "Host + L" is disabled :(

I look in logs file and see in vboxadd-install.log:
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)

What it is means? Shoul I do "Run 'make oldconfig && make prepare'" ?
Logs is attached.

Re: Problem with Guest Additions

Posted: 5. Jun 2013, 21:51
by Perryg
Your problem is missing headers that match your running kernel. What I would do is to install DKMS again now that we know what the problem is and then install the proper headers.
As su / sudo run the following:

Code: Select all

yum install dkms kernel-uek-devel-2.6.39-400.24.1.el6uek.i686
Then install the guest additions again and see if they work properly. (don't forget to reboot after installing the GAs).

Re: Problem with Guest Additions

Posted: 6. Jun 2013, 09:10
by Coston
[siv@dev-sv ~]$ sudo yum install dkms kernel-uek-devel-2.6.39-400.24.1.el6uek.i686
[sudo] password for siv:
Loaded plugins: refresh-packagekit, security
Setting up Install Process
No package dkms available.
Package kernel-uek-devel-2.6.39-400.24.1.el6uek.i686 already installed and latest version
Nothing to do

----------------------------------------------------------------------------------------------------------

I download and install latest DKMS from http://linux.dell.com/dkms/
[siv@dev-sv soft]$ sudo rpm -Uvh dkms-2.2.0.3-1.noarch.rpm
Preparing... ########################################### [100%]
1:dkms ########################################### [100%]
and restart the guest machine

----------------------------------------------------------------------------------------------------------

Reinstall the GA's.

Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.12 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.2.12 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules [ OK ]
Removing existing VirtualBox non-DKMS kernel modules [ OK ]
Building the VirtualBox Guest Additions kernel modules [ OK ]
Doing non-kernel setup of the Guest Additions [ OK ]
You should restart your guest to make sure the new modules are actually used
Installing the Window System drivers
Installing X.Org Server 1.13 modules [ OK ]
Setting up the Window System to use the Guest Additions [ OK ]
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services componen[ OK ]
Press Return to close this window...

Looks good ...
Rboot the guest machine
---------------------------------------------------------------------------------------------------------

"Host + G" and "Host + L" is disabled :( :( :(
Look log files and I don see any strange things.
Do you have any ideas?

Thank's a lot.

Re: Problem with Guest Additions

Posted: 6. Jun 2013, 14:28
by Perryg
Post the /var/log/xorg.0.log

Re: Problem with Guest Additions

Posted: 6. Jun 2013, 14:55
by Coston
Attached the log

Re: Problem with Guest Additions

Posted: 6. Jun 2013, 16:15
by Perryg
vboxvideo is not getting loaded. Instead it is running on vbox vesa and that will not do.

Did you install all of the proper packages before hand that you need to compile external modules?
Have you added or checked to see if the public yum repo is active in the yum list?

The Fedora instruction will work for OEL
viewtopic.php?f=29&t=15679

Re: Problem with Guest Additions

Posted: 14. Jun 2013, 17:00
by Coston
Hello!
I install all of the proper packages.
All need public yum repo is added and active.
I do all step from this link (viewtopic ... 29&t=15679) - all packages is already installed
But the problem remains :( :(
I dont know what I should do more :?
Any idea? :idea: