Ubuntu

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

Reported by Vincent Stehlé on 2010-08-30
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Medium
Tobin Davis
Nominated for Precise by Tobin Davis
Maverick
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.

Vincent Stehlé (vstehle) wrote :
tags: added: maverick
Loïc Minier (lool) wrote :

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

affects: initramfs-tools (Ubuntu) → flash-kernel (Ubuntu)
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.

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 ...

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

Vincent Stehlé (vstehle) wrote :

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

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

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) on 2010-10-11
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) on 2012-02-24
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
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) on 2012-03-02
Changed in flash-kernel (Ubuntu):
milestone: ubuntu-12.04-beta-1 → ubuntu-12.04-beta-2
Oliver Grawert (ogra) on 2012-03-06
Changed in flash-kernel (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers