Imported Android-x86 guest does not boot

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.
Post Reply
Raven
Posts: 54
Joined: 2. Oct 2008, 18:27

Imported Android-x86 guest does not boot

Post by Raven »

I have a JellyBean guest that has been running without problem for over a year on my Debian(64-bit) box. Today I exported this guest to my Windows 8.1(64) box. Both hosts have VirtualBox 5.0.14. I made no changes to guest parameters when making the .ova. I made no changes to guest parameters when importing the .ova. After grub exits, I get a kernel panic every time. I cannot copy+paste nor take a screenshot, so I have typed the lower half of the guest screen.

Code: Select all

[0.309540]  [<c141a199>] ? kernel_init+0x5/0xab
[0.309901]  [<c142d837>] ? ret_from_kernel_thread+0x1b/0x28
[0.310290]  [<c141a194>] ? rest_init+0x6c/0x6c
[0.310645] Code: 91 80 00 00 00 8b 42 28 85 c0 74 22 53 8b 5a 34 8b 49 78 85
db 74 05 8b 0c 8b eb 04 0f af 4a 2c 01 c1 74 09 31 d2 b8 03 00 00 00 (0f) 30 5b
c3 55 89 c1 89 e5 31 c0 57 31 d2 56 f6 c1 01 53 74 07
[0.319350] EIP: [<c10102cf>] ivt_uncore_msr_init_box+0x32/0x36 SS:ESO 0068:e
f03bf24
[0.320171] ---[ end trace f8439eb00a1727c0 ]---
[0.320530] note: swapper/0[1] exited with preempt_count 1
[0.320948] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00
00000b
[0.320948]
[0.321736] Rebooting in 60 seconds..
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Imported Android-x86 guest does not boot

Post by socratis »

Did you try to simply copy the whole guest directory instead of exporting/importing? See Moving a VM, but re-interpret it as backing up/copying. That would make it clearer whether it is a potential bug in the .ova creation process or it is something entirely different.
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.
Raven
Posts: 54
Joined: 2. Oct 2008, 18:27

Re: Imported Android-x86 guest does not boot

Post by Raven »

I did that and got the same result. Then I tried bringing over the original .vdi rather than use the .vmdk from the exporting process. I still got the same result.

As long as I had the original .vdi on the Windows host, I thought to try creating a new guest and point to it. Doing that the guest worked. The problem may involve both importing a .ova and adding a machine from existing config files; exporting probably doesn't have a bug.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Imported Android-x86 guest does not boot

Post by socratis »

Raven wrote:I thought to try creating a new guest and point to it. Doing that the guest worked.
Well, you could compare the two .vbox files; the one that failed and the new one that you created and it worked. That could point to what's different and shed some light to this.
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.
Raven
Posts: 54
Joined: 2. Oct 2008, 18:27

Re: Imported Android-x86 guest does not boot

Post by Raven »

The following was done in Cygwin.

Code: Select all

$ diff good.vbox failed.vbox > vbox.diff
$ cat vbox.diff

