Virtualbox Additions don't work for SLES 12 SP4 guest on Win10 host

Discussions about using Linux guests in VirtualBox.
Post Reply
asa_song
Posts: 2
Joined: 28. Dec 2018, 08:54

Virtualbox Additions don't work for SLES 12 SP4 guest on Win10 host

Post by asa_song »

Hello, experts,

I upgraded the guest from SLES 11 SP4 to SLES 12 SP4. Before upgrading the guest graphics worked perfectly. After upgrading, screen resolution becomes quite low. I decide to try to reinstall the virtualbox additions, then this occurred:

I have included the complete vbox-setup.log in the attachment. I tried using the most recent test build additions, but so far no luck. The following log is generated by installing VBoxGuestAdditions_6.0.1-127639. My Virtualbox is at the most recent version: 6.0.0 r127566.

Please help advise. Thanks in advance.

Code: Select all

 gcc -Wp,-MD,/tmp/vbox.0/.vbox_mode.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -I/usr/src/linux-4.12.14-94.41/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-4.12.14-94.41/include -I./include -I/usr/src/linux-4.12.14-94.41/arch/x86/include/uapi -I/usr/src/linux-4.12.14-94.41/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.14-94.41/include/linux/kconfig.h  -I/tmp/vbox.0 -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 -Wno-maybe-uninitialized --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-var-tracking-assignments -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes  -I/lib/modules/4.12.14-94.41-default/build/include  -I/tmp/vbox.0  -I/usr/src/linux-4.12.14-94.41/include/drm -D__KERNEL__ -DMODULE  -DMODULE  -DKBUILD_BASENAME='"vbox_mode"'  -DKBUILD_MODNAME='"vboxvideo"' -c -o /tmp/vbox.0/.tmp_vbox_mode.o /tmp/vbox.0/vbox_mode.c
   ./tools/objtool/objtool orc generate  --module --no-fp  --retpoline "/tmp/vbox.0/.tmp_vbox_main.o";
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/vbox_main.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/vbox_main.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/.vbox_ttm.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -I/usr/src/linux-4.12.14-94.41/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I/usr/src/linux-4.12.14-94.41/include -I./include -I/usr/src/linux-4.12.14-94.41/arch/x86/include/uapi -I/usr/src/linux-4.12.14-94.41/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.14-94.41/include/linux/kconfig.h  -I/tmp/vbox.0 -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 -Wno-maybe-uninitialized --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-var-tracking-assignments -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes  -I/lib/modules/4.12.14-94.41-default/build/include  -I/tmp/vbox.0  -I/usr/src/linux-4.12.14-94.41/include/drm -D__KERNEL__ -DMODULE  -DMODULE  -DKBUILD_BASENAME='"vbox_ttm"'  -DKBUILD_MODNAME='"vboxvideo"' -c -o /tmp/vbox.0/.tmp_vbox_ttm.o /tmp/vbox.0/vbox_ttm.c
/tmp/vbox.0/vbox_mode.c: In function ‘vbox_best_single_encoder’:
/tmp/vbox.0/vbox_mode.c:359:3: warning: passing argument 2 of ‘drm_encoder_find’ makes pointer from integer without a cast [enabled by default]
   return drm_encoder_find(connector->dev, enc_id);
   ^
In file included from /tmp/vbox.0/vbox_drv.h:85:0,
                 from /tmp/vbox.0/vbox_mode.c:35:
/usr/src/linux-4.12.14-94.41/include/drm/drm_encoder.h:216:35: note: expected ‘struct drm_file *’ but argument is of type ‘int’
 static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
                                   ^
/tmp/vbox.0/vbox_mode.c:359:3: error: too few arguments to function ‘drm_encoder_find’
   return drm_encoder_find(connector->dev, enc_id);
   ^
In file included from /tmp/vbox.0/vbox_drv.h:85:0,
                 from /tmp/vbox.0/vbox_mode.c:35:
/usr/src/linux-4.12.14-94.41/include/drm/drm_encoder.h:216:35: note: declared here
 static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
                                   ^
Now the shared folder feature works, but resolution is terribly low, at about 640*480.
Attachments
vboxadd-setup.log
(19.79 KiB) Downloaded 12 times
socratis
Site Moderator
Posts: 27330
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: Virtualbox Additions don't work for SLES 12 SP4 guest on Win10 host

Post by socratis »

There are several references to the "drm_encoder_find" problem, but they were all supposedly fixed. Just search for "drm_encoder_find site:virtualbox.org". I don't know what's going on here...

Moving to "Linux Guests" from "Windows Hosts", because that's where your problem is...
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.
asa_song
Posts: 2
Joined: 28. Dec 2018, 08:54

Re: Virtualbox Additions don't work for SLES 12 SP4 guest on Win10 host

Post by asa_song »

Thanks for the reply.

Can anyone give it a try? It's pretty easy to recreate. I tried installing SLES 12 SP4 in a fresh virtual machine, which runs on Win10. The same thing would occur. I googled and indeed found a lot similar symptoms, but just as told, they're supposedly fixed... :roll:
socratis
Site Moderator
Posts: 27330
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: Virtualbox Additions don't work for SLES 12 SP4 guest on Win10 host

Post by socratis »

asa_song wrote:Can anyone give it a try?
If by SLES 12 SP4 you mean SUSE Linux Enterprise Server 12 SP4 then I personally hate registering just to get a demo. If you can find the problem with a freely redistributed ISO that I could get my hands on, sure...
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