Linux 内核调试


文章目录


一、方法论

qemu 虚拟机
Linux内核学习

Linux 内核调试 一:概述
Linux 内核调试 二:ubuntu20.04安装qemu
Linux 内核调试 三:《QEMU ARM guest support》翻译
Linux 内核调试 四:qemu-system-arm功能选项整理
Linux 内核调试 五:qemu简单使用测试
Linux 内核调试 六:qemu-system-arm仿真vexpress-a9
Linux 内核调试 七:qemu网络配置
Linux 内核调试 八:qemu使用initramfs文件系统
Linux 内核调试 九:Linux 内核调试环境搭建
Linux 内核调试 十:搭建ARM GDB的调试环境

bash 复制代码
$ sudo ip tuntap add dev tap0 mode tap
$ sudo ip link set dev tap0 up
$ sudo ip address add dev tap0 192.168.2.128/24
$ ifconfig eth0 192.168.2.120 netmask 255.255.255.0

# tap 模式
./qemu-system-arm -M vexpress-a9 -m 512M -kernel zImage -append "rdinit=/linuxrc console=ttyAMA0 loglevel=8" -dtb vexpress-v2p-ca9.dtb -nographic -net nic -net tap,ifname=tap0,script=no,downscript=no

# user 模式
qemu-system-x86_64 -M pc -kernel bzImage -drive file=rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda console=tty1 console=ttyS0"  -net nic,model=virtio -net user -nographic

Linux 虚拟网络设备
qemu与宿主机网络通信配置

   

相关推荐
Yana.nice1 小时前
Weblogic日志体系
linux
阿拉斯攀登2 小时前
内核模块开发:module_init 与模块机制详解
linux·网络·嵌入式硬件·linux驱动
联盛新能源2 小时前
优得运维斩获中国户用和工商业光储充大会年度优秀运维案例奖
运维
进击切图仔2 小时前
基于千问的白盒蒸馏操作教学文档
服务器·人工智能·python
阿拉斯攀登2 小时前
字符设备驱动:file_operations 与读写实现
linux·嵌入式·linux驱动·字符设备驱动
阿拉斯攀登3 小时前
嵌入式 Linux 驱动概述:分类、内核模块、开发环境
linux·嵌入式硬件·linux内核·嵌入式·linux驱动
Raina测试4 小时前
Maestro实现IOSUI自动化
运维·自动化
不像程序员的程序媛11 小时前
系统cpu内存负载资源分析
运维·服务器·数据库
Uncertainty!!13 小时前
Ubuntu 22.04 安装超好用中文输入法rime-ice(雾凇拼音)过程记录
linux·ubuntu·中文输入法
ShineWinsu14 小时前
对于Linux:网络基础的解析
linux·网络·面试·udp·笔试·ip·tcp