Issue with Building the VirtualBox Guest Additions

Discussions about using Linux guests in VirtualBox.
wdes2009
Posts: 14
Joined: 6. Oct 2014, 20:23

Re: Issue with Building the VirtualBox Guest Additions

Post by wdes2009 »

That seemed so promising and made sense but still, same error :(

WDes
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Issue with Building the VirtualBox Guest Additions

Post by Perryg »

Well I don't normally suggest that people use the auto-mounted shared folder because they need to learn how to do it, but you can try it to see if it works.

Use the auto-mount shared folders and see if the show up in the guests media folder. It should say sf_<name of share>
You will need to add your user name to the vboxsf group on the guest and reboot the guest before it will take effect.
wdes2009
Posts: 14
Joined: 6. Oct 2014, 20:23

Re: Issue with Building the VirtualBox Guest Additions

Post by wdes2009 »

I agree with you 100% about the manual mount, which is why this is so frustrating....

Can you explain to me why I get this: sudo modprobe vboxvfs and got this modprobe: FATAL: Module vboxsf not found.

I feel it in my gut the issue is related to that...

Thanks,

WDes
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Issue with Building the VirtualBox Guest Additions

Post by Perryg »

Post the results of the following again:

Code: Select all

lsmod | grep vb
wdes2009
Posts: 14
Joined: 6. Oct 2014, 20:23

Re: Issue with Building the VirtualBox Guest Additions

Post by wdes2009 »

Running that command results with just: vboxguest 235809 6

Thanks,

WDes
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Issue with Building the VirtualBox Guest Additions

Post by Perryg »

Post the guests /var/log/vboxadd-install.log
wdes2009
Posts: 14
Joined: 6. Oct 2014, 20:23

Re: Issue with Building the VirtualBox Guest Additions

Post by wdes2009 »

Attached as zip, got this message when I tried to upload it as txt (The file is too big, maximum allowed size is 128 KiB.)

I will return tomorrow morning, appreciate all your help!!

Thanks,

WDes
Attachments
vboxadd-install.zip
(6.44 KiB) Downloaded 15 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Issue with Building the VirtualBox Guest Additions

Post by Perryg »

Code: Select all

/tmp/vbox.0/regops.c:577:20: error: ‘generic_file_aio_read’ undeclared here (not in a function)
     .aio_read    = generic_file_aio_read,
                    ^
/tmp/vbox.0/regops.c:578:20: error: ‘generic_file_aio_write’ undeclared here (not in a function)
     .aio_write   = generic_file_aio_write,
                    ^
make[2]: *** [/tmp/vbox.0/regops.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxsf] Error 2
There's the problem. I will research this tomorrow.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Issue with Building the VirtualBox Guest Additions

Post by Perryg »

IIRC this has to do with a new version of GCC or kernel in Fedora and the fix was to update to a newer version of VirtualBox, but that can be problematic right now on a Windows host. I would try the 4.3.16 guest additions and see if that fixes this. If that fails then you need to see if 4.3.16 works in the host. Read the issues though viewtopic.php?f=6&t=63556

http://download.virtualbox.org/virtualb ... 4.3.16.iso
wdes2009
Posts: 14
Joined: 6. Oct 2014, 20:23

Re: Issue with Building the VirtualBox Guest Additions

Post by wdes2009 »

Thank you for that information! I will try it in a few and post my results,

WDes
wdes2009
Posts: 14
Joined: 6. Oct 2014, 20:23

Re: Issue with Building the VirtualBox Guest Additions

Post by wdes2009 »

It worked :) I was able to successfully share the folder and view them!

Thanks again for all your help, great job!!

WDes
Duanehebert
Posts: 33
Joined: 27. Oct 2014, 18:28

Re: Issue with Building the VirtualBox Guest Additions

Post by Duanehebert »

I have the same problem. I run VirtualBox 4.3.12 on Windows 7 host and have a guest running Fedora 20. This has been working fine but when I install the latest kernel update (3.16.6-200.fc20.i686) the Guest additions are not mounted. When I try to mount them, it works except that it fails on building the shared folder with the same error.
I've tried using just the new guest addition that you suggested. With the original kernel and it does succeed for the Shared Folders but it fails building X :

Installing the Window System drivers
Warning: unknown version of the X Window System installed. Not installing
X Window System drivers.
[ OK ]
Installing graphics libraries and desktop services componen[FAILED]
(See the log file /var/log/vboxadd-install-x11.log for more information.)

When I try mounting the Guest Addtions with the new kernel, it won't mount complaining unknown filesystem 'iso9660'

I've switched back to the previous kernel (3.15) reinstalled the guest additions and I'm back to where I was.


Edit:
I removed the VB entries from /opt, /etc/init.d, /usr/lib and /usr/share. Then I restarted the guest and reinstalled. This seems to work with 3.16.6-203.fc20.i686 (the current kernel from fedora 20 distro)
Post Reply