8,9c8,9
< <VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.15-windows">
<   <Machine uuid="{d2c72a1b-6997-4344-b5b2-51b2362f338a}" name="Android JB 4.3" OSType="Linux26" snapshotFolder="Snapshots" lastStateChange="2016-02-05T11:44:59Z">
---
> <VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.14-windows">
>   <Machine uuid="{5f6e17b0-34dd-40f5-a4f7-230b4c6d4a53}" name="Android JB 4.3_1" OSType="Linux26" snapshotFolder="Snapshots" lastStateChange="2016-02-09T16:31:41Z">
12c12
<         <HardDisk uuid="{99ae74e6-a9c6-4569-8c66-ce3b44832d09}" location="Android_JB43_chibitonbo.vdi" format="VDI" type="Normal"/>
---
>         <HardDisk uuid="{2b407b29-d50e-4ca4-a310-fbafb2f3e5f9}" location="Android JB 4.3-disk1.vmdk" format="VMDK" type="Normal"/>
18,21c18,20
<       <ExtraDataItem name="GUI/LastNormalWindowPosition" value="306,291,800,642"/>
<       <ExtraDataItem name="GUI/RestrictedRuntimeDevicesMenuActions" value="HardDrives"/>
<       <ExtraDataItem name="GUI/RestrictedRuntimeMachineMenuActions" value="SaveState,PowerOff"/>
<       <ExtraDataItem name="GUI/StatusBar/IndicatorOrder" value="HardDisks,OpticalDisks,FloppyDisks,Network,USB,SharedFolders,Display,VideoCapture,Features,Mouse,Keyboard"/>
---
>       <ExtraDataItem name="GUI/LastCloseAction" value="PowerOff"/>
>       <ExtraDataItem name="GUI/LastGuestSizeHint" value="800,600"/>
>       <ExtraDataItem name="GUI/LastNormalWindowPosition" value="272,242,720,442"/>
31c30
<         <HardwareVirtExLargePages enabled="true"/>
---
>         <HardwareVirtExLargePages enabled="false"/>
38d36
<       <Paravirt provider="Default"/>
47c45
<       <RemoteDisplay enabled="false" authType="Null"/>
---
>       <RemoteDisplay enabled="false" authType="Null" authTimeout="5000"/>
64,65c62,66
<         <Adapter slot="0" enabled="true" MACAddress="08002724F6CA" cable="true" speed="0" type="82540EM">
<           <DisabledModes/>
---
>         <Adapter slot="0" enabled="true" MACAddress="0800278780C3" cable="true" speed="0" type="82540EM">
>           <DisabledModes>
>             <InternalNetwork name="intnet"/>
>             <NATNetwork name="NatNetwork"/>
>           </DisabledModes>
71c72
<         <Adapter slot="1" enabled="false" MACAddress="080027A8F7A4" cable="true" speed="0" type="82540EM">
---
>         <Adapter slot="1" enabled="false" MACAddress="080027B37537" cable="true" speed="0" type="82540EM">
79c80
<         <Adapter slot="2" enabled="false" MACAddress="080027E9B2B8" cable="true" speed="0" type="82540EM">
---
>         <Adapter slot="2" enabled="false" MACAddress="0800275326C2" cable="true" speed="0" type="82540EM">
87c88
<         <Adapter slot="3" enabled="false" MACAddress="080027008CAE" cable="true" speed="0" type="82540EM">
---
>         <Adapter slot="3" enabled="false" MACAddress="0800278C9B6B" cable="true" speed="0" type="82540EM">
95c96
<         <Adapter slot="4" enabled="false" MACAddress="0800272CFE67" cable="true" speed="0" type="82540EM">
---
>         <Adapter slot="4" enabled="false" MACAddress="0800276B2ED9" cable="true" speed="0" type="82540EM">
103c104
<         <Adapter slot="5" enabled="false" MACAddress="08002701BF27" cable="true" speed="0" type="82540EM">
---
>         <Adapter slot="5" enabled="false" MACAddress="08002734C453" cable="true" speed="0" type="82540EM">
111c112
<         <Adapter slot="6" enabled="false" MACAddress="080027226A1F" cable="true" speed="0" type="82540EM">
---
>         <Adapter slot="6" enabled="false" MACAddress="080027BF727D" cable="true" speed="0" type="82540EM">
119c120
<         <Adapter slot="7" enabled="false" MACAddress="080027CEE3D2" cable="true" speed="0" type="82540EM">
---
>         <Adapter slot="7" enabled="false" MACAddress="080027422E69" cable="true" speed="0" type="82540EM">
134c135
<         <Port slot="1" enabled="false" IOBase="0x278" IRQ="5"/>
---
>         <Port slot="1" enabled="false" IOBase="0x378" IRQ="7"/>
136c137
<       <AudioAdapter controller="AC97" codec="AD1980" driver="DirectSound" enabled="true"/>
---
>       <AudioAdapter controller="AC97" driver="DirectSound" enabled="true"/>
153c154
<         <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1454672189505731600" flags=""/>
---
>         <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1455035501886557500" flags=""/>
158c159
<         <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
---
>         <AttachedDevice passthrough="false" type="DVD" port="1" device="0"/>
161,162c162,163
<         <AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
<           <Image uuid="{99ae74e6-a9c6-4569-8c66-ce3b44832d09}"/>
---
>         <AttachedDevice type="HardDisk" port="0" device="0">
>           <Image uuid="{2b407b29-d50e-4ca4-a310-fbafb2f3e5f9}"/>

socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Imported Android-x86 guest does not boot

Post by socratis »

Unfortunately, I don't see anything that would prevent booting.
Fortunately, it works, so, I'd leave it as is. Something went bad. Not anymore ;)
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.
Post Reply