www.centos.org Forum Index CentOS 6 - General Support [RESOLVED] VBOX Guest Additions for CentOS 6.2
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
[RESOLVED] VBOX Guest Additions for CentOS 6.2 | #1 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2011/3/21
From Germany
Posts: 56
|
under 6.2 the VBOX Guest Additions don't build properly. For details see
https://forums.virtualbox.org/viewtopic.php?f=1&t=46808#p211449 does anybody know which changes in the kernel headers could have caused it (and what should be modifyed in vboxvideo_drm.c)? |
||
Posted on: 2011/12/21 11:17
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #3 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9135
|
Thank you for your observation and solution.
For posterity (and on your behalf) this thread is marked [RESOLVED]. |
||
Posted on: 2011/12/21 19:26
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #4 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
I created a new Wiki page incorporating the patch procedure - CentOS as a Guest OS in VirtualBox.
|
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/1/3 21:58
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #5 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2009/3/23
From Netherlands
Posts: 701
|
Not sure this issue should be labeled 'resolved' yet.
I'm not at my own box right now, but I have an older version of VBox (from memory 4.0.10) and encountered the same issue. It started when updating to CentOS6.2, and the 2.6.32-220.el6.x86_64 kernel. Reverting to the previous kernel allowed me to rebuild the VBoxAdditions successfully, so my feeling is that it's more related to the 2.6.32-220.el6.x86_64 kernel than to the VBox version. While it's nice that a patch to VBox apparently fixes this (haven't tried it yet) the problem was clearly introduced by a RHEL kernel change rather than a VBox change. As the OP already asked: what has changed in the 2.6.32-220.el6.x86_64 kernel to introduce this issue, and is it to be considered a bug? I have not tested yet whether the 2.6.32-220.2.1.el6.x86_64 kernel fixes it. |
||
Posted on: 2012/1/4 7:10
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #6 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2011/3/21
From Germany
Posts: 56
|
Quote:
if you compare the error messages at the VBOX forum with the patch, you find that the structure pci_driver and the functions drm_pci_init and drm_pci_exit were in 6.2 backported from the kernel 2.6..39. |
||
Posted on: 2012/1/4 9:43
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #7 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2009/3/23
From Netherlands
Posts: 701
|
Back at my own box, and updated to latest kernel
On reboot, VBoxGuest was installed by DKMS without issues and my CentOS6.2 client is working again as before. Apparently, the 2.6.32-220.2.1 update fixed the issue introduced in the 2.6.32-220. EDIT: Oh, my VBox (and guest) version is 4.0.12 |
||
Posted on: 2012/1/4 14:40
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #8 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Not sure if VB 4.0 has anything to do with it, but I still get the error on 2.6.32-220.2.1.el6 with VirtualBox-4.1-4.1.8_75467_rhel6-1.x86_64. Host is RHEL6u2 and guest is CentOS-6.2 - up to date naturally.
![]() The patch fixes it. As far as the thread status - I still think this thread is [RESOLVED] although Oracle still needs to fix their Guest Additions. The OP may not agree, in which case we can consider changing the status. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/1/4 15:11
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #9 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2009/3/23
From Netherlands
Posts: 701
|
Hmmm... Looks like DKMS grabbed the VBox modules compiled for the previous kernel, as my build-log (vboxadd-install.log) still mentions Dec 23 and kernel 2.6.32-131.17.1.el6.x86_64. DKMS-grab did not work when updating to 6.2 (on Dec 23), which made me reinstall the Guest Additions, which failed.
Then reverting to 2.6.32-131.17.1.el6.x86_64 allowed me to reinstall, and apparently those modules were now picked up by DKMS for the latest kernel, as everything works as expected. Not sure how DKMS would manage to achieve this feat, but I'll leave things be for now. Side effect of the failed install was that mount.vboxsf would not be installed, causing my vbox shared drive to fail (how this relates to OpenGL support failing is beyond me, but that was the only failure I had). Reinstalling the guest additions will therefore likely fail again, given your report. |
||
Posted on: 2012/1/4 18:38
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #10 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2012/1/5
From
Posts: 1
|
Phil, your procedure from the wiki worked for me. However, the last tar command listed should be
cd ~/TMP2/ tar jcvf ../TMP/VBoxGuestAdditions-amd64.tar.bz2 cd ~/TMP ./install.sh instead of tar jtvf. Thanks for the great wiki!! -Antony |
||
Posted on: 2012/1/5 1:12
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #11 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Thanks for the correction. Copy/paste from the wrong line. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/1/5 3:07
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #12 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2009/4/2
From
Posts: 14
|
# cd ~/TMP2/
# tar jcvf ../TMP/VBoxGuestAdditions-amd64.tar.bz2 tar: Cowardly refusing to create an empty archive # cd ~/TMP2/ # tar jcvf ../TMP/VBoxGuestAdditions-amd64.tar.bz2 * |
||
|
_________________
Let me issue and control a nation's money and I care not who writes its laws. (Mayer Amschel Bauer 'Rothschild', 1790) |
|||
Posted on: 2012/1/9 23:38
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #13 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
OK - hopefully 3rd time's the charm. Fixed the fix. Thanks.
|
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/1/10 17:12
|
|||
|
Re: [RESOLVED] VBOX Guest Additions for CentOS 6.2 | #14 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2011/1/14
From Poland
Posts: 52
|
Finally it worked with *:
Thank you very much. |
||
|
_________________
Henry ■ All Dell servers running on CentOS 5.9 professionally. ■ All test servers running on CentOS 6.4 virtually. |
|||
Posted on: 2012/1/10 17:50
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
dmischa








You cannot start a new topic.
You can view topic.