flash-kernel tries to use MTD devices on OMAP4 when no flash-kernel.conf exists

Bug #626749 reported by Vincent Stehlé
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Fix Released
Medium
Tobin Davis
Nominated for Precise by Tobin Davis
Maverick
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: initramfs-tools

On OMAP4 (armel, v7a) board with no mtd partitions, initramfs-tools complain with " Cannot find mtd partition 'Kernel' ", which prevents further configure/install, leaving the package half-configured.

Complete aptitude installation log:

Setting up initramfs-tools (0.98ubuntu2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.34-ti902-omap4
Cannot find mtd partition 'Kernel'
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
Press return to continue.

Related branches

Revision history for this message
Vincent Stehlé (vstehle) wrote :
tags: added: maverick
Revision history for this message
Loïc Minier (lool) wrote :

initramfs-tools' update-initramfs calls flash-kernel which outputs this error.

affects: initramfs-tools (Ubuntu) → flash-kernel (Ubuntu)
Revision history for this message
Oliver Grawert (ogra) wrote :

this looks like a broken install, jasper sets up /etc/flash-kernel.conf with the right parameters in the preinstalled images during first boot, seems this is missing in your installation.

Revision history for this message
Oliver Grawert (ogra) wrote :

also this seems like even more fallout from
https://blueprints.edge.launchpad.net/ubuntu/+spec/mobile-maverick-arm-improved-subarch-detection

on OMAP4 MTD should never be attempted ...

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Correct parameters example:
ubuntu@ubuntu-laptop:~$ cat /etc/flash-kernel.conf
UBOOT_PART=/dev/mmcblk0p1
ROOT=UUID=e7882151-ec72-46fa-b426-b973f53f725c

Revision history for this message
Vincent Stehlé (vstehle) wrote :

I have no /etc/flash-kernel.conf; this is a home-made install, not done by jasper.

Revision history for this message
Oliver Grawert (ogra) wrote :

un-duplicating and adjusting the title, flash-kernel should never try MTD on omap4

summary: - Generation of initramfs fails on OMAP4 when no 'Kernel' mtd partition
- exists, preventing configure/install.
+ flash-kernel tries to use MTD devices on OMAP4 when no flash-kernel.conf
+ exists
Changed in flash-kernel (Ubuntu):
assignee: nobody → Michael Casadevall (mcasadevall)
Changed in flash-kernel (Ubuntu Maverick):
importance: Undecided → Medium
status: New → Confirmed
milestone: none → ubuntu-10.10
Changed in flash-kernel (Ubuntu Maverick):
assignee: Michael Casadevall (mcasadevall) → nobody
Revision history for this message
Michael Opdenacker (michael-opdenacker) wrote :

Hi,

Who's gonna work on this, now that the bug is "unassigned"?

It confirm that the bug is still there in 20101004 pre-installed image.

Thank you in advance,

Michael.

tags: added: iso-testing
Changed in flash-kernel (Ubuntu Maverick):
milestone: ubuntu-10.10 → maverick-updates
Oliver Grawert (ogra)
Changed in flash-kernel (Ubuntu):
assignee: nobody → Michael Casadevall (mcasadevall)
Changed in flash-kernel (Ubuntu Maverick):
assignee: nobody → Michael Casadevall (mcasadevall)
Changed in flash-kernel (Ubuntu):
assignee: Michael Casadevall (mcasadevall) → nobody
Changed in flash-kernel (Ubuntu Maverick):
assignee: Michael Casadevall (mcasadevall) → nobody
Changed in flash-kernel (Ubuntu):
assignee: nobody → Michael Casadevall (mcasadevall)
Changed in flash-kernel (Ubuntu Maverick):
assignee: nobody → Michael Casadevall (mcasadevall)
Tobin Davis (gruemaster)
Changed in flash-kernel (Ubuntu Maverick):
assignee: Michael Casadevall (mcasadevall) → nobody
Changed in flash-kernel (Ubuntu):
assignee: Michael Casadevall (mcasadevall) → nobody
milestone: maverick-updates → none
Changed in flash-kernel (Ubuntu Maverick):
milestone: maverick-updates → none
status: Confirmed → Won't Fix
Revision history for this message
Tobin Davis (gruemaster) wrote :

Fix pushed to my bzr branch. Waiting for merge approval.

Changed in flash-kernel (Ubuntu):
milestone: none → ubuntu-12.04-beta-1
assignee: nobody → Tobin Davis (gruemaster)
status: Confirmed → Fix Committed
status: Fix Committed → In Progress
Martin Pitt (pitti)
Changed in flash-kernel (Ubuntu):
milestone: ubuntu-12.04-beta-1 → ubuntu-12.04-beta-2
Oliver Grawert (ogra)
Changed in flash-kernel (Ubuntu):
status: In Progress → Fix Released
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.