virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* ACPI timeouts when enabling KASAN
@ 2024-04-12 21:43 Ricardo Ribalda
  2024-04-13  5:56 ` Andrea Righi
  2024-04-14  8:37 ` Michael S. Tsirkin
  0 siblings, 2 replies; 19+ messages in thread
From: Ricardo Ribalda @ 2024-04-12 21:43 UTC (permalink / raw)
  To: Andrea Righi, virtualization; +Cc: stevensd, mst@redhat.com

Hi

I am using virtme to do some CI around linux-media.

Everything works as expected, but when I enable KASAN, I am starting
to get a lot of timeouts when the Method _PRT is executed. Eg:

[   56.335875] ACPI Error: Aborting method \_SB.PCI0._PRT due to
previous error (AE_AML_LOOP_TIMEOUT) (20230628/psparse-529)
[   56.529826] ACPI Error: Method execution failed \_SB.PCI0._PRT due
to previous error (AE_AML_LOOP_TIMEOUT) (20230628/uteval-68)
[   56.532391] virtio-pci 0000:00:02.0: can't derive routing for PCI INT A
[   56.532823] virtio-pci 0000:00:02.0: PCI INT A: no GSI
[   86.877471] ACPI Error: Aborting method \_SB.PCI0._PRT due to
previous error (AE_AML_LOOP_TIMEOUT) (20230628/psparse-529)
[   87.073854] ACPI Error: Method execution failed \_SB.PCI0._PRT due
to previous error (AE_AML_LOOP_TIMEOUT) (20230628/uteval-68)
[   87.075550] virtio-pci 0000:00:04.0: can't derive routing for PCI INT A
[   87.075810] virtio-pci 0000:00:04.0: PCI INT A: no GSI

0000:00:04.0 and 0000:00:02.0 are virtio devices (console and 9p-filesystem)

If I increase the timeout (ACPI_MAX_LOOP_TIMEOUT), then the Method is
always executed, but it is very annoying that I have to wait more than
5 minutes to start the vm.

Despite not having kvm enabled, the machine is quite decent, so I
would expect that it could run that method relatively fast.

Do you have any hint of what I should be looking at?

Thanks!

```
# virtme-ng --version
virtme-ng 1.23
# qemu-system-amd64 --version
QEMU emulator version 8.2.1 (Debian 1:8.2.1+ds-2)
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
# git describe
v6.9-rc3-208-g586b5dfb51b96

# virtme-configkernel --defconfig --arch x86_64
# scripts/config -e KASAN
# make olddefconfig
# make all -j 256
# virtme-run --kdir . --mods=auto --show-command --show-boot-console
--verbose  --cpus 2 --memory 4G --script-sh "echo HelloWorld"
```



-- 
Ricardo Ribalda
Software Engineer
ribalda@google.com

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-05-03  8:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 21:43 ACPI timeouts when enabling KASAN Ricardo Ribalda
2024-04-13  5:56 ` Andrea Righi
2024-04-13  7:39   ` Ricardo Ribalda
2024-04-14  8:37 ` Michael S. Tsirkin
2024-04-15 12:51   ` Igor Mammedov
2024-04-15 12:55     ` Rafael J. Wysocki
2024-04-15 14:18       ` Ricardo Ribalda
2024-04-15 14:31         ` Rafael J. Wysocki
2024-04-15 14:49         ` Michael S. Tsirkin
2024-04-16 11:33         ` Igor Mammedov
2024-04-16 11:36           ` Ricardo Ribalda
2024-04-16 12:07             ` Andrea Righi
2024-04-17 12:13               ` Ricardo Ribalda
2024-04-17 12:52                 ` Andrea Righi
2024-04-17 12:55               ` Igor Mammedov
2024-04-17 14:38                 ` Andrea Righi
2024-04-17 16:12                   ` Ricardo Ribalda
2024-04-17 19:38                     ` Andrea Righi
2024-05-03  8:41                       ` Andrea Righi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).