Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Kernel firmwares - which to keep, which to delete?

  1. #1

    Question Kernel firmwares - which to keep, which to delete?

    Hy again!

    There are a LOT of new kernel firmware packages, which I understand were previously all in 1 package (kernel-firmware, e.g. as it is still in Leap 15.1).

    There is e.g. NVIDIA kernel firmware, but I don't have any such card in some computers (and never will have, as these are embedded boxes or laptops with other graphics). Or wifi/network/DSL-modem firmwares I don't see any use in.

    Is it save/recommended to remove and black-list these packages? Which are to be kept in any case?

    What is the appropriate procedure to determine, which of these packages are essential for any given installation of TW?
    Kind regards

    raspu

  2. #2
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    828

    Default Re: Kernel firmwares - which to keep, which to delete?

    Quote Originally Posted by suse_rasputin View Post
    Hy again!

    There are a LOT of new kernel firmware packages, which I understand were previously all in 1 package (kernel-firmware, e.g. as it is still in Leap 15.1).

    There is e.g. NVIDIA kernel firmware, but I don't have any such card in some computers (and never will have, as these are embedded boxes or laptops with other graphics). Or wifi/network/DSL-modem firmwares I don't see any use in.

    Is it save/recommended to remove and black-list these packages? Which are to be kept in any case?

    What is the appropriate procedure to determine, which of these packages are essential for any given installation of TW?
    A good starting point to find out which firmware got loaded at boot time could be
    Code:
    # journalctl | grep firmware
    However this does not take into account any devices pluged-in in the future (which may require additional firmware). And who knows whether all firmware loads are logged in the journal?

    If i recall correctly the total size of current kernel-firmware is less than 200 MB. Given the fact that my root filesystem is 40GB (30% used so far) i don't take the risk to fiddle with deleting/blacklisting single kernel-firmware-packages.

    Regards

    susejunky

  3. #3
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,888

    Default Re: Kernel firmwares - which to keep, which to delete?

    Quote Originally Posted by suse_rasputin View Post
    Is it save/recommended to remove and black-list these packages? Which are to be kept in any case?
    If you've not seen it, this bug report, outlining the rationale behind the separate firmware packages, may be of interest:

    "Reduce kernel firmware file installations" https://bugzilla.opensuse.org/show_bug.cgi?id=1143959

    Comment #12 provides an argument for retaining unneeded (at the current time) firmware packages, (although an experienced user would probably not have issues).
    Regards, Paul

  4. #4
    Join Date
    Sep 2012
    Posts
    6,799

    Default Re: Kernel firmwares - which to keep, which to delete?

    Quote Originally Posted by suse_rasputin View Post
    What is the appropriate procedure to determine, which of these packages are essential for any given installation of TW?
    If you do not know, keep all of them - just assume no split ever happened.

  5. #5

    Default Re: Kernel firmwares - which to keep, which to delete?

    Quote Originally Posted by arvidjaar View Post
    If you do not know, keep all of them - just assume no split ever happened.
    But it happend. And I like the idea to get rid of software blobs out of control in my OS. E.g. NVIDIA. OR wireless stuff I never go to use.

    So this is not an option.
    Kind regards

    raspu

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,738
    Blog Entries
    15

    Default Re: Kernel firmwares - which to keep, which to delete?

    Quote Originally Posted by suse_rasputin View Post
    But it happend. And I like the idea to get rid of software blobs out of control in my OS. E.g. NVIDIA. OR wireless stuff I never go to use.

    So this is not an option.
    Hi
    I only have kernel-firmware-i915 as that's the only device requiring firmware on this desktop.... now if I add something that needs firmware might still need something else...

    Check your loaded modules and if they use firmware;
    Code:
    cat /proc/modules | cut -f 1 -d " " | while read module; do echo "Module: $module"; FIRMWARE=`modinfo $module | grep "firmware:"`; echo $FIRMWARE; done
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: Kernel firmwares - which to keep, which to delete?

    Hi Malcolm!

    Many thanks for replying, I have here on a little mini ITX box:

    Code:
    cat /proc/modules | cut -f 1 -d " " | while read module; do echo "Module: $module"; FIRMWARE=`modinfo $module | grep "firmware:"`; echo $FIRMWARE; done
    Module: fuse
    
    Module: af_packet
    
    Module: xt_tcpudp
    
    Module: ipt_REJECT
    
    Module: nf_reject_ipv4
    
    Module: xt_conntrack
    
    Module: ebtable_nat
    
    Module: ebtable_broute
    
    Module: iptable_nat
    
    Module: nf_nat
    
    Module: iptable_mangle
    
    Module: iptable_raw
    
    Module: iptable_security
    
    Module: nf_conntrack
    
    Module: nf_defrag_ipv6
    
    Module: nf_defrag_ipv4
    
    Module: libcrc32c
    
    Module: scsi_transport_iscsi
    
    Module: ip_set
    
    Module: nfnetlink
    
    Module: ebtable_filter
    
    Module: ebtables
    
    Module: ip6_tables
    
    Module: iptable_filter
    
    Module: ip_tables
    
    Module: x_tables
    
    Module: bpfilter
    
    Module: dmi_sysfs
    
    Module: msr
    
    Module: intel_rapl_msr
    
    Module: intel_rapl_common
    
    Module: snd_hda_codec_hdmi
    
    Module: intel_soc_dts_thermal
    
    Module: intel_soc_dts_iosf
    
    Module: intel_powerclamp
    
    Module: coretemp
    
    Module: kvm_intel
    
    Module: snd_hda_codec_realtek
    
    Module: snd_hda_codec_generic
    
    Module: ledtrig_audio
    
    Module: kvm
    
    Module: mei_hdcp
    
    Module: snd_hda_intel
    
    Module: ppdev
    
    Module: irqbypass
    
    Module: iTCO_wdt
    
    Module: iTCO_vendor_support
    
    Module: snd_hda_codec
    
    Module: snd_hda_core
    
    Module: crct10dif_pclmul
    
    Module: snd_hwdep
    
    Module: crc32_pclmul
    
    Module: snd_pcm
    
    Module: ghash_clmulni_intel
    
    Module: snd_timer
    
    Module: cryptd
    
    Module: snd
    
    Module: r8169
    firmware: rtl_nic/rtl8107e-2.fw firmware: rtl_nic/rtl8107e-1.fw firmware: rtl_nic/rtl8168h-2.fw firmware: rtl_nic/rtl8168h-1.fw firmware: rtl_nic/rtl8168g-3.fw firmware: rtl_nic/rtl8168g-2.fw firmware: rtl_nic/rtl8106e-2.fw firmware: rtl_nic/rtl8106e-1.fw firmware: rtl_nic/rtl8411-2.fw firmware: rtl_nic/rtl8411-1.fw firmware: rtl_nic/rtl8402-1.fw firmware: rtl_nic/rtl8168f-2.fw firmware: rtl_nic/rtl8168f-1.fw firmware: rtl_nic/rtl8105e-1.fw firmware: rtl_nic/rtl8168e-3.fw firmware: rtl_nic/rtl8168e-2.fw firmware: rtl_nic/rtl8168e-1.fw firmware: rtl_nic/rtl8168d-2.fw firmware: rtl_nic/rtl8168d-1.fw
    Module: pcspkr
    
    Module: i2c_i801
    
    Module: mei_txe
    
    Module: realtek
    
    Module: parport_pc
    
    Module: lpc_ich
    
    Module: libphy
    
    Module: mei
    
    Module: soundcore
    
    Module: thermal
    
    Module: fan
    
    Module: parport
    
    Module: rfkill_gpio
    
    Module: rfkill
    
    Module: button
    
    Module: i915
    firmware: i915/bxt_dmc_ver1_07.bin firmware: i915/skl_dmc_ver1_27.bin firmware: i915/kbl_dmc_ver1_04.bin firmware: i915/glk_dmc_ver1_04.bin firmware: i915/cnl_dmc_ver1_07.bin firmware: i915/icl_dmc_ver1_07.bin firmware: i915/icl_guc_32.0.3.bin firmware: i915/glk_guc_32.0.3.bin firmware: i915/kbl_guc_32.0.3.bin firmware: i915/bxt_guc_32.0.3.bin firmware: i915/skl_guc_32.0.3.bin firmware: i915/icl_huc_ver8_4_3238.bin firmware: i915/glk_huc_ver03_01_2893.bin firmware: i915/kbl_huc_ver02_00_1810.bin firmware: i915/bxt_huc_ver01_8_2893.bin firmware: i915/skl_huc_ver01_07_1398.bin parm: vbt_firmware:Load VBT from specified file under /lib/firmware (charp)
    Module: i2c_algo_bit
    
    Module: drm_kms_helper
    parm: edid_firmware:DEPRECATED. Use drm.edid_firmware module parameter instead. (charp)
    Module: syscopyarea
    
    Module: sysfillrect
    
    Module: xhci_pci
    
    Module: sysimgblt
    
    Module: fb_sys_fops
    
    Module: xhci_hcd
    
    Module: drm
    parm: edid_firmware:Do not probe monitor, use specified EDID blob from built-in data or /lib/firmware instead. (string)
    Module: usbcore
    
    Module: crc32c_intel
    
    Module: video
    
    Module: i2c_hid
    
    Module: pwm_lpss_platform
    
    Module: pwm_lpss
    
    Module: sg
    
    Module: dm_multipath
    
    Module: dm_mod
    
    Module: scsi_dh_rdac
    
    Module: scsi_dh_emc
    
    Module: scsi_dh_alua
    So the network driver and the i915 are needed, the other firmwarez not, correct? :-)
    Kind regards

    raspu

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,738
    Blog Entries
    15

    Default Re: Kernel firmwares - which to keep, which to delete?

    Quote Originally Posted by suse_rasputin View Post
    Hi Malcolm!

    Many thanks for replying, I have here on a little mini ITX box:

    Code:
    cat /proc/modules | cut -f 1 -d " " | while read module; do echo "Module: $module"; FIRMWARE=`modinfo $module | grep "firmware:"`; echo $FIRMWARE; done
    
    Module: r8169
    firmware: rtl_nic/rtl8107e-2.fw firmware: rtl_nic/rtl8107e-1.fw firmware: rtl_nic/rtl8168h-2.fw firmware: rtl_nic/rtl8168h-1.fw firmware: rtl_nic/rtl8168g-3.fw firmware: rtl_nic/rtl8168g-2.fw firmware: rtl_nic/rtl8106e-2.fw firmware: rtl_nic/rtl8106e-1.fw firmware: rtl_nic/rtl8411-2.fw firmware: rtl_nic/rtl8411-1.fw firmware: rtl_nic/rtl8402-1.fw firmware: rtl_nic/rtl8168f-2.fw firmware: rtl_nic/rtl8168f-1.fw firmware: rtl_nic/rtl8105e-1.fw firmware: rtl_nic/rtl8168e-3.fw firmware: rtl_nic/rtl8168e-2.fw firmware: rtl_nic/rtl8168e-1.fw firmware: rtl_nic/rtl8168d-2.fw firmware: rtl_nic/rtl8168d-1.fw
    
    
    Module: i915
    firmware: i915/bxt_dmc_ver1_07.bin firmware: i915/skl_dmc_ver1_27.bin firmware: i915/kbl_dmc_ver1_04.bin firmware: i915/glk_dmc_ver1_04.bin firmware: i915/cnl_dmc_ver1_07.bin firmware: i915/icl_dmc_ver1_07.bin firmware: i915/icl_guc_32.0.3.bin firmware: i915/glk_guc_32.0.3.bin firmware: i915/kbl_guc_32.0.3.bin firmware: i915/bxt_guc_32.0.3.bin firmware: i915/skl_guc_32.0.3.bin firmware: i915/icl_huc_ver8_4_3238.bin firmware: i915/glk_huc_ver03_01_2893.bin firmware: i915/kbl_huc_ver02_00_1810.bin firmware: i915/bxt_huc_ver01_8_2893.bin firmware: i915/skl_huc_ver01_07_1398.bin parm: vbt_firmware:Load VBT from specified file under /lib/firmware (charp)
    Module: i2c_algo_bit
    So the network driver and the i915 are needed, the other firmwarez not, correct? :-)
    Hi
    Yes, that would be my take on the output.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9

    Default Re: Kernel firmwares - which to keep, which to delete?

    Hi!

    Next question:

    https://paste.opensuse.org/3fe3a179

    is it safe/necessary to delete the kernel-firmware-all? If it really sums up all other packages, why is it installed besides all the individual packages? :-)
    Kind regards

    raspu

  10. #10
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    6,393

    Default AW: Kernel firmwares - which to keep, which to delete?

    Its a metapackage to get all firmwares installed:
    Code:
    zypper if kernel-firmware-all
    
    Informationen zu Paket kernel-firmware-all:
    -------------------------------------------
    Repository         : kernel-stable                                      
    Name               : kernel-firmware-all                                
    Version            : 20191118-35.1                                      
    Arch               : noarch                                             
    Anbieter           : obs://build.opensuse.org/Kernel                    
    Installierte Größe : 142,1 KiB                                          
    Installiert        : Nein                                               
    Status             : nicht installiert                                  
    Quellpaket         : kernel-firmware-20191118-35.1.src                  
    Zusammenfassung    : Compatibility metapackage for kernel firmware files
    Beschreibung       :                                                    
        This package is a catch-all compatibility metapackage for providing
        all files that have been provided by kernel-firmware package.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •