VirtualBox

Changes between Initial Version and Version 1 of Ticket #19336, comment 3


Ignore:
Timestamp:
02/24/2020 09:37:29 AM (3 years ago)
Author:
fbatschu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19336, comment 3

    initial v1  
    2020[  278.758899] VBGL_IOCTL_ACQUIRE_GUEST_CAPABILITIES failed rc=-138 
    2121}}} 
     22 
     23The failing IOCTL may or may not be related, in the host log file we find this corresponding entry: 
     24 
     25{{{ 
     261850 00:14:57.567629 VMMDev: Guest Log: 09:00:33.994989 main VBoxService 6.1.4 r136177 (verbosity: 0) linux.amd64 (Feb 18 2020 18:13:55) release log 
     271851 00:14:57.567673 VMMDev: Guest Log: 09:00:33.995119 main     Log opened 2020-02-24T09:00:33.994694000Z 
     281852 00:14:57.567804 VMMDev: Guest Log: 09:00:33.995328 main     OS Product: Linux 
     291853 00:14:57.567884 VMMDev: Guest Log: 09:00:33.995407 main     OS Release: 5.3.0-28-generic 
     301854 00:14:57.567950 VMMDev: Guest Log: 09:00:33.995481 main     OS Version: #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 
     311855 00:14:57.568619 VMMDev: Guest Log: 09:00:33.996125 main Executable: /opt/VBoxGuestAdditions-6.1.4/sbin/VBoxService 
     321856 00:14:57.568648 VMMDev: Guest Log: 09:00:33.996129 main     Process ID: 1346 
     331857 00:14:57.568658 VMMDev: Guest Log: 09:00:33.996132 main     Package type: LINUX_64BITS_GENERIC 
     341858 00:14:57.574187 VMMDev: Guest Log: 09:00:34.001714 main     6.1.4 r136177 started. Verbose level = 0 
     351859 00:14:57.576838 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners 
     361860 00:14:57.576875 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5 
     371861 00:14:57.577888 VMMDev: Guest Log: 09:00:34.005471 main vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1) 
     381862 00:14:57.578413 Guest Control: GUEST_MSG_REPORT_FEATURES: 0x1, 0x8000000000000000 
     391863 00:14:57.587678 GUI: UISession::sltAdditionsChange: GA state really changed, notifying listeners 
     401864 00:14:57.587723 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary 
     411865 00:14:57.587768 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners 
     421866 00:14:57.587781 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5 
     431867 00:14:57.693489 VMMDev: Guest Log: vboxsf: g_fHostFeatures=0x8000000f g_fSfFeatures=0x1 g_uSfLastFunction=29 
     441868 00:14:57.694080 VMMDev: Guest Log: vboxsf: Successfully loaded version 6.1.4 on 5.3.0-28-generic SMP mod_unload  (LINUX_VERSI ON_CODE=0x5030d) 
     451869 00:14:57.697449 VMMDev: Guest Log: 09:00:34.124961 automount vbsvcAutomounterMountIt: Successfully mounted 'Downloads' on '/m edia/sf_Downloads' 
     461870 00:14:57.702656 VMMDev: Guest Log: 09:00:34.130210 automount vbsvcAutomounterMountIt: Successfully mounted 'Music' on '/media /sf_Music' 
     471871 00:15:00.558915 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=800 h=600 bpp=0 cbLine=0x0 flags=0x2 or igin=0,0 
     481872 00:15:00.562828 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007f13a092e000 w=1208 h=806 bpp=32 cbLine=0x12E0 flags=0     x1 origin=0,0 
     491873 00:15:00.572038 GUI: UIMachineLogic: Guest-screen count changed 
     501874 00:15:00.909695 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 1208x806 if necessary 
     511875 00:18:25.115940 VMMDev: Guest Additions capability report: (0x4 -> 0x5) seamless: yes, hostWindowMapping: no, graphics: yes 
     521876 00:18:25.116097 GUI: UISession::sltAdditionsChange: GA state really changed, notifying listeners 
     531877 00:18:25.116133 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary 
     541878 00:18:25.116149 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners 
     551879 00:18:25.116152 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5 
     561880 00:18:25.122382 VMMDev: Guest Log: VBGL_IOCTL_ACQUIRE_GUEST_CAPABILITIES failed rc=-138 
     571881 00:18:28.052450 Audio: Disabling input for driver 'PulseAudio' 
     581882 00:18:28.054322 Audio Mixer: Setting recording source of sink '[Recording] Line In' to '<None>' 
     591883 00:18:28.054491 PulseAudio: Retrieving server information ... 
     601884 00:18:28.061085 PulseAudio: Retrieving server information ... 
     611885 00:18:28.064356 Audio: Enabling input for driver 'PulseAudio' 
     621886 00:18:28.066884 Audio Mixer: Setting recording source of sink '[Recording] Line In' to '[Line-In] PulseAudio' 
     631887 00:18:28.621915 VMMDev: Guest Log: VBGL_IOCTL_ACQUIRE_GUEST_CAPABILITIES failed rc=-138 
     64}}} 
     65 
     66The reason why the shared clipboard does not work is because the shared clipboard handling process inside the guest decided to exit for unknown reasons: 
     67 
     68{{{ 
     69 28 00:00:00.650901 Shared Clipboard: Service loaded 
     70  29 00:00:00.650913 Shared Clipboard: Mode: Bidirectional 
     71  30 00:00:00.650942 Shared Clipboard: Service running in normal mode 
     72  31 00:00:00.651438 Drag and drop service loaded 
     73  32 00:00:00.651444 Drag and drop mode: Bidirectional 
     74[...] 
     751527 00:07:11.805118 Shared Clipboard: Starting X11 event thread 
     76[...] 
     771604 00:13:08.040799 Shared Clipboard: Stopping X11 event thread ... 
     781605 00:13:08.041105 Shared Clipboard: X11 event thread terminated successfully 
     79}}} 
     80 
     81In a good working guest, eg. 6.1.2 the picture would be 
     82like this: 
     83 
     84{{{ 
     85fbatschu@fbatschu-VirtualBox:~$ ps -eafd|grep VB 
     86root       511     2  0 10:08 ?        00:00:00 [iprt-VBoxWQueue] 
     87root      1110     1  0 10:09 ?        00:00:00 VBoxClient --vmsvga 
     88root      1111  1110  0 10:09 ?        00:00:00 VBoxClient --vmsvga 
     89root      1149     1  0 10:09 ?        00:00:00 /usr/sbin/VBoxService --pidfile /var/run/vboxadd-service.sh 
     90fbatschu  1503     1  0 10:17 ?        00:00:00 /usr/bin/VBoxClient --clipboard 
     91fbatschu  1504  1503  0 10:17 ?        00:00:00 /usr/bin/VBoxClient --clipboard 
     92fbatschu  1510     1  0 10:17 ?        00:00:00 /usr/bin/VBoxClient --display 
     93fbatschu  1511  1510  0 10:17 ?        00:00:00 /usr/bin/VBoxClient --display 
     94fbatschu  1517     1  0 10:17 ?        00:00:00 /usr/bin/VBoxClient --seamless 
     95fbatschu  1519  1517  0 10:17 ?        00:00:00 /usr/bin/VBoxClient --seamless 
     96fbatschu  1524     1  0 10:17 ?        00:00:00 /usr/bin/VBoxClient --draganddrop 
     97fbatschu  1525  1524  0 10:17 ?        00:00:02 /usr/bin/VBoxClient --draganddrop 
     98}}} 
     99 
     100In the guest running the 6.1.4 GAs we are missing: 
     101 
     102{{{ 
     103fbatschu  1503     1  0 10:17 ?        00:00:00 /usr/bin/VBoxClient --clipboard 
     104fbatschu  1504  1503  0 10:17 ?        00:00:00 /usr/bin/VBoxClient --clipboard 
     105}}} 
     106 
     107Which explains why the shared clipboard ist not working, there is no handler for it. 

www.oracle.com
ContactPrivacy policyTerms of Use