Question about grub/grub2

I’ve gone through my system purging old kernels, etc. with rm I’m running 13.1, defacto grub2, but even though I have the file /boot/do_purge_kernels it doesn’t appear to be doing so. Is this something that only grub did? It seems like a regression to me to remove functionality, and to force the user to do it.

Failing that is there any way of telling grub2 to purge kernels? the config file says “do not edit” and I’ve not had a good look at /etc/grub.d but 20 minutes with Google shows that people are being told to purge manually, so before I spend any time on it, is it even possible?

That’s totally unrelated to grub. grub2 and grub only show the kernels that are added to their menu file.
When you install or remove kernels, the menu file should get adapted by the kernel package’s scripts.

Failing that is there any way of telling grub2 to purge kernels? the config file says “do not edit” and I’ve not had a good look at /etc/grub.d but 20 minutes with Google shows that people are being told to purge manually, so before I spend any time on it, is it even possible?

You can add/remove kernels manually, yes. Use e.g. YaST’s “Versions” tab to add/remove particular versions.

But there is a system service, that checks during boot whether /boot/do_purge_kernels exists, and purges the old kernels in that case.
Apparently this service is disabled on your system, enable it either in YaST->System->Services Manager, or with:

sudo systemctl enable purge-kernels

You can also run this service manually if you prefer:

sudo systemctl start purge-kernels

Or, as the service only calls a script, this will work as well, even if /boot/do_purge_kernels does not exist:

sudo purge-kernels.sh

Please note, that this service/scripts acts upon the settings regarding which kernels to keep in /etc/zypp/zypp.conf. If you haven’t ever changed them, it should keep 2 or 3 kernels, namely the running one, the latest (highest version), and the latest-1. (the first two normally should be that same, so if you don’t do anything special you’ll always have 2 kernel, the current one and the previous one)
So if it still doesn’t work, check those settings. (“multiversion.kernels” in /etc/zypp/zypp.conf)

If you just delete the directories then the system just does not know what happened you should remove them via yast or zypper. then the system will know what is going on.

rm the kernels will leave a mess with some parts of the system thinking they still exist and other not,.

Of course if you build you own kernels that is a different story since unless you tell it the system may not know that a new kennel is there. But if you are building kernels you should understand how things work anyway.

Yeah.
And to be absolutely clear: the purge-kernels script/service only handles kernels installed via RPM packages.
If you manually compile/install kernels, you have to clean up yourself. (maybe create a similar script/service that acts upon the actual files/directories in /boot/ and /lib/modules/ instead… :wink: )

Hi,

I have here 13.1 and 13.2 but there is no purge-kernels.sh but i have found

/sbin/purge-kernels

which is a perl script and not a shell script. 13.1 the file belongs to mkinitrd and since mkinitrd is replaced by dracut in 13.2 that file is owned by dracut in 13.2

Yes, it is /sbin/purge-kernels. I made a typo, sorry. :shame:
Thanks for correcting.

which is a perl script and not a shell script.

Well, I never wrote it would be a shell script:

:wink:
But purge-kernels.sh might have suggested it to be a shell script of course.

13.1 the file belongs to mkinitrd and since mkinitrd is replaced by dracut in 13.2 that file is owned by dracut in 13.2

Yes.

I used to build & patch the Nvidia module, only now I have a Radeon card at work :slight_smile:

However, when I tried to run**/sbin/purge-kernels --test** It tried to delete the running kernel :slight_smile: Though yes, I do have the following in /etc/zypp/zypp.conf:

multiversion = provides:multiversion(kernel)

&&

multiversion.kernels = latest,latest-1,running

and /etc/zypp/multiversion.d is empty

I tried to use it as a system service, but systemctl list-units shows the following:

purge-kernels.service loaded failed failed Purge old kernels

zypper list nothing but the kernel, though RPM lists loads of kernels. I’ll manually remove them from the RPM DB

Any idea why purge kernels tries to remove the running kernel?

Running kernel is 3.18.5-1.gf378da4. Though I also have, as of this morning, 3.19.0-1.g8a7d5f9 installed.

Well, that’s irrelevant for cleaning up the kernels anyway… :wink:

However, when I tried to run**/sbin/purge-kernels --test** It tried to delete the running kernel :slight_smile: Though yes, I do have the following in /etc/zypp/zypp.conf:

