CentOS 7 guest additions

Discussions about using Linux guests in VirtualBox.
shore guy
Posts: 6
Joined: 17. Apr 2013, 17:04

Re: CentOS 7 guest additions

Post by shore guy »

Pushing aside all the opinions, does anyone one have any updates for the post on 9 July about the compile error in the main module. Is there any default compiler settings to change? Will I just have to wait for the next release of VBoxAdditions?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: CentOS 7 guest additions

Post by loukingjr »

I already stated 9 days ago the 4.3.14 RC1 guest additions compile/install/work etc. As do the release 4.3.14 guest additions.
loukingjr wrote: I am running CentOS 7 as I type. With the 4.3.14 RC1 guest additions. Mac Host.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
shore guy
Posts: 6
Joined: 17. Apr 2013, 17:04

Re: CentOS 7 guest additions

Post by shore guy »

My apologies. I'm also running CentOS 7 as I type on 4.3.12. I must have stopped reading at RC1 which I wouldn't use. Sorry to have annoyed you.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: CentOS 7 guest additions

Post by loukingjr »

shore guy wrote:My apologies. I'm also running CentOS 7 as I type on 4.3.12. I must have stopped reading at RC1 which I wouldn't use. Sorry to have annoyed you.
I wasn't annoyed and no problem.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Inky22
Posts: 2
Joined: 2. Mar 2013, 06:45

Re: CentOS 7 guest additions

Post by Inky22 »

I just successfully installed Guest additions for CentOS 7 Guest VM in Virtualbox with 0 problems so I am not sure what the moderators are talking about when suggesting to try RC1 (that package is very buggy at the moment and I recommend against that). I might be able to help out though.

Please report the result of the following:

Code: Select all

rpm -qa kernel*
And:

Code: Select all

less /var/log/vboxadd-install.log
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: CentOS 7 guest additions

Post by loukingjr »

Inky22 wrote:I just successfully installed Guest additions for CentOS 7 Guest VM in Virtualbox with 0 problems so I am not sure what the moderators are talking about when suggesting to try RC1 (that package is very buggy at the moment and I recommend against that). I might be able to help out though.
I'm not sure what you are going to help with. Or why you are bringing up what was recommended just over 2 weeks ago. I was running CentOS 7 with the 4.3.14 RC1 guest additions 16 days ago and didn't find any bugs. The release of 4.3.14 was 10 days ago so RC1 is immaterial now.

I think your calendar is running slow.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
andrewm659
Posts: 8
Joined: 2. Apr 2014, 19:14

Re: CentOS 7 guest additions

Post by andrewm659 »

I am still running VBox 4.3.12 on Windows 7 host. Still not getting the guest additions to install. Fails on building the main guest module.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: CentOS 7 guest additions

Post by loukingjr »

andrewm659 wrote:I am still running VBox 4.3.12 on Windows 7 host. Still not getting the guest additions to install. Fails on building the main guest module.
you need 4.3.14 to build the modules for CentOS 7. Unfortunately the Windows version has issues. There is a link for a test version 4.3.15 but it may or may not work for you. You may just have to wait for 4.3.16.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
andrewm659
Posts: 8
Joined: 2. Apr 2014, 19:14

Re: CentOS 7 guest additions

Post by andrewm659 »

What am I looking at as far as release times for that? a month? just wondering.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: CentOS 7 guest additions

Post by loukingjr »

no idea.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
timyip
Posts: 2
Joined: 29. Jul 2014, 04:54

Re: CentOS 7 guest additions

Post by timyip »

Inky22 wrote:I just successfully installed Guest additions for CentOS 7 Guest VM in Virtualbox with 0 problems so I am not sure what the moderators are talking about when suggesting to try RC1 (that package is very buggy at the moment and I recommend against that). I might be able to help out though.

Please report the result of the following:

Code: Select all

rpm -qa kernel*
And:

Code: Select all

less /var/log/vboxadd-install.log
There's my report for kernel:
kernel-3.10.0-123.4.4.el7.x86_64
kernel-3.10.0-123.el7.x86_64
kernel-tools-3.10.0-123.4.4.el7.x86_64
kernel-devel-3.10.0-123.4.4.el7.x86_64
kernel-tools-libs-3.10.0-123.4.4.el7.x86_64
kernel-headers-3.10.0-123.4.4.el7.x86_64
kernel-devel-3.10.0-123.el7.x86_64

and it's my log:

Code: Select all

grep: /lib/modules/3.10.0-123.4.4.el7.x86_64/build/include/linux/version.h: No such file or directory
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/3.10.0-123.4.4.el7.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0

Code: Select all

/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapUser’:
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1542:26: error: ‘struct mm_struct’ has no member named ‘numa_next_reset’
                 pTask->mm->numa_next_reset = jiffies + 0x7fffffffffffffffUL;
                          ^
make[2]: *** [/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxguest] Error 2
Thanks a lot
timyip
Posts: 2
Joined: 29. Jul 2014, 04:54

Re: CentOS 7 guest additions

Post by timyip »

I found that guestadditions4.3.14 version can be installed in centos 7 with virualbox 4.3.12 version, and it works :lol: .
Thanks guys.
ps:I didn't install virtual box 4.3.14 due to some errors after installation.
keshara.dorakumbura
Posts: 1
Joined: 21. Aug 2014, 12:56

Re: CentOS 7 guest additions

Post by keshara.dorakumbura »

Here is the solution...
1. Install VirtualBox version: 4.3.8 & !!!! - do not install "guestadditional 4.3.8" that comes with the installed version -!!!!
2. Next download "VBoxGuestAdditions_4.3.14.iso"
3. mount it and install "VBoxGuestAdditions_4.3.14"

Thats all....
nikhilbhalwankar
Posts: 1
Joined: 14. Sep 2014, 12:46

Re: CentOS 7 guest additions

Post by nikhilbhalwankar »

timyip wrote:I found that guestadditions4.3.14 version can be installed in centos 7 with virualbox 4.3.12 version, and it works :lol: .
Thanks guys.
ps:I didn't install virtual box 4.3.14 due to some errors after installation.
+1 for this. Me too installed guestadditions 4.3.14 on virtualbox 4.3.12 without any issues for CentOS 7. Thanks for your solution !!!
ShipShank
Posts: 1
Joined: 27. Feb 2014, 17:03

Re: CentOS 7 guest additions

Post by ShipShank »

I have VirtualBox 4.3.18 on windows 7 64 bit and CentOS 7 x86_64 But Guest Module won't compile. I've tried to download 4.3.14 Guest Additions with no avail. So Currently Guest Additions Main Module won't compile with Stock CentOS 7 x86_64.
Post Reply