LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-18-2022, 08:55 PM   #361
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,704

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386

While "/sbin/modprobe vboxdrv" in rc.modules.local will fix the issue, use the rc.vboxdrv method. It will make sure all the required modules and other settings are loaded at boot time. so remove rc.vboxdrv and add this to your /etc/rc.d/rc.local

Code:
# Start vboxdrv
if [ -x /etc/rc.d/rc.vboxdrv ]; then
  /etc/rc.d/rc.vboxdrv start
fi
then reboot to test
 
3 members found this post helpful.
Old 03-18-2022, 09:02 PM   #362
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Rep: Reputation: 13
Thanks for the save Daedra.
 
Old 04-19-2022, 04:46 PM   #363
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,159

Original Poster
Rep: Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328
The latest stable release of VirtualBox, version 6.1.34, is now available.

The change log, https://www.virtualbox.org/wiki/Changelog-6.1#v34

The download page, https://www.virtualbox.org/wiki/Downloads


Edit in: Installed, along with its companion extension pack, and it is running as it should in -current.

Last edited by cwizardone; 04-19-2022 at 05:04 PM.
 
2 members found this post helpful.
Old 04-19-2022, 05:21 PM   #364
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,423

Rep: Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163
Quote:
Originally Posted by cwizardone View Post
The latest stable release of VirtualBox, version 6.1.34, is now available.

The change log, https://www.virtualbox.org/wiki/Changelog-6.1#v34

The download page, https://www.virtualbox.org/wiki/Downloads


Edit in: Installed, along with its companion extension pack, and it is running as it should in -current.
This update is strongly recommended:
https://nvd.nist.gov/vuln/detail/CVE-2022-21491
https://nvd.nist.gov/vuln/detail/CVE-2022-21488
https://nvd.nist.gov/vuln/detail/CVE-2022-21487
 
3 members found this post helpful.
Old 04-20-2022, 09:12 PM   #365
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,704

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
I upgraded to 6.1.34 using ppr:kut's SlackBuild. A simple version bump was all it needed, everything built and installed fine, however I can't start any VM's. Looks like its a known bug with the latest version. Can any one else confirm they are having this problem. Thanks

https://forums.virtualbox.org/viewto...p?f=7&t=105815
 
1 members found this post helpful.
Old 04-21-2022, 05:29 PM   #366
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,704

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Disregard, A patch was posted in the thread above which fixes the issue. I had to modify it to make it work, here it is if anyone is interested.
Code:
diff -up VirtualBox-6.1.34/Config.kmk.orig VirtualBox-6.1.34/Config.kmk
--- VirtualBox-6.1.34/Config.kmk.orig	2022-04-21 17:20:08.982249736 -0500
+++ VirtualBox-6.1.34/Config.kmk	2022-04-21 17:23:36.276570980 -0500
@@ -4502,11 +4502,14 @@ ifeq ($(VBOX_LDR_FMT),elf)
 TEMPLATE_VBoxR0_TOOL                = $(VBOX_GCC_TOOL)
 TEMPLATE_VBoxR0_CFLAGS              = -fno-pie -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) \
 	$(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions \
-	$(VBOX_GCC_fno-stack-protector) -fno-common $(VBOX_GCC_fvisibility-hidden) -std=gnu99 $(VBOX_GCC_IPRT_FMT_CHECK)
+	$(VBOX_GCC_fno-stack-protector) -fno-common -ffreestanding $(VBOX_GCC_fvisibility-hidden) -std=gnu99 $(VBOX_GCC_IPRT_FMT_CHECK)
 TEMPLATE_VBoxR0_CXXFLAGS            = -fno-pie -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) \
 	$(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions \
 	$(VBOX_GCC_fno-stack-protector) -fno-common $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) \
 	-fno-rtti $(VBOX_GCC_IPRT_FMT_CHECK)
+if $(VBOX_GCC_VERSION_CC) >= 40500 # 4.1.2 complains, 4.5.2 is okay, didn't check which version inbetween made it okay with g++.
+TEMPLATE_VBoxR0_CXXFLAGS            = -ffreestanding
+endif
 TEMPLATE_VBoxR0_CFLAGS.amd64        = -m64 -mno-red-zone -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fasynchronous-unwind-tables -ffreestanding
 TEMPLATE_VBoxR0_CXXFLAGS.amd64      = -m64 -mno-red-zone -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fasynchronous-unwind-tables
 TEMPLATE_VBoxR0_CXXFLAGS.freebsd    = -ffreestanding
 