Strange, it shouldn’t.

I tried to use it as a system service, but systemctl list-units shows the following:

purge-kernels.service loaded failed failed Purge old kernels

Apparently it cannot remove the kernels for some reason. What does “sudo systemctl status purge-kernels” say?

zypper list nothing but the kernel, though RPM lists loads of kernels. I’ll manually remove them from the RPM DB

What command did you run when “zypper list nothing but the kernel”?
What does “zypper se -si kernel” say?

zypper and RPM should show the same packages, as zypper just uses RPM to install/remove packages anyway.
If not, then something seems to be wrong either with your RPM database or zypper’s cache.
Try to clean zypper’s cache with “zypper clean -a” or by just deleting /var/cache/zypper/.

If they differ about what is installed, you’ll get problems anyway.

Any idea why purge kernels tries to remove the running kernel?

Running kernel is 3.18.5-1.gf378da4. Though I also have, as of this morning, 3.19.0-1.g8a7d5f9 installed.

Can you post the output please? And the output of “uname -a”.

The “zypper list” thing was a typo on my part, I meant the Yast package manager GUI, which doesn’t list separate versions

/sbin/purge-kernels --test

Removed:
kernel-syms-3.18.5-1.1.gf378da4.x86_64
kernel-default-devel-3.18.5-1.1.gf378da4.x86_64
kernel-default-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-devel-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-3.18.5-1.1.gf378da4.x86_64
kernel-xen-devel-3.18.5-1.1.gf378da4.x86_64
kernel-source-3.18.5-1.1.gf378da4.noarch
kernel-devel-3.18.5-1.1.gf378da4.noarch

uname -a

Linux xxxxx 3.18.5-1.gf378da4-desktop #1 SMP PREEMPT Fri Jan 30 08:43:22 UTC 2015 (f378da4) x86_64 x86_64 x86_64 GNU/Linux

rpm -qa |grep kernel

kernel-desktop-3.18.5-1.2.gf378da4.x86_64
kernel-pv-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-devel-3.19.0-1.1.g8a7d5f9.noarch
nfs-kernel-server-1.2.8-4.13.1.x86_64
kernel-syms-3.19.0-1.1.g8a7d5f9.x86_64
kernel-default-devel-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-devel-3.18.5-1.1.gf378da4.x86_64
patterns-openSUSE-devel_kernel-13.1-13.6.1.x86_64
kernel-syms-3.18.5-1.2.gf378da4.x86_64
kernel-desktop-3.19.0-1.1.g8a7d5f9.x86_64
kernel-default-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-devel-3.18.5-1.2.gf378da4.x86_64
kernel-source-3.18.5-1.2.gf378da4.noarch
kernel-source-3.18.5-1.1.gf378da4.noarch
kernel-xen-devel-3.18.5-1.2.gf378da4.x86_64
kernel-xen-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-default-3.18.5-1.2.gf378da4.x86_64
kernel-macros-3.19.0-1.1.g8a7d5f9.noarch
kernel-default-devel-3.18.5-1.2.gf378da4.x86_64
kernel-devel-3.18.5-1.2.gf378da4.noarch
kernel-default-3.19.0-1.1.g8a7d5f9.x86_64
kernel-desktop-3.18.5-1.1.gf378da4.x86_64
kernel-default-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-syms-3.18.5-1.1.gf378da4.x86_64
kernel-source-3.19.0-1.1.g8a7d5f9.noarch
kernel-xen-devel-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-devel-3.18.5-1.1.gf378da4.noarch

I have the xen stuff as it’s a dependency of one of the others you get when you install the development option, I forget which.

I did have a lot more kernels listed but I wrote a script to cycle through rpm -e --nodeps to delete them all.

systemctl status purge-kernels

purge-kernels.service - Purge old kernels
Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; enabled)
Active: failed (Result: exit-code) since Fri 2015-02-13 13:54:41 CET; 2 days ago
Process: 5417 ExecStart=/sbin/purge-kernels (code=exited, status=1/FAILURE)
Process: 5414 ExecStartPre=/bin/rm -f /boot/do_purge_kernels (code=exited, status=0/SUCCESS)
Main PID: 5417 (code=exited, status=1/FAILURE)
CGroup: /system.slice/purge-kernels.service

Feb 13 13:54:41 xxxxx purge-kernels[5417]: error: Failed dependencies:
Feb 13 13:54:41 xxxxx systemd[1]: purge-kernels.service: main process exited, code=exited, s…LURE
Feb 13 13:54:41 xxxxx systemd[1]: Failed to start Purge old kernels.
Feb 13 13:54:41 xxxxx systemd[1]: Unit purge-kernels.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

It does. Click on “Versions” below the package list.

/sbin/purge-kernels --test

Removed:
kernel-syms-3.18.5-1.1.gf378da4.x86_64
kernel-default-devel-3.18.5-1.1.gf378da4.x86_64
kernel-default-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-devel-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-3.18.5-1.1.gf378da4.x86_64
kernel-xen-devel-3.18.5-1.1.gf378da4.x86_64
kernel-source-3.18.5-1.1.gf378da4.noarch
kernel-devel-3.18.5-1.1.gf378da4.noarch

uname -a

Linux xxxxx 3.18.5-1.gf378da4-desktop #1 SMP PREEMPT Fri Jan 30 08:43:22 UTC 2015 (f378da4) x86_64 x86_64 x86_64 GNU/Linux

rpm -qa |grep kernel

kernel-desktop-3.18.5-1.2.gf378da4.x86_64
kernel-pv-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-devel-3.19.0-1.1.g8a7d5f9.noarch
nfs-kernel-server-1.2.8-4.13.1.x86_64
kernel-syms-3.19.0-1.1.g8a7d5f9.x86_64
kernel-default-devel-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-devel-3.18.5-1.1.gf378da4.x86_64
patterns-openSUSE-devel_kernel-13.1-13.6.1.x86_64
kernel-syms-3.18.5-1.2.gf378da4.x86_64
kernel-desktop-3.19.0-1.1.g8a7d5f9.x86_64
kernel-default-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-devel-3.18.5-1.2.gf378da4.x86_64
kernel-source-3.18.5-1.2.gf378da4.noarch
kernel-source-3.18.5-1.1.gf378da4.noarch
kernel-xen-devel-3.18.5-1.2.gf378da4.x86_64
kernel-xen-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-default-3.18.5-1.2.gf378da4.x86_64
kernel-macros-3.19.0-1.1.g8a7d5f9.noarch
kernel-default-devel-3.18.5-1.2.gf378da4.x86_64
kernel-devel-3.18.5-1.2.gf378da4.noarch
kernel-default-3.19.0-1.1.g8a7d5f9.x86_64
kernel-desktop-3.18.5-1.1.gf378da4.x86_64
kernel-default-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-syms-3.18.5-1.1.gf378da4.x86_64
kernel-source-3.19.0-1.1.g8a7d5f9.noarch
kernel-xen-devel-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-devel-3.18.5-1.1.gf378da4.noarch

It wants to remove kernel-desktop-3.18.5-1.1, but you probably run kernel-desktop-3.18.5-1.2.
So nothing wrong from purge-kernels side.

Why do you have kernel-default installed as well though? You could probably just remove that completely, also the later versions (you have to do that manually though).

I have the xen stuff as it’s a dependency of one of the others you get when you install the development option, I forget which.

The kernel-xen-devel packages are required by kernel-syms, which you should only need when wanting to build kernel modules (and not even then in most cases I think).
But that’s also no kernel… :wink:

I did have a lot more kernels listed but I wrote a script to cycle through rpm -e --nodeps to delete them all.

That’s exactly what purge-kernels does (without the --nodeps though I think), but it also removes the corresponding kmp , -source, -devel, and -syms packages.

systemctl status purge-kernels

purge-kernels.service - Purge old kernels
Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; enabled)
Active: failed (Result: exit-code) since Fri 2015-02-13 13:54:41 CET; 2 days ago
Process: 5417 ExecStart=/sbin/purge-kernels (code=exited, status=1/FAILURE)
Process: 5414 ExecStartPre=/bin/rm -f /boot/do_purge_kernels (code=exited, status=0/SUCCESS)
Main PID: 5417 (code=exited, status=1/FAILURE)
CGroup: /system.slice/purge-kernels.service

Feb 13 13:54:41 xxxxx purge-kernels[5417]: error: Failed dependencies:
Feb 13 13:54:41 xxxxx systemd[1]: purge-kernels.service: main process exited, code=exited, s…LURE
Feb 13 13:54:41 xxxxx systemd[1]: Failed to start Purge old kernels.
Feb 13 13:54:41 xxxxx systemd[1]: Unit purge-kernels.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Try again with “sudo systemctl status -l purge-kernels”. The actual error message is truncated.

