Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Kernel
- LUSTRE
- ubuntu
- nvidia
- AMD
- Source
- HPE
- patch
- PFSS
- 1.10
- gpfs
- HPCM
- Cray
- Docker
- hpcm패치
- Singularity
- java
- Linux
- CUDA
- build
- SLURM
- infiniband
- 1.9
- version
- GPU
- HPFSS
- rhel
- conda
- top500
- CPU
Archives
- Today
- Total
HPE CRAY 자료 공유
CentOS 7.9 Kernel AMD Milan Patch 본문
1. Patch 파일 준비
CentOS 7.9 Kernel에 적용할 patch 파일은 github에서 down 받습니다.
- URL : https://github.com/AMDEPYC/CENTOS-MILAN-SUPPORT-PATCHES
2. CentOS 7.9용 Kernel source 파일 준비
# wget https://vault.centos.org/centos/7/updates/Source/SPackages/kernel-3.10.0-1160.el7.src.rpm --no-check-certificate |
3. 의존 패키지 설치
# yum install asciidoc audit-libs-devel binutils-devel bison \ elfutils-devel flex hmaccalc java-devel module-init-tools ncurses-devel newt-devel \ pciutils-devel perl-ExtUtils-Embed pesign python-devel python-docutils \ redhat-rpm-config rpm-build sh-utils xmlto |
4. Kernel patch 적용 및 빌드
※ 이하 진행은 root 계정이 아닌 일반 계정으로 진행 합니다.
$ unzip /data/test/kernel/CENTOS-MILAN-SUPPORT-PATCHES-main.zip $ rpm -i /data/test/kernel-3.10.0-1160.el7.src.rpm $ cd /home1/hpeadm/rpmbuild/SPECS $ rpmbuild -bp --target=$(uname -m) kernel.spec $ cd /home1/hpeadm/rpmbuild/SOURCES $ cp ~/CENTOS-MILAN-SUPPORT-PATCHES-main/CentOS-7.9__linux-3.10.0-1160.el7-milan-patches/000* . $ cd /home1/hpeadm/rpmbuild/SPECS $ cp kernel.spec kernel.spec_org $ vi kernel.spec - - - 수정 내용 참고 - - - $ rpmbuild -ba --target=$(uname -m) kernel.spec |
[ 수정 내용 ]
- Patch 항목과 ApplyOptionalPatch 항목에 patch 내용을 추가 합니다.
Patch4001: 0001-edac-mce-milan.patch Patch4002: 0002-milan-support.patch Patch4003: 0003-events-milan.patch Patch4004: 0004-kernel-milan.patch Patch4005: 0005-support-milan.patch Patch4006: 0006-kvm-milan.patch ApplyOptionalPatch 0001-edac-mce-milan.patch ApplyOptionalPatch 0002-milan-support.patch ApplyOptionalPatch 0003-events-milan.patch ApplyOptionalPatch 0004-kernel-milan.patch ApplyOptionalPatch 0005-support-milan.patch ApplyOptionalPatch 0006-kvm-milan.patch |
5. 생성된 파일 확인
※ rpmbuild가 끝나면 /home1/hpeadm/rpmbuild/RPMS/x86_64 경로에 rpm 파일들이 생성 됩니다.
$ ls -l /home1/hpeadm/rpmbuild/RPMS/x86_64/ total 1218593 -rw-rw-r-- 1 hpeadm hpeadm 8863828 Dec 11 18:01 bpftool-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 8444952 Dec 11 18:01 bpftool-debuginfo-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 52719432 Dec 11 18:00 kernel-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 55109468 Dec 11 18:04 kernel-debug-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 475902700 Dec 11 18:06 kernel-debug-debuginfo-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 18861892 Dec 11 18:04 kernel-debug-devel-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 462561428 Dec 11 18:04 kernel-debuginfo-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 63819424 Dec 11 18:01 kernel-debuginfo-common-x86_64-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 18789624 Dec 11 18:01 kernel-devel-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 9448232 Dec 11 18:00 kernel-headers-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 8513808 Dec 11 18:01 kernel-tools-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 8475952 Dec 11 18:01 kernel-tools-debuginfo-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 8404440 Dec 11 18:01 kernel-tools-libs-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 8400756 Dec 11 18:01 kernel-tools-libs-devel-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 10123172 Dec 11 18:01 perf-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 11889172 Dec 11 18:01 perf-debuginfo-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 8502464 Dec 11 18:01 python-perf-3.10.0-1160.el7.x86_64.rpm -rw-rw-r-- 1 hpeadm hpeadm 8754436 Dec 11 18:01 python-perf-debuginfo-3.10.0-1160.el7.x86_64.rpm |
'Applications > BUILDS' 카테고리의 다른 글
[LAPACK] lapack-3.11 source build (0) | 2024.02.23 |
---|---|
[OpenMPI] 설치 옵션 정리 (0) | 2022.02.08 |
singularity-3.8.5 (0) | 2021.12.20 |
docker 20.10.8 install (0) | 2021.08.09 |
openfoam-v2006 install (0) | 2021.08.06 |