Recently, FC 10 (fedora10) was installed on the machine (x86_64). to install the virtual machine, first install VM 6.5. It was found that it was very difficult to install VM 6.5 in 64-Bit mode for three days, give up. Some people say that the 64-bit VM under FC 10 cannot be installed. As a result, I switched to Sun's Virtual Machine Software virtualbox. On the official virtualbox website, I found the rpm version of fedora9/10 corresponding to x86_64. I read a lot of posts on how to install it. A
My kernel upgrade is from 2.6.32.5 to 2.6.38.2.
The beginning of these sections is followed by the following article:
http://blog.csdn.net/ctbinzi/article/details/6006931
Install the required software first, and download the latest kernel:#apt-get Install kernel-package libncurses5-dev wget bzip2 make patch#cd/USR/SRC#wget http://www.kernel.org/pub/linux/
Linux Kernel 'arch/x86/kernel/cpu/mcheck/mce. c' Local Denial of Service Vulnerability (CVE-2018-7995)Linux Kernel 'arch/x86/kernel/cpu/mcheck/mce. c' Local Denial of Service Vulnerability (CVE-2018-7995)
Release date:Updated on:Affected Systems:
Linux kernel
Description
In-depth understanding of PHP kernel (6) function definition, passing parameters and return values, and in-depth understanding of the kernel. In-depth understanding of PHP kernel (6) function definition, passing parameters and return values, and in-depth understanding of kernel 1. function definition the user function
Linux Kernel implements interrupt and interrupt processing (2). Linux Kernel
The first part is the step-by-step call !! : Http://www.cnblogs.com/lenomirei/p/5562086.html
The last time I said that the Linux kernel interrupt will divide the interruptTwo partsAfter processing, I talked about the previous part. This section describes the design ideas.
Implementatio
Ubuntu kernel update switch kernel startup
1. view the kernel commands to be updated:
Apt-cache search linux
This command will display all available kernels
2. Run the following command to install the kernel: 2.6.39-0.
Sudo apt-get install linux-headers-2.6.39-0-generic linux-image-2.6.39-0-generic
After installation,
PHP kernel exploration variable (1) Zval, kernel zval. PHP kernel exploration variable (1) Zval, kernel zval as the data container, we often need to deal with the variable, whether the variable is a number, array, string, object or other, PHP kernel exploration variable (1)
To say clear Systemd, you have to start with the Linux operating system started speaking. The startup of the Linux operating system starts with the BIOS, then the boot Loader loads into the kernel and initializes the kernel. The final step in kernel initialization is to start the init process. This process is the first process of the system, PID 1, also known as
This article provides a brief introduction to kernel-related basic concepts.Main content:
Single Core and micro core
Kernel version number
1. Single Core and micro-core
principle
Advantage
disadvantage
single core
1. Simple. 2. Efficient: All cores are in a large address space, so calls and call functions are s
executing at any time
Soft interrupts and Tasklet: The kernel can wake up or dispatch soft interrupts and tasklet at any time, interrupting code that is currently executing
Kernel preemption: The Linux kernel is preemptive, so the kernel's task may be preempted by another task
Sleep and user space synchronization: Processes that execute in the
Basic synchronization mechanism of the kernel:Key features of the preemption kernel: a process running in the kernel state that may be replaced by another process during kernel functions execution.Kernel preemption: Linux 2.6 Allows users to configure the kernel to be very enabled when compilingProcess critical section
/proc/kallsyms records the names and addresses of all the exported symbols in the kernel
We need to compile 2 kernel modules, and then one of the kernel modules to call functions in another kernel module
The HELLO.C code is as follows
#include
From this we can see that we have called 2 functions Add_integar and Sub
Tags: Linux kernel1, the kernel is what, the kernel is the core of the operating system.In Linux, in fact, the kernel is the system above a file, this file contains the driver of the hardware of the test program and driver module. The kernel file is in the/boot directory in the beginning of the Vmlinuz file, and someti
Phenomenon:CentOS7 boot screen displays multiple kernel optionsReason:Under normal circumstances, there are two startup items, one is "Normal startup" and the other is "Rescue mode Startup" (rescue).If there are more than 2 startup items, the old kernel of the current system is not removed. The reason is that the old kernel is not automatically deleted after the
First, let's talk about how this problem came about. (When analyzing a technology, we should first consider what problems it wants to solve, or when learning new knowledge, what is the purpose of this knowledge ).
When compiling the kernel, I found a file named vmlinux. LDS. s under the arch/ARM/kernel directory. At first glance, do you want to compile a file? It seems that it is not. So what does it do?
instructions in the critical section are executed continuously, and may be executed in the critical section half way, Because the scheduler is preempted or interrupted, the CPU does not continue to execute within the critical zone, which means the execution is interrupted.But that still guarantees the avoidance of competitive conditions, the reason is that if a process outside of the interrupted process is scheduled, the process will have to access the critical section, the lock or semaphore, a
since you are dealing with kernel modules, it is natural to understand the dependencies between the modules provided by the kernel. Basically, the kernel module is placed at/lib/modules/$ (uname-r)/kernel, which is divided into several directories:Arch: Options related to the hardware platform, such as the CPU level.Cr
SystemTap kernel debugging and systemtap kernel debugging
I. Introduction
Systemtap is a brand new debugging, diagnosis, and performance measurement tool in Linux. It is the most powerful kernel debugging tool I know at present.
Refer:
Http://m.blog.csdn.net/blog/hnllei/7521010
Ii. Installation
Refer:
Http://www.cnblogs.com/wangkangluo1/archive/2012/06/2
The Linux kernel of Android is stored in the kernel subdirectory. By comparing it with the standard Linux 2.6.25 kernel, we can find that it mainly adds the following content:
1. Add the gold-fish platform based on the ARM architecture. The directories added are as follows:
Kernel/ARCH/ARM/Mach-goldfish
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.