Why not just go into yast and remove what you don’t want/need

Ifyou use other methods then rpm installs then you have to manually remove things the automatics don’t know what you did since you bypassed them

systemctl status -l purge-kernels

purge-kernels.service - Purge old kernels
Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; enabled)
Active: failed (Result: exit-code) since Fri 2015-02-13 13:54:41 CET; 3 days ago
Main PID: 5417 (code=exited, status=1/FAILURE)

Feb 13 13:54:41 xxxxx purge-kernels[5417]: error: Failed dependencies:
Feb 13 13:54:41 xxxx systemd[1]: purge-kernels.service: main process exited, code=exited, status=1/FAILURE
Feb 13 13:54:41 xxxxx systemd[1]: Failed to start Purge old kernels.
Feb 13 13:54:41 xxxxx systemd[1]: Unit purge-kernels.service entered failed state.

Here you go :slight_smile:

Ok, doesn’t really tell anything though.

Then I’d suggest to run the purge-kernels script directly, without the --test option.
You should see why it fails then.

It didn’t:

/sbin/purge-kernels

Removed:
kernel-syms-3.18.5-1.1.gf378da4.x86_64
kernel-default-devel-3.18.5-1.1.gf378da4.x86_64
kernel-default-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-devel-3.18.5-1.1.gf378da4.x86_64
kernel-desktop-3.18.5-1.1.gf378da4.x86_64
kernel-xen-devel-3.18.5-1.1.gf378da4.x86_64
kernel-source-3.18.5-1.1.gf378da4.noarch
kernel-devel-3.18.5-1.1.gf378da4.noarch

rpm -qa |grep kernel

kernel-desktop-3.18.5-1.2.gf378da4.x86_64
kernel-pv-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-devel-3.19.0-1.1.g8a7d5f9.noarch
nfs-kernel-server-1.2.8-4.13.1.x86_64
kernel-syms-3.19.0-1.1.g8a7d5f9.x86_64
patterns-openSUSE-devel_kernel-13.1-13.6.1.x86_64
kernel-syms-3.18.5-1.2.gf378da4.x86_64
kernel-desktop-3.19.0-1.1.g8a7d5f9.x86_64
kernel-desktop-devel-3.18.5-1.2.gf378da4.x86_64
kernel-source-3.18.5-1.2.gf378da4.noarch
kernel-xen-devel-3.18.5-1.2.gf378da4.x86_64
kernel-xen-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-default-3.18.5-1.2.gf378da4.x86_64
kernel-macros-3.19.0-1.1.g8a7d5f9.noarch
kernel-default-devel-3.18.5-1.2.gf378da4.x86_64
kernel-devel-3.18.5-1.2.gf378da4.noarch
kernel-default-3.19.0-1.1.g8a7d5f9.x86_64
kernel-default-devel-3.19.0-1.1.g8a7d5f9.x86_64
kernel-source-3.19.0-1.1.g8a7d5f9.noarch
kernel-desktop-devel-3.19.0-1.1.g8a7d5f9.x86_64

Though it’s looking good. The only reason I noticed is that zypper up was taking ages, and that was because mkinitrd was having to rebuild every kernel I had installed, not to mention the all the garbage that gets thrown to the screen by all the Radeon drivers.

So it did work now.

No idea why it didn’t work during boot then, and we won’t be able to find out any more I suppose. OTOH, the was last run 3 (meanwhile 4) days ago, according to your output. So maybe the reason why it failed has been rectified/fixed meanwhile?
I guess you’ll just have to wait for the next kernel update to see whether it works then.

The only reason I noticed is that zypper up was taking ages, and that was because mkinitrd was having to rebuild every kernel I had installed, not to mention the all the garbage that gets thrown to the screen by all the Radeon drivers.

Yes, mkinitrd rebuilds the initrd for all installed kernels. It has to if you install new or updated kernel modules.

But I don’t understand what you mean with “all the garbage that gets thrown to the screen by all the Radeon drivers”.
Where do you get what garbage by which Radeon drivers?

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos XT [Radeon HD 7470/8470]

That, which produces this:

