Bug 2114858
| Summary: | Guest OS kernel crashes when isa-debugcon is enabled wIth OVMF | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Berrangé <berrange> | |
| Component: | edk2 | Assignee: | Gerd Hoffmann <kraxel> | |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 36 | CC: | berrange, crobinso, kraxel, pbonzini, philmd, vgoyal, virt-maint, xuwei | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2149251 (view as bug list) | Environment: | ||
| Last Closed: | 2023-05-25 17:22:52 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2149251 | |||
|
Description
Daniel Berrangé
2022-08-03 11:56:45 UTC
Bisected. The winner is "OvmfPkg: enable DEBUG_VERBOSE (RHEL only)" (aka patch12 in spec file).
The faulting address is 80b000 aka PcdOvmfWorkAreaBase.
So given this needs isa-debugcon to trigger I suspect the following is happening:
(1) linux kernel does a efi runtime call.
(2) ovmf wants log a debug message (enabled by the patch above).
(3) debugcon driver calls into iolib to send the characters.
(4) iolib checks WorkArea to figure whenever it can just use
io instructions or must call some tdx/sev helper function for io.
(5) WorkArea has no runtime mapping -> BOOM.
Fixed upstream meanwhile, the rebase to 2022-11 should pick up the fix (and allow us to re-enable the patch flipping DEBUG_VERBOSE). This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16. Fedora Linux 36 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed. |