One: Linux kernel:
The operating system is a low-level support software used to deal with hardware and provide a limited set of services for user programs. A computer system is a symbiotic body of hardware and software that is interdependent and indivisible. Computer hardware that contains peripherals, processors, memory, hard disks, and other electronic devices that make up the computer's engine. But without software to manipulate and control it, it
sigttou, or control by the ptrace System Call of other processes, temporarily handing over the CPU to the control process.? Task_swapping: process in which the process page is swapped out of memory.(2) unsigned long flags;Process flag:? Pf_alignwarn prints the alignwarn warning.? Pf_ptraced is monitored by the ptrace system call.? Pf_tracesys is tracking.? The pf_forknoexec process has just been created but has not been executed yet.? Pf_superpriv Super User Privilege.? Pf_dumpcore dumped core.
U-boot kernel, file system download mode, u-boot Kernel1 Preparation 1.1 TFTP server
The host computer uses the Ubuntu system. The installation method of the TFTP server is as follows:
$ Sudo apt-get install tftpd-hpa
Open the tftp configuration file in the path:/etc/default/tftpd-hpa, as shown below:
TFTP_USERNAME = "tftp"TFTP_DIRECTORY = ""TFTP_ADDRESS = "0.0.0.0: 69"TFTP_OPTIONS = "-l-c-s"
Here, TFTP_DIRECTORY indicat
Compile the Linux kernel to solve the running problem of vmwareworkstation6.0 in the new kernel-Linux general technology-Linux programming and kernel information. For more information, see the following. 1. download the latest Linux Kernel File linux2.6.24.tar.gz.
2. Copy it to the/usr/src directory and decompress it.
# Based on v2.6.26 KernelCompiling and generating kernel target files using Linux kernel makefile
Directly execute the make compilation process
1. First find the entry point (Entry Point Problem)# Compile the kernel line502 and directly execute make to compile all: vmlinux # compile the module line1037 by default. If you select the compilation module, this will
Complete program at Download: http://download.csdn.net/detail/dijkstar/7913249The event created by the user layer is an handle handle, and the kernel-created kernel mode of kevent is a thing. As a result, events created at the application layer can be obtained and used at the kernel level. This part of the principle, see Zhang Fan authored "Windows Drive Technolo
It was just a day, and I studied how to compile Linux kernel in my spare time. I used to work on Windows platforms and almost never used Linux, so I wanted to have a good time. The platform is the latest Ubuntu 10.04 LTS, and the kernel is also the latest version 2.6.35.2 downloaded. In fact, kernel compilation is much more convenient than in the past. If menucon
Linux0.11 kernel-process scheduling Analysis 2. scheduling, linux0.11 Kernel
[All Rights Reserved. For more information, see the source. Source: http://www.cnblogs.com/joey-hua/p/5596830.html]
In the previous article, process scheduling is ultimately to call the timer_interrupt function, in system_call.s:
#### Int32 -- (int 0x20) clock interrupt handler. The interrupt frequency is set to 100Hz (include/linu
This paper mainly introduces the kernel configuration system of Linxu2.6.
If you browse the source directory, you can see that there are a lot of kconfig files and makefile files in the source directory and its subdirectories. What's the effect of these files? It is these files that make up the Linux2.6 kernel configuration system.
one, make menuconfig behind------the organization of the Kconfig file
Ha
How to modify the CentOS6, CentOS7 kernel to support the installation of a sharp-speed kernel
3, the current CentOS 7 small problem more, sharp speed for CentOS 7 version less. Recommended for installation in CentOS 6.
One, CentOS 6 support the installation of the core of the sharp speed: 2.6.32-504.3.3.el6.x86_64
1, first run the following command for their own VPS download installation
How to add the graphics card module (private driver) of the old kernel for the new kernel-Linux general technology-Linux programming and kernel information. The following is a detailed description. Ask about the make localmodconfig command used by the newly compiled kernel. Because the system used for compilation is th
I. Linux configuration and compilation
Linux has the following advantages:
1. Clear temporary files, intermediate files, and configuration files
(1) make clean: delete most of the generated files, but keep the configuration file
(2) Make mrproper: delete all generated files and configuration files
(3) make distclean: Delete the patch and backup files of the editor based on make mrproper.
2. Determine the hardware and software configurations of the target system, such as the CPU type,
Bootloader and kernel with the start-up process--------------------------------------------The ARM9 board has a Norflash chip that stores the basic Bootlader code, which is the 0 address where the CPU executes the code. The 4kRam space inside the CPU acts as the stack and data segment storage at this time. Because it is Samsung's own chip, so the hardware above can be implemented to Nandflash before the 4K code automatically copied to the Iram (the im
Kernel Synchronization Method
1. atomic operation
Atomic operations can ensure that commands are executed in an atomic manner-the execution process is not interrupted. The kernel provides two sets of atomic operation interfaces, one for integer operations, and the other for separate bit operations.
Atomic operations on integers can only process atomic_t data.
In addition to the atomic Integer Ope
CentOS kernel compilation (kernel upgrade)
1. view the system kernel version
# Uname-r2.6.18-92. el5
2,# Wgetwget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.tar.gzDownload linux-3.13.tar.gzKernel source code file
3, # cd/usr/src/linux-3.13
4. # make mrproperClear environment variables, that is, clear the c
Transferred from: http://blog.csdn.net/bullbat/article/details/7401688A common pattern in kernel programming is to initialize an activity outside the current thread, and then wait for the activity to end. The activity might be to create a new kernel thread or a new user-space process, a request for an existing process, or some type of hardware action, and so on. In this case, we can use semaphores to synchr
"copyright notice: respect for the original, reproduced please retain the source: blog.csdn.net/shallnet. The article is for academic communication only and should not be used for commercial purposes " the memory image of a process consists of the following parts: code snippet, data segment, BSS segmentand Stack segments. And the area of the memory map,memory-mapped function mmap (), which is responsible for mapping the contents of the file to the virtual memory space of the process, through rea
Modify the Linux kernel kernel boot picture (originally a small penguin picture).
Reprint please indicate the source: Http://blog.csdn.net/wang_zheng_kai
Navigation guidance and Control laboratory December 10, 2014
This article mainly introduces three parts of the content:
1 "How to make the Linux kernel required to boot picture (ppm format);"
2 The two ways to m
Introduction to Linux Kernel
Now let's look at the architecture of the Gnu/linux operating system from a relatively high altitude. You can consider the operating system from two levels, as shown in Figure 2.
Figure 2. Basic architecture of Gnu/linux operating system
The top is the user (or application) space. This is where the user application executes. Under User space is the kernel space, where the L
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.