Tag:Kernel module

  • Detailed explanation of Linux kernel module programming

    Time:2021-2-11

    Kernel programming often looks like black magic, but in Arthur C. Clark’s eyes, it is. Linux kernel and its user space are very different: put aside carelessness, you must be careful, because a bug in your programming will affect the whole system. Floating point operations are not easy to do. The stack is fixed and […]

  • [original] KVM QEMU analysis of Linux Virtualization (1)

    Time:2021-2-1

    background Read the fucking source code!–By Lu Xun A picture is worth a thousand words.–By Golgi explain: KVM version: 5.9.1 QEMU version: 5.0.0 Tools: source insight 3.5, Visio 1. Overview Starting from this article, we will start a series of research on virtualization, which will probably involve the analysis of arm64 virtualization support, KVM, QEMU, […]

  • Use of ipmitool

    Time:2020-8-31

    Kernel moduleLoad IPMI_ Devintf and IPMI_ After Si, / dev / ipmi0 is generated.PS: to obtain sensor information, please install LM sensors, and then run sensors detect. Reference Manual:http://manpages.ubuntu.com/manpages/lucid/man1/ipmitool.1.html Common ipmitool $ ipmitool bmc reset cold #Reset BMC/DRAC to default $ ipmitool –I open bmc info #check BMC info $ ipmitool sel #check SEL log […]

  • Cluster construction of kubernetes 1.13.3 under CentOS 7

    Time:2020-8-6

    Cluster construction of kubernetes 1.13.3 under CentOS 7 to configure Linux virtual machine: dual core 4G preparation in advance View IP vi /etc/sysconfig/network-scripts/ifcfg-ens33 service network start ip addr Configure SELinux and firewalld Set Selinux in permissive mode setenforce 0 sed -i ‘s/^SELINUX=enforcing$/SELINUX=permissive/’ /etc/selinux/config Stop and disable firwalld systemctl disable firewalld –now System parameters and kernel […]

  • Linux kernel module development related article collection and module development process tips

    Time:2020-6-5

    Recently, we need to develop some kernel modules to explore some features of Linux kernel. Now we will briefly record and make notes of some good articles and knowledge points we have met; Links related to kernel module development: https://www.thegeekstuff.com/2013/07/write-linux-kernel-module/ Insmod, rmmod, modinfo and other related commands; https://www.thegeekstuff.com/2010/08/make-utility/ Make tool tutorial; https://www.thegeekstuff.com/2010/11/modprobe-command-examples/ How to use […]

  • Ipmitool use

    Time:2020-2-23

    Kernel module/ dev / ipmi0 is generated when IPMI ﹣ devintf and IPMI ﹣ Si are loaded.PS: for sensor information, please install LM sensors and run sensors detect. Reference Manual:http://manpages.ubuntu.com/manpages/lucid/man1/ipmitool.1.html Common ipmitool $ ipmitool bmc reset cold #Reset BMC/DRAC to default $ ipmitool –I open bmc info #check BMC info $ ipmitool sel #check SEL […]

  • Solution to the inconsistency of compile behavior of Linux kernel in Git directory and SVN directory

    Time:2020-2-8

    Recently, the development has been migrated from SVN to GIT. In fact, there was a problem in the early days, that is, Linux kernel was compiled well under the version control of SVN, but when Git is used for version control, even if it is exactly the same two sets of directory trees, compilation is […]