Kernel image: /boot/vmlinuz-3.19.0-1.g8a7d5f9-desktop
Initrd image: /boot/initrd-3.19.0-1.g8a7d5f9-desktop
KMS drivers: radeon nouveau
Root device: /dev/disk/by-id/ata-ST1000DM003-1ER162_S4Y0JVV1-part6 (/dev/sda6) (mounted on / as ext4)
Resume device: /dev/disk/by-id/ata-ST1000DM003-1ER162_S4Y0JVV1-part5 (/dev/sda5)
Microcode: Adding Intel microcode 06-3a-09
modprobe: Module hid_lenovo_tpkbd not found.
WARNING: no dependencies for kernel module ‘hid-lenovo-tpkbd’ found.
Kernel Modules: thermal processor fan scsi_dh scsi_dh_emc scsi_dh_rdac scsi_dh_hp_sw scsi_dh_alua i2c-algo-bit drm drm_kms_helper ttm radeon button wmi video mxm-wmi nouveau xhci-hcd hid-logitech-dj hid-holtek-kbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci
Firmware: radeon/R520_cp.bin radeon/RS600_cp.bin radeon/RS690_cp.bin radeon/R420_cp.bin radeon/R300_cp.bin radeon/R200_cp.bin radeon/R100_cp.bin radeon/RV710_me.bin radeon/RV710_pfp.bin radeon/RV730_me.bin radeon/RV730_pfp.bin radeon/RV770_me.bin radeon/RV770_pfp.bin radeon/RS780_me.bin radeon/RS780_pfp.bin radeon/RV670_me.bin radeon/RV670_pfp.bin radeon/RV635_me.bin radeon/RV635_pfp.bin radeon/RV620_me.bin radeon/RV620_pfp.bin radeon/RV630_me.bin radeon/RV630_pfp.bin radeon/RV610_me.bin radeon/RV610_pfp.bin radeon/R600_me.bin radeon/R600_pfp.bin
Features: acpi intel_microcode kms plymouth block usb resume.userspace resume.kernel

Though it did used to produce much more, having dug through a text buffer, this:

