Page 1 of 2

[Solved] Centos 7.4 boot stuck

Posted: 12. Nov 2017, 19:12
by mn
As I posted in [1], the guest addition of the latest VirtualBox 5.2 can not be installed on Centos 7.4. So, I installed VirtualBox 5.0.16. Fortunately, the guest addition installed successfully. However, after a reboot, Centos 7.4 stuck and I now can not see the login page!!

The log says

Code: Select all

00:00:10.192065 PIIX3 ATA: Ctl#0: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:10.192200 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:10.192541 PIIX3 ATA: Ctl#1: RESET, DevSel=0 AIOIf=0 CmdIf0=0xa0 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:10.192591 PIIX3 ATA: Ctl#1: finished processing RESET
00:00:10.195049 AHCI#0: Reset the HBA
00:00:10.197994 AHCI#0: Port 0 reset
00:00:12.786493 VMMDev: Guest Additions information report: Version 5.0.16 r105871 '5.0.16'
00:00:12.786569 VMMDev: Guest Additions information report: Interface = 0x00010004 osType = 0x00053100 (Linux >= 2.6, 64-bit)
00:00:12.786732 VMMDev: Guest Additions capability report: (0x0 -> 0x0) seamless: no, hostWindowMapping: no, graphics: no
00:00:12.786758 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners.
00:00:12.786768 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:00:12.786808 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners.
00:00:12.786814 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:00:12.786996 VMMDev: Guest reported fixed hypervisor window at 00002000000 LB 0x2400000 (rc=VINF_SUCCESS)
00:00:12.787024 VMMDev: vmmDevReqHandler_HeartbeatConfigure: No change (fHeartbeatActive=false).
00:00:12.787049 VMMDev: Heartbeat flatline timer set to trigger after 4 000 000 000 ns
00:00:12.787115 VMMDev: Guest Log: vgdrvHeartbeatInit: Setting up heartbeat to trigger every 2000 milliseconds
00:00:12.787310 GUI: UISession::sltAdditionsChange: GA state really changed, notifying listeners.
00:00:12.787326 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary.
00:00:12.787334 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners.
00:00:12.787339 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:00:12.788197 VMMDev: Guest Log: vboxguest: misc device minor 58, IRQ 20, I/O port d020, MMIO at 00000000f0400000 (size 0x400000)
00:00:13.442021 AC97: Reset
00:00:13.442608 AC97: Reset
00:00:15.186716 NAT: Link up
00:00:18.167941 VMMDev: Guest Log: VBoxService 5.0.16 r105871 (verbosity: 0) linux.amd64 (Mar  4 2016 17:38:55) release log
00:00:18.167999 VMMDev: Guest Log: 00:00:00.000504 main     Log opened 2017-11-12T17:05:41.917152000Z
00:00:18.168120 VMMDev: Guest Log: 00:00:00.000729 main     OS Product: Linux
00:00:18.168568 VMMDev: Guest Log: 00:00:00.001174 main     OS Release: 3.10.0-693.5.2.el7.x86_64
00:00:18.168619 VMMDev: Guest Log: 00:00:00.001232 main     OS Version: #1 SMP Fri Oct 20 20:32:50 UTC 2017
00:00:18.168678 VMMDev: Guest Log: 00:00:00.001280 main     Executable: /opt/VBoxGuestAdditions-5.0.16/sbin/VBoxService
00:00:18.168687 VMMDev: Guest Log: 00:00:00.001283 main     Process ID: 666
00:00:18.168694 VMMDev: Guest Log: 00:00:00.001284 main     Package type: LINUX_64BITS_GENERIC
00:00:18.171043 VMMDev: Guest Log: 00:00:00.003648 main     5.0.16 r105871 started. Verbose level = 0
00:00:18.181862 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners.
00:00:18.181882 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:00:18.200649 GUI: UISession::sltAdditionsChange: GA state really changed, notifying listeners.
00:00:18.200689 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary.
00:00:18.200704 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners.
00:00:18.200711 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:00:20.179109 NAT: IPv6 not supported
00:00:20.242436 NAT: Adding domain name local
00:00:20.242477 NAT: DNS#0: 10.0.3.2
00:00:20.242500 NAT: DHCP offered IP address 10.0.3.15
Please see the attached picture. Any idea?


[1] viewtopic.php?f=3&t=85441

Re: Centos 7.4 boot stuck

Posted: 13. Nov 2017, 10:54
by mpack
Please provide complete logs as zip attachments, not truncated and pasted.

Re: Centos 7.4 boot stuck

Posted: 13. Nov 2017, 11:50
by michael
Please try the Guest Additions update from the downloads page[1] instead.

[1] https://www.virtualbox.org/wiki/Downloads

Re: Centos 7.4 boot stuck

Posted: 13. Nov 2017, 19:03
by mn
Thank you very much. It is now fine.

Re: [Solved] Centos 7.4 boot stuck

Posted: 7. Dec 2017, 16:33
by J.Dow
michael, that update seems to have vanished from the downloads page. All I see is a note that there is a problem if 3D acceleration is enabled. Was there a problem with it despite it fixing mm' problem?
{^_^}

Re: [Solved] Centos 7.4 boot stuck

Posted: 7. Dec 2017, 17:49
by mpack
J.Dow wrote:michael, that update seems to have vanished from the downloads page.
Naturally so, since there has been a full maintenance release (5.2.2) since then. Therefore a short term interrim release of the GAs is no longer needed.

Re: [Solved] Centos 7.4 boot stuck

Posted: 7. Dec 2017, 18:42
by socratis
@J.Dow
You can always try the test builds, that's where the note was pointing you to in any event...

Re: [Solved] Centos 7.4 boot stuck

Posted: 7. Dec 2017, 19:03
by mn
@J.Dow,
If you want to access that iso file only, I can share that if I am allowed.

Re: [Solved] Centos 7.4 boot stuck

Posted: 7. Dec 2017, 19:44
by socratis
@mn
Please don't share it. That file is seriously outdated. There are newer GAs that "J.Dow" can and should use.

Re: [Solved] Centos 7.4 boot stuck

Posted: 8. Dec 2017, 03:47
by J.Dow
Nonetheless the problem it cites seems to still exist. Plymouth cannot exit which stalls the boot process with a wait for it to exit. I do note that if I turn off 3D I can work around it. So it seems the developers are aware of the problem and are working on it. I was hoping to test an interim fix. I've been able to narrow it down somewhat with repeated reboots with restored snapshots. I can wait, though. I do have the disabled 3D workaround.
{^_^}

Re: [Solved] Centos 7.4 boot stuck

Posted: 8. Dec 2017, 07:47
by socratis
J.Dow wrote:So it seems the developers are aware of the problem and are working on it.
Exactly. The 5.2.x series, coupled with the ever faster changing Linux distros, have introduced quite a few issues. As it is noted in the Downloads page:
Note: The Guest Additions image with the 5.2.2 release still has some known problems with certain Linux distributions when 3D acceleration is enabled. We hope to provide updated builds here when these are fixed.

Re: [Solved] Centos 7.4 boot stuck

Posted: 8. Dec 2017, 11:30
by michael
I just updated the development series test builds (not yet the 5.2 ones)[1]. The Guest Additions build there should contain an additional fix for the Linux guest hangs with 3D enabled. @J.Dow, please give that a test and we can start again from that point.

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

Re: [Solved] Centos 7.4 boot stuck

Posted: 8. Dec 2017, 12:53
by J.Dow
socratis, SL 7.x and Centos 7.4 do not change nearly as fast as the Fedora builds. {^_-} I'm using Scientific Linux myself. The VM is a test build for checking updates and learning the famn dool new startup code.

michael, I'll see if I can give a try tomorrow. (I'm a left coast USA night owl.) My REAL acid test will be running USB batch transfers from rtl dongles and airspy dongles for software defined radios once everything else works. BTW - I am on a Windows 7 host at the moment.

{^_^}

Re: [Solved] Centos 7.4 boot stuck

Posted: 8. Dec 2017, 12:57
by socratis
J.Dow wrote:SL 7.x and Centos 7.4 do not change nearly as fast as the Fedora builds.
I didn't specifically blame/target the CentOS or the Scientific Linux distros. Please re-read my comment, I mentioned 5.2 as the main suspect, because when you're trying to fix a problem, sometimes you open multiple other ones... ;)

Re: [Solved] Centos 7.4 boot stuck

Posted: 8. Dec 2017, 15:28
by J.Dow
No problem socratis. {^_-}

Michael - VirtualBox-5.2.3-119405-Win is not a fix. (I used the guest additions that were included with the installer if that makes a difference.) It locks up the same way with 3D on. It appears to work OK with 3D off. I noticed on sending the shutdown signal rather than powering off that the shutdown halted waiting for gnome to do its thing and go away. I hammered it over the head rather than wait a minute and a half.

For further diagnostic information I noticed that I had to turn off SELinux while I was trying to diagnose how and where it failed. SELinux was complaining about not being able to load the policies as if the install of the guess additions screwed that up, too. This might be a concatenation of several bugs interacting with each other.

{^_^}