[Bug 217485] kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA

2023-05-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217485

Akihiro Suda (suda.ky...@gmail.com) changed:

   What|Removed |Added

 Bisected commit-id|5c62d5aab8752e5ee7bfbe75ed6 |5c62d5aab8752e5ee7bfbe75ed6
   |060db1c787f98 (reverted in  |060db1c787f98 (ACPICA) AND
   |8e41e0a575664d26bb87e012c39 |e346bebbd36b1576a3335331fed
   |435c4c3914ed9 but the issue |61bb48c6d8823 (EFISTUB)
   |still exists)   |
  Component|ACPICA-Core |Boot
Version|2.5 |unspecified
Product|ACPI|EFI

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217485] kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA

2023-05-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217485

--- Comment #6 from Akihiro Suda (suda.ky...@gmail.com) ---
Turned out that this is a mixture of an ACPICA issue and an EFISTUB issue.

Kernel v6.2 can boot by reverting the *both* of the following two commits:
- 5c62d5aab8752e5ee7bfbe75ed6060db1c787f98 "ACPICA: Events: Support fixed PCIe
wake event"
- e346bebbd36b1576a3335331fed61bb48c6d8823 "efi: libstub: Always enable initrd
command line loader and bump version"

Kernel v6.3 can boot by just reverting e346bebb, as 5c62d5a has been already
reverted in 8e41e0a575664d26bb87e012c39435c4c3914ed9.
The situation is same for v6.4-rc3 too.

Note that in my test I let Virtualization.framework directly load bzImage
without GRUB (akin to `qemu-system-x86_64 -kernel bzImage`).
Apparently, reverting e346bebb is not necessary for loading bzImage via GRUB.
( So, Lima can just boot unmodified v6.3 and v6.4-rc3:
https://github.com/lima-vm/lima/issues/1577#issuecomment-1562649337 )

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217485] kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA

2023-05-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217485

--- Comment #5 from Akihiro Suda (suda.ky...@gmail.com) ---
Created attachment 304323
  --> https://bugzilla.kernel.org/attachment.cgi?id=304323=edit
dmesg-v6.1.txt

dmesg output from v6.1. This version works fine.
I'm unable to get the dmesg output from v6.2, as it just hangs before printing
something.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217485] kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA

2023-05-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217485

--- Comment #4 from Akihiro Suda (suda.ky...@gmail.com) ---
(In reply to Bagas Sanjaya from comment #3)
> Can you provide dmesg?

Unfortunately no, as it just hangs before printing something in the console

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217485] kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA

2023-05-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217485

--- Comment #3 from Bagas Sanjaya (bagasdo...@gmail.com) ---
Can you provide dmesg?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217485] kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA

2023-05-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217485

--- Comment #2 from Akihiro Suda (suda.ky...@gmail.com) ---
(In reply to Bagas Sanjaya from comment #1)

> But where is your kernel .config? 

defconfig.

> What distro are you running?

Just bare vmlinuz with busybox-only initrd.

> What is your hardware setup?

Apple's Virtualization.framework on macOS 13.4 on MacBookPro 2020 (Intel(R)
Core(TM) i7-1068NG7 CPU @ 2.30GHz)

> You generate initrd by installing busybox on it?

Yes.
But the initrd doesn't really matter here, as the kernel hangs before running
init.

> What hypervisor? KVM/qemu? Or Virtualbox/vmware?

Apple's Virtualization.framework.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217485] kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA

2023-05-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217485

Bagas Sanjaya (bagasdo...@gmail.com) changed:

   What|Removed |Added

 CC||bagasdo...@gmail.com

--- Comment #1 from Bagas Sanjaya (bagasdo...@gmail.com) ---
(In reply to Akihiro Suda from comment #0)
> ## Reproduction
> - Checkout the kernel repo, and run `make defconfig bzImage`.
> 

But where is your kernel .config? What distro are you running?
What is your hardware setup?

> - Create an initrd (see the attached `initrd-example.txt`)
> 

You generate initrd by installing busybox on it?

> - Transfer the bzImage and initrd to an Intel Mac.
> 
> - On Mac, download `RunningLinuxInAVirtualMachine.zip` from
> https://developer.apple.com/documentation/virtualization/
> running_linux_in_a_virtual_machine , and build the `LinuxVirtualMachine`
> binary with Xcode.
>   Building this binary with Xcode requires logging in to Apple.
>   If you do not like logging in, a third party equivalent such as
> https://github.com/Code-Hex/vz/blob/v3.0.6/example/linux/main.go can be used.
> 
> - Run `LinuxVirtualMachine /tmp/bzImage /tmp/initrd.img`.
>   v6.1 successfully boots into the busybox shell.
>   v6.2 just hangs before printing something in the console.
> 

What hypervisor? KVM/qemu? Or Virtualbox/vmware?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217485] kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA

2023-05-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217485

r.sm...@maersk.com changed:

   What|Removed |Added

 CC||r.sm...@maersk.com

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217485] kernel >= v6.2 no longer boots on Apple's Virtualization.framework (x86_64); likely to be related to ACPICA

2023-05-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217485

Akihiro Suda (suda.ky...@gmail.com) changed:

   What|Removed |Added

 CC||suda.ky...@gmail.com

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla