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

Discussions about using Linux guests in VirtualBox.
Locked
Etepetete
Posts: 400
Joined: 7. Oct 2009, 10:19
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Slackware 14.2
Location: Berlin

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

Post 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 7764 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:
Attachments
VBox6.0.4-Kernel4.4.172.zip
(55.38 KiB) Downloaded 65 times
Last edited by socratis on 27. Feb 2019, 22:50, edited 4 times in total.
Reason: Unmarked as [Solved].
bbender-v
Posts: 12
Joined: 19. Apr 2013, 04:12

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Post 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
Etepetete
Posts: 400
Joined: 7. Oct 2009, 10:19
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Slackware 14.2
Location: Berlin

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Post by Etepetete »

Thanks for your quick reply!
gustavoc36
Posts: 1
Joined: 26. Feb 2019, 16:24
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Linux Slackware
Location: Argentina

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Post 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
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Post 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:
[color=#AA0000]michael[/color] 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
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
bbender-v
Posts: 12
Joined: 19. Apr 2013, 04:12

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Post 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.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Post 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...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
IlyaK
Posts: 2
Joined: 28. Feb 2019, 01:33

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

Post by IlyaK »

vboxfs does not compile on latest slackware with latest test build. However, vboxvideo compiles and works perfectly.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Locked