Skip to content

[BUG] empty kernel logs on MAX_WAIT_FW_LOADING failures #1112

@marc-hb

Description

@marc-hb

Describe the bug

#1059 added the ability to wait for the firmware to be loaded, which solved a number of issues, including some i915 timeout issues.

However sof-test does not collect kernel logs when this fails. This is very problematic because the only way to know why the firmware is not loaded is to look at kernel logs.

To Reproduce

  • sudo rm -rf sof-tests/logs/* # do not delete the logs/ directory itself
  • sof-test/tools/kmod/sof_remove.sh
  • Run any test.
  • wc -l logs///dmesg.txt

=> dmesg.txt is empty

Expected behavior

Kernel logs are collected.

Detail Info

  1. Branch name and commit hash of the 3 repositories: sof (firmware/topology), linux (kernel driver) and sof-test (test case)
    • Kernel: any
    • SOF: any
    • SOF-TEST: e3d7664
  2. Test report ID (if you find it from test report)
  3. Test DUT Model (or a brief discribtion about the device)
    • MODEL: any
  4. Test TPLG
    • TPLG: any
  5. Test case (what test script and how you run it)
    • TESTCASE: any

cc:

Metadata

Metadata

Assignees

Labels

P0 urgentCall for attention for urgent issuesP1Blocker bugs or important featurestype:bugSomething doesn't work as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions