Android-x86 4.4-r5 won't boot on QEMU since v2.11.0-rc2

Bug #1778350 reported by navicrej
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Invalid
Undecided
Unassigned

Bug Description

Try to boot from the Android-x86 4.4-r5 ISO won't boot in QEMU after 2.11.0-rc2. The last known version it works is 2.11.0-rc1.
It also works on the 2.10.x-line, even the 2.10.2 which was released after 2.11.0-rc2!

How to reproduce:
Download the ISO from
http://www.android-x86.org/releases/releasenote-4-4-r5 or directly https://www.fosshub.com/Android-x86.html/android-x86-4.4-r5.iso

Start QEMU with this command-line: qemu-system-x86_64 -cdrom android-x86-4.4-r5.iso -m 1024

On 2.11.0-rc1 and 2.10.2 after selecting to boot from CD it shows the Android splash after a short while ...
On 2.11.0-rc2 through the latest 2.12 line it goes to black screen shortly right after selecting to boot from CD

Revision history for this message
navicrej (navicrej) wrote :

After 'git bisect' -ing it I found the commit that is responsible for this:

https://git.qemu.org/?p=qemu.git;a=commitdiff;h=9fa99d2519cbf71f871e46871df12cb446dc1c3e

Revision history for this message
John Snow (jnsnow) wrote : Re: [Qemu-devel] [Bug 1778350] Re: Android-x86 4.4-r5 won't boot on QEMU since v2.11.0-rc2

CC Michael Tsirkin

On 06/25/2018 06:53 AM, navicrej wrote:
> After 'git bisect' -ing it I found the commit that is responsible for
> this:
>
> https://git.qemu.org/?p=qemu.git;a=commitdiff;h=9fa99d2519cbf71f871e46871df12cb446dc1c3e
>

Revision history for this message
mst (mst-0) wrote :

On Mon, Jun 25, 2018 at 01:46:16PM -0400, John Snow wrote:
> CC Michael Tsirkin
>
> On 06/25/2018 06:53 AM, navicrej wrote:
> > After 'git bisect' -ing it I found the commit that is responsible for
> > this:
> >
> > https://git.qemu.org/?p=qemu.git;a=commitdiff;h=9fa99d2519cbf71f871e46871df12cb446dc1c3e
> >

Can you pls try to set x-pci-hole64-fix=off and see whether that helps?

--
MST

Revision history for this message
navicrej (navicrej) wrote :

I don't know if there is another way to do that but I changed the properties of x-pci-hole64-fix in hw/pci-host/piix.c and hw/pci-host/q35.c to false on current master and compiled and now it works again.

Maybe you can add a switch (unless there already is one) so one can change it on runtime without compiling?

Revision history for this message
navicrej (navicrej) wrote :

Nevermind that, just found out how to run:

qemu-system-x86_64 -cdrom android-x86-4.4-r5.iso -m 1024 -global i440FX-pcihost.x-pci-hole64-fix=off -global q35-pcihost.x-pci-hole64-fix=off

Revision history for this message
mst (mst-0) wrote : Re: [Bug 1778350] Re: Android-x86 4.4-r5 won't boot on QEMU since v2.11.0-rc2

I looked at it and while I might be wrong, I suspect
it's a bug in ACPI parser in that version of Linux.
Is there a way for you to try a later Linux version?
Alternatively, I tried to build 4.4-rc2 on Fedora and couldn't.

On Tue, Jun 26, 2018 at 09:13:12AM -0000, navicrej wrote:
> Nevermind that, just found out how to run:
>
> qemu-system-x86_64 -cdrom android-x86-4.4-r5.iso -m 1024 -global i440FX-
> pcihost.x-pci-hole64-fix=off -global q35-pcihost.x-pci-hole64-fix=off
>
> --
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https://bugs.launchpad.net/bugs/1778350
>
> Title:
> Android-x86 4.4-r5 won't boot on QEMU since v2.11.0-rc2
>
> Status in QEMU:
> New
>
> Bug description:
> Try to boot from the Android-x86 4.4-r5 ISO won't boot in QEMU after 2.11.0-rc2. The last known version it works is 2.11.0-rc1.
> It also works on the 2.10.x-line, even the 2.10.2 which was released after 2.11.0-rc2!
>
> How to reproduce:
> Download the ISO from
> http://www.android-x86.org/releases/releasenote-4-4-r5 or directly https://www.fosshub.com/Android-x86.html/android-x86-4.4-r5.iso
>
> Start QEMU with this command-line: qemu-system-x86_64 -cdrom
> android-x86-4.4-r5.iso -m 1024
>
> On 2.11.0-rc1 and 2.10.2 after selecting to boot from CD it shows the Android splash after a short while ...
> On 2.11.0-rc2 through the latest 2.12 line it goes to black screen shortly right after selecting to boot from CD
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1778350/+subscriptions

Revision history for this message
navicrej (navicrej) wrote :

I compiled the 4.4.4-r5 branch but I was not able to change the kernel yet.

Furthermore I am not able to use any version of Android x86 6.x, 7.x, 8.x on current QEMU with or without the parameters.

Revision history for this message
Laszlo Ersek (Red Hat) (lersek) wrote :

@navicrej -- can you please apply the series

[Qemu-devel] [PATCH 0/2] hw/pci-host/x86: extend the 64-bit PCI hole relative to the fw-assigned base
https://<email address hidden>/

on your end, and see if it makes a difference?

(I don't expect it to, for the reason I described in <http://<email address hidden>>.)

Thanks!

Revision history for this message
Laszlo Ersek (Red Hat) (lersek) wrote :

No feedback for almost two years, closing.

Changed in qemu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.