5 members found this post helpful.
Old 04-30-2022, 09:30 PM   #367
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 578

Rep: Reputation: Disabled
Hello all,

Downloaded from https://repo.liwjatan.org/pprkut/current/source/ the three folders for virtualbox

Tried to istaled the created packages and and now seeing this error
# cat /var/log/vbox-setup.log
Building the main VirtualBox module.
Error building the module:
/opt/VirtualBox/vboxdrv.sh: line 537: /usr/lib64/virtualbox/src/vboxhost/build_in_tmp: No such file or directory

Had a search and found this post, it looks similar.
https://www.linuxquestions.org/quest...6-30-a-733291/

The sub-directory src within /usr/lib64/virtualbox/ doesn't exist for me...
Did I miss something here that I have to fix?
 
Old 04-30-2022, 09:48 PM   #368
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,704

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
/opt/virtualbox shouldn't be there if you are just using ppr:kut's scripts. What files do you have in /opt/virtualbox?
 
1 members found this post helpful.
Old 04-30-2022, 09:55 PM   #369
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 578

Rep: Reputation: Disabled
Thanks for the great info.
The src folder and including subfolders + files are there in /opt/Virtualbox but not in /usr/lib64/virtualbox/

I've recursively copied the src folder to /usr/lib64/virtualbox/
Tried running /sbin/vboxconfig again... and success!

Thank you!
 
Old 05-01-2022, 04:38 AM   #370
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
There's also no vboxconfig in my packages. So it looks like you have some mix of from-source install and from-binary install going on
 
1 members found this post helpful.
Old 05-13-2022, 12:28 PM   #371
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,159

Original Poster
Rep: Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328
The first new test build since mid March has been released.
Test build 6.1.35-151427 and a companion extension pack
can be found at, https://www.virtualbox.org/wiki/Testbuilds

Last edited by cwizardone; 05-13-2022 at 12:29 PM.
 
Old 05-13-2022, 12:55 PM   #372
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 339

Rep: Reputation: Disabled
VirtualBox for Slackware Users

Does this version correct the error in the previous release?
 
Old 05-17-2022, 09:26 AM   #373
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,159

Original Poster
Rep: Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328
VirtualBox has released another new Test build, version 6.1.35-151478, but it does not build with the 5.18-rc7 kernel.

https://www.virtualbox.org/wiki/Testbuilds
 
Old 05-18-2022, 02:29 PM   #374
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,159

Original Poster
Rep: Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328
Quote:
VirtualBox On Linux Affected By Security Vulnerability Leaking Host Data To Guests
Written by Michael Larabel. 18 May 2022.
Security researcher Jason Donenfeld who is known for leading the development of the WireGuard open-source software has outlined a new security vulnerability affecting the Oracle VM VirtualBox software........
The full story can be found here, https://www.phoronix.com/scan.php?pa...-Host-To-Guest

Last edited by cwizardone; 05-18-2022 at 02:31 PM.
 
Old 05-25-2022, 03:10 PM   #375
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,159

Original Poster
Rep: Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328Reputation: 7328
VirtualBox has released another new Test build, version 6.1.35-151573, and it does build with the 5.18.0 kernel.
https://www.virtualbox.org/wiki/Testbuilds
 
  


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] virtualbox is installed along with virtualbox-dkms and virtualbox-ext-pack and linux-headers-generic, but error for no /dev/vboxdrv Astral Axiom Linux - Software 2 03-04-2019 08:09 PM
Issues activating virtualbox within my linux fedora 25 virtualbox on my windows device. QuantumChaos Linux - Virtualization and Cloud 5 02-21-2017 08:31 AM
Move Slackware guest from a Slackware hosted Virtualbox to Windows hosted Virtualbox? damgar Slackware 1 08-07-2012 11:28 PM
virtualbox or virtualbox ose manuleka Linux - Software 2 06-11-2009 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12: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