摘要:
参考 关于PAGE_DEBUG_PAGEALLOC一些说明
阅读全文
posted @ 2022-08-24 23:34
dolinux
阅读(180)
推荐(0)
摘要:
参考 BIOS专栏 ACPI基础 ARM QEMU上的ACPI表 B站 UEFI专栏视频 Tianocore tianocore Tianocore_Training_Contents 编译 Ubuntu20.04 安装gcc-5的方法 https://chuna2.787528.xyz/pengdon
阅读全文
posted @ 2022-08-24 09:50
dolinux
阅读(235)
推荐(0)
摘要:
UEFI的规范 The AML Debugger https://github.com/acpica/acpica ACPICA DOCUMENTATION 如何在linux中获取ACPI表 参考书籍:《计算机系统核心开发 高级配置与电源管理最佳实践》 内核文档:Documentation/firm
阅读全文
posted @ 2022-08-23 14:14
dolinux
阅读(341)
推荐(0)
摘要:
参考 内核引导过程 内核初始化流程
阅读全文
posted @ 2022-08-19 20:41
dolinux
阅读(95)
推荐(0)
摘要:
参考 https://blog.csdn.net/qq_41988448/article/details/122836299 https://github.com/zzhouhe/VT_Learn https://github.com/LordNoteworthy/cpu-internals 大图
阅读全文
posted @ 2022-08-19 10:32
dolinux
阅读(51)
推荐(0)
摘要:
文档 https://developer.amd.com/resources/developer-guides-manuals/
阅读全文
posted @ 2022-08-14 22:37
dolinux
阅读(81)
推荐(0)
摘要:
指令集解析 Assembler and Disassembler x86/64 x86处理器零碎知识 x64内核研究 X86汇编语言:实模式到保护模式 X64架构汇编语言和操作系统基础 x86_64汇编基础:Basics ABI x86_64 i386 Intel处理器 Intel处理器技术 AMD
阅读全文
posted @ 2022-08-14 21:26
dolinux
阅读(222)
推荐(0)
摘要:
[TOC] # 硬件虚拟化 - [硬件虚拟化在不同平台的实现:X86、ARM 和 RISC-V - 王老师](https://www.bilibili.com/video/BV1Zs4y1L7KZ/?share_source=copy_web&t=0 "硬件虚拟化在不同平台的实现:X86、ARM 和
阅读全文
posted @ 2022-08-14 21:23
dolinux
阅读(200)
推荐(0)
摘要:
Markdown 统计主机内存使用.md PDF 统计主机内存使用.pdf
阅读全文
posted @ 2022-08-14 16:01
dolinux
阅读(112)
推荐(0)
摘要:
参考 https://gitlab.com/procps-ng/procps 问题 在使用free命令时发现,free命令输出的buff/cache跟从/proc/meminfo里看到的并不相同,这是为什么呢? free命令的输出 root@ubuntu-vm:~# free total used
阅读全文
posted @ 2022-08-09 22:08
dolinux
阅读(1038)
推荐(0)
摘要:
参考 https://docs.kernel.org/core-api/wrappers/atomic_t.html 说明 下面注释里说的自增和自减表示的是在原子变量旧值的基础上 这里列举的原子操作是以32位为例的,如果是64位,那么把前缀atomic替换成atomic64即可 数据类型 原型 说明
阅读全文
posted @ 2022-08-09 15:33
dolinux
阅读(2539)
推荐(1)
摘要:
技术博客 Hello 算法 二叉树 二叉树的前中后序遍历
阅读全文
posted @ 2022-08-04 18:32
dolinux
阅读(77)
推荐(0)
摘要:
云计算 https://space.bilibili.com/14871346 极术社区:Arm服务器专栏 RAS 内存 edac-utils APEI Error INJection 服务器知识 硬件 光纤网卡、HBA卡和RAID卡的区别 记录:FC-SAN与IP-SAN比较 光纤网卡和服务器HB
阅读全文
posted @ 2022-07-31 19:40
dolinux
阅读(177)
推荐(0)
摘要:
论文 Storage Systems topics and related papers Storage System and File System Courses Linux I/O栈 Linux内核的I/O栈大图 知乎Linux I/O专栏1 Linux 块设备之Block Layer层架构演
阅读全文
posted @ 2022-07-27 16:44
dolinux
阅读(878)
推荐(0)
摘要:
参考 最牛B的Linux Shell命令 杂项 ssh免密登录 ssh-copy-id remote-machine 比如 ssh-copy-id pengdl@localhost -p 8765 这个命令把当前用户的公钥串写入到远程主机的~/.ssh/authorized_keys内,这样下次使用
阅读全文
posted @ 2022-07-12 14:45
dolinux
阅读(168)
推荐(0)
摘要:
技术博客 https://blog.csdn.net/dog250 Linux操作系统学习笔记(二十二)网络通信之发包 Linux操作系统学习笔记(二十三)网络通信之收包 理解 Linux 网络栈(1):Linux 网络协议栈简单总结 Linux内核网络中数据报在协议层的处理 LINUX网络子系统中
阅读全文
posted @ 2022-06-30 17:47
dolinux
阅读(380)
推荐(0)
摘要:
参考 https://zhuanlan.zhihu.com/p/96001673 插件 ELF.bt 用来分析ELF文件,用起来感觉像wireshark,可以高亮源文件中正常查看的字段。 安装方法:Templates → Template Repository 也可以不用搜索,在左边一栏可以看到当前
阅读全文
posted @ 2022-06-20 15:22
dolinux
阅读(339)
推荐(0)
摘要:
工具 sg_utils Storage and SCSI tools https://github.com/hreinecke/sg3_utils https://sg.danny.cz/scsi/lsscsi.html 调试节点 /proc/scsi /sys/class/scsi_host /s
阅读全文
posted @ 2022-06-16 21:03
dolinux
阅读(124)
推荐(0)
摘要:
参考 https://blog.csdn.net/rikeyone/category_10354155.html Linux内核故障分类和排查 Linux内核中oops 错误解析以及问题定位 panic和oops的区别 内核问题分析文章 Linux中的错误码 Remote Serial Consol
阅读全文
posted @ 2022-06-12 09:24
dolinux
阅读(797)
推荐(0)
摘要:
参考 Linux mem 2.8 Kfence 详解 Linux 内核调测中最最让开发者头疼的 bug 有解了 让人头疼的“内核内存被改”和“内存泄露”怎么解? 内核内存错误检测工具KFENCE 作者
[email protected] 内核版本 linux-5.14 实现分析 Kfenc
阅读全文
posted @ 2022-06-04 22:02
dolinux
阅读(946)
推荐(1)
摘要:
参考:https://crash-utility.github.io/help_pages/mod.html 用法: 加载指定内核模块的符号 mod -s <模块名字> <模块的ko文件路径> 如果没有传递文件路径,那么会在/lib/modules/中搜索 如果想强制指定内核模块的搜索路径,并且加载
阅读全文
posted @ 2022-05-31 22:13
dolinux
阅读(1114)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/sym.html 用法: 查看系统中所有的全局符号及其地址 sym -l 对于percpu类型的,那么显示的时偏移量,可以使用 p <offset or sym>:0,2-3 查看系统中所有内核模块中的符号
阅读全文
posted @ 2022-05-31 21:52
dolinux
阅读(363)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/waitq.html 用法: 查看等待队列中被阻塞的进程 waitq <等待队列地址> 这里的等待队列的数据类型是 wait_queue_head 等待队列地址的表达方式有三种: wait_queue_hea
阅读全文
posted @ 2022-05-31 21:23
dolinux
阅读(188)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/wr.html 用法: 需要具备对/dev/mem设备节点的写权限。 写某个地址,默认数据类型为long wr <内核地址 或 符号> <数值> 如果是用户地址,那么用wr -u 如果是内核地址,可以使用wr
阅读全文
posted @ 2022-05-31 20:44
dolinux
阅读(234)
推荐(0)
摘要:
参考: https://crash-utility.github.io/help_pages/rd.html 用法: 读取内核虚地址地址或者内核符号的值,默认16进制显示,类型为unsigned long,并且会将值对应的ascii码显示出来 rd <内核地址> 或 rd <内核符号> 如果不需要将
阅读全文
posted @ 2022-05-31 20:17
dolinux
阅读(1424)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/whatis.html 用法: 查看内核内核符号或者数据类型的详细定义 whatis <数据类型> 或 whatis <内核符号> 查看内核数据类型内部成员的偏移 whatis -o <数据类型> 列出内核里
阅读全文
posted @ 2022-05-29 10:55
dolinux
阅读(198)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/foreach.html 用法: 在所有的进程上执行命令 这里的命令支持如下: | 命令 | 可选参数 | 用途 | | : : | : : | : : | | bt | -r -t -l -e -R -f
阅读全文
posted @ 2022-05-29 09:58
dolinux
阅读(636)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/p.html 用法: 查看内核中的一些全局符号的内容 p <符号名> 如果要查看的符号是一个percpu类型的,那么会显示这个percpu变量在每个cpu上的地址,如果想要查看在具体某个cpu上这个percp
阅读全文
posted @ 2022-05-29 09:50
dolinux
阅读(411)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/ascii.html 用法: 将一串16进制数转换为对应的ascii码: ascii <value>
阅读全文
posted @ 2022-05-29 00:02
dolinux
阅读(120)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/mount.html 用法: 查看当前被mount的文件系统信息,如mount结构体、超级块、文件系统类型、设备节点以及挂载目录 mount
阅读全文
posted @ 2022-05-28 23:58
dolinux
阅读(139)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/irq.html 用法: 查看系统所有中断的使用信息,如虚拟中断号,中断的irq_desc,注册的irqaction以及名字 irq 查看实际使用的中断的信息,去除哪些没有被申请的虚拟中断号 irq -u 查
阅读全文
posted @ 2022-05-28 23:49
dolinux
阅读(607)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/log.html 用法: 显示内核dmesg信息 log 显示内核demsg信息,将时间显示为人可读的形式,如:[Fri May 27 17:36:11 PDT 2022] log -T 显示的内核log中去
阅读全文
posted @ 2022-05-28 23:39
dolinux
阅读(143)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/dev.html 用法: 显示设备节点对应内核地址、操作函数 dev 显示IO端口的使用信息 dev -i 显示PCI设备数据 dev -p 显示磁盘IO统计信息 dev -d
阅读全文
posted @ 2022-05-28 23:25
dolinux
阅读(233)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/repeat.html 用法: 周期性执行某个命令 repeat -seconds cmd 比如: repeat -1 p jiffies : 一秒执行一次p jiffies
阅读全文
posted @ 2022-05-28 23:18
dolinux
阅读(121)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/mach.html 用法: 显示机器信息,如cpu型号,内存大小,cpu个数,处理器频率,页大小,HZ以及内核地址空间布局 mach 显示cpuinfo结构内容,每个cpu都有一个,包含了cpu的硬件信息 m
阅读全文
posted @ 2022-05-28 23:13
dolinux
阅读(144)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/swap.html 用法: 显示交换设备的信息 swap
阅读全文
posted @ 2022-05-28 23:07
dolinux
阅读(102)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/fuser.html 用法: 查看一个文件正在被哪些进程使用,这里的文件可以是路径名,也可以是文件的inode地址 显示的信息中包含进程的pid,进程的task_struct地址,进程的名字以及使用方式 fu
阅读全文
posted @ 2022-05-28 22:57
dolinux
阅读(144)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/pte.html 用法: 翻译pte页表项 如果页表映射到物理内存,那么会显示对应的物理地址以及页表项的状态 如果是交换表项,那么会显示对应的swap设备以及偏移量 pte <pte页表项的值>
阅读全文
posted @ 2022-05-28 22:54
dolinux
阅读(207)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/ptob.html 用法: 将page物理页帧号转换为物理地址,即页帧号*页大小 ptob <页帧号> 将物理地址转换为页帧号,实际是地址除以页大小 btop <地址>
阅读全文
posted @ 2022-05-28 22:47
dolinux
阅读(223)
推荐(0)
摘要:
参考:https://crash-utility.github.io/help_pages/vtop.html 用法: 将内核虚拟地址转换为物理地址 vtop -k <address> 将用户虚拟地址转换为物理地址 转换过程会采用类似MMU,通过查询页表来进行转换,转换过程会显示出来 对于用户虚拟地
阅读全文
posted @ 2022-05-28 22:40
dolinux
阅读(625)
推荐(0)