highbank quantal installer regression

Bug #1035269 reported by Robie Basak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Installing Quantal on highbank fails.

During the install, we get this:

Aug 9 16:47:59 in-target: Unpacking linux-image-3.5.0-8-highbank (from .../linux-image-3.5.0-8-highbank_3.5.0-8.8_armhf.deb) ...
Aug 9 16:48:00 in-target: Done.
Aug 9 16:48:14 in-target: Selecting previously unselected package linux-firmware.
Aug 9 16:48:14 in-target: Unpacking linux-firmware (from .../linux-firmware_1.88_all.deb) ...
Aug 9 16:48:16 in-target: Selecting previously unselected package linux-image-highbank.
Aug 9 16:48:16 in-target: Unpacking linux-image-highbank (from .../linux-image-highbank_3.5.0.8.8_armhf.deb) ...
Aug 9 16:48:17 in-target: Setting up linux-image-3.5.0-8-highbank (3.5.0-8.8) ...
Aug 9 16:48:17 in-target: Running depmod.
Aug 9 16:48:19 in-target: Examining /etc/kernel/postinst.d.
Aug 9 16:48:19 in-target: run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.5.0-8-highbank /boot/vmlinuz-3.5.0-8-highbank
Aug 9 16:48:19 in-target:
Aug 9 16:48:19 in-target: Setting up linux-firmware (1.88) ...
Aug 9 16:48:19 in-target: Setting up linux-image-highbank (3.5.0.8.8) ...

What I expect to see instead is this:

Selecting previously unselected package linux-image-3.5.0-8-highbank.
(Reading database ... 38503 files and directories currently installed.)
Unpacking linux-image-3.5.0-8-highbank (from .../linux-image-3.5.0-8-highbank_3.5.0-8.8_armhf.deb) ...
Done.
Selecting previously unselected package linux-image-highbank.
Unpacking linux-image-highbank (from .../linux-image-highbank_3.5.0.8.8_armhf.deb) ...
Setting up linux-image-3.5.0-8-highbank (3.5.0-8.8) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.5.0-8-highbank /boot/vmlinuz-3.5.0-8-highbank
update-initramfs: Generating /boot/initrd.img-3.5.0-8-highbank
run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 3.5.0-8-highbank /boot/vmlinuz-3.5.0-8-highbank
flash-kernel: deferring update (trigger activated)
Setting up linux-image-highbank (3.5.0.8.8) ...
Processing triggers for flash-kernel ...
flash-kernel: installing version 3.5.0-8-highbank
Generating boot script u-boot image... done.
Installing new boot.scr.

The initrd is not created, and this causes flash-kernel to fail later. The installer then reports an error.

Workaround: drop into a shell. Then:

mount -o bind /proc /target/proc
mount -o bind /sys /target/sys
chroot /target /bin/bash
dpkg -P linux-image-highbank linux-image-3.5.0-8-highbank
apt-get install -y linux-image-highbank
umount /target/proc /target/sys
exit

Then resume with "Make the system bootable"

Revision history for this message
Robie Basak (racb) wrote :

Full syslog attached. I think this is due to the update-initramfs diversion done by flash-kernel. There have been relevant changes recently which I think coincide with this regression.

visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flash-kernel - 3.0~rc.4ubuntu19

---------------
flash-kernel (3.0~rc.4ubuntu19) quantal; urgency=low

  * flash-kernel-installer.postinst: now that we have a diversion in place
    there isnt a pre-existing initrd, instead of calling update-initramfs -u
    we better call update-initramfs -c -k all to create one from scratch,
    fixes (LP: #1035269)
 -- Oliver Grawert <email address hidden> Fri, 10 Aug 2012 17:49:00 +0200

Changed in flash-kernel (Ubuntu):
status: New → Fix Released
Revision history for this message
mahmoh (mahmoh) wrote :

Verified:

Linux c03 3.5.0-9-highbank #9-Ubuntu SMP PREEMPT Thu Aug 9 17:12:46 UTC 2012 armv7l armv7l armv7l GNU/Linux
Release: 12.10

installer/syslog:
...
Aug 10 19:13:25 in-target: Setting up flash-kernel (3.0~rc.4ubuntu20) ...
Aug 10 19:13:27 in-target: Reading package lists...
Aug 10 19:13:27 in-target:
Aug 10 19:13:28 in-target: Building dependency tree...
Aug 10 19:13:28 in-target:
Aug 10 19:13:28 in-target: Reading state information...
Aug 10 19:13:28 in-target:
Aug 10 19:13:28 in-target: The following NEW packages will be installed:
Aug 10 19:13:28 in-target: u-boot-tools
Aug 10 19:13:28 in-target: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Aug 10 19:13:28 in-target: Need to get 53.0 kB of archives.
Aug 10 19:13:28 in-target: After this operation, 145 kB of additional disk space will be used.
Aug 10 19:13:28 in-target: Get:1 http://ports.ubuntu.com/ubuntu-ports/ quantal/main u-boot-tools armhf 2012.04.01-2 [53.0 kB]
Aug 10 19:13:30 in-target: Fetched 53.0 kB in 0s (94.2 kB/s)
Aug 10 19:13:30 in-target: Selecting previously unselected package u-boot-tools.
Aug 10 19:13:30 in-target: (Reading database ...
Aug 10 19:13:30 in-target: 41130 files and directories currently installed.)
Aug 10 19:13:30 in-target: Unpacking u-boot-tools (from .../u-boot-tools_2012.04.01-2_armhf.deb) ...
Aug 10 19:13:30 in-target: Processing triggers for man-db ...
Aug 10 19:13:33 in-target: Setting up u-boot-tools (2012.04.01-2) ...
Aug 10 19:13:34 in-target: update-initramfs: Generating /boot/initrd.img-3.5.0-9-highbank
Aug 10 19:13:40 in-target: flash-kernel: installing version 3.5.0-9-highbank
Aug 10 19:13:41 in-target: Generating boot script u-boot image...
Aug 10 19:13:41 in-target: done.
Aug 10 19:13:41 in-target: Installing new boot.scr.
Aug 10 19:13:42 main-menu[335]: DEBUG: resolver (libgcc1): package doesn't exist (ignored)
Aug 10 19:13:42 main-menu[335]: DEBUG: resolver (ext2-modules): package doesn't exist (ignored)
Aug 10 19:13:42 main-menu[335]: INFO: Menu item 'finish-install' selected
Aug 10 19:13:42 finish-install: info: Running /usr/lib/finish-install.d/01kickseed
...

Changed in eilt:
status: New → Fix Released
importance: Undecided → Critical
tags: added: verification-done
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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