Windows XP Guest Virtual Box closing inadvertantly

Discussions about using Windows guests in VirtualBox.
Post Reply
Mike5005
Posts: 2
Joined: 16. Oct 2018, 22:22

Windows XP Guest Virtual Box closing inadvertantly

Post by Mike5005 »

Good Day,
We are using Virtual Box 5.2.18 on a Windows 10 Host and Guess runs Windows XP. We use USB serial adapter in Guess to communicate with a serial devices. While communicating with serial device, Virtual box suddently closes and restarts.

As anyone came accross a similar situation?

Thank you
Mike.

[ModEdit; 2 out of 3 identical logs removed]
Attachments
vbox_log_1_Windows_XP_Siemens PEx-2018-10-12-00-14-10.log
(114.21 KiB) Downloaded 26 times
Last edited by socratis on 17. Oct 2018, 03:00, edited 1 time in total.
Reason: Removed unnecessary attachment, be more "green".
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows XP Guest Virtual Box closing inadvertantly

Post by socratis »

You attached 3 almost identical logs. We don't really need three logs that show the same thing, we just need one. And ZIPPED actually, it helps save a (virtual) tree or two... ;)
00:00:02.391265 [/Devices/usb-ohci/] (level 2)
You only have USB1 enabled. You have the ExtPack installed. Since I highly doubt that your USB/Serial device is a USB1, I would strongly urge you to enable the USB2 controller. Shut down the VM, go to VM Settings » Ports » USB » enable the USB2 controller.
00:00:02.391283 VRamSize <integer> = 0x0000000001200000 (18 874 368, 18 MB)
00:00:15.106282 GUI: 2D video acceleration is disabled
And so is the 3D acceleration. Shutdown the VM and enable them in the VM settings » Display. You'll also notice that the max VRAM will jump from 128 to 256 MB after that; max the VRAM as well. Then re-install the Guest Additions (GAs) in the guest.
00:01:31.936398 VUSB: Attached '0000000003146600[proxy 0403:6001]' to port 2 on RootHub#0 (FullSpeed)
00:04:10.718883 VUSB: Detached '0000000003146600[proxy 0403:6001]' from port 2 on RootHub#0
00:04:50.680848 VUSB: Attached '0000000003146600[proxy 104b:0006]' to port 2 on RootHub#0 (HighSpeed)
00:05:49.685480 VUSB: Detached '0000000003146600[proxy 104b:0006]' from port 2 on RootHub#0
With your USB devices plugged in, post the output of the command:
  • VBoxManage list usbhost
00:13:36.988849 VMMDev: Guest requests the VM to be turned off
00:13:36.988966 Changing the VM state from 'RUNNING' to 'POWERING_OFF'
I don't see a crash or a close. I see a VM that shuts down normally, after about 13 minutes of operation. So, can you please explain what exactly crashes? The program you're using? The VM? VirtualBox?
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.
Mike5005
Posts: 2
Joined: 16. Oct 2018, 22:22

Re: Windows XP Guest Virtual Box closing inadvertantly

Post by Mike5005 »

Socratis,
Tx for the reply:

Attached files, oups, you're right, here's a zip file with other logs. From the same problem, from the same computer. Hope you can find other stuff.
I will perform the suggested modifications for the USB ports and the 3D acceleration.
Once I'll have the laptop on hand I will get the result of the command "VBoxManage List usbhost"

Has for the "crash", you're right, in fact, we have an old DOS program that we run in the guess OS, this program is used to load a configuration into an external module, through a serial port. We connect the USB-Serial adapter, we start the VM, we connect (link) the USB-Serial adapter into Virtual Box, then we start our program, then from our program we initiate the transfert of the config to our module through the USB-Serial adapter. During the transfert, the VirtualBox closes and restarts, thus interrupting the transfert. Unfortunately when the VirtualBox restarts our program and transfert is not automated to re-initiate where it was left off.

This issue is intermittant.

Tx
Mike
Attachments
VirtualBox.zip
(123.39 KiB) Downloaded 20 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Windows XP Guest Virtual Box closing inadvertantly

Post by mpack »

socratis wrote:Since I highly doubt that your USB/Serial device is a USB1, I would strongly urge you to enable the USB2 controller.
Actually, USB 1.x (even the slow speed variant - ~180KB/s) is plenty fast enough for the fastest standard PC UART speed (11.5KB/s).
Post Reply