I. kernel space
The kernel space is mapped by the kernel. It does not change with the process and is fixed.
Ii. High-end memory: The physical memory address exceeds MB, which we call high-end memory.
3. kernel space distribution chart
(1) The address range of the kernel s
Reverse mobile phone kernel, add debugging support and reverse debugging, and add and debug mobile phone Kernel
0x00 PrefaceAn android application can be debugged only when AndroidManifest is used. the xml display specifies android: debuggable = "true". If the android: debuggable value is not set, the default android: debuggable = "false" is used. Therefore, most published applications cannot be debugged,
Advantages and disadvantages of Linux Device Driver dynamic kernel insertion and direct integration into the Kernel Analysis Introduction: The company made a Linux-based Ethernet interface board, which is currently maintained by me, the main CPU of this Board uses PowerPC, run the Linux system and add two external DPRAM modules. DPRAM is written in the form of a character device driver. It is directly integ
One: The origins of LinuxLinux is an open-source computer operating system kernel. It is a Unix-like operating system written in C and POSIX compliant, and Linux was originally developed by Finnish hacker Linus Torvalds to try to provide free and free Unix-like operating systems on the Intel x86 architecture. The program began in 1991 with the help of some minix hackers in the early stages of the program, and today countless programmers around the wor
Design and Implementation of Linux kernel (1)-kernel introduction,
This article briefly introduces the basic concepts related to the kernel.
Main content:
Single Kernel and micro kernel
Kernel version number
1. Single
Two Problems in upgrading CentOS 6 Kernel to Kernel 3.x
Problem:
Before the production of openstack CentOS6.5 template image, the kernel is 2.6.xx, now need to make a kernel for 3. x centos6 image, use rpm package kernel-ml-3.18.3-1.el6.elrepo.x86_64.rpm to upgrade the
Difference: the kernel-devel package only contains the kernel header file and makefile required for the kernel development environment, while the kernel-Souce contains all the kernelSource code.If you only want to develop your own modules, you only need to reference the corresponding
I haven't compiled the kernel for a long time. Recently I want to get the driver. I checked that there are two folders under/usr/src, which are empty and do not have any kernel source code.I used centos 5.1. In fact, the Red Hat series did not include the Linux kernel source code after the appearance of redora, so these headers won't be available at the moment wh
When CentOS updates the kernel, many startup items will be added during startup. we can delete the old kernel and keep the latest kernel so that some disk space (/boot) can be released ). (1) view the installed kernel command: rpm-qkernel display result: kernel-2.6.32-279.14
Article Title: Use kgdb to debug Linux kernel and kernel modules. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Comparison of several kernel debugging tools
Kdb: Debugging ca
Kernel and kernel modules: Depmod,lsmod,modinfo,insmod,rmmod,mdprobeFirst, we need to know where the kernel and kernel modules are placed. Kernel:/boot/vmlinuz or/boot/vmlinuz-version; kernel decompression required RAMDISK:/BOOT/I
Linux Kernel Learning notes collation.UnixUnix has a history of 40, but computer scientists still think it is the largest and best system in the existing operating system, it has become a legendary existence, the test of time is still a reputation.In 1973, after the UNIX system was rewritten in C, a large number of Unix-derived versions began to emerge, and many companies migrated UNIX to new models, and developers continued to enhance the system's fu
Transferred from: http://blog.chinaunix.net/uid-12461657-id-3487463.htmlOriginal address: A supplemental description of the interrupt stack and kernel stack in the Linux kernel MagicBoy2010interrupt stack and kernel stack topic is more of the core category, so in the "deep Linux device driver kernel mechanism" in the 5
Sometimes it is necessary to read and write file data in Linux kernel--most of the drivers that need to be debugged. There are no standard libraries available for manipulating files in kernel, and some of the functions of kernel need to be exploited: Filp_open () Filp_close (), Vfs_read () Vfs_write (), Set_fs (), GET_FS (), etc. These functions are declared in t
Article Title: How is the Linux kernel module transferred to the kernel ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Lsmod reads the/proc/modules file to check which kernel m
Read the platinum file written by the sibling in the 2.4 kernel.
IptablesAdd a module and try it in the 2.6 kernel. After one and a half days of hard work, refer to the platinum article,
Finally succeeded, write it down and share it with the Cu guys, my system is fedora2 + linux-2.6.5-1.358
1. Install the kernel source code.[Root @ jiecho] # Yum install
This series of articles prepared by Zhang tonghao, reproduced please note the Source: http://blog.csdn.net/muge0913/article/details/7480929
Email: muge0913@sina.com
Because the kernel does not distinguish between processes and threads, kernel threads are also called Kernel processes ). Note that threads in common processes cannot be considered as processes.
Dif
Kernel synchronizationSynchronous introductionThe concept of synchronizationCritical section: Also known as the critical segment, is the code snippet that visits and operates shared data.Competition conditions: 2 or more than 2 threads are running at the same time in a critical section, which constitutes a competitive condition.So-called synchronization. In fact, to prevent the formation of competitive conditions in the critical area.Assuming that the
First, How does the Linux kernel organize the files in each directory tree and compile them? and build a kernel with specific features as needed? in theLinuxin the kernel, there are two types of files:Makefile,Kconfig. The two files are distributed in the various levels of the kernel directory (each level corresp
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.