Skip to content

Charm unable to start QEMU Android Emulator #2

@Warrius

Description

@Warrius

Hi, while running Charm script, I have encountered the following error:

`[ 10.665174] RIP [] msm_camera_io_w+0x11/0x1a
RSP
CR2: 000000000000000c
---[ end trace 99164c103e575588 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009

Kernel Offset: 0x0 from 0xffffffff80200000 (relocation range: 0xffffffff80000000-0xffffffff9fffffff)
[ 10.680494] Rebooting in 5 seconds..
Unable to reset IRR for apic: 0, pin :122
Unable to reset IRR for apic: 0, pin :123
Unable to reset IRR for apic: 0, pin :124
Unable to reset IRR for apic: 0, pin :125
Unable to reset IRR for apic: 0, pin :126
Unable to reset IRR for apic: 0, pin :127
---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009`

Seems to me like the emulator is unable to connect with the camera driver. Is there a way to bypass
this?

Test Architecture:
Phone: Nexus 5X (LineageOS 7.1)
Host: Ubuntu 16.04 (Kernel 4.10.0-28)
Android Emulator: Given 6 cores and 8192 GB ram

Hope someone can address on this issue. I have also attached the log file for interest. error.txt

Thanks in advance.

Edit:
Also, in the dmesg buffer, there appears to be some error messages stating "kvm_charm_hypercall PROBLEM DETECTED [2]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions