LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-06-2019, 12:34 PM   #1
JamesGT
Member
 
Registered: Oct 2009
Location: St. Louis, MO, USA
Distribution: Slackware64 Live
Posts: 300

Rep: Reputation: 51
VirtualBox & Kernel 4.4.172


I currently run a Windows 10 system and run Slackware64 14.2 inside of VirtualBox.

I upgraded my kernel for Slackware 14.2 to 4.4.172 which has broken inside of VirtualBox and will not allow the installation of the guest additions kernel modules.

I've seen some solutions, but these look to be running Slackware and then running VirtualBox inside Slackware. I am running Windows 10 and running Slackware64 14.2 inside Virtualbox as the guest system.

Is there a solution for fixing this inside VirtualBox? Is there a way to roll back the kernel to 4.4.157 for the timing being?

James
 
Old 02-07-2019, 03:32 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
If you ran slackpkg upgrade-all, that process would have removed 4.4.157, all files for the kernel upgrade. If you look at any mirror, 4.4.157 is gone, and only 4.4.172 packages are there now.

So, unless you have a backup of those files, they are gone.

Your best bet, what I would do, is get and install the kernel packages from current. I did see one post where that worked fine for the user. I have not tried that myself.

The other choice is to go to kernel.org and fine the source files for a release before 4.4.168; that is where the devs changed the kernel and caused this mess. You would have to compile the kernel and install it that way.

What version of v-box are you running on Win 10? Is it from Oracle?
 
Old 02-07-2019, 03:50 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
https://git.slackbuilds.org/slackbui...57978feb1c6e3d
 
Old 02-07-2019, 04:03 AM   #4
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
I have uploaded 4.4.153 here [64bit only]:

https://www.linuxquestions.org/quest...ml#post5956779
 
Old 02-07-2019, 05:14 AM   #5
asdrubale
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Rep: Reputation: Disabled
Quote:
Originally Posted by JamesGT View Post
Is there a solution for fixing this inside VirtualBox? Is there a way to roll back the kernel to 4.4.157 for the timing being?
I applied the changes described here (at point 3): https://slackblogs.blogspot.com/2019...plication.html to
Code:
/opt/VBoxGuestAdditions-5.2.26/src/vboxguest-5.2.26/vboxguest/r0drv/linux/memobj-r0drv-linux.c
(I'm using Virtualbox 5.2.26) and then rebooted the VM. This solved the problem.
 
2 members found this post helpful.
Old 02-07-2019, 09:16 AM   #6
JamesGT
Member
 
Registered: Oct 2009
Location: St. Louis, MO, USA
Distribution: Slackware64 Live
Posts: 300

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by camorri View Post
If you ran slackpkg upgrade-all, that process would have removed 4.4.157, all files for the kernel upgrade. If you look at any mirror, 4.4.157 is gone, and only 4.4.172 packages are there now.

So, unless you have a backup of those files, they are gone.
Yep...I noticed. I checked a bunch of mirrors hoping to find a slow one, but they were all updated already.

Quote:
Originally Posted by camorri View Post
Your best bet, what I would do, is get and install the kernel packages from current. I did see one post where that worked fine for the user. I have not tried that myself.

The other choice is to go to kernel.org and fine the source files for a release before 4.4.168; that is where the devs changed the kernel and caused this mess. You would have to compile the kernel and install it that way.
I might try that as a last resort.

Quote:
Originally Posted by camorri View Post
What version of v-box are you running on Win 10? Is it from Oracle?
It is from Oracle. I was using 5.12. When this problem started I upgraded to 5.26...then I upgraded to 6.0.4...then I downgraded back to 5.26.

James
 
Old 02-07-2019, 09:17 AM   #7
JamesGT
Member
 
Registered: Oct 2009
Location: St. Louis, MO, USA
Distribution: Slackware64 Live
Posts: 300

Original Poster
Rep: Reputation: 51
Thumbs up

Quote:
Originally Posted by asdrubale View Post
I applied the changes described here (at point 3): https://slackblogs.blogspot.com/2019...plication.html to
Code:
/opt/VBoxGuestAdditions-5.2.26/src/vboxguest-5.2.26/vboxguest/r0drv/linux/memobj-r0drv-linux.c
(I'm using Virtualbox 5.2.26) and then rebooted the VM. This solved the problem.
YAS!!!

This worked perfectly. Tried to install, made the 3 changes, rebooted, back to normal. Thank you very much!

James
 
1 members found this post helpful.
  


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
Virtualbox - Guest additions not building with kernel 4.4.172 seb_62 Slackware 5 02-11-2019 10:21 PM
VirtualBox fails to build drivers for kernel 4.4.172 metageek Slackware 15 02-04-2019 05:23 PM
how to create DNS for two network(10.114.12.0/24 &172.18.0.0/24) renuaseri Linux - Newbie 2 11-16-2009 12:19 AM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

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

All times are GMT -5. The time now is 05:34 AM.

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