Linux内核源代码架构分析
Stage 2
Getting Started with the Kernel.
Objectives
1. Obtaining the kernel source
2. Linux source tree
3. Building the kernel
4. Different nature
- 制作补丁和打补丁
- 在虚拟机上安装自己编译的内核
- 虚拟机上安装驱动模块
- lsmod | grep
- insmod - 查看内核信息,模块安装会打印信息
- dmesg | less
- vim /var/log/messages
- dmesg -c