Page 1 of 1

Slackware 14.2 kernel 4.4.172 cannot compile guest additions (#18315)

PostPosted: 2. Feb 2019, 20:43
by Etepetete

[ModEdit; related ticket: #18315: Kernel modules do not build with linux kernel 4.4.169, which appears to be fixed with builds r128999 and later, for both 5.2.27 and 6.0.5.]

After updating Slackware 14.2 to kernel 4.4.172, guest additions wil not compile.

I am prompted to look at /var/log/vboxadd-setup.log to find out what went wrong.

vboxadd-setup.png
vboxadd-setup.png (11.23 KiB) Viewed 2895 times


I don't fully understand the solution suggested in vboxadd-setup.log, i.e. how do I run 'make oldconfig && make prepare' on kernel source to fix it.

I've been at this issue on and off over the past week. I've found a solution that I can understand and implement here

https://slackblogs.blogspot.com/2019/02 ... ation.html

On that blog there is also a link to LinuxQuestions.org, where the topic is also discussed.

Any suggestions, advice would be greatly appreciated. I'll wait a bit before I implement any solution.

P.S. Issue occured with VBox versions 5.2.24, 5.2.26 and 6.0.4, didn't test any other versions.

I have logs from all versions, am only including the latest:

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

PostPosted: 2. Feb 2019, 23:40
by bbender-v
You don't have to rerun any make jobs, there's a source incompatibility with the new kernel, see https://www.linuxquestions.org/question ... ost5956080

You can unpack the guest additions tarball and patch it yourself (or wait for updated GA's in the Test Builds area)

Brian

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

PostPosted: 3. Feb 2019, 08:04
by Etepetete
Thanks for your quick reply!

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

PostPosted: 26. Feb 2019, 20:28
by gustavoc36
Hi, I'm having the same problem and with the help of this posting I've been able to solve it.
Thanks!

Gustavo

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

PostPosted: 26. Feb 2019, 21:05
by socratis
There's an open ticket about this, #18315: Kernel modules do not build with linux kernel 4.4.169, and another thread, which I should have merged them at their birth, now it's too late: vboxdrv build failure, VBox 5.2.26 32-bit, kernel 4.4.168 (#18315)

Can you people try the latest test builds from https://www.virtualbox.org/wiki/Testbuilds and see if it fixes the issue without the workaround? According to "michael" in the other thread:
michael wrote:Please try the current test builds[1] and report back on ticket 18315[2] if possible.

[1] https://www.virtualbox.org/wiki/Testbuilds
[2] https://www.virtualbox.org/ticket/18315

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

PostPosted: 27. Feb 2019, 20:37
by bbender-v
socratis wrote:Can you people try the latest test builds from https://www.virtualbox.org/wiki/Testbuilds and see if it fixes the issue without the workaround?


Confirmed, works for me now without intervention.

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

PostPosted: 27. Feb 2019, 22:40
by socratis
Thanks @bbender-v for the feedbak! A developer just "got their wings"... ;)

I'll wait for confirmation from 'Etepetete' for a couple of days, before marking the thread as [Fixed], but I will edit the 1st message to include a note about the recent developments...

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions (#18315)

PostPosted: 28. Feb 2019, 01:48
by IlyaK
vboxfs does not compile on latest slackware with latest test build. However, vboxvideo compiles and works perfectly.

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions (#18315)

PostPosted: 28. Feb 2019, 02:21
by socratis
IlyaK wrote:vboxfs does not compile on latest slackware with latest test build

Why is that? Where's the output of the GAs installation/compilation?

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions (#18315)

PostPosted: 20. Mar 2019, 17:02
by socratis
This is getting multiple (4) thread coverage, and I missed that fact, I should have merged them. So, I'm locking this one, please continue the discussion in: [Fixed] vboxdrv build failure, VBox 5.2.26 32-bit, kernel 4.4.168 (#18315).