Page 1 of 2

[Solved] Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 1. Apr 2017, 00:15
by jrc55
MOD EDIT:
The solution seems to be the Default Paravirtualization Interface: VM Settings » System » Acceleration » Paravirtualization interface: Default.

Original message follows...


VB is 5.1.16. Host is current Win 10 Home 64bit. Guest works with Linux kernel 4.9.* but after install of a 4.10.* (that Redhat pushes in their repository) the guest fails to boot. It hangs immediately after grub tries to start it. Guest is also 64bit.

Guest additions is also 5.1.16
Guest has 3gb of memory allocated.
I've attached the vboxhardening.log

Is this a known issue? Has anyone else been able to successfully use a 4.10.* kernel?? Any suggestions??

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 1. Apr 2017, 00:23
by Perryg
If the guest was working and all you did was update the guests kernel, I don't think it is an issue with VirtualBox. At least not with the version you have installed as it should support up to the 4.11 kernel.

You might be able to fix this by booting into the previous kernel and remove the new one and wait a few days to see if there was a regression from the OS provider.

fedora-25_4-10-kernel.png
fedora-25_4-10-kernel.png (88.95 KiB) Viewed 3796 times


Although it does work for me, but it may not for you because I have a special version of VirtualBox I develop.

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 1. Apr 2017, 00:42
by jrc55
Thanks for your prompt reply PerryG. I had created a snapshot prior to the kernel install failure so all I need do is go back to the snapshot that uses the 4.9.* kernel. I will let Redhat push out some more kernels before I get concerned. :)

I would appreciate hearing from any other other users listening in if they have a like problem ... as there might be a common denominator. My machine is a Intel i7-6700 that uses the iGPU. It has 16gb. The guest does NOT use any GPU acceleration.

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 1. Apr 2017, 18:22
by jrc55
I've discovered my problem is limited to my "Fedora 25 KDE" guest. I also have a "Fedora 25 gnome" guest and it is working fine after an update to 4.10.*

So I will be keeping a lookout for KDE changes too.

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 1. Apr 2017, 18:35
by Perryg
Ah KDE. I stopped using that years ago because of problems like you are seeing and more. Gnome is slightly better but on machines that I use daily I try to install cinnamon. Just enough eye candy but without most of the problems.

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 2. Apr 2017, 10:00
by socratis
When I updated my Fedora 25 guest from 4.9.7-201.fc25.x86_64 to 4.10.6-200.fc25.x86_64 kernel it wouldn't boot. Stuck at the very early stages (maxed CPU, no HD activity, no sign at the logs). But then I switched the Paravirtualization option from "Legacy" to "Default" and it booted just fine. Yes, it's an old VM and that setting was carried over.

I have another problem with 4.10*, where only Gnome_Classic would allow me to login, but not your standard Gnome. That's been discussed in the past, but I can't find the thread at the moment.

Host: OSX 10.9.5, VirtualBox 5.1.19 r114236 (Qt5.6.2).

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 2. Apr 2017, 13:40
by Perryg
I suspect the culprit is Wayland work being done in Fedora. They have been porting it for a while and it is meant to replace Gnome. But other than that it would be difficult to track down since KDE also has issues. Add to that they are tuning the kernels to work with these architectures and well.....

https://fedoraproject.org/wiki/Changes/WaylandByDefault

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 2. Apr 2017, 17:30
by Perryg
It might be worth an update to the guest.
Code: Select all   Expand viewCollapse view
Upgraded:
  gdbm.x86_64 1.13-1.fc25                                                 iwl100-firmware.noarch 39.31.5.1-72.fc25                 
  iwl1000-firmware.noarch 1:39.31.5.1-72.fc25                             iwl105-firmware.noarch 18.168.6.1-72.fc25                 
  iwl135-firmware.noarch 18.168.6.1-72.fc25                               iwl2000-firmware.noarch 18.168.6.1-72.fc25               
  iwl2030-firmware.noarch 18.168.6.1-72.fc25                              iwl3160-firmware.noarch 1:25.30.13.0-72.fc25             
  iwl3945-firmware.noarch 15.32.2.9-72.fc25                               iwl4965-firmware.noarch 228.61.2.24-72.fc25               
  iwl5000-firmware.noarch 8.83.5.1_1-72.fc25                              iwl5150-firmware.noarch 8.24.2.2-72.fc25                 
  iwl6000-firmware.noarch 9.221.4.1-72.fc25                               iwl6000g2a-firmware.noarch 18.168.6.1-72.fc25             
  iwl6000g2b-firmware.noarch 18.168.6.1-72.fc25                           iwl6050-firmware.noarch 41.28.5.1-72.fc25                 
  iwl7260-firmware.noarch 1:25.30.13.0-72.fc25                            libdrm.x86_64 2.4.76-1.fc25                               
  libertas-usb8388-firmware.noarch 2:20170313-72.git695f2d6d.fc25         linux-firmware.noarch 20170313-72.git695f2d6d.fc25       
  xorg-x11-server-Xorg.x86_64 1.19.3-1.fc25                               xorg-x11-server-Xwayland.x86_64 1.19.3-1.fc25             
  xorg-x11-server-common.x86_64 1.19.3-1.fc25                           


As you can see they updated xorg, Xwayland, and libdrm. I noticed a slight improvement is screen rendering on my F-25 test guest which might be what is causing this issue.

Remember to make a snapshot just in case.

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 2. Apr 2017, 21:04
by socratis
Perryg, if you're talking about my problem with Gnome not working while Gnome-classic working, then I did update to the latest and greatest. And again today, after I reverted yesterday back to my 4.9.7 working copy. Unless something changed between today and yesterday that I repeated the whole process, today it's working just fine ;)

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 2. Apr 2017, 21:34
by Perryg
Yes I was talking about the latest updates which just had today. I figured it would help but one never knows. I did not have this issue but that can always be due to my own custom build.

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 2. Apr 2017, 21:57
by socratis
socratis wrote:Unless something changed between today and yesterday
Perryg wrote:Yes I was talking about the latest updates which just had today.
Man, that was fast! Do you know someone inside Red Hat? :D

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 2. Apr 2017, 22:37
by Perryg
Actually yes I do but they were not that much help this time. I was working on Fedora the last few days and it was a stumble across kind of thing. ;-)

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 3. Apr 2017, 17:36
by jrc55
>then I switched the Paravirtualization option from "Legacy" to "Default" and it booted just fine.

That solution from Socratis worked for me too.

The use of the virtualbox snaphot option has in the past made repairing a broken system a snap (pun intended), and it has this time too. I highly recommend it to any lurkers ... just don't get carried away with the tool.

I'll also take the opportunity to say that I think virtualbox team has created a very good product at a great price. Keep up the good work.

Thanks to all that helped me with my problem. :)

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 3. Apr 2017, 18:00
by socratis
Glad it worked. The funny thing is that it must be the first instance of a guest that the KVM option is required to get it going...

Re: Fedora 25 guest not boot with Linux kernel 4.10.*

PostPosted: 5. Apr 2017, 16:11
by joelthelion
Could you set the topic as solved, and perhaps include the solution in your original post?

This is going to be a frequent problem, and changing the paravirtualisation setting solved the boot problem for me as well.