Re: panic: aml_die aml_loadtable:3746 when booting 7.4/amd64 under Hyper-V/UEFI

2023-12-25 Thread Henryk Paluch
Hello! > Can you try the attached diff? Good work! Your patch applied to stock 7.4 source without problems and system booted fine. Here is dmesg output: OpenBSD 7.4 (HPUEFI2) #0: Mon Dec 25 09:17:37 CET 2023 ansi...@obsd74-uefi.my.domain:/usr/src/sys/arch/amd64/compile/HPUEFI2 real mem =

Re: panic: aml_die aml_loadtable:3746 when booting 7.4/amd64 under Hyper-V/UEFI

2023-12-21 Thread Mark Kettenis
> Date: Wed, 20 Dec 2023 12:00:47 +0100 > From: Henryk Paluch > > Hello! > > > Ah, cool. That is a bit of a heck though. I did look into what is > > needed to fix this properly. If I send you a diff, can you test it? > > Feel free to send me patches. I will test them. > > Best regards >

Re: panic: aml_die aml_loadtable:3746 when booting 7.4/amd64 under Hyper-V/UEFI

2023-12-20 Thread Henryk Paluch
Hello! > Ah, cool. That is a bit of a heck though. I did look into what is > needed to fix this properly. If I send you a diff, can you test it? Feel free to send me patches. I will test them. Best regards --Henryk Paluch On 12/20/23 11:50, Mark Kettenis wrote: Date: Wed, 20 Dec 2023

Re: panic: aml_die aml_loadtable:3746 when booting 7.4/amd64 under Hyper-V/UEFI

2023-12-20 Thread Mark Kettenis
> Date: Wed, 20 Dec 2023 09:30:45 +0100 > From: Henryk Paluch > > Hello! > > Problem fixed! I resolved ACPI panic when booting OpenBSD7.4 as guest VM > under Hyper-V Server 2012R2 in UEFI (Generation 2) mode with this simple > patch: > > --- usr/src/sys/dev/acpi/dsdt.c.orig Tue Dec 19

Re: panic: aml_die aml_loadtable:3746 when booting 7.4/amd64 under Hyper-V/UEFI

2023-12-20 Thread Henryk Paluch
Hello! Problem fixed! I resolved ACPI panic when booting OpenBSD7.4 as guest VM under Hyper-V Server 2012R2 in UEFI (Generation 2) mode with this simple patch: --- usr/src/sys/dev/acpi/dsdt.c.origTue Dec 19 07:49:12 2023 +++ usr/src/sys/dev/acpi/dsdt.c Wed Dec 20 07:43:05 2023 @@ -3742,7

Re: panic: aml_die aml_loadtable:3746 when booting 7.4/amd64 under Hyper-V/UEFI

2023-12-19 Thread Henryk Paluch
Hello! I was able to gather additional information - using small path for stock OpenBSD 7.4/amd64 kernel to print few debug messages. Additionally I used ACPI tools under Linux guest (under same Hyper-V in UEFI mode) to get details on ACPI tables. The kernel patch is this primitive: diff

panic: aml_die aml_loadtable:3746 when booting 7.4/amd64 under Hyper-V/UEFI

2023-12-18 Thread Henryk Paluch
Hello! While playing with GENERIC 7.4/amd64 (install74.img) under various UEFI environments (works fine under both Proxmox/KVM and LibVirt/KVM with i440fx machine) I had accidentally found that under Hyper-V/UEFI kernel panics on early ACPI enumeration (originally I thought that it was