Page 1 of 1

Saved state and USB support problems

Posted: 16. Feb 2011, 00:35
by ph0n3s
This is paraphrased, but may help someone if they have the same issues I did. Sorry for the lack of detailed pictures / quotes.

Host: Windows 7
Guest: CentOS 5.3 x86
VB: Differencing VDI / snapshots

Problem:
I did not have the Virtual Box Extension pack installed, but USB was originally enabled (default?).
I had setup the Guest OS, and on each run, I ignored the USB support warning messages, thinking that USB would simply not be available. I did not suspect the following issues.
Several startups and shutdowns just gave the same message, but there were no problems.
Until, the last time, where I SAVED the machine state.

Then, on startup, the machine load failed miserably, regarding the lack of USB support!
(picture should be here) - saying, either disable USB support on the machine, or, install the extension pack.
* Failed solution: Hacking of the VB xml, removing the USB sections, or changing the enabled = false does NOT work. * It resulted in a new message regarding an inconsistent save state regarding the presence of USB devices.

* Working Solution:
Part one: Installed the Extension pack, enabling of course USB support. Then tried to bring up the machine, but still, I received a message (picture should be here), saying that there was / was not saved state information for 'usb/ehci' devices.
Part two: Hack the VB xml, and change ONLY all of the enabledEhci from true to false.
<USBController enabled="true" enabledEhci="false"/>
--
Done.

Then, the load of the machine, from the saved state, worked! Yeah!
Hope this might help someone.