Bug 309081
| Summary: | i386 compressed diskdump header contains incorrect panic cpu | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Dave Anderson <anderson> | ||||
| Component: | kernel | Assignee: | Dave Anderson <anderson> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.5 | CC: | jbaron, ktokunag, lwang, tindoh, vgoyal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHSA-2008-0665 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-07-24 19:17:22 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: | |||||||
| Bug Blocks: | 430698 | ||||||
| Attachments: |
|
||||||
|
Description
Dave Anderson
2007-09-27 14:11:39 UTC
Created attachment 214961 [details]
Patch to store cpu in diskdump stack's thread_info
Attached patch tested by forcing a crash on a cpu other than cpu 0,
and verified with the crash utility:
# crash vmlinux vmcore
...
crash> bt
PID: 6830 TASK: f72a23b0 CPU: 3 COMMAND: "sh"
#0 [f7006dd4] disk_dump at f8c771a8
#1 [f7006dd8] printk at c01228eb
#2 [f7006de4] freeze_other_cpus at f8c76ef5
#3 [f7006df4] start_disk_dump at f8c76fa0
#4 [f7006e04] try_crashdump at c0134b1e
#5 [f7006e0c] die at c0106045
#6 [f7006e40] do_page_fault at c011b260
#7 [f7006f20] error_code (via page_fault) at c02d8f05
EAX: f7006000 EBX: c0343674 ECX: 00000000 EDX: 00000000 EBP: 00000000
DS: 007b ESI: 00000063 ES: 007b EDI: 00000000
CS: 0060 EIP: c020ff55 ERR: ffffffff EFLAGS: 00010206
#8 [f7006f5c] sysrq_handle_crash at c020ff55
#9 [f7006f60] __handle_sysrq at c02100e1
#10 [f7006f80] write_sysrq_trigger at c018d127
#11 [f7006f88] vfs_write at c015bbb4
#12 [f7006fa4] sys_write at c015bc7c
#13 [f7006fc0] system_call at c02d8408
EAX: 00000004 EBX: 00000001 ECX: b7ce7000 EDX: 00000002
DS: 007b ESI: 00000002 ES: 007b EDI: b7ce7000
SS: 007b ESP: bfe18cf0 EBP: bfe18d10
CS: 0073 EIP: 005047a2 ERR: 00000004 EFLAGS: 00000246
crash>
And as verified by the contents of the diskdump header:
crash> help -n
...
current_cpu: 3
nr_cpus: 4
tasks[nr_cpus]: f72a3430
f6f4c870
f72ec3f0
f72a23b0
...
crash>
Patch posted to RHKL: http://post-office.corp.redhat.com/archives/rhkernel-list/2007-December/msg00117.html This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. committed in stream U7 build 68.4. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/ 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-2008-0665.html |