← Back to team overview

touch-packages team mailing list archive

[Bug 1226472] Re: update-initramfs -u hangs; update-initramfs -u -v works

 

This happens when updating initramfs under 3.18.0-rc3 and -rc4.  Can't
remember rc1 and rc2 in detail.

Specifically 4 warning messages causes initrd to not be created (and
then you can't boot) when verbose is turned off:

[code]
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169
[/ccode]

appending the -v or -vv parameter to update-initramfs command line
allows the initrd.img to be created.  Testing it is another issue of
course.

Changes from plain-vanilla include use of dkms for EnhanceIO modules
(used for HDD caching to 32gb mSATA SSD) which are coded into /usr/share
/initramfs-tools/scripts/local-top in a script file.

update-initramfs runs normally under 3.17.1 and 3.16.6 kernels without
the "-v" parameter.

HTH

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

Title:
  update-initramfs -u hangs; update-initramfs -u -v works

Status in “initramfs-tools” package in Ubuntu:
  Confirmed

Bug description:
  Hi there,

  For reasons totally unknown to me, `update-initramfs` (Version:
  0.103ubuntu0.2) fails to update my kernel and just hangs indefinitely
  with [sudo] `update-initramfs -u`. However, `update-initramfs -u -v`
  completes successfully:

  $ sudo update-initramfs -u
  update-initramfs: Generating /boot/initrd.img-3.5.0-40-generic
  ^C
  $ sudo update-initramfs -u -v
  Available versions:  3.5.0-40-generic 3.5.0-17-generic
  Keeping /boot/initrd.img-3.5.0-40-generic.dpkg-bak
  update-initramfs: Generating /boot/initrd.img-3.5.0-40-generic
  /usr/share/initramfs-tools/hooks/framebuffer~ ignored: not alphanumeric or '_' file
  Adding module /lib/modules/3.5.0-40-generic/kernel/drivers/ata/libahci.ko
  Adding module /lib/modules/3.5.0-40-generic/kernel/drivers/ata/ahci.ko
  Adding module /lib/modules/3.5.0-40-generic/kernel/drivers/mmc/card/mmc_block.ko
  Adding binary /etc/initramfs-tools/conf.d/resume
  Adding binary /usr/lib/initramfs-tools/bin/wait-for-root
  Adding library /lib/x86_64-linux-gnu/libudev.so.0
  Adding library /lib/x86_64-linux-gnu/libc.so.6
  Adding library /lib/x86_64-linux-gnu/librt.so.1
  Adding library /lib64/ld-linux-x86-64.so.2
  Adding library /lib/x86_64-linux-gnu/libpthread.so.0
  Adding binary /sbin/modprobe
  Adding binary /sbin/rmmod
  Adding binary /sbin/blkid
  Adding library /lib/x86_64-linux-gnu/libblkid.so.1
  Adding library /lib/x86_64-linux-gnu/libuuid.so.1
  tsort: -: input contains an odd number of tokens
  Building cpio /boot/initrd.img-3.5.0-40-generic.new initramfs
  Removing current backup /boot/initrd.img-3.5.0-40-generic.dpkg-bak
  $

  I'm using Linux Mint (14), an Ubuntu fork, and I obviously expect the
  tool to work when it is not being verbose as well!

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