← Documents Documentation/ABI/testing/sysfs-kernel-vmcoreinfo GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

vmcoreinfo ELF note sysfs ABI

Crash dump의 두 번째 kernel이 vmcoreinfo ELF note를 찾을 수 있도록 physical address와 size를 노출하는 sysfs ABI입니다.

Source pathDocumentation/ABI/testing/sysfs-kernel-vmcoreinfo
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Crash kernel이 해석할 ELF note 위치

sysfs-kernel-vmcoreinfo:1-14

Kernel crash dump에서 필요한 구조체 크기와 symbol 값을 복구할 수 있도록 vmcoreinfo note의 물리 주소와 크기를 연결합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/kernel/vmcoreinfo
2 Date: October 2007
3 KernelVersion: 2.6.24
4 Contact: Ken'ichi Ohmichi <[email protected]>
5 Kexec Mailing List <[email protected]>
6 Vivek Goyal <[email protected]>
7 Description:
8 Shows physical address and size of vmcoreinfo ELF note.
9 First value contains physical address of note in hex and
10 second value contains the size of note in hex. This ELF
11 note info is parsed by second kernel and exported to user
12 space as part of ELF note in /proc/vmcore file. This note
13 contains various information like struct size, symbol
14 values, page size etc.
15

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

vmcoreinfo ELF note sysfs ABI: vmcoreinfo

1-14
항목한국어 전문 번역
What/sys/kernel/vmcoreinfo
Date2007년 10월
KernelVersion2.6.24
ContactKen'ichi Ohmichi <[email protected]> Kexec Mailing List <[email protected]> Vivek Goyal <[email protected]>
Description`/sys/kernel/vmcoreinfo`는 vmcoreinfo ELF note의 physical address와 size를 표시합니다. 첫 번째 hexadecimal value는 note의 physical address이고 두 번째 hexadecimal value는 note의 size입니다. 두 번째 kernel은 이 정보를 parsing해 `/proc/vmcore` file의 ELF note 일부로 userspace에 export합니다. 이 note에는 struct size, symbol values, page size 등의 정보가 들어 있습니다.
vmcoreinfo export path
Physical address + size in sysfsSecond kernel parses vmcoreinfo note/proc/vmcore ELF noteUserspace crash analysis

첫 번째 kernel이 남긴 note 위치를 두 번째 kernel이 해석해 vmcore ELF note로 전달합니다.