Page 1 of 1
Windows XP Guest Virtual Box closing inadvertantly
Posted: 16. Oct 2018, 22:31
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]
Re: Windows XP Guest Virtual Box closing inadvertantly
Posted: 17. Oct 2018, 06:33
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:
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?
Re: Windows XP Guest Virtual Box closing inadvertantly
Posted: 18. Oct 2018, 13:54
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
Re: Windows XP Guest Virtual Box closing inadvertantly
Posted: 18. Oct 2018, 15:52
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).