Bug 32962 - kernel and drakboot are not sync
Summary: kernel and drakboot are not sync
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: armv7hl Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-12 23:38 CET by Jybz
Modified: 2024-03-13 20:53 CET (History)
3 users (show)

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


Attachments

Description Jybz 2024-03-12 23:38:11 CET
Hello, my arm devices are not booting anymore :party: !

After two hours debugging, I solve my issue and dig into the root cause.

For my BananaPro (armv7hl) that I installed with mageia7 and updates, I'm not using grub2, but u-boot with extlinux.conf which worked pretty good, out of the box.

Now the issue, the fdtdir is just not present in the extlinux.conf file, which prevent to boot the BananaPro (all my aarch64 does not boot neither, but I can not access them so I can not say if it is a related issue)

drakboot is generating this extlinux.conf for u-boot, in this order:
> https://gitweb.mageia.org/software/drakx/tree/perl-install/bootloader.pm#n1582 (focus on line 1601)
> https://gitweb.mageia.org/software/drakx/tree/perl-install/bootloader.pm#n1036 (focus on line 1076)
> https://gitweb.mageia.org/software/drakx/tree/perl-install/bootloader.pm#n133
> https://gitweb.mageia.org/software/drakx/tree/perl-install/bootloader.pm#n88

This is not aligned anymore with what the kernel package provides:
> https://svnweb.mageia.org/packages/updates/9/kernel/current/SPECS/kernel.spec?view=markup#l1396

After manually editing the /boot/extlinux/extlinux.conf file and providing the fdtdir entry for installed kernel, the board boots.

Please align drakx tool and kernel package.
Jybz 2024-03-12 23:45:36 CET

CC: (none) => ghibomgx, thierry.vignaud

Comment 1 Lewis Smith 2024-03-13 20:53:18 CET
/boot/extlinux/extlinux.conf : cannot find its origin.
extlinux.conf : same
fdtdir : same
Must be Arm specials.
bootloader.pm is from drakxtools-backend.

Assigning this intially to tools, CC'ing kernel. Reverse this if appropriate.

Source RPM: drakxtools kernel => drakxtools, kernel
CC: (none) => kernel
Hardware: All => armv7hl
Assignee: bugsquad => mageiatools


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