LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-05-2019, 04:17 AM   #1
seb_62
LQ Newbie
 
Registered: Feb 2015
Location: North of France
Distribution: slackware 14.2 & current
Posts: 11

Rep: Reputation: Disabled
Virtualbox - Guest additions not building with kernel 4.4.172


Hi,

All is in the title.
Came back to 4.4.157, work fine.

Have a nice day.
 
Old 02-05-2019, 09:31 AM   #2
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,353

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
fwiw, virtualbox-kernel-addons won't build on 4.4.172 either. There is a patch to build virtualbox-kernel. On two systems I rebuilt only the kernel with 4.4.172 and all was well.

On the first system I was upgrading, I blew away virtual box, and tried to rebuilt. Nope.

I went to VirtualBox 6.0.4 from Oracle. Willy has posted a fix to get it installed on 4.4.172. It worked fine on that system.
 
Old 02-05-2019, 10:46 AM   #3
bormant
Member
 
Registered: Jan 2008
Posts: 321

Rep: Reputation: 181Reputation: 181
Since 4.4.168+ kernel changed API my personal choice is to jump to 4.19.x kernel from current ;-)
My hardware has drivers compatible with 4.19 so I can do it on my own.
 
Old 02-06-2019, 11:58 PM   #4
lambo69
Member
 
Registered: Sep 2012
Distribution: Slackware, Debian, Slackarm, Raspbian
Posts: 52

Rep: Reputation: Disabled
I ran into the same problem after upgrading to 4.4.172 on Slackware yesterday. On a first view, it doesn't seem to be just guest additions, VirtualBox refuses to build kernel modules, no matter if i take VB 5.5.22, which was the running version, or if I take 6.0.4. Returning to an older kernel (which one ships with Slackware14.2 originally, 4.4.14 iirc?) raises the same error, so VB is completely unusable on that system.

@camorri
Where can i get the patch from? Is it a patch for VirtualBox or for the Kernel?

Last edited by lambo69; 02-07-2019 at 12:52 AM. Reason: typo
 
Old 02-07-2019, 04:11 AM   #5
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,353

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Here is the link to Willy's SlackBlog. If you want to go to version 6.0.4 from Oracle.

-->https://slackblogs.blogspot.com/

It worked for me, and I have seen posts from others it worked for.

Post #5 in this thread has the patch.

-->https://www.linuxquestions.org/quest...-a-4175647407/

You create the two .diff files that are posted, name them the same as the post, and then run the patch command as listed. This was for version 5.0.40 that is still on SBo. I have no idea if this would work on 5.5.22.

My suggestion would be remove 5.2.22 and go to 6.0.4 from Oracle, and follow Willys post to get it working. You will have to import your .vdi files onto 6.0.4. The documentation tells you hoe to do that.

Best of luck.
 
Old 02-11-2019, 11:21 PM   #6
lambo69
Member
 
Registered: Sep 2012
Distribution: Slackware, Debian, Slackarm, Raspbian
Posts: 52

Rep: Reputation: Disabled
Thank you!
I switched to Kernel 4.20.7, which works for me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
4MLinux as VirtualBox guest - how can I install VirtualBox Guest Additions? wghay 4MLinux 11 09-30-2018 01:17 PM
[SOLVED] building guest additions in VirtualBox with 38-kernel fails j1alu Linux - Virtualization and Cloud 4 03-23-2014 05:21 AM
LXer: Install Guest additions and run fullscreen mode on VirtualBox Guest OS | Linux LXer Syndicated Linux News 0 01-17-2010 06:30 PM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 01:15 AM
Virtualbox Gentoo Guest - Can't get guest additions working MALDATA Gentoo 3 06-19-2009 12:43 AM

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

All times are GMT -5. The time now is 02:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration