qemu-devel
[Top][All Lists]
Advanced

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

Re: qemu-system-aarch64 crashes with device ich9-usb-ehci1


From: Richard Henderson
Subject: Re: qemu-system-aarch64 crashes with device ich9-usb-ehci1
Date: Thu, 25 Mar 2021 11:12:28 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/25/21 10:58 AM, Thomas Huth wrote:

In case anybody is interested, ich9-usb-ehci1 can be used to crash QEMU:

$ ./qemu-system-aarch64 -M virt -device ich9-usb-ehci1,help
qemu-system-aarch64: ../../devel/qemu/softmmu/physmem.c:1154: phys_section_add: Assertion `map->sections_nb < TARGET_PAGE_SIZE' failed.
Aborted (core dumped)

That's because

#14 0x0000555555afad47 in usb_ehci_init (s=0x555556ee54b0, dev=0x555556ee4bb0)
    at ../qemu/hw/usb/hcd-ehci.c:2585

is doing stuff at init time that should be done at realize.

The virt board has not yet set the system page size, which is currently at 0.


r~



reply via email to

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