VirtualBox

Changes between Initial Version and Version 1 of Ticket #16335, comment 2


Ignore:
Timestamp:
Jan 18, 2017 10:07:20 AM (8 years ago)
Author:
Frank Mehnert

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16335, comment 2

    initial v1  
    11According to its log files, the Linux guest receives a shutdown notice through some unknown means.  The only odd item I can pick out in the log file is this, at the beginning of the shutdown messages:
    2 
     2{{{
    33Dec 29 16:02:17 myhost systemd-logind: No resume= argument specified in the kernel command line, disabling hibernation.
    4 
     4}}}
    55(After this there are the usual system messages about processes shutting down, Dec 29 16:03:29 is the last message before the boot messages when I manually started the system again.  The above 16:02:17 is the first message after a long gap from 15:20:13, some system cron activity.)
    66
    77I cannot tell what signal was sent, but this clue in combination with the fact that it is an orderly shutdown with full cleanup tells me that it is possibly an "S4 Hibernate" hardware signal.  This would make no sense automated,as the machine was on for days, and weeks in the past when this happens.  During this time I am nowhere near the host machine, and no-one is logged into it the guest or host from e.g. an SSH connection. I combed through the host VBox.log file looking for anomalies and I see several tens of lines discussing a GUI resize operation just before the guest shutdown, example follows:
    8 
     8{{{
    99144:03:01.669463 VBVA: InfoScreen: [0] @0,0 1920x1135, line 0x1e00, BPP 32, flags 0x1
    1010144:03:01.669562 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000000fd80000 w=1920 h=1135 bpp=32 cbLine=0x1E00 flags=0x1
    1111144:03:01.669598 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=1920x1135, Sending to async-handler
    1212144:03:01.669654 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=1920x1135
    13 
     13}}}
    1414After about 50 or so lines of this GUI resize (no-one is resizing the GUI at the time), the log simply states the guest is going into a shutdown routine a few seconds later:
    15 
     15{{{
    1616146:40:54.207771 VMMDev: Guest Log: 146:36:13.597060 control  Guest control service stopped
    1717146:40:54.207834 VMMDev: Guest Log: 146:36:13.597139 control  Guest control worker returned with rc=VINF_SUCCESS
     
    2020146:40:54.207989 VMMDev: Guest Log: 146:36:13.597302 main     Closing all guest files ...
    2121146:40:54.318033 VMMDev: Guest Log: 146:36:13.707333 main     Ended.
    22 
     22}}}
    2323When the guest is stopped, whether or not I had the VirtualBox control window open during the run, the control window opens (on its own if it was not open) and displays the update notice dialog box I mentioned earlier.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy