Bug 26003 - Make our aarch64 kernel work on Amazon EC2 A1 machines
Summary: Make our aarch64 kernel work on Amazon EC2 A1 machines
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: aarch64 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Pascal Terjan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-01 23:34 CET by Pascal Terjan
Modified: 2023-04-24 14:13 CEST (History)
2 users (show)

See Also:
Source RPM: kernel
CVE:
Status comment:


Attachments

Description Pascal Terjan 2020-01-01 23:34:09 CET
Trying to use Mageia 7 aarch64 kernel on A1 EC2 machine fails with:
error: plain Image kernel not supported - rebuild with CONFIG_(U)EFI_STUB enabled

This comes from https://github.com/rhboot/grub2/blob/master/grub-core/loader/arm64/linux.c#L57

Looking at EFI lines in a working kernel and ours:

/boot/config-4.15.0-1056-aws:CONFIG_EFI_PARTITION=y
/boot/config-4.15.0-1056-aws:CONFIG_EFI_STUB=y
/boot/config-4.15.0-1056-aws:CONFIG_EFI=y
/boot/config-4.15.0-1056-aws:CONFIG_FB_EFI=y
/boot/config-4.15.0-1056-aws:CONFIG_RTC_DRV_EFI=y
/boot/config-4.15.0-1056-aws:CONFIG_XEN_EFI=y
/boot/config-4.15.0-1056-aws:# EFI (Extensible Firmware Interface) Support
/boot/config-4.15.0-1056-aws:CONFIG_EFI_VARS=y
/boot/config-4.15.0-1056-aws:CONFIG_EFI_ESRT=y
/boot/config-4.15.0-1056-aws:CONFIG_EFI_VARS_PSTORE=m
/boot/config-4.15.0-1056-aws:# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set
/boot/config-4.15.0-1056-aws:CONFIG_EFI_PARAMS_FROM_FDT=y
/boot/config-4.15.0-1056-aws:CONFIG_EFI_RUNTIME_WRAPPERS=y
/boot/config-4.15.0-1056-aws:CONFIG_EFI_ARMSTUB=y
/boot/config-4.15.0-1056-aws:CONFIG_EFI_BOOTLOADER_CONTROL=m
/boot/config-4.15.0-1056-aws:CONFIG_EFI_CAPSULE_LOADER=m
/boot/config-4.15.0-1056-aws:CONFIG_EFI_TEST=m
/boot/config-4.15.0-1056-aws:CONFIG_UEFI_CPER=y
/boot/config-4.15.0-1056-aws:CONFIG_UEFI_CPER_ARM=y
/boot/config-4.15.0-1056-aws:# CONFIG_EFI_DEV_PATH_PARSER is not set
/boot/config-4.15.0-1056-aws:CONFIG_CACHEFILES=m
/boot/config-4.15.0-1056-aws:# CONFIG_CACHEFILES_DEBUG is not set
/boot/config-4.15.0-1056-aws:# CONFIG_CACHEFILES_HISTOGRAM is not set
/boot/config-4.15.0-1056-aws:CONFIG_EFIVAR_FS=y
/boot/config-4.15.0-1056-aws:# CONFIG_DEBUG_EFI is not set
/boot/config-4.15.0-1056-aws:CONFIG_LOCK_DOWN_IN_EFI_SECURE_BOOT=y
/boot/config-4.15.0-1056-aws:CONFIG_EFI_SIGNATURE_LIST_PARSER=y
/boot/config-4.15.0-1056-aws:CONFIG_LOAD_UEFI_KEYS=y

/boot/config-5.4.6-server-2.mga7:# CONFIG_EFI is not set
/boot/config-5.4.6-server-2.mga7:CONFIG_EFI_EARLYCON=y
/boot/config-5.4.6-server-2.mga7:CONFIG_EFI_PARTITION=y
/boot/config-5.4.6-server-2.mga7:# CONFIG_MMC_DW_BLUEFIELD is not set
/boot/config-5.4.6-server-2.mga7:# CONFIG_CACHEFILES is not set
Pascal Terjan 2020-01-01 23:37:21 CET

Assignee: bugsquad => pterjan
CC: (none) => tmb

Comment 1 Thomas Backlund 2020-01-13 18:00:28 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2020-0036.html
Comment 2 Aurelien Oudelet 2021-07-06 13:14:16 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 3 Marja Van Waes 2021-09-07 14:09:59 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Resolution: (none) => OLD
Status: NEW => RESOLVED

Comment 4 Rio Tokyo 2023-04-24 14:13:10 CEST Comment hidden (spam)

CC: (none) => venomdoli4


Note You need to log in before you can comment on or make changes to this bug.