qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel panic - not syncing: Unable to initialise architected timer :


From: Mario Marietto
Subject: Re: Kernel panic - not syncing: Unable to initialise architected timer : unable to boot Android 14 with qemu-system-aarch64 on Ubuntu 24.04 X64 bit
Date: Wed, 11 Sep 2024 14:12:51 +0200

> This suggests your host kernel is either too old or does not have the VGIC support compiled into it. 
> (QEMU produces this message if it asks the host kernel "please create a vGICv3" and that fails and then
> it asks "please create a vGICv2" and that also fails.)


Ok, it seems that the emulator should be launched using this command :

/opt/android-sdk/emulator/emulator @MyAVD -cores 4 -lowram -memory 2048 -gpu swiftshader_indirect -ports 5554,5555 -skip-adb-auth -no-boot-anim -no-snapshot -no-metrics -qemu -machine gic-version=2

or 

/opt/android-sdk/emulator/emulator @MyAVD -cores 4 -lowram -memory 2048 -gpu host -ports 5554,5555 -skip-adb-auth -no-boot-anim -no-snapshot -no-metrics -qemu -machine gic-version=2

Regarding Cuttlefish,maybe the error that I get can be solved in the same way,declaring -qemu -machine gic-version=2...

The tutorial says to use :

HOME=$(pwd) ./bin/launch_cvd -vm_manager qemu_cli -report_anonymous_usage_stats=n --start_webrtc=false


So maybe it should be something like this ?

HOME=$(pwd) ./bin/launch_cvd -vm_manager qemu_cli -report_anonymous_usage_stats=n --start_webrtc=false -cores 4 -lowram -memory 2048 -gpu host -ports 5554,5555 -skip-adb-auth -no-boot-anim -no-snapshot -no-metrics -qemu -machine gic-version=2

or similar...

On Wed, Sep 11, 2024 at 12:19 PM Peter Maydell <peter.maydell@linaro.org> wrote:
On Wed, 11 Sept 2024 at 01:02, Mario Marietto <marietto2008@gmail.com> wrote:
>
> Hello to everyone.

(Please trim your quoted text and don't top-post: it makes emails
a pain to read.)

> qemu-system-aarch64-headless: Unable to determine GIC version supported by host

This suggests your host kernel is either too old or does not have the
VGIC support compiled into it. (QEMU produces this message if it
asks the host kernel "please create a vGICv3" and that fails and
then it asks "please create a vGICv2" and that also fails.)

-- PMM


--
Mario.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]