Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #66752 > unrolled thread

Bug#956663: initramfs-tools-core: update-initramfs does not search all the firmware paths the kernel does

Started byAP <debian@inml.grue.cc>
First post2020-04-14 06:00 +0200
Last post2020-04-28 21:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#956663: initramfs-tools-core: update-initramfs does not search all the firmware paths the kernel does AP <debian@inml.grue.cc> - 2020-04-14 06:00 +0200
    Bug#956663: marked as done (initramfs-tools-core: update-initramfs  does not search all the firmware paths the kernel does) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-04-28 21:30 +0200

#66752 — Bug#956663: initramfs-tools-core: update-initramfs does not search all the firmware paths the kernel does

FromAP <debian@inml.grue.cc>
Date2020-04-14 06:00 +0200
SubjectBug#956663: initramfs-tools-core: update-initramfs does not search all the firmware paths the kernel does
Message-ID<zVkTT-7rg-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: initramfs-tools-core
Version: 0.133+deb10u1
Severity: normal
Tags: patch

Dear Maintainer,

   * What led up to the situation?

I like to keep up with the official kernel releases. As a result the firmware
they wind up requiring is newer than what is available in firmware packages.

I'd like to install these from the git repo but also want to keep using
some firmware package from debian (cpu microcode patches for example).

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I placed the firmware from the git repo in /lib/firmware/updates/ which
the kernel searches before /lib/firmware.

   * What was the outcome of this action?

Kernel can find them but update-initramfs cannot.

   * What outcome did you expect instead?

update-initramfs look in all the places the kernel does and copies the files
as appropriate.

I have attached an initial patch that solves this. I am currently using the
resultng code and it is working fine for me.

The one thing the patch does not do is allow for a custom location that can
be provided to the kernel to search first.

This is because that's a little more complicated and requires a decision wrt
where to specify this location (ie the config file?).

I can do that work also if it'll help get the patch in.

-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (100, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.3-local.20200409-123516 (SMP w/6 CPU cores; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages initramfs-tools-core depends on:
ii  coreutils    8.30-3
ii  cpio         2.12+dfsg-9
ii  e2fsprogs    1.44.5-1+deb10u3
ii  klibc-utils  2.0.6-1
ii  kmod         26-1
ii  udev         241-7~deb10u3

Versions of packages initramfs-tools-core recommends:
ii  busybox  1:1.30.1-4
ii  pigz     2.4-1

Versions of packages initramfs-tools-core suggests:
pn  bash-completion  <none>

-- no debconf information

[toc] | [next] | [standalone]


#66922 — Bug#956663: marked as done (initramfs-tools-core: update-initramfs does not search all the firmware paths the kernel does)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-04-28 21:30 +0200
SubjectBug#956663: marked as done (initramfs-tools-core: update-initramfs does not search all the firmware paths the kernel does)
Message-ID<A0E5A-7iN-29@gated-at.bofh.it>
In reply to#66752

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 28 Apr 2020 17:33:36 +0000
with message-id <E1jTU6y-000BBM-Fh@fasolo.debian.org>
and subject line Bug#956663: fixed in initramfs-tools 0.137
has caused the Debian Bug report #956663,
regarding initramfs-tools-core: update-initramfs does not search all the firmware paths the kernel does
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
956663: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956663
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web