Bug 528139
| Summary: | FTRACE: check for failure for all conversions, tracing: correct module boundaries for ftrace_release | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | John Kacur <jkacur> | ||||||
| Component: | realtime-kernel | Assignee: | Luis Claudio R. Goncalves <lgoncalv> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | David Sommerseth <davids> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 1.1.7 | CC: | bhu, lgoncalv, ovasik, srostedt, williams | ||||||
| Target Milestone: | 1.1.9 | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | 528136 | Environment: | |||||||
| Last Closed: | 2009-11-03 18:22:07 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: | |||||||||
| Bug Depends On: | 528136 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
John Kacur
2009-10-09 10:43:56 UTC
Seems this code is really broken for 2.6.24-rt. Doing the following will hang the box: # cd /debug/tracing # echo ftrace > current_tracer # rmmod e1000e (or any module) # echo none > current_tracer Then the system locks up hard in stop_machine. Looking into it. Created attachment 365638 [details]
check for failures on all modifications
Looking at the old 2.6.24-rt kernel, the same code is slightly buggy. This patch adds a check on all modifications to the kernel text. It will disable the function tracer if it ever detects an issue.
Created attachment 365639 [details]
Actually skip freed records
The module release code correctly freeded the records (unlike the bug in 2.6.31). The bug here is that that modification code ignored the free flag and processed them anyway!
Patches added to kernel -135 patch queue Verified by code review against kernel-rt-2.6.24.7-136. Attach patches found as bz528139-001-ftrace-check-for-failure-for-all-conversions.patch and bz528139-002-tracing-correct-module-boundaries-for-ftrace_release.patch. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-1540.html |