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

Discussions about using Linux guests in VirtualBox.

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

Postby Etepetete » 2. Feb 2019, 20:43


[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 1129 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 20 times
Last edited by socratis on 27. Feb 2019, 22:50, edited 4 times in total.
Reason: Unmarked as [Solved].
Etepetete
 
Posts: 393
Joined: 7. Oct 2009, 10:19
Location: Berlin
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Slackware 14.2

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Postby bbender-v » 2. Feb 2019, 23:40

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
bbender-v
 
Posts: 10
Joined: 19. Apr 2013, 04:12

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Postby Etepetete » 3. Feb 2019, 08:04

Thanks for your quick reply!
Etepetete
 
Posts: 393
Joined: 7. Oct 2009, 10:19
Location: Berlin
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Slackware 14.2

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Postby gustavoc36 » 26. Feb 2019, 20:28

Hi, I'm having the same problem and with the help of this posting I've been able to solve it.
Thanks!

Gustavo
gustavoc36
 
Posts: 1
Joined: 26. Feb 2019, 16:24
Location: Argentina
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Linux Slackware

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Postby socratis » 26. Feb 2019, 21:05

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

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Postby bbender-v » 27. Feb 2019, 20:37

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.
bbender-v
 
Posts: 10
Joined: 19. Apr 2013, 04:12

Re: Slackware 14.2 kernel 4.4.172 cannot compile guest additions

Postby socratis » 27. Feb 2019, 22:40

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

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

Postby IlyaK » 28. Feb 2019, 01:48

vboxfs does not compile on latest slackware with latest test build. However, vboxvideo compiles and works perfectly.
IlyaK
 
Posts: 2
Joined: 28. Feb 2019, 01:33

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

Postby socratis » 28. Feb 2019, 02:21

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

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

Postby socratis » 20. Mar 2019, 17:02

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


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 10 guests