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

Linux 6.18.37 · ABI / testing

Kernel reboot behavior sysfs ABI

`reboot=` command-line option과 같은 kernel reboot behavior를 runtime에 설정하는 mode, type, CPU, force와 hardware-protection controls를 설명합니다.

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

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

1. 요약·해설

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

Runtime reboot policy

sysfs-kernel-reboot:1-8

`reboot=` boot option과 유사한 reboot behavior를 runtime sysfs interface로 설정합니다.

Mode, type and reboot CPU

sysfs-kernel-reboot:9-26

Reset mode, platform reboot mechanism과 reboot를 실행할 CPU를 각각 선택합니다.

Forced and protection-triggered actions

sysfs-kernel-reboot:27-40

다른 CPU나 hang 가능한 작업을 기다리지 않는 force policy와 critical hardware event의 reboot 또는 shutdown action을 정의합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/kernel/reboot
2 Date: November 2020
3 KernelVersion: 5.11
4 Contact: Matteo Croce <[email protected]>
5 Description: Interface to set the kernel reboot behavior, similarly to
6 what can be done via the reboot= cmdline option.
7 (see Documentation/admin-guide/kernel-parameters.txt)
8
9 What: /sys/kernel/reboot/mode
10 Date: November 2020
11 KernelVersion: 5.11
12 Contact: Matteo Croce <[email protected]>
13 Description: Reboot mode. Valid values are: cold warm hard soft gpio
14
15 What: /sys/kernel/reboot/type
16 Date: November 2020
17 KernelVersion: 5.11
18 Contact: Matteo Croce <[email protected]>
19 Description: Reboot type. Valid values are: bios acpi kbd triple efi pci
20
21 What: /sys/kernel/reboot/cpu
22 Date: November 2020
23 KernelVersion: 5.11
24 Contact: Matteo Croce <[email protected]>
25 Description: CPU number to use to reboot.
26
27 What: /sys/kernel/reboot/force
28 Date: November 2020
29 KernelVersion: 5.11
30 Contact: Matteo Croce <[email protected]>
31 Description: Don't wait for any other CPUs on reboot and
32 avoid anything that could hang.
33
34 What: /sys/kernel/reboot/hw_protection
35 Date: April 2025
36 KernelVersion: 6.15
37 Contact: Ahmad Fatoum <[email protected]>
38 Description: Hardware protection action taken on critical events like
39 overtemperature or imminent voltage loss.
40 Valid values are: reboot shutdown
41

3. 한국어 전문 번역

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

Kernel reboot

1-8
항목한국어 전문 번역
What/sys/kernel/reboot
Date2020년 11월
KernelVersion5.11
ContactMatteo Croce <[email protected]>
Description`reboot=` command-line option으로 할 수 있는 것과 비슷하게 kernel reboot behavior를 설정하는 interface입니다. `Documentation/admin-guide/kernel-parameters.txt`를 참조합니다.
Kernel reboot controls
ControlPurpose
modeReboot mode
typePlatform reboot mechanism
cpuCPU used to reboot
forceSkip waiting and potentially hanging work
hw_protectionCritical-event protection action

Runtime sysfs controls가 reboot mechanism과 execution policy를 나눠 설정합니다.

Kernel mode

9-14
항목한국어 전문 번역
What/sys/kernel/reboot/mode
Date2020년 11월
KernelVersion5.11
ContactMatteo Croce <[email protected]>
DescriptionReboot mode입니다. Valid values는 `cold`, `warm`, `hard`, `soft`, `gpio`입니다.
Reboot mode values
coldwarmhardsoftgpio
coldwarmhardsoftgpio

Reboot의 reset 강도 또는 경로를 선택합니다.

Kernel type

15-20
항목한국어 전문 번역
What/sys/kernel/reboot/type
Date2020년 11월
KernelVersion5.11
ContactMatteo Croce <[email protected]>
DescriptionReboot type입니다. Valid values는 `bios`, `acpi`, `kbd`, `triple`, `efi`, `pci`입니다.
Reboot type values
biosacpikbdtripleefipci
biosacpikbdtripleefipci

Platform에서 사용할 reboot mechanism을 선택합니다.

Kernel cpu

21-26
항목한국어 전문 번역
What/sys/kernel/reboot/cpu
Date2020년 11월
KernelVersion5.11
ContactMatteo Croce <[email protected]>
DescriptionReboot에 사용할 CPU number입니다.

Kernel force

27-33
항목한국어 전문 번역
What/sys/kernel/reboot/force
Date2020년 11월
KernelVersion5.11
ContactMatteo Croce <[email protected]>
DescriptionReboot 시 다른 CPUs를 기다리지 않고, hang할 수 있는 모든 동작을 피합니다.

Kernel hw protection

34-40
항목한국어 전문 번역
What/sys/kernel/reboot/hw_protection
Date2025년 4월
KernelVersion6.15
ContactAhmad Fatoum <[email protected]>
DescriptionOvertemperature 또는 imminent voltage loss 같은 critical events에서 취할 hardware protection action입니다. Valid values는 `reboot`, `shutdown`입니다.
Hardware-protection actions
ValueAction
rebootRestart the system
shutdownPower down the system

Critical thermal 또는 voltage event가 발생했을 때의 system action입니다.