1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
other: 0.922
PID: 0.913
graphic: 0.878
network: 0.872
semantic: 0.869
performance: 0.865
boot: 0.861
socket: 0.850
debug: 0.850
permissions: 0.841
files: 0.831
KVM: 0.811
vnc: 0.809
device: 0.796
Android-x86 4.4-r5 won't boot on QEMU since v2.11.0-rc2
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
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
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
>
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
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?
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
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
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.
@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!
No feedback for almost two years, closing.
|