Bug 2226681
| Summary: | kcore reading is broken on 6.5-rc3 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Baoquan He <bhe> |
| Component: | kernel | Assignee: | Baoquan He <bhe> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarodwilson, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, ruyang, steved |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-14 05:57:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Baoquan He
2023-07-26 08:13:35 UTC
As per people's comment, it's caused by: 2e1c0170771e fs/proc/kcore: avoid bounce buffer for ktext data This is still under investigation. Hi Baoquan, it is strange that the file format is elf64-x86-64, but the calltrace is arm64 architecture... (In reply to Dave Young from comment #2) > Hi Baoquan, it is strange that the file format is elf64-x86-64, but the > calltrace is arm64 architecture... I copied the report from upstream about objdump. Jiri Olsa reported he encountered the objdump execution failure, when I tested it, I met the corruption. I should only copy the command part. Please see below thread: https://lore.kernel.org/all/ZHc2fm+9daF6cgCE@krava/T/#u Ok, I Got it, so the bug description includes two different reports for same bug, one is from Jiri which is based on x86, the latter one is copied from another test on arm64. (In reply to Dave Young from comment #4) > Ok, I Got it, so the bug description includes two different reports for same > bug, one is from Jiri which is based on x86, the latter one is copied from > another test on arm64. Yes. Jiri said he only saw the objdump failure, kernel is not harmed. When I tried his command, the kernel is crashed directly. I forget why I didn't copy my own execution command. Now, Lorenzo has posted a patch to revert the handling of KCORE_TEXT part, seems people will accept this. I will test it to verify. [PATCH] fs/proc/kcore: reinstate bounce buffer for KCORE_TEXT regions https://lore.kernel.org/all/20230731215021.70911-1-lstoakes@gmail.com/T/#u Patch has been merged into linus's tree: 17457784004c fs/proc/kcore: reinstate bounce buffer for KCORE_TEXT regions So close this bug as the commit will take effect after ARK kernel synchronized with upstream kernel. |