[Fixed] Windows Share Folder not visible on Oracle Linux 6.10

Discussions about using Linux guests in VirtualBox.
Post Reply
Anand Rao
Posts: 12
Joined: 24. Apr 2017, 07:27

[Fixed] Windows Share Folder not visible on Oracle Linux 6.10

Post by Anand Rao »

Hi,

Have VirtualBox 6.0.14 on a Windows 10 Host. Installed Oracle Linux 6.9 guest and then used yum update to fully update the system.
$ uname -a
Linux foobar.localdomain 4.1.12-124.33.4.el6uek.x86_64 #2 SMP Tue Nov 19 13:06:13 PST 2019 x86_64 x86_64 x86_64 GNU/Linux
Installed kernel-devel, kernel-headers and also their UEK equivalents. Have got gcc and related libraries too. Entire kernel and the packages are full updated.

Installed Guest Additions 6.0.14 and shared a Windows folder. Values for "Folder Name" and "Folder Path" are different.

Shared folders are not visible on Linux guest. Also tried vboxadd quicksetup all which built the modules for 3 kernels. The last message in the vboxadd-setup.log is,

Building the main Guest Additions 6.0.14 module for kernel 4.1.12-61.1.28.el6uek.x86_64. The installation did show that modprobe failed, so I ran it manually again.
$ modprobe vboxsf
FATAL: Error inserting vboxsf (/lib/modules/4.1.12-124.33.4.el6uek.x86_64/misc/vboxsf.ko): Unknown symbol in module, or unknown parameter (see dmesg)

$ dmesg
[  988.683485] 11:45:43.686201 main     VBoxService 6.0.14 r133895 (verbosity: 0) linux.amd64 (Oct 10 2019 20:44:32) release log
[  988.683485] 11:45:43.686209 main     Log opened 2019-12-05T11:45:43.686080000Z
[  988.683608] 11:45:43.686386 main     OS Product: Linux
[  988.683721] 11:45:43.686509 main     OS Release: 4.1.12-124.33.4.el6uek.x86_64
[  988.683789] 11:45:43.686579 main     OS Version: #2 SMP Tue Nov 19 13:06:13 PST 2019
[  988.683879] 11:45:43.686645 main     Executable: /opt/VBoxGuestAdditions-6.0.14/sbin/VBoxService
[  988.683879] 11:45:43.686647 main     Process ID: 2527
[  988.683879] 11:45:43.686649 main     Package type: LINUX_64BITS_GENERIC
[  988.689743] 11:45:43.692492 main     6.0.14 r133895 started. Verbose level = 0
[  988.692386] 11:45:43.695131 main     vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1)
[  988.711739] vboxsf: Unknown symbol noop_backing_dev_info (err 0)
[  988.729870] 11:45:43.732603 automount Error: vbsvcAutomounterMountIt: Failed to mount 'Orasoft' on '/media/sf_Orasoft': No such device (-1,19)
[  989.739925] vboxsf: Unknown symbol noop_backing_dev_info (err 0)
[  989.833546] 11:45:44.836723 automount Error: vbsvcAutomounterMountIt: Failed to mount 'Orasoft' on '/media/sf_Orasoft': No such device (-1,19)
[ 1786.989237] fuse init (API version 7.23)
[ 1787.513998] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 1787.524995] ISO 9660 Extensions: RRIP_1991A
[ 1822.853263] vboxsf: Unknown symbol noop_backing_dev_info (err 0)
[ 2645.010663] vboxsf: Unknown symbol noop_backing_dev_info (err 0)
Have uninstalled Guest Additions AFTER yum update and also removed it from VirtualBox. Went through the whole cycle once again but did not go anywhere.

Tried the manual mount option but didn't work.
$ mount -t vboxsf -o uid=9191,gid=8031Orasoft /media/sf_Orasoft
/sbin/mount.vboxsf: mounting failed with the error: No such device
What could be the issue? Would appreciate any help....

Thanks,
Anand
Last edited by socratis on 20. Dec 2019, 19:34, edited 1 time in total.
Reason: Marked as [Fixed].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows Share Folder not visible on Oracle Linux 6.10

Post by socratis »

We need to see the recipe of the VM, the ".vbox" file. Right-click on the VM in the VirtualBox Manager, select "Show in Finder/Explorer/FileManager/Whatever". ZIP the selected ".vbox" file and attach it to your response.

We also need to see a complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe or recreate the problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Anand Rao
Posts: 12
Joined: 24. Apr 2017, 07:27

Re: Windows Share Folder not visible on Oracle Linux 6.10

Post by Anand Rao »

Thanks for your response Socratis.

Attached are both the files.

I did notice that the kernel I am running is higher to the one that build is for.

Kernel - 4.1.12-124.33.4.el6uek.x86_64

