[Bug 1871260] Re: update-initramfs Error 24 (EMFILE? == Too many open files?)

Benjamin Drung 1871260 at bugs.launchpad.net
Mon Aug 14 18:27:21 UTC 2023


*** This bug is a duplicate of bug 798414 ***
    https://bugs.launchpad.net/bugs/798414

Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 798414, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report.  Please continue to report any other bugs you may
find.

** This bug has been marked a duplicate of bug 798414
   update-initramfs should produce a more helpful error message when there isn't enough  free space--or provide an automatic tool for removal of old files

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1871260

Title:
  update-initramfs Error 24 (EMFILE? == Too many open files?)

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  $ sudo apt-get dist-upgrade

  Fails with:

  Setting up linux-image-5.3.0-46-generic (5.3.0-46.38) ...
  Processing triggers for linux-image-5.3.0-46-generic (5.3.0-46.38) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.3.0-46-generic
     ...done.
  /etc/kernel/postinst.d/initramfs-tools:
  update-initramfs: Generating /boot/initrd.img-5.3.0-46-generic
  I: The initramfs will attempt to resume from /dev/nvme1n1p3
  I: (UUID=03bd380f-5d5c-433d-9047-0ca550fef461)
  I: Set the RESUME variable to override this.
  Error 24 : Write error : cannot write compressed block 
  E: mkinitramfs failure cpio 141 lz4 -9 -l 24

  If "Error 24" means errno==24 then it is EMFILE (Too many open files).

  Re-running produces an identical failure.

  There is nothing unusual going on in the machine.  Just rebooted,
  actually.

  ProblemType: Package
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-46-generic 5.3.0-46.38
  ProcVersionSignature: Ubuntu 5.3.0-45.37-generic 5.3.18
  Uname: Linux 5.3.0-45-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jima       6601 F.... pulseaudio
                        tu2       10212 F.... pulseaudio
  Date: Mon Apr  6 16:48:05 2020
  ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  InstallationDate: Installed on 2020-03-24 (13 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: System manufacturer System Product Name
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.3.0-45-generic root=UUID=7c21c040-30e8-456e-bcd9-5f4bcfc2fc92 ro toram priority=low quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  Python3Details: /usr/bin/python3.7, Python 3.7.5, python3-minimal, 3.7.5-1
  PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.17-1
  RelatedPackageVersions: grub-pc N/A
  SourcePackage: initramfs-tools
  Title: package linux-image-5.3.0-46-generic 5.3.0-46.38 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/01/2017
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0605
  dmi.board.asset.tag: Default string
  dmi.board.name: PRIME Z370-A
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0605:bd12/01/2017:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEZ370-A:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: System Product Name
  dmi.product.sku: SKU
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1871260/+subscriptions




More information about the foundations-bugs mailing list