요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
.. SPDX-License-Identifier: GPL-2.0
3
Error decoding
4
==============
6
x86
7
---
9
Error decoding on AMD systems should be done using the rasdaemon tool:
10
https://github.com/mchehab/rasdaemon/
12
While the daemon is running, it would automatically log and decode
13
errors. If not, one can still decode such errors by supplying the
14
hardware information from the error::
16
$ rasdaemon -p --status <STATUS> --ipid <IPID> --smca
18
Also, the user can pass particular family and model to decode the error
19
string::
21
$ rasdaemon -p --status <STATUS> --ipid <IPID> --smca --family <CPU Family> --model <CPU Model> --bank <BANK_NUM>
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
AMD x86 error decoding
1-21이 `GPL-2.0` 문서는 x86 error decoding을 설명합니다. AMD system의 error는 `rasdaemon` tool을 사용해 decode해야 하며 project는 `https://github.com/mchehab/rasdaemon/`에서 제공합니다.
Daemon이 실행 중이면 error를 자동으로 log하고 decode합니다. 실행 중이 아니어도 error가 제공한 hardware information을 전달해 다음처럼 decode할 수 있습니다.
$ rasdaemon -p --status <STATUS> --ipid <IPID> --smca
특정 CPU family와 model, bank number를 함께 지정해 error string을 더 구체적으로 decode할 수도 있습니다.
$ rasdaemon -p --status <STATUS> --ipid <IPID> --smca --family <CPU Family> --model <CPU Model> --bank <BANK_NUM>
요약과 해설
error-decoding.rst:1-21`rasdaemon`이 실행 중이면 error 수집과 해석이 자동화됩니다. 사후 분석에서는 STATUS와 IPID가 기본이고, 필요하면 CPU family·model·bank를 추가해 같은 SMCA error를 해석합니다.