Description of problem: attempting and install from below .iso onto atom based 32bit UEFI system fails with: he "draklive-install" program has crashed with the following error: grub2-install failed: Installing for i386-efi platform. Could not delete variable: Invalid argument grub2-install: error: efibootmgr failed to register the boot entry: Block device required. ...propagated at /usr/lib/libDrakX/any.pm line 278. Perl's trace: drakbug::bug_handler() called from /usr/lib/libDrakX/any.pm:278 any::installBootloader() called from /usr/sbin/draklive-install:426 main::setup_bootloader() called from /usr/sbin/draklive-install:124 main::install_live() called from /usr/sbin/draklive-install:87. install can be competed by choosing to install bootloader in /BOOT/EFI (selectable option) Version-Release number of selected component (if applicable): PATH: Mageia-9-beta1-Live-Xfce-i586 ISO: Mageia-9-beta1-Live-Xfce-i586.iso DATE: Fri Jan 6 07:25:52 PM CET 2023 How reproducible:always on this hardware Steps to Reproduce: 1.install any DE from above .iso onto atom based 32bit UEFI hardware 2. 3.
Created attachment 13645 [details] journal from install
inxi -Fxxxz System: Kernel: 6.0.7-desktop-1.mga9 arch: i686 bits: 32 compiler: gcc v: 12.2.1 Desktop: LXDE v: 0.10.1 info: lxpanel wm: Openbox v: 3.6.1 vt: 1 dm: LXDM Distro: Mageia 9 Machine: Type: Laptop System: ASUSTeK product: T100TA v: 1.0 serial: <superuser required> Mobo: ASUSTeK model: T100TA v: 1.0 serial: <superuser required> UEFI: American Megatrends v: T100TA.307 date: 05/09/2014 Battery: ID-1: BATC charge: 72.7 Wh (83.7%) condition: 86.9/30.6 Wh (283.7%) volts: 4.0 min: 3.8 model: Intel SR 1 SR Real Battery type: Li-ion serial: <filter> status: discharging cycles: 90 CPU: Info: quad core model: Intel Atom Z3740 bits: 64 type: MCP smt: <unsupported> arch: Silvermont rev: 3 cache: L1: 224 KiB L2: 2 MiB Speed (MHz): avg: 896 high: 1866 min/max: 533/1866 cores: 1: 653 2: 1866 3: 533 4: 533 bogomips: 10666 Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Message: Required tool lspci not installed. Check --recommends Display: x11 server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7 driver: X: loaded: intel,v4l dri: i965 gpu: N/A display-ID: :0 screens: 1 Screen-1: 0 s-res: 1368x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99") s-diag: 414mm (16.31") Monitor-1: DSI1 res: 1368x768 hz: 60 dpi: 151 size: 230x130mm (9.06x5.12") diag: 264mm (10.4") modes: N/A API: OpenGL v: 4.2 Mesa 22.3.2 renderer: Mesa Intel HD Graphics (BYT) direct render: Yes Audio: Message: No device data found. Sound API: ALSA v: k6.0.7-desktop-1.mga9 running: yes Sound Server-1: JACK v: 1.9.21 running: no Sound Server-2: PulseAudio v: 16.1 running: yes Sound Server-3: PipeWire v: 0.3.63 running: no Network: Message: Required tool lspci not installed. Check --recommends IF-ID-1: wlan0 state: up mac: <filter> Drives: Local Storage: total: 87.04 GiB used: 37.31 GiB (42.9%) ID-1: /dev/mmcblk1 vendor: SK Hynix model: HCG8e size: 58.25 GiB type: SSD serial: <filter> rev: 0x6 scheme: GPT ID-2: /dev/mmcblk2 model: SL32G size: 28.79 GiB type: SSD serial: <filter> scheme: MBR Partition: ID-1: / size: 12.62 GiB used: 3.64 GiB (28.9%) fs: ext4 dev: /dev/mmcblk1p5 ID-2: /home size: 12.96 GiB used: 165.9 MiB (1.3%) fs: ext4 dev: /dev/mmcblk1p7 Swap: ID-1: swap-1 type: partition size: 2.14 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/mmcblk1p6 Sensors: System Temperatures: cpu: 33.0 C mobo: N/A Fan Speeds (RPM): cpu: 0 Info: Processes: 201 Uptime: 1m wakeups: 1 Memory: 1.74 GiB used: 842.7 MiB (47.2%) Init: systemd v: 252 target: graphical (5) default: runlevel5 Compilers: gcc: N/A Packages: pm: rpm pkgs: N/A note: see --rpm Shell: Bash v: 5.2.15 running-in: lxterminal inxi: 3.3.24 [work@localhost ~]$
lspcidrake -v lpc_ich : Intel Corporation|Atom Processor Z36xxx/Z37xxx Series Power Control Unit [BRIDGE_ISA] (vendor:8086 device:0f1c subv:1043 subd:14ed) (rev: 09) xhci_pci : Intel Corporation|Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI [SERIAL_USB] (vendor:8086 device:0f35 subv:1043 subd:14ed) (rev: 09) Card:Intel 810 and later: Intel Corporation|Atom Processor Z36xxx/Z37xxx Series Graphics & Display [DISPLAY_VGA] (vendor:8086 device:0f31 subv:1043 subd:14ed) (rev: 09) mei_txe : Intel Corporation|Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [CRYPT_OTHER] (vendor:8086 device:0f18 subv:1043 subd:14ed) (rev: 09) unknown : Intel Corporation|Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [BRIDGE_HOST] (vendor:8086 device:0f00 subv:1043 subd:14ed) (rev: 09) hub : Linux 6.0.7-desktop-1.mga9 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002) usbhid : ASUSTek COMPUTER INC.|ASUS Base Station(T100) [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:0b05 device:17e0) hub : Linux 6.0.7-desktop-1.mga9 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003) hid_generic : ASUSTek COMPUTER INC. ASUS Base Station(T100) hid_generic : ASUSTek COMPUTER INC. ASUS Base Station(T100) hid_generic : ATML1000:00 03EB:8C0D hid_generic : ASUSTek COMPUTER INC. ASUS Base Station(T100)
I have reproduced this on my Asus X205TA, which has a similar Intel Atom (Bay Trail) CPU and 32-bit UEFI BIOS. What is happening is that efibootmgr fails on the first time it tries to create or delete an entry in the EFI NVRAM after the system is booted. If you repeat exactly the same command, it works. I have reproduced this in an installed system, both using drakboot and running efibootmgr manually. The odd thing is that the classical installer does not exhibit this fault. The only significant difference I can see is that with the Live system and the installed system, systemd automatically mounts the efivarfs filesystem that provides access to the EFI NVRAM. systemd isn't used when running the classical installer. By using kernels from the Mageia 8 Backports media, I have established this is a regression that appeared somewhere between the 5.17.11 and 5.18.3 kernels. I used qemu to emulate a 32-bit EFI system, but that didn't exhibit this fault. So it may only affect the Asus 32-bit EFI BIOS. I haven't seen it on any 64-bit EFI system. It also occurs when using the 64-bit Live ISO (i.e. with a mixed 32-bit EFI / 64-bit Linux system). The workaround is to run draklive-install or drakboot a second time.
CC: (none) => mageiaSource RPM: (none) => kernelSummary: install fails with *grub2-install failed: Installing for i386-efi platform* => draklive-install and drakboot fail with *grub2-install failed: Installing for i386-efi platform* on some 32-bit EFI systems due to failed write to EFI NVRAM
As tmb requested on qa-discuss ML, I retested with kernel-desktop586-6.1.6-1.mga9.i586 and also with kernel-linus-6.1.6-1.mga9.i586. This bug is still present.
Assignee: bugsquad => kernel
install failed from Mageia-9-beta1-Live-XFCE-i586.iso, (rdn4): the "draklive-install" program has crashed with the following error: as per comment #1 kernel: uname -a Linux localhost 6.1.6-desktop586-1.mga9 #1 SMP PREEMPT_DYNAMIC Sat Jan 14 18:18:27 UTC 2023 i686 GNU/Linux
install failed from Mageia-9-beta1-Live-XFCE-i586.iso, (Rnd6): The "draklive-install" program has crashed with the following error: grub2-install failed: Installing for i386-efi platform. Could not delete variable: Invalid argument grub2-install: error: efibootmgr failed to register the boot entry: Block device required. ...propagated at /usr/lib/libDrakX/any.pm line 278. Perl's trace: drakbug::bug_handler() called from /usr/lib/libDrakX/any.pm:278 any::installBootloader() called from /usr/sbin/draklive-install:426 main::setup_bootloader() called from /usr/sbin/draklive-install:124 main::install_live() called from /usr/sbin/draklive-install:87 Used theme: Adwaita hardware: Asus T100TA 32bit UEFI
hardware: Asus T100TA 32bit UEFI. ISO: (Mageia-9-beta2-Live-Xfce-i586 DATE.txt: Wed Mar 29 08:13:42 PM CEST 2023) popup again saying bootloader failed. how-ever, bootloader install was successful. I went with bootloader defaults. I only ran the installer once, did not try to repeat the install after popup appeared. reboot was successful to desktop presentation.
Status comment: (none) => See notes in #4 & 8Keywords: (none) => FOR_ERRATA9CC: (none) => fri
installs of : ISO: Mageia-9-beta2-i586.iso DATE: Wed Apr 19 05:48:42 PM CEST 2023 and ISO: Mageia-9-beta2-Live-Xfce-i586 DATE: Wed Apr 19 01:41:39 PM CEST 2023 onto hardware: Asus T100TA 32bit UEFI. both installs completed without issue.
Install from ISO: Mageia-9-beta2-i586.iso DATE: Wed Apr 19 05:48:42 PM CEST 2023 onto Asus X205TA also completed without error. So I think this can be closed as fixed once the errata has been updated.
(In reply to Martin Whitaker from comment #10) > I think this can be closed > as fixed once the errata has been updated. Do you mean https://wiki.mageia.org/en/Mageia_9_Errata#Crash_at_end_of_install ? Should that section be completely deleted?
The bug has returned with kernel-desktop586-6.4.9-4.mga9.i586 in the final Mageia 9 release. Also seen when using the 64-bit ISO on the same hardware.
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=32133