排序:
默认
按更新时间
按访问量

An interesting vmcore crash analysis

This vmcore analysis is interesting since it is not only based on vmcore, but also the source code and x86_64 registers. And we also need Assembly l...

2018-09-14 15:20:17

阅读数:15

评论数:0

crash analysis of "BUG: unable to handle kernel NULL pointer dereference"

1. crash vmlinux vmcore 2. mod -S all_ko_files_directory 3. dmesg [   40.793066] BUG: unable to handle kernel NULL pointer dereference at 00000000000...

2018-09-12 17:00:12

阅读数:14

评论数:0

crash live debug linux kernel

1. install kernel debuginfo rpm file 2. crash /usr/lib/debug/lib/modules/4.1.12-94.7.8.el6uek.x86_64/vmlinux /proc/kcore 3. mod -S /usr/lib/debug/lib...

2018-08-31 14:11:40

阅读数:16

评论数:0

crash live debug

1. make binrpm-pkg 2. rpm -hiv kernel-xxx.rpm 3. cp vmlinux to host 4. crash vmlinux /proc/kcore 5. mod -s rxe_rdma crash> mod -s rdma_rxe...

2018-08-30 11:03:50

阅读数:9

评论数:0

build rxe_cfg on OL75 based on 4.14.35-1830

1. yum install gcc gcc-c++ bc openssl-devel automake ncurses-devel libibverbs -y  yum install libibverbs-devel libibverbs-utils librdmacm librdmacm-d...

2018-07-30 10:17:59

阅读数:27

评论数:0

create XEN vm in OVM

Configuring 8 VFs on a single port NIC while all VFs are probed In /etc/modprobe/mlx4.conf edit the following: options mlx4_core port_type_array=1 ...

2018-07-20 14:43:11

阅读数:18

评论数:0

2 qemu VMs communicate on ubuntu 16.04

1. install qemu-system-x86_64   apt-get install qemu-system-x86_642. ip link add name br0 type bridge   ip link show   ip link set br0 up   ip addr...

2018-04-17 13:33:04

阅读数:26

评论数:0

github add a new repository

github add a new repository1. In github web site, login your own account;2. add a new repository;3. In your project, run "git init&quo...

2018-04-12 16:45:59

阅读数:42

评论数:0

rdma_rxe vmcore analysis

crash> bt -sPID: 2439   TASK: ffff973578eb44c0  CPU: 1   COMMAND: "iptables" #0 [ffff97357fd036b8] machine_kexec+462 a...

2018-04-03 15:27:05

阅读数:74

评论数:0

vmcore查找refcount过程

crash7latest> bt -s 246346PID: 246346  TASK: ffff880280345400  CPU: 0   COMMAND: "perfquery" #0 [ffff88015d1c3b38] __s...

2018-03-27 14:26:07

阅读数:126

评论数:0

/proc/sys/kernel/panic and panic_on_oops

The panic file lets the user controlwhat happens when the kernel enters a panic state. If the value of either file is0, the kernel will loop and th...

2018-03-12 10:58:06

阅读数:143

评论数:0

linux extract a file from a rpm, ko, deb file

rpm2cpio ./packagecloud-test-1.1-1.x86_64.rpm | cpio -idmvdpkg -x package.deb /tmp/out This will extract the file from deb file.objdump -S. We need...

2018-02-26 14:27:02

阅读数:66

评论数:0

访问KVM/qemu 的img文件

access KVM image file1. losetup -f/dev/loop02. losetup /dev/loop0 /vm/rootvm.img Map /dev/loop0 to /vm/rootvm.img 3. kpartx -av /dev/loop0add map l...

2018-02-11 13:19:41

阅读数:111

评论数:0

KVM上的Ubuntu Server 16.04.2 LTS测试soft-RoCE

   编译linux kernel4.15.因为soft-RoCE是在linux kernel4.5以后添加到main line的。编译时选中RDMA_RXE,这个就是soft-RoCE。然后进行编译:  makemodules_install    make...

2017-12-28 16:54:56

阅读数:292

评论数:0

Git cherry-pick from net-next repository

 # Cloning our fork $ git clone git clone git@github.com:zhuyj/zhuyj.git # Adding (as "net-next") $ git remote add net-next ...

2017-11-16 15:25:40

阅读数:109

评论数:0

uek4下vmcore的调试

1. 安装相同版本的内核,例如kernel v3.8.13 2. 安装debuginfo, kernel-uek-debuginfo-3.8.13.x86_64.rpm, kernel-uek-debuginfo-common-3.8.13.x86_64.rpm, 安装后,在/usr/l...

2017-08-17 14:25:22

阅读数:94

评论数:0

Ubuntu 16.04 Kernel Crash Dump

 Ubuntu 16.04 Kernel Crash Dump 1. apt install linux-crashdump 2. /etc/default/kdump-tools by including the following line: USE_KDUMP=1 3.  k...

2017-08-08 10:53:37

阅读数:820

评论数:0

在ubuntu16.04上使用qemu

创建img文件 1. qemu-img create -f raw /opt/ol6.img 40G 安装系统到img文件上 2. qemu-system-x86_64 -enable-kvm -m 2048 -hda /opt/ol6.img -cdrom /opt/ubunt...

2017-07-12 16:42:13

阅读数:1039

评论数:0

vmlinuz还原成vmlinux

vmlinuz还原成vmlinux   1. od -A d -t x1 vmlinuz > temp   2. vi temp, 找到‘1f 8b 08 00'   3. 将此行最前面的数字加上,从第一个xx到1f的个数,得到一个值为START_CUR   4. dd if...

2017-02-26 15:18:25

阅读数:338

评论数:1

spin_lock_irq和spin_lock_irqsave区别

 因为在执行中断处理句柄期间,不可能被同一CPU上的软中断或进程打断。但是如果有不同的中断处理句柄访问该共享资源,那么需要在中断处理句柄中使用spin_lock_irq和spin_unlock_irq来保护对共享资源的访问。 使用spin_lock_irq和spin_unl...

2017-02-17 14:50:25

阅读数:374

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