message from vboxadd quicksetup all,

Building the main Guest Additions 6.0.14 module for kernel 4.1.12-61.1.28.el6uek.x86_64

Regards,
Anand
Attachments
VBoxFile.zip
(47.34 KiB) Downloaded 14 times
Anand Rao
Posts: 12
Joined: 24. Apr 2017, 07:27

Re: Windows Share Folder not visible on Oracle Linux 6.10

Post by Anand Rao »

Hi,

Been trying out other versions of Linux as a guest and it turns out that an older version of Oracle Linux (ver 6.3) works fine. Do note that these are old guests built many months ago and just booted to check if things are fine. I did upgrade the VBox Guest Additions from 6.0 to 6.0.14.

Kernel version - Linux 2.6.39-400.296.2.el6uek.x86_64
OVB version - 6.0.14
Extentions version - 6.0.14

The shared folder config in OVB have identical names for folder and path. I can see / access /read / write the shared folder in this older version of Oracle Linux 6.3.

Thanks,
Anand
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows Share Folder not visible on Oracle Linux 6.10

Post by socratis »

Talk about timing! I was just looking at your log when you posted your last message! :)
Anand Rao wrote:it turns out that an older version of Oracle Linux (ver 6.3) works fine
OK, great. Not ... "great-great", but "great" in that it gives us a starting point, means that the newer kernel might have issues. In summary:
Anand Rao wrote:
2.6.39-400.296.2.el6uek.x86_64   <-- Works
4.1.12-124.33.4.el6uek.x86_64    <-- Fails
Are you sure that the Guest Additions (GAs) installation didn't fail? Can we see the output of the installation? Since you have Bidirectional SharedClipboard enabled, that should give you the ability to straight copy that output from the Guest and paste it to your reply.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Anand Rao
Posts: 12
Joined: 24. Apr 2017, 07:27

Re: Windows Share Folder not visible on Oracle Linux 6.10

Post by Anand Rao »

Thanks again for your response :)

Yes, you are right. There was a problem during install...the phase where i mentioned that modprobe failed. Please see logs below from both the working and non-working nodes.

From 2.6.39-400.296.2.el6uek.x86_64 --> Working
vboxadd-service.sh: VirtualBox Guest Addition service failed to stop.
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
2.6.39-400.296.2.el6uek.x86_64.
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
From 4.1.12-124.33.4.el6uek.x86_64 ---> Failed node
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
4.1.12-124.33.4.el6uek.x86_64.
VirtualBox Guest Additions: modprobe vboxsf failed
Regards,
Anand
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows Share Folder not visible on Oracle Linux 6.10

Post by socratis »

Anand Rao wrote:There was a problem during install...the phase where i mentioned that modprobe failed
That's not a problem, that is to be expected when replacing an existing kernel driver. See after the break the reason why.

I haven't found anything related, maybe I haven't spotted it... Let me see what the [url=irc://irc.freenode.net/vbox]#vbox[/url] channel at IRC thinks about it...

BTW, moving to "Linux Guests" from "WIndows Hosts".

Regarding "modprobe vboxsf failed"
[color=#AA0000]A key Linux GAs developer[/color] wrote:If "vboxsf" is not loaded when the installer finishes it tries to load it. If there is an old, incompatible version of "vboxguest" loaded but no "vboxsf" then it will try to load "vboxsf" and fail.
And here it is from the source code (src/VBox/Additions/linux/installer/vboxadd.sh, rev77328, line 467):
467  start()
468  {
...  ...
481      if test -z "${INSTALL_NO_MODULE_BUILDS}"; then
...  ...
485        running_vboxguest || {
...  ...
497              $MODPROBE vboxsf > /dev/null 2>&1 ||
498                  info "modprobe vboxsf failed"
...  ...
506  }
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Anand Rao
Posts: 12
Joined: 24. Apr 2017, 07:27

Re: Windows Share Folder not visible on Oracle Linux 6.10

Post by Anand Rao »

Many thanks Socratis. Will wait for the update.
fbatschu
Posts: 3
Joined: 21. Aug 2019, 12:27
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: linux, windows, solaris
Location: Germany, Berlin
Contact:

Re: Windows Share Folder not visible on Oracle Linux 6.10

Post by fbatschu »

We have fixed that recently in Trunk, 6.X, see:


Ticket #18926 (closed defect: fixed)
Opened 3 months ago
Last modified 4 days ago
Problem loading vboxsf.ko after upgrade to 6.0.12
https://www.virtualbox.org/ticket/18926

the next offical release will contain the fixes.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows Share Folder not visible on Oracle Linux 6.10

Post by socratis »

fbatschu wrote:We have fixed that recently in Trunk, 6.X
Marking as [Fixed] then...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply