woodsmen의 블로그

woodsmen의 이미지

dmesg ( boot message analysis )

http://blog.naver.com/orion_203 에서 펌..

이 글의 바탕이 되는 커널 버전은 2.6.7이며 시스템은 펜티엄 셀러론 2.4Ghz, 512RAM이다.
참고로, 부팅메시지는 커널 컴파일과 구성된 하드웨어에 따라서 다르게 출력된다는 것을 명심하라.

-- boot message confirm

#dmesg | less

리눅스는 부팅하는 순간에 syslogd를 구동하여 부팅 메시지를 저장한다. 저장되는 파일의 경로는 /var/log/dmesg 혹은 /var/log/messages파일도 기록이 된다.

BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

woodsmen의 이미지

MSR ( Model Specific Register )

Model Specific Register Many CPU manufacturers include undocumented registers on their processors.
Because these registers are model specific, they can be used to help identify the model of the processor installed on a given machine.
The Intel instructions to read and write to MSRs are RDMSR and WRMSR respectively. These instructions allow access to the MSR specified in the ECX register

참고
http://x86.ddj.com/articles/p5msr/pentiummsrs.htm

woodsmen의 이미지

ACPI ( Advanced Configuration and Power Interface )

ACPI는 Advanced Configuration and Power Interface의 줄임말로써 인텔, 마이크로 소프트, 도시바가 주축이 되어 만든 전원 관리 규격입니다. 하드웨어 업체와 소프트웨어 업체가 같이 참여한 것을 보아도 하드웨어와 소프트웨어 전반에 걸친 규격이라는 것을 알 수 있습니다.

도스 시절에는 바이오스 레벨에서만 ACPI를 지원하는 방식이었지만 요즘은 운영체제에서 관리를 하는 비중이 더 높습니다. 즉 바이오스와 운영체제 모두가 ACPI를 지원해야만 제대로 된 ACPI를 이용한 전원관리가 가능하다는 것이지요.

woodsmen의 이미지

kernel 2.6.15(x86_64) add new system call

관련 문서를 찾지 못해.. 삽질을 하다..
결국 성공한 system call(cache control) 추가..
x86-64 system!!

착오가 있었음.
기존에 있던 system call 제거없이 새로운 시스템 콜을
마지막 다음 번호에 추가 할 수 있음

MAX_SYSCALL을 수정해줘야 함

Adding cache control's system call
1. usr/src/linux/include/asm-x86_64/unistd.h 수정
제거된 부분

RSS - woodsmen의 블로그 구독하기