Kernel image: /boot/vmlinuz-3.18.5-1.gf378da4-desktop
Initrd image: /boot/initrd-3.18.5-1.gf378da4-desktop
KMS drivers: radeon nouveau
Root device: /dev/disk/by-id/ata-ST1000DM003-1ER162_S4Y0JVV1-part6 (/dev/sda6) (mounted on / as ext4)
Resume device: /dev/disk/by-id/ata-ST1000DM003-1ER162_S4Y0JVV1-part5 (/dev/sda5)
Microcode: Adding Intel microcode 06-3a-09
modprobe: Module hid_lenovo_tpkbd not found.
WARNING: no dependencies for kernel module ‘hid-lenovo-tpkbd’ found.
Kernel Modules: thermal processor fan scsi_dh scsi_dh_emc scsi_dh_rdac scsi_dh_hp_sw scsi_dh_alua i2c-algo-bit drm drm_kms_helper ttm radeon button wmi video mxm-wmi nouveau xhci-hcd hid-logitech-dj hid-holtek-kbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci
Firmware: radeon/R520_cp.bin radeon/RS600_cp.bin radeon/RS690_cp.bin radeon/R420_cp.bin radeon/R300_cp.bin radeon/R200_cp.bin radeon/R100_cp.bin radeon/SUMO2_me.bin radeon/SUMO2_pfp.bin radeon/SUMO_me.bin radeon/SUMO_pfp.bin radeon/SUMO_rlc.bin radeon/PALM_me.bin radeon/PALM_pfp.bin radeon/CYPRESS_smc.bin radeon/CYPRESS_rlc.bin radeon/CYPRESS_me.bin radeon/CYPRESS_pfp.bin radeon/JUNIPER_smc.bin radeon/JUNIPER_rlc.bin radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin radeon/REDWOOD_smc.bin radeon/REDWOOD_rlc.bin radeon/REDWOOD_me.bin radeon/REDWOOD_pfp.bin radeon/CEDAR_smc.bin radeon/CEDAR_rlc.bin radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/R700_rlc.bin radeon/R600_rlc.bin radeon/RV710_smc.bin radeon/RV710_me.bin radeon/RV710_pfp.bin radeon/RV740_smc.bin radeon/RV730_smc.bin radeon/RV730_me.bin radeon/RV730_pfp.bin radeon/RV770_smc.bin radeon/RV770_me.bin radeon/RV770_pfp.bin radeon/RS780_me.bin radeon/RS780_pfp.bin radeon/RV670_me.bin radeon/RV670_pfp.bin radeon/RV635_me.bin radeon/RV635_pfp.bin radeon/RV620_me.bin radeon/RV620_pfp.bin radeon/RV630_me.bin radeon/RV630_pfp.bin radeon/RV610_me.bin radeon/RV610_pfp.bin radeon/R600_me.bin radeon/R600_pfp.bin radeon/ARUBA_rlc.bin radeon/ARUBA_me.bin radeon/ARUBA_pfp.bin radeon/CAYMAN_smc.bin radeon/CAYMAN_rlc.bin radeon/CAYMAN_mc.bin radeon/CAYMAN_me.bin radeon/CAYMAN_pfp.bin radeon/CAICOS_smc.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin radeon/CAICOS_pfp.bin radeon/TURKS_smc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/BTC_rlc.bin radeon/BARTS_smc.bin radeon/BARTS_mc.bin radeon/BARTS_me.bin radeon/BARTS_pfp.bin radeon/hainan_smc.bin radeon/hainan_rlc.bin radeon/hainan_mc.bin radeon/hainan_ce.bin radeon/hainan_me.bin radeon/hainan_pfp.bin radeon/HAINAN_smc.bin radeon/HAINAN_rlc.bin radeon/HAINAN_mc2.bin radeon/HAINAN_mc.bin radeon/HAINAN_ce.bin radeon/HAINAN_me.bin radeon/HAINAN_pfp.bin radeon/oland_smc.bin radeon/oland_rlc.bin radeon/oland_mc.bin radeon/oland_ce.bin radeon/oland_me.bin radeon/oland_pfp.bin radeon/OLAND_smc.bin radeon/OLAND_rlc.bin radeon/OLAND_mc2.bin radeon/OLAND_mc.bin radeon/OLAND_ce.bin radeon/OLAND_me.bin radeon/OLAND_pfp.bin radeon/verde_smc.bin radeon/verde_rlc.bin radeon/verde_mc.bin radeon/verde_ce.bin radeon/verde_me.bin radeon/verde_pfp.bin radeon/VERDE_smc.bin radeon/VERDE_rlc.bin radeon/VERDE_mc2.bin radeon/VERDE_mc.bin radeon/VERDE_ce.bin radeon/VERDE_me.bin radeon/VERDE_pfp.bin radeon/pitcairn_smc.bin radeon/pitcairn_rlc.bin radeon/pitcairn_mc.bin radeon/pitcairn_ce.bin radeon/pitcairn_me.bin radeon/pitcairn_pfp.bin radeon/PITCAIRN_smc.bin radeon/PITCAIRN_rlc.bin radeon/PITCAIRN_mc2.bin radeon/PITCAIRN_mc.bin radeon/PITCAIRN_ce.bin radeon/PITCAIRN_me.bin radeon/PITCAIRN_pfp.bin radeon/tahiti_smc.bin radeon/tahiti_rlc.bin radeon/tahiti_mc.bin radeon/tahiti_ce.bin radeon/tahiti_me.bin radeon/tahiti_pfp.bin radeon/TAHITI_smc.bin radeon/TAHITI_rlc.bin radeon/TAHITI_mc2.bin radeon/TAHITI_mc.bin radeon/TAHITI_ce.bin radeon/TAHITI_me.bin radeon/TAHITI_pfp.bin radeon/mullins_sdma.bin radeon/mullins_rlc.bin radeon/mullins_mec.bin radeon/mullins_ce.bin radeon/mullins_me.bin radeon/mullins_pfp.bin radeon/MULLINS_sdma.bin radeon/MULLINS_rlc.bin radeon/MULLINS_mec.bin radeon/MULLINS_ce.bin radeon/MULLINS_me.bin radeon/MULLINS_pfp.bin radeon/kabini_sdma.bin radeon/kabini_rlc.bin radeon/kabini_mec.bin radeon/kabini_ce.bin radeon/kabini_me.bin radeon/kabini_pfp.bin radeon/KABINI_sdma.bin radeon/KABINI_rlc.bin radeon/KABINI_mec.bin radeon/KABINI_ce.bin radeon/KABINI_me.bin radeon/KABINI_pfp.bin radeon/kaveri_sdma.bin radeon/kaveri_rlc.bin radeon/kaveri_mec2.bin radeon/kaveri_mec.bin radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_pfp.bin radeon/KAVERI_sdma.bin radeon/KAVERI_rlc.bin radeon/KAVERI_mec.bin radeon/KAVERI_ce.bin radeon/KAVERI_me.bin radeon/KAVERI_pfp.bin radeon/hawaii_smc.bin radeon/hawaii_sdma.bin radeon/hawaii_rlc.bin radeon/hawaii_mc.bin radeon/hawaii_mec.bin radeon/hawaii_ce.bin radeon/hawaii_me.bin radeon/hawaii_pfp.bin radeon/HAWAII_smc.bin radeon/HAWAII_sdma.bin radeon/HAWAII_rlc.bin radeon/HAWAII_mc2.bin radeon/HAWAII_mc.bin radeon/HAWAII_mec.bin radeon/HAWAII_ce.bin radeon/HAWAII_me.bin radeon/HAWAII_pfp.bin radeon/bonaire_smc.bin radeon/bonaire_sdma.bin radeon/bonaire_rlc.bin radeon/bonaire_mc.bin radeon/bonaire_mec.bin radeon/bonaire_ce.bin radeon/bonaire_me.bin radeon/bonaire_pfp.bin radeon/BONAIRE_smc.bin radeon/BONAIRE_sdma.bin radeon/BONAIRE_rlc.bin radeon/BONAIRE_mc2.bin radeon/BONAIRE_mc.bin radeon/BONAIRE_mec.bin radeon/BONAIRE_ce.bin radeon/BONAIRE_me.bin radeon/BONAIRE_pfp.bin radeon/BONAIRE_uvd.bin radeon/TAHITI_uvd.bin radeon/SUMO_uvd.bin radeon/CYPRESS_uvd.bin radeon/RV710_uvd.bin radeon/RV770_uvd.bin radeon/RS780_uvd.bin radeon/R600_uvd.bin radeon/BONAIRE_vce.bin
Features: acpi intel_microcode kms plymouth block usb resume.userspace resume.kernel

So it appears to cleaned it’s act up a little. That must be what the kernel firmware update was. I have both drivers installed as I have both cards installed but only the Radeon is hooked up to a display.

Well, yes, mkinitrd prints which files/kernel modules it adds to the initrd.
But why would you be bothered about that?

Btw, this “radeon garbage” is the list of the firmware files for radeon chips, that are needed to operate them properly. And yes, they are contained in kernel-firmware.

I don’t think that kernel-firmware has been “cleaned up”. That firmware is necessary for radeon to work. I only have installed the one included in 13.2 here, so I cannot tell really (and I don’t know where you installed your kernels or kernel-firmware from anyway).
Maybe mkinitrd’s output has just been reduced? :wink:
But it also might be that mkinitrd has been optimized to add less unnecessary stuff to the initrd…
(although I don’t think mkinitrd is maintained at all any more, but then I also don’t know where you installed that from)

You could also switch to dracut, that shouldn’t print that “garbage” at all.

I wasn’t bothered so much as puzzled as to why it was producing so much output. Never had these problems on 11.3, but then that was before the PC refresh :slight_smile:

I update daily, from the official repos, kernel from here: http://download.opensuse.org/repositories/Kernel:/HEAD/standard/ kernel-firware comes from the same place. mkinitrd comes from the 13.1-update repo. I thought I saw an update to mkinitrd recently, could have been something else behind it. Will check dracut.

Thanks for the support, Cheers!

On 11.3, having multiple Kernels installed was not supported/possible at all I think (at least not via RPMs). :wink:

mkinitrd comes from the 13.1-update repo. I thought I saw an update to mkinitrd recently, could have been something else behind it.

Hm. AFAICS the last update to mkinitrd for 13.1 was 7 months ago.

Will check dracut.

JFYI, openSUSE’s dracut is a drop-in replacement for mkinitrd. It contains a compatibility script “mkinitrd” that calls dracut with the correct parameters depending on the settings in /etc/sysconfig/. But I haven’t tried it myself on 13.1. (starting with 13.2, mkinitrd is not included any more and dracut is used instead)