update-initramfs stuck after quantal upgrade

Bug #1070529 reported by Jean-Philippe Guérard
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Every call to update-initramfs ended stuck on the first line:

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.5.0-18-generic
[stuck here]

Looking at the running processes gave me this:

# ps aux | grep initram
root 21065 0.0 0.0 4396 616 pts/8 S+ 21:50 0:00 /bin/sh -e /etc/kernel/postinst.d/initramfs-tools 3.5.0-18-lowlatency /boot/vmlinuz-3.5.0-18-lowlatency
root 21067 0.0 0.0 4396 616 pts/8 S+ 21:50 0:00 /bin/sh /usr/sbin/update-initramfs -c -t -k 3.5.0-18-lowlatency -b /boot
root 21069 3.0 0.0 4516 856 pts/8 S+ 21:50 0:00 /bin/sh /usr/sbin/mkinitramfs -o /boot/initrd.img-3.5.0-18-lowlatency.new 3.5.0-18-lowlatency
root 26554 0.0 0.0 4396 772 pts/8 S+ 21:50 0:00 /bin/sh /usr/share/initramfs-tools/hooks/framebuffer
root 26653 0.0 0.0 4396 376 pts/8 S+ 21:50 0:00 /bin/sh /usr/share/initramfs-tools/hooks/framebuffer
root 26657 0.0 0.0 9444 936 pts/6 R+ 21:50 0:00 grep --color=auto initram

Suspecting that something was wrong with the FRAMEBUFFER option in initramfs, I removed the « FRAMEBUFFER=y » of my config file.

Then, I was able to use again update-initramfs without getting stuck and to upgrade my kernel.

Thanks.

affects: initramfs-tools → initramfs-tools (Ubuntu)
Revision history for this message
Anne van Rossum (annevanrossum) wrote :

I encountered this bug on Upgrade from 11.04 to 11.10. I have my home drive encrypted.

Solved by disabling FRAMEBUFFER=y in /usr/share/initramfs-tools/conf-hooks.d/cryptsetup

[code]
# This will setup non-us keyboards in early userspace,
# necessary for punching in passphrases.
KEYMAP=y

# force busybox on initramfs
BUSYBOX=y

# and for systems using plymouth instead, use the new option
#FRAMEBUFFER=y
[/code]

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexandre Anoutchine (xirius) wrote :

When i execute: update-initramfs -uv
it hangs on the line: Adding module /lib/modules/3.5.0-17-generic/kernel/drivers/gpu/drm/udl/udl.ko

Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal

Revision history for this message
Alexandre Anoutchine (xirius) wrote :

One of my partitions is encrypted and is mounted automatically. The Anne van Rossum's suggestion also solved my problem.

Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.