Ticket #6245 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

system firmware update issue

Reported by: jg Owned by: wmb@…
Priority: blocker Milestone: Update.1
Component: ofw - open firmware Version:
Keywords: release? Cc: dgilmore, krstic
Action Needed: Verified: no
Deployments affected: Blocked By:
Blocking:

Description

In recent builds (e.g. build 690), the firmware has been put in the system image so the system will update the firmware the next time it boots.

Unfortunately, if your system is not plugged in, the upgrade will fail, and leave you in OFW (the systems here are unlocked), rather than at least running on the upgraded system image until the next time the system is booted on power.

What this means is that you can't easily deploy such a build widely, waiting for the next time the system happens to be on power for the firmware upgrade. So I expect we should only try to upgrade the firmware if we see we are on external power...

Change History

  Changed 6 years ago by cscott

  • cc krstic added

In general it is not safe to run a new build with old firmware.

We can either a) explicitly add code which gives a specific minimum firmware version to permit with this build, or b) automatically attempt to invoke alt-boot if you can't update the firmware.

Both of these are complicated and failure-prone, especially if you include the various security issues invoked. At the time we assumed that firmware releases would be infrequent and highly important. For update.1, that is indeed the case: we really need to get machines updated from q2d05/6 asap.

I personally vote for 'wontfix' here, although I'd like to see OFW display a much more friendly message when it requires a firmware update and doesn't have AC. Something in several languages, and which doesn't use the abbreviation "AC", since that seems to confuse some people.

follow-up: ↓ 3   Changed 6 years ago by gnu

This is a slight angle on #5422 (Pending firmware update apparently prevents boot until AC power is applied). Fixes are discussed there.

However, no laptops in the field have the fix, so the first time they are upgraded to new firmware >Q2D14, they will exhibit this "won't boot without AC power" problem.

in reply to: ↑ 2 ; follow-up: ↓ 5   Changed 6 years ago by rsmith

Replying to gnu:

This is a slight angle on #5422 (Pending firmware update apparently prevents boot until AC power is applied). Fixes are discussed there. However, no laptops in the field have the fix, so the first time they are upgraded to new firmware >Q2D14, they will exhibit this "won't boot without AC power" problem.

Yes but there is no fix for this. You have to have Ext power for the upgrade from q2d13. Are you just adding this as an FYI?

  Changed 6 years ago by rsmith

  • status changed from new to closed
  • resolution set to fixed

Fixed in q2d14

in reply to: ↑ 3   Changed 6 years ago by gnu

Replying to rsmith:

there is no fix for this. You have to have Ext power for the upgrade from q2d13. Are you just adding this as an FYI?

Yes. (And to link readers to the long history of the bug and its fix.)

  Changed 6 years ago by Blaketh

  • keywords release? added
Note: See TracTickets for help on using tickets.