[SRU] flash-kernel script fails when installing Linaro OMAP kernels

Bug #1023952 reported by David Cullen
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Medium
Oliver Grawert

Bug Description

I have a PandaBoard system created from the image at

    http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz

I added the Linaro kernel repository and installed the Linaro kernel
because I had problems with the Linaro Ubuntu image.

However, when I ran the "flash-kernel" script, I got the following
error message:

    Kernel /boot/vmlinuz-3.4.0-1-linaro-lt-omap does not match your subarchitecture
    omap4, therefore not writing it to flash.

I worked around the problem by making a minor change to the
"flash-kernel" script.

I compared the "flash-kernel" script in the Linaro-Ubuntu image to
the Ubuntu image and derived the attached patch.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: flash-kernel 2.28ubuntu42 [modified: usr/sbin/flash-kernel]
Uname: Linux 3.4.0-1-linaro-lt-omap armv7l
ApportVersion: 2.0.1-0ubuntu8
Architecture: armhf
Date: Thu Jul 12 11:33:32 2012
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: flash-kernel
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David Cullen (david-cullen) wrote :
description: updated
Revision history for this message
David Cullen (david-cullen) wrote :
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch flash-kernel script to work with Linaro kernels packages." of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Oliver Grawert (ogra)
Changed in flash-kernel (Ubuntu):
status: New → Triaged
Changed in flash-kernel (Ubuntu Precise):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Oliver Grawert (ogra)
Revision history for this message
Oliver Grawert (ogra) wrote : Re: flash-kernel script fails when installing Linaro OMAP kernels

will add this soon, can you please make sure everything is right for an SRU according to
https://wiki.ubuntu.com/StableReleaseUpdates
and that you have testers for the upload to precise-proposed ready who can do regression tests of the precise fix on all arches we support (well, at least omap and omap4 with all available kernel packages).

in quantal with the completely rewrittten flash-kernel this issue should not exist at all, omap and omap4 use the same functions there (even the same boot.scr). in case you see the issue there too, please file a separate bug since the quantal and precise versions differ massively.

Revision history for this message
David Cullen (david-cullen) wrote :

May I ask for some guidance here?

Should I post a request for help with testing to ubuntu-devel-discuss _and_ linaro-dev? Or just linaro-dev?

The only OMAP4 system I have here is a PandaBoard. I have an OMAP3 system, but it is currently only supported by Angstrom.

How many systems do I need to test to get enough coverage to meet the requirements for an SRU?

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

just getting the affected systems tested is enough, testing on a beagleXM and a panda should suffice, so if you could ask someone who uses ubuntu images on his XM to test the package and test it yourself on your panda thats sufficient

Revision history for this message
David Cullen (david-cullen) wrote :

Ok. I sent out a request for help testing on a BeagleBoard-xM. I will let you know when I get a response.

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

David, please could you test that the Quantal is not affected by this? Otherwise we're going to end up with a regression bug filed in the future.

Revision history for this message
David Cullen (david-cullen) wrote :

Is testing on Quantal Server sufficient? It's the only image available:

    http://cdimage.ubuntu.com/releases/12.10/alpha-2/quantal-preinstalled-server-armhf+omap4.img.gz

Revision history for this message
David Cullen (david-cullen) wrote :

Hello, Robie,

> David, please could you test that the Quantal is not affected by
> this? Otherwise we're going to end up with a regression bug filed
> in the future.

Quantal does not have this problem.

Revision history for this message
David Cullen (david-cullen) wrote :

Hello, Oliver,

> just getting the affected systems tested is enough, testing on a
> beagleXM and a panda should suffice, so if you could ask someone
> who uses ubuntu images on his XM to test the package and test it
> yourself on your panda thats sufficient

I have not gotten any response to my request for help testing on a BeagleBoard-xM. Do you know anyone with a BeableBoard-xM?

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

the following was uploaded to precise-proposed today, once an archive admin did let it in, please test, so it can migrate to precise-updates ...

flash-kernel (2.28ubuntu42.1) precise-proposed; urgency=low

  * fix handling of linaro kernels on omap4 (LP: #1023952), thanks to
    David Cullen <email address hidden> for the patch

summary: - flash-kernel script fails when installing Linaro OMAP kernels
+ [SRU] flash-kernel script fails when installing Linaro OMAP kernels
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted flash-kernel into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/flash-kernel/2.28ubuntu42.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in flash-kernel (Ubuntu Precise):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Chris Halse Rogers (raof) wrote :

From the comments above it seems like this is fixed in Quantal, but the bug task status still has that marked an “Triaged”. Can you please check if this is actually fixed in Quantal and set the bug status appropriately - the SRU will not be released to precise-updates before we're confident this won't regress in Quantal.

Revision history for this message
David Cullen (david-cullen) wrote :

Hello, Chris,

> From the comments above it seems like this is fixed in Quantal,
> but the bug task status still has that marked an “Triaged”.
> Can you please check if this is actually fixed in Quantal and
> set the bug status appropriately - the SRU will not be released
> to precise-updates before we're confident this won't regress in
> Quantal. See full activity log

To what should I set the bug status?

I loaded Quantal on my PandaBoard and verified that it does not have this problem.

Revision history for this message
David Cullen (david-cullen) wrote :

This is not a problem in Quantal. The flash-kernel script in Quantal has been verified to work on the PandaBoard.

Changed in flash-kernel (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
David Cullen (david-cullen) wrote :

I have verified that the fix to flash-kernel in precise-proposed works on the PandaBoard.

tags: added: verification-complete
removed: verification-needed
tags: added: verification-done
removed: verification-complete
Revision history for this message
Oliver Grawert (ogra) wrote :

this actually moved to precise-updates unnoticed since an upload of flash-kernel 2.28ubuntu42.2 omitted teh changelog entry so the bug did not get auto-closed, closing manually now.

Changed in flash-kernel (Ubuntu Precise):
status: Fix Committed → 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.