Invalid PCI config write

81 views
Skip to first unread message

peter.st...@mailbox.org

unread,
Oct 27, 2015, 2:58:38 AM10/27/15
to jailhouse-dev
Hi,

I'm following the documentation on running a jailhouse demo (using debian
jessie with a 4.2 kernel).

The hypervisor starts just fine with the provided qemu-cell. When I try to
run the apic-demo however, I get the following error:

sudo jailhouse cell create jailhouse/configs/apic-demo.cell
FATAL: Invalid PCI config write, port: cfe, size 2, address port: 8000fa50
FATAL: Invalid PIO write, port: cfe size: 2
RIP: 0xffffffff8143cb82 RSP: 0xffff880039fbbc48 FLAGS: 2
RAX: 0x0000000000000081 RBX: 0x0000000000000000 RCX: 0x0000000000000000
RDX: 0x0000000000000cfe RSI: 0x0000000000000097 RDI: 0xffffffff81d1b630
CS: 10 BASE: 0x0000000000000000 AR-BYTES: a9b EFER.LMA 1
CR0: 0x0000000080050033 CR3: 0x0000000036a89000 CR4: 0x00000000000406e0
Parking CPU 3 (Cell: "QEMU-VM")
EFER: 0x0000000000001d01

I would appreciate any input on what's the error about and how to fix it.

Thanks,
Peter

Jan Kiszka

unread,
Oct 27, 2015, 8:00:24 AM10/27/15
to peter.st...@mailbox.org, jailhouse-dev
On 2015-10-27 07:58, peter.st...@mailbox.org wrote:
> Hi,
>
> I'm following the documentation on running a jailhouse demo (using debian
> jessie with a 4.2 kernel).
>
> The hypervisor starts just fine with the provided qemu-cell. When I try to
> run the apic-demo however, I get the following error:
>
> sudo jailhouse cell create jailhouse/configs/apic-demo.cell
> FATAL: Invalid PCI config write, port: cfe, size 2, address port: 8000fa50

That's an access to PCI device 00:1f.2, config space address 0x50 - You
are likely running an older QEMU version. Upgrade to the latest one,
then things will work.

Jan

> FATAL: Invalid PIO write, port: cfe size: 2
> RIP: 0xffffffff8143cb82 RSP: 0xffff880039fbbc48 FLAGS: 2
> RAX: 0x0000000000000081 RBX: 0x0000000000000000 RCX: 0x0000000000000000
> RDX: 0x0000000000000cfe RSI: 0x0000000000000097 RDI: 0xffffffff81d1b630
> CS: 10 BASE: 0x0000000000000000 AR-BYTES: a9b EFER.LMA 1
> CR0: 0x0000000080050033 CR3: 0x0000000036a89000 CR4: 0x00000000000406e0
> Parking CPU 3 (Cell: "QEMU-VM")
> EFER: 0x0000000000001d01
>
> I would appreciate any input on what's the error about and how to fix it.
>
> Thanks,
> Peter
>

--
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux
Reply all
Reply to author
Forward
0 new messages