LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2021, 10:56 PM   #1
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 383

Rep: Reputation: Disabled
Guest Additions 6.1.26 module for kernel 5.15.0


Hi All,

I am trying to rebuild modules for VBox and I got this in the vboxadd-setup.log file:

Code:
Building the main Guest Additions 6.1.26 module for kernel 5.15.0.
Building the shared folder support module.
Error building the module.  Build output follows.
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.15.0/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules
make[1]: warning: -j4 forced in submake: resetting jobserver mode.
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 ;							\

Also:

Code:
dmesg |grep -i vbox
[    0.002191] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX  )
[    0.002202] ACPI: XSDT 0x0000000027FF0030 00003C (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
[    0.002216] ACPI: FACP 0x0000000027FF00F0 0000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
[    0.002232] ACPI: DSDT 0x0000000027FF0480 002325 (v02 VBOX   VBOXBIOS 00000002 INTL 20200925)
[    0.002263] ACPI: APIC 0x0000000027FF0240 00006C (v02 VBOX   VBOXAPIC 00000001 ASL  00000061)
[    0.002274] ACPI: SSDT 0x0000000027FF02B0 0001CC (v01 VBOX   VBOXCPUT 00000002 INTL 20200925)
[    1.374242] ata2.00: ATAPI: VBOX CD-ROM, 1.0, max UDMA/133
[    1.517005] ata1.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[    4.219416] scsi 0:0:0:0: Direct-Access     ATA      VBOX HARDDISK    1.0  PQ: 0 ANSI: 5
[    4.237081] scsi 1:0:0:0: CD-ROM            VBOX     CD-ROM           1.0  PQ: 0 ANSI: 5
[   15.910396] vboxguest: loading out-of-tree module taints kernel.
[   16.024691] vboxguest: Successfully loaded version 6.1.26 r145957
[   16.031176] vboxguest: misc device minor 123, IRQ 20, I/O port d040, MMIO at 00000000f0400000 (size 0x400000)
[   16.046014] vboxguest: Successfully loaded version 6.1.26 r145957 (interface 0x00010004)
[  121.794702] 03:46:23.163285 main     VBoxService 6.1.26 r145957 (verbosity: 0) linux.amd64 (Jul 28 2021 18:25:57) release log
[  121.796390] 03:46:23.164984 main     Executable: /opt/VBoxGuestAdditions-6.1.26/sbin/VBoxService
[  121.976641] vboxsf: Unknown symbol vbg_warn (err -2)
[  121.976688] vboxsf: Unknown symbol vbg_get_gdev (err -2)
[  121.977205] vboxsf: Unknown symbol vbg_hgcm_connect (err -2)
[  121.977267] vboxsf: Unknown symbol vbg_hgcm_disconnect (err -2)
[  121.977300] vboxsf: Unknown symbol vbg_err (err -2)
[  121.977316] vboxsf: Unknown symbol vbg_status_code_to_errno (err -2)
[  121.977335] vboxsf: Unknown symbol vbg_put_gdev (err -2)
[  121.977361] vboxsf: Unknown symbol vbg_hgcm_call (err -2)
[  122.091589] vboxsf: Unknown symbol vbg_warn (err -2)
[  122.091638] vboxsf: Unknown symbol vbg_get_gdev (err -2)
[  122.091682] vboxsf: Unknown symbol vbg_hgcm_connect (err -2)
[  122.091717] vboxsf: Unknown symbol vbg_hgcm_disconnect (err -2)
[  122.091745] vboxsf: Unknown symbol vbg_err (err -2)
[  122.091762] vboxsf: Unknown symbol vbg_status_code_to_errno (err -2)
[  122.091780] vboxsf: Unknown symbol vbg_put_gdev (err -2)
[  122.091805] vboxsf: Unknown symbol vbg_hgcm_call (err -2)
[  123.110160] vboxsf: Unknown symbol vbg_warn (err -2)
[  123.110207] vboxsf: Unknown symbol vbg_get_gdev (err -2)
[  123.110251] vboxsf: Unknown symbol vbg_hgcm_connect (err -2)
[  123.110286] vboxsf: Unknown symbol vbg_hgcm_disconnect (err -2)
[  123.110315] vboxsf: Unknown symbol vbg_err (err -2)
[  123.110472] vboxsf: Unknown symbol vbg_status_code_to_errno (err -2)
[  123.110493] vboxsf: Unknown symbol vbg_put_gdev (err -2)
[  123.110518] vboxsf: Unknown symbol vbg_hgcm_call (err -2)
[  123.134507] vboxsf: Unknown symbol vbg_warn (err -2)
[  123.134554] vboxsf: Unknown symbol vbg_get_gdev (err -2)
[  123.134598] vboxsf: Unknown symbol vbg_hgcm_connect (err -2)
[  123.134633] vboxsf: Unknown symbol vbg_hgcm_disconnect (err -2)
[  123.134660] vboxsf: Unknown symbol vbg_err (err -2)
[  123.134677] vboxsf: Unknown symbol vbg_status_code_to_errno (err -2)
[  123.134696] vboxsf: Unknown symbol vbg_put_gdev (err -2)
[  123.134721] vboxsf: Unknown symbol vbg_hgcm_call (err -2)
I uninstalled ./VBoxLinuxAdditions.run reboot but no succes

Last edited by lattimro; 11-06-2021 at 02:55 PM.
 
Old 11-06-2021, 09:52 AM   #2
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Rep: Reputation: Disabled
Guest Additions 6.1.26 module for kernel 5.15.0

virtualbox-kernel.Slackbuild? it compiles fine for me on 5.15.0

virtualbox-kernel-6.1.28_5.15.0-x86_64-1_SBo.tgz

Edit: Just noticed the version you are using. 6.1.28 compiles on current.

Last edited by kermitdafrog8; 11-06-2021 at 09:54 AM.
 
Old 11-06-2021, 11:00 AM   #3
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 383

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kermitdafrog8 View Post
virtualbox-kernel.Slackbuild? it compiles fine for me on 5.15.0

virtualbox-kernel-6.1.28_5.15.0-x86_64-1_SBo.tgz

Edit: Just noticed the version you are using. 6.1.28 compiles on current.
Did you noticed 6.1.28 on my screenshots?

I am fairly new, may I ask why I would need SlackBuild's version of virtualbox-kernel, if this is what you suggested me?
 
Old 11-06-2021, 02:45 PM   #4
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 383

Original Poster
Rep: Reputation: Disabled
Code:
cat /var/log/vboxadd-setup.log.1
Building the main Guest Additions 6.1.26 module for kernel 5.10.17.
Building the shared folder support module.
Building the graphics driver module.

Code:
dmesg |grep vbox
[   21.651333] vboxguest: loading out-of-tree module taints kernel.
[   22.348569] vboxguest: Successfully loaded version 6.1.26 r145957
[   22.349831] vboxguest: misc device minor 58, IRQ 20, I/O port d040, MMIO at 00000000f0400000 (size 0x400000)
[   22.357448] vboxguest: Successfully loaded version 6.1.26 r145957 (interface 0x00010004)
[  109.709860] vboxvideo: loading version 6.1.26 r145957
[  111.405224] vboxsf: g_fHostFeatures=0x8000000f g_fSfFeatures=0x1 g_uSfLastFunction=29
[  111.406106] vboxsf: Successfully loaded version 6.1.26 r145957
[  111.406240] vboxsf: Successfully loaded version 6.1.26 r145957 on 5.10.17 (LINUX_VERSION_CODE=0x50a11)
Code:
lsmod |grep vbox
vboxsf                 90112  1
vboxvideo              49152  0
ttm                   110592  2 vmwgfx,vboxvideo
drm_kms_helper        266240  2 vmwgfx,vboxvideo
drm                   610304  6 vmwgfx,drm_kms_helper,vboxvideo,ttm
vboxguest             385024  6 vboxsf

Last edited by lattimro; 11-06-2021 at 02:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 64-bit Host, Slackware 32-bit Guest, No VirutalBox Guest Additions? tronayne Slackware 4 03-24-2011 01:08 PM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 08:22 AM
LXer: Install Guest additions and run fullscreen mode on VirtualBox Guest OS | Linux LXer Syndicated Linux News 0 01-17-2010 05:30 PM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 12:15 AM
Virtualbox Gentoo Guest - Can't get guest additions working MALDATA Gentoo 3 06-18-2009 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration