From 64944bcf6441c325ef5b6cc5f6975fa62008b624 Mon Sep 17 00:00:00 2001 From: dowan gullient Date: Fri, 17 Apr 2026 10:59:20 +0200 Subject: [PATCH] support/testing: test_iso9660: Bump kernel version to last LTS (6.18) Update the kernel configuration to support modern storage stacks required for ISO booting on x86_64. The transition from 4.19 to 6.18 requires explicit activation of: - CONFIG_PCI: To discover the emulated IDE/SATA controllers. - CONFIG_ATA & CONFIG_ATA_PIIX: Modern libATA drivers for QEMU's chipset (replacing the legacy IDE subsystem). - CONFIG_SCSI & CONFIG_BLK_DEV_SR: Necessary to handle the CD-ROM as a SCSI device (/dev/sr0), which is mandatory for ISO9660. Without these options, the kernel cannot locate or mount the rootfs from the ISO image. Signed-off-by: Dowan Gullient Signed-off-by: Julien Olivain --- support/testing/conf/minimal-x86-qemu-kernel.config | 4 ++++ support/testing/tests/fs/test_iso9660.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/support/testing/conf/minimal-x86-qemu-kernel.config b/support/testing/conf/minimal-x86-qemu-kernel.config index 45994f804d..ca36d95b11 100644 --- a/support/testing/conf/minimal-x86-qemu-kernel.config +++ b/support/testing/conf/minimal-x86-qemu-kernel.config @@ -12,9 +12,13 @@ CONFIG_INET=y CONFIG_VIRTIO_BLK=y CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=y +CONFIG_BLK_DEV_SR_VENDOR=y +CONFIG_SCSI=y CONFIG_SCSI_VIRTIO=y CONFIG_ATA=y CONFIG_ATA_PIIX=y +CONFIG_PATA_AMD=y +CONFIG_PCI=y CONFIG_NETDEVICES=y CONFIG_VIRTIO_NET=y CONFIG_NE2K_PCI=y diff --git a/support/testing/tests/fs/test_iso9660.py b/support/testing/tests/fs/test_iso9660.py index 947aca5f54..b2edcac460 100644 --- a/support/testing/tests/fs/test_iso9660.py +++ b/support/testing/tests/fs/test_iso9660.py @@ -11,7 +11,7 @@ BASIC_CONFIG = \ BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.21" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="{}" # BR2_TARGET_ROOTFS_TAR is not set