-
Notifications
You must be signed in to change notification settings - Fork 661
[kernel v6.2 regression, affects Ubuntu 23.04 and Fedora 38] limactl start --set '.vmType = "vz"'
crashes: "usernet unable to resolve IP for SSH forwarding"
#1577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Checking now, i believe its related to the preset port in default template. |
Default template itself not loading. I tried this Ubuntu version with vz template it worked there. So something related to some config set in default. will try to close this by tomorrow. |
The issue seems specific to Ubuntu 23.04. |
limactl start --set '.vmType = "vz"'
crashes: "usernet unable to resolve IP for SSH forwarding"limactl start --set '.vmType = "vz"'
crashes: "usernet unable to resolve IP for SSH forwarding"
Its related to Linux kernel 6.2 |
I could confirm its working in M1 (MacOS 13.3). |
limactl start --set '.vmType = "vz"'
crashes: "usernet unable to resolve IP for SSH forwarding"limactl start --set '.vmType = "vz"'
crashes: "usernet unable to resolve IP for SSH forwarding"
Seems to be a regression in the merge commit torvalds/linux@888bc86 ( $ git log v6.1-rc8..888bc86e --oneline --graph
* 888bc86e7cca (HEAD) Merge branch 'acpica'
|\
| * 470188b09e92 ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
| * 404ec60438ad ACPICA: Fix error code path in acpi_ds_call_control_method()
| * 2b6bab689172 ACPICA: Update version to 20221020
| * 4f4356e6b4f2 ACPICA: Add utcksum.o to the acpidump Makefile
| * f6fc0bf2be79 Revert "LoongArch: Provisionally add ACPICA data structures"
| * 51aad1a6723b ACPICA: Finish support for the CDAT table
| * 3f062a516a63 ACPICA: IORT: Update for revision E.e
| * f350c68e3cd5 ACPICA: Add CXL 3.0 structures (CXIMS & RDPAS) to the CEDT table
| * 183f0a09d32c ACPICA: Improve warning message for "invalid ACPI name"
| * ee64b827a9af ACPICA: Add support for FFH Opregion special context data
| * e92e4a451c0c ACPICA: Add a couple of new UUIDs to the known UUID list
| * 407144ebd445 ACPICA: iASL: Add CCEL table to both compiler/disassembler
| * 8ff2906513f5 ACPICA: Do not touch VGA memory when EBDA < 1ki_b
| * 4fe54f509304 ACPICA: Check that EBDA pointer is in valid memory
| * 5c62d5aab875 ACPICA: Events: Support fixed PCIe wake event
| * 60f2096b59bc ACPICA: MADT: Add loong_arch-specific APICs support
| * 5620fe641620 ACPICA: Make acpi_ex_load_op() match upstream
* 57336224da83 ACPI: thermal: Adjust critical.flags.valid check Will try to bisect further |
Turned out to be a regression in torvalds/linux@5c62d5a This commit was introduced in v6.2-rc1, and apparently reverted in v6.3 (torvalds/linux@8e41e0a). |
This worked for me. I did the following,
Note: I used raw format disk even with QEMU so that it can boot on vz as well |
@balajiv113 Can you try the vanilla defconfig? My test steps are:
#!/busybox sh
# Usage: save this script as "init", and run the following commands:
# wget https://busybox.net/downloads/binaries/1.35.0-x86_64-linux-musl/busybox
# chmod +x busybox init
# find . | cpio --quiet -o -H newc | gzip >../initrd.img
set -eux
/busybox mkdir -p /etc /proc /root /bin /sbin /sys /usr/bin /usr/sbin
/busybox mount -t proc proc /proc
/busybox mount -t sysfs sys /sys
/busybox mdev -s
/busybox --install
exec sh
My host is MacBookPro 2020 ( |
|
Reported to the kernel bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=217485 |
( Cross-posting: https://bugzilla.kernel.org/show_bug.cgi?id=217485#c6 ) 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:
Kernel v6.3 can boot by just reverting torvalds/linux@e346bebb, as torvalds/linux@5c62d5a has been already reverted in torvalds/linux@8e41e0a. Note that in my test I let Virtualization.framework directly load bzImage without GRUB (akin to |
limactl start --set '.vmType = "vz"'
crashes: "usernet unable to resolve IP for SSH forwarding"limactl start --set '.vmType = "vz"'
crashes: "usernet unable to resolve IP for SSH forwarding"
limactl start --set '.vmType = "vz"'
crashes: "usernet unable to resolve IP for SSH forwarding"limactl start --set '.vmType = "vz"'
crashes: "usernet unable to resolve IP for SSH forwarding"
This seems resolved on macOS 13.5 🎉 |
@AkihiroSuda Thanks for your work on this! Could you tell us what changed or was fixed in MacOS 13.5? |
I don't know. |
EDIT
This seems to be a regression in kernel 6.2, reported to https://bugzilla.kernel.org/show_bug.cgi?id=217485 .
kernel 6.3 seems to be bootable (via GRUB).
template://experimental/vz
still works.(Slightly off-topic: a patch for loading kernel >= 6.2 using VZLinuxBootLoader, without GRUB)
The text was updated successfully, but these errors were encountered: