Bug 19049 - remove-boot-splash: Format of /boot/initrd-?.?.?-desktop-?.mga?.img not recognized
Summary: remove-boot-splash: Format of /boot/initrd-?.?.?-desktop-?.mga?.img not recog...
Status: REOPENED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Low minor
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard: MGA9TOO
Keywords:
: 24737 24897 30353 31300 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-25 19:02 CEST by Bit Twister
Modified: 2024-01-03 01:11 CET (History)
11 users (show)

See Also:
Source RPM: bootsplash-3.3.11-9.mga9
CVE:
Status comment:


Attachments

Description Bit Twister 2016-07-25 19:02:38 CEST
Description of problem:

During install of a new kernel you get this kind of message 

Creating: target|kernel|dracut args|basicmodules 
remove-boot-splash: Format of /boot/initrd-4.7.0-desktop-1.mga6.img not recognized

Code is not testing the correct file or message needs to be removed.


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. urpmi --download-all  --downloader wget --auto --auto-update
Thierry Vignaud 2016-07-26 11:19:39 CEST

CC: (none) => thierry.vignaud
Source RPM: dracut-044-10.mga6.src.rpm => bootsplash-3.3.11-5.mga6, dracut-044-10.mga6.src.rpm

Comment 1 Marja Van Waes 2016-07-26 20:15:56 CEST
I've seen this since at least a month ago with every kernel update.

It also happens when using dnf instead of urpmi.

However, I still don't now which package is to blame.

CC: (none) => marja11, shlomif, tmb, zen25000

Comment 2 Thierry Vignaud 2016-07-26 22:10:47 CEST
it's bootsplash as I wrote
Comment 3 Marja Van Waes 2016-07-27 08:26:12 CEST
(In reply to Thierry Vignaud from comment #2)
> it's bootsplash as I wrote

thx, i should have seen that.

assigning to shlomi, then.

Assignee: bugsquad => shlomif

Comment 4 Bit Twister 2016-07-31 05:57:33 CEST
latest updates resolved the problem.

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

Comment 5 Marja Van Waes 2019-06-05 18:22:05 CEST
(In reply to Bit Twister from comment #4)
> latest updates resolved the problem.

If so, then there was a regression not much later.... I still see it, only learnt to ignore it ;-)

Summary: 6_s1: remove-boot-splash: Format of /boot/initrd-4.7.0-desktop-1.mga6.img not recognized => remove-boot-splash: Format of /boot/initrd-?.?.?-desktop-?.mga7.img not recognized
Status: RESOLVED => REOPENED
Resolution: FIXED => (none)
Source RPM: bootsplash-3.3.11-5.mga6, dracut-044-10.mga6.src.rpm => bootsplash-3.3.11-7.mga7

Comment 6 Marja Van Waes 2019-06-05 18:23:41 CEST
*** Bug 24897 has been marked as a duplicate of this bug. ***

CC: (none) => unruh

Florian Hubold 2019-12-06 18:07:03 CET

CC: (none) => doktor5000

Comment 7 pavel heimlich 2021-11-01 12:48:51 CET
seen just today:
retrieved $MIRRORLIST media/core/updates lib64drm_amdgpu1-2.4.107-3.mga8.x86_64.rpm lib64drm_intel1-2.4.107-3.mga8.x86_64.rpm lib64mesakhr-devel-21.2.4-2.mga8.x86_64.rpm virtualbox-kernel-desktop-latest-6.1.28-1.2.mga8.x86_64.rpm lib64qt5-database-plugin-tds-5.15.2-4.4.mga8.x86_64.rpm lib64qt5-database-plugin-ibase-5.15.2-4.4.mga8.x86_64.rpm mesa-21.2.4-2.mga8.x86_64.rpm vim-enhanced-8.2.2143-3.2.mga8.x86_64.rpm kernel-userspace-headers-5.10.75-1.mga8.x86_64.rpm lib64xatracker2-21.2.4-2.mga8.x86_64.rpm lib64mesaegl1-21.2.4-2.mga8.x86_64.rpm vim-minimal-8.2.2143-3.2.mga8.x86_64.rpm virtualbox-6.1.28-1.mga8.x86_64.rpm lib64qt5opengl5-5.15.2-4.4.mga8.x86_64.rpm lib64qt5-database-plugin-pgsql-5.15.2-4.4.mga8.x86_64.rpm lib64dri-drivers-21.2.4-2.mga8.x86_64.rpm kernel-desktop-5.10.75-1.mga8-1-1.mga8.x86_64.rpm cpupower-5.10.75-1.mga8.x86_64.rpm vim-common-8.2.2143-3.2.mga8.x86_64.rpm ansible-2.9.27-1.mga8.noarch.rpm lib64drm_nouveau2-2.4.107-3.mga8.x86_64.rpm lib64mesaegl-devel-21.2.4-2.mga8.x86_64.rpm lib64qt5-database-plugin-odbc-5.15.2-4.4.mga8.x86_64.rpm lib64qt5-database-plugin-sqlite-5.15.2-4.4.mga8.x86_64.rpm flatpak-1.10.5-1.mga8.x86_64.rpm lib64mesagl-devel-21.2.4-2.mga8.x86_64.rpm virtualbox-kernel-5.10.75-desktop-1.mga8-6.1.28-1.2.mga8.x86_64.rpm lib64qt5-database-plugin-mysql-5.15.2-4.4.mga8.x86_64.rpm lib64kms1-2.4.107-3.mga8.x86_64.rpm lib64glapi-devel-21.2.4-2.mga8.x86_64.rpm kernel-desktop-latest-5.10.75-1.mga8.x86_64.rpm lib64glapi0-21.2.4-2.mga8.x86_64.rpm lib64qt5sql5-5.15.2-4.4.mga8.x86_64.rpm lib64drm-devel-2.4.107-3.mga8.x86_64.rpm lib64drm_radeon1-2.4.107-3.mga8.x86_64.rpm lib64mesagl1-21.2.4-2.mga8.x86_64.rpm lib64flatpak-gir1.0-1.10.5-1.mga8.x86_64.rpm lib64flatpak0-1.10.5-1.mga8.x86_64.rpm lib64mesavulkan-drivers-21.2.4-2.mga8.x86_64.rpm
...retrieving done
installing lib64flatpak-gir1.0-1.10.5-1.mga8.x86_64.rpm lib64mesagl1-21.2.4-2.mga8.x86_64.rpm lib64mesavulkan-drivers-21.2.4-2.mga8.x86_64.rpm lib64flatpak0-1.10.5-1.mga8.x86_64.rpm lib64qt5sql5-5.15.2-4.4.mga8.x86_64.rpm lib64glapi0-21.2.4-2.mga8.x86_64.rpm kernel-desktop-latest-5.10.75-1.mga8.x86_64.rpm lib64drm_radeon1-2.4.107-3.mga8.x86_64.rpm lib64drm-devel-2.4.107-3.mga8.x86_64.rpm virtualbox-kernel-5.10.75-desktop-1.mga8-6.1.28-1.2.mga8.x86_64.rpm flatpak-1.10.5-1.mga8.x86_64.rpm lib64qt5-database-plugin-sqlite-5.15.2-4.4.mga8.x86_64.rpm lib64mesagl-devel-21.2.4-2.mga8.x86_64.rpm lib64qt5-database-plugin-odbc-5.15.2-4.4.mga8.x86_64.rpm lib64glapi-devel-21.2.4-2.mga8.x86_64.rpm lib64kms1-2.4.107-3.mga8.x86_64.rpm lib64qt5-database-plugin-mysql-5.15.2-4.4.mga8.x86_64.rpm lib64drm_nouveau2-2.4.107-3.mga8.x86_64.rpm ansible-2.9.27-1.mga8.noarch.rpm cpupower-5.10.75-1.mga8.x86_64.rpm vim-common-8.2.2143-3.2.mga8.x86_64.rpm lib64mesaegl-devel-21.2.4-2.mga8.x86_64.rpm lib64qt5-database-plugin-pgsql-5.15.2-4.4.mga8.x86_64.rpm kernel-desktop-5.10.75-1.mga8-1-1.mga8.x86_64.rpm lib64dri-drivers-21.2.4-2.mga8.x86_64.rpm lib64xatracker2-21.2.4-2.mga8.x86_64.rpm kernel-userspace-headers-5.10.75-1.mga8.x86_64.rpm lib64qt5opengl5-5.15.2-4.4.mga8.x86_64.rpm virtualbox-6.1.28-1.mga8.x86_64.rpm lib64mesaegl1-21.2.4-2.mga8.x86_64.rpm vim-minimal-8.2.2143-3.2.mga8.x86_64.rpm lib64qt5-database-plugin-ibase-5.15.2-4.4.mga8.x86_64.rpm mesa-21.2.4-2.mga8.x86_64.rpm lib64qt5-database-plugin-tds-5.15.2-4.4.mga8.x86_64.rpm vim-enhanced-8.2.2143-3.2.mga8.x86_64.rpm lib64drm_amdgpu1-2.4.107-3.mga8.x86_64.rpm lib64drm_intel1-2.4.107-3.mga8.x86_64.rpm virtualbox-kernel-desktop-latest-6.1.28-1.2.mga8.x86_64.rpm lib64mesakhr-devel-21.2.4-2.mga8.x86_64.rpm from /var/cache/urpmi/rpms
starting installing packages
created transaction for installing on / (remove=0, install=0, upgrade=39)
Creating: target|kernel|dracut args|basicmodules 
/etc/dracut.conf.d/51-mageia-resume.conf:add_device+="UUID=513a172d-52ea-4912-a170-1cf9ccf575e0"
remove-boot-splash: Format of /boot/initrd-5.10.75-desktop-1.mga8.img not recognized

vboxdrv.ko.xz:
 - Installation
   - Installing to /lib/modules/5.10.75-desktop-1.mga8/dkms-binary/3rdparty/vbox/

vboxnetflt.ko.xz:
 - Installation
   - Installing to /lib/modules/5.10.75-desktop-1.mga8/dkms-binary/3rdparty/vbox/

vboxnetadp.ko.xz:
 - Installation
   - Installing to /lib/modules/5.10.75-desktop-1.mga8/dkms-binary/3rdparty/vbox/

depmod......

DKMS: install Completed.

CC: (none) => tropikhajma

Comment 8 Marja Van Waes 2021-11-01 17:26:14 CET
Reassigning, because Shlomi no longer maintains this package.

Decreasing priority, because no evil happens if this remove-boot-splash message is ignored

Priority: Normal => Low
Severity: normal => minor
Assignee: shlomif => pkg-bugs
Whiteboard: (none) => MGA8TOO

Comment 9 w unruh 2022-01-03 20:17:12 CET
The problem is still there. 
remove-boot-splash: Format of /boot/initrd-5.15.11-desktop-3.mga8.img not recognized
This is a new installation of 5.15.11 so there should be no /boot/initrd-5.15.11-desktop-3.mga8.img file. It sort of sounds as though if there is no file there to be removed, this misleading error gets thrown (although I suppose one could argue that a non-existent file does have the wrong format).
Comment 10 Marja Van Waes 2022-04-30 22:07:02 CEST
*** Bug 24737 has been marked as a duplicate of this bug. ***

CC: (none) => flink

Comment 11 Marja Van Waes 2022-04-30 22:07:36 CEST
*** Bug 30353 has been marked as a duplicate of this bug. ***
Comment 12 Marja Van Waes 2022-04-30 22:08:55 CEST
In bug 30353, comment #3 tmb suggests to silence the message
Comment 13 Marja Van Waes 2022-04-30 22:14:47 CEST
In /usr/share/bootsplash/scripts/remove-boot-splash there is:


if [ -z "$CPIO" ]; then
  echo "remove-boot-splash: Format of $initrd_file not recognized" >&2
  exit 1
fi



I assume those lines can be removed?
Comment 14 w unruh 2022-04-30 22:50:44 CEST
There seem to be a variety of this error. On some of my machines, no error occurs. On others even with th spaces in /etc/dracut.conf.d/51-mageia-resume.conf, it still throws an error. Sometimes it is bootsplash, sometimes other things. Weird
Comment 15 Thomas Backlund 2022-04-30 22:55:48 CEST
no, they are separate errors...

the "missing spaces in resume" bug was fixed a year ago but that fix only applied to new installs, for older installs, manual fixing is needed...
Comment 16 w unruh 2022-05-01 00:36:05 CEST
I guess "old install" also means "update from Mga7 to Mga8, since I did an update a couple of months ago on a number of machines, and they had the space problem.

Anyway I have fixed it now.
Not sure what $CPIO. Looking at the file it seems to be whether it is compressed with gz or xz, and it seems not to be compressed at all so the whole logic of that section is bad.
Comment 17 w unruh 2022-08-04 23:40:58 CEST
Problem still there with Mga8. Just updated and got

Creating: target|kernel|dracut args|basicmodules 
remove-boot-splash: Format of /boot/initrd-5.15.55-desktop-2.mga8.img not recognized

Again ignoring the message.
Comment 18 w unruh 2022-08-05 03:36:53 CEST
OK, the remove-boot-splash checks to see if the initrd is compressed with xz or with gz. However, running "file" on initrd gives

boot/initrd-5.15.55-desktop-2.mga8.img: ASCII cpio archive (SVR4 with no CRC)

which seems to be neither xz or gz-- ie it seems to be an uncompressed file, if I understand and this means that remove-boot-splash does nothing. 
 
The page https://wiki.snowfrs.com/Extracting_initramfs says you have to strip off the initial section which is microcode and then the inner stuff may the actual compressed initrd.
Doing that on one of my initrd, I find that that inner IS gz compressed. So it would seem that that the remove-boot-splash program needs to be more complex than it is -- ie strip off the microcode, uncompress the inner stuff, remove plymouth, and reassemble everything. Otherwise remove-boot-splash does nothing.
Marja Van Waes 2022-09-02 15:28:59 CEST

Summary: remove-boot-splash: Format of /boot/initrd-?.?.?-desktop-?.mga7.img not recognized => remove-boot-splash: Format of /boot/initrd-?.?.?-desktop-?.mga?.img not recognized
Source RPM: bootsplash-3.3.11-7.mga7 => bootsplash-3.3.11-9.mga9

Comment 19 sturmvogel 2022-12-19 12:46:19 CET
*** Bug 31300 has been marked as a duplicate of this bug. ***

CC: (none) => estellnb

Comment 20 katnatek 2023-01-27 23:45:38 CET
(In reply to w unruh from comment #18)  
> The page https://wiki.snowfrs.com/Extracting_initramfs says you have to
> strip off the initial section which is microcode and then the inner stuff
> may the actual compressed initrd.
> Doing that on one of my initrd, I find that that inner IS gz compressed. So
> it would seem that that the remove-boot-splash program needs to be more
> complex than it is -- ie strip off the microcode, uncompress the inner
> stuff, remove plymouth, and reassemble everything. Otherwise
> remove-boot-splash does nothing.

I don't say that "does nothing", in each kernel update i lost my custom plymouth theme, first at power off and if i forget to reapply the theme in next kernel update i lost the plymouth theme at power on, so i have to reapply the plymouth theme each kernel update
Comment 21 Denis Bitouzé 2023-10-23 07:04:42 CEST
Problem still there with Mga9. Just updated and got

remove-boot-splash: Format of /boot/initrd-6.4.16-desktop-3.mga9.img not recognized

CC: (none) => dbitouze

katnatek 2024-01-03 01:11:20 CET

Whiteboard: MGA8TOO => MGA9TOO


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