Skip to content

kernel panic on reboot after failed probe #3235

Closed

Description

@lyakh

I've seen this multiple times, when SOF fails to probe, e.g. because of an error in a development firmware version, when then rebooting the system, the kernel panics and the system has to be power-cycled. Observed on UP2 / APL.
panic

Activity

  1. added
    APLApplies to ApolloLake platform
    BootFirmware boot or code signing related.
    on Oct 25, 2021
  2. plbossart commented on Oct 25, 2021

    @plbossart
    Member

    @lyakh it seems the panic occurs during the shutdown, no?

  3. lyakh commented on Oct 26, 2021

    @lyakh
    CollaboratorAuthor

    @plbossart yes, that's what I meant by "on reboot" - a reboot attempt after a failed probe fails with this panic.

  4. ujfalusi commented on Jan 5, 2022

    @ujfalusi
    Collaborator

    @lyakh, do you know if this can be still reproduced? If I recall there were couple of fixes since then for HDA code.

  5. lyakh commented on Jan 6, 2022

    @lyakh
    CollaboratorAuthor

    @ujfalusi I think I've seen this last time relatively recently - in December or maybe in November, not sure what kernel version that was any more, sorry. But it should be relatively easy to verify too - just return a timeout when waiting for the firmware boot confirmation

  6. ujfalusi commented on Jan 7, 2022

    @ujfalusi
    Collaborator

    I would not close this as I recall seeing similar crash in the past, but to note that I'm not able to reproduce it on UP2 with sof-hda-generic-idisp.tplg, sof-apl-pcm512x.tplg or sof-apl-nocodec.tplg, up-Xtreme i11 with sof-hda-generic.tplg.

    I have simulated the boot failure in kernel and I have also made the firmware crash during it's boot.

  7. lyakh commented on Jun 30, 2022

    @lyakh
    CollaboratorAuthor

    @ujfalusi do we still need this open?

  8. ujfalusi commented on Jun 30, 2022

    @ujfalusi
    Collaborator

    let's close. I have fixed it quite a while ago. Thanks for the report @lyakh !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    APLApplies to ApolloLake platformBootFirmware boot or code signing related.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions