Step 1 download the kernel source code
Go to http://www.kernel.org/download kernel source code
Step 2 find the appropriate configuration file
You can use the configuration file I gave you to rename it as. config and put it in the source code root
Recently submittedCodeIt is found that the script file submitted by many Members to the svn server is not an executable attribute, but is an executable attribute locally.
Because there are too many, I wrote a script to change it in a unified
1. The terminal locks CTL + S and unlocks CTL + q
2. Monitor System message tail-F/var/log/messages
3. Compress tar-cvzf X. tgz dirname
Decompress tar-xvzf X. tgz
Tar xvfj example.tar.bz2
Tar xvfz example.tar.gz
Tar xvfz example. tgz
Tar xvf example.
The slob allocation object size is selected from the three links.
Static list_head (free_slob_small );
Static list_head (free_slob_medium );
Static list_head (free_slob_large );
For objects smaller than 256 bytes, slob will be searched from the
I recently read about the slab mechanism. The analysis on the internet is rich and comprehensive. I will not repeat it too much. I just made a simple summary myself.
1. Several important data structures
(1) kmem_cache data structure:
Struct
Driver source file name:/work/driver/test. c
Driver target file name: Test. Ko
Kernel source code Directory:/work/linux2.6.30This directory is the root directory of the board source code.
Step 1: Enter make oldconfig & make prepare & make scripts in
When writing a program in a Linux environment, APIs in the glibc library are often called. How are these libraries implemented? Many beginners have been confused about this. Next we will work with you to learn how to create static and shared
I. Introduction
Generally, the link to the function library is completed during the compilation period (compile time. All related object files and libraries are linked to form an executable file ). When the program is running, it has nothing to do
What is the difference between Linux and BSD?Current FreeBSD version
Freebsd2.2.x-stableFreebsd3.x-stableFreebsd4.0-Current
We can see that the FreeBSD version is modified using the current or stable suffix. The version modified using stable is a
# Ifndef _ watcher_h _ # DEFINE _ watcher_h _ # include # include # include // We often want to know if a file was just now created or updated (then we // may reload the file to get latest data ). filewatcher does boilerplate part // For you as
$ # Parameter serial number sent to the shell command
$-Options are provided when shell is started or the set command is used
$? Value returned after the previous command is executed
$ Process ID of the Current Shell
$! Process ID of the previous
Debug the program with GDB
GDB Overview----
GDB is a powerful Unix program debugging tool released by the GNU open-source organization. Maybe you prefer the GUI, such as Vc, BCB, and other ide debugging methods. But if you are running software on a
Client. C function: send data to the MPs queue
# Include # Include # Include # Include # Include # Include # Include # Include # Include # Define sip_pipe "/tmp/SIP-Reg"# Define msg_size 100Int main (void){Int sip_writer_fd;Static char buffer
Introduction to elementary network functions (TCP) and example programs
1. SocketInt socket (INT domain, int type, int Protocol)
Domain: indicates the communication clan (af_unix and af_inet) used by the host where the network program is located ).
Document directory
I. WebLogic creates a domain
Under the domain directory/servers/adminserver path
Log on with a WebLogic account (corresponding to the account used to create the domain
1. Download the installation packageWget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.2.tgzDecompress the package after the download is complete.Tar zxf mongodb-linux-i686-1.8.2.tgz 2. Installation preparationMove MongoDB to
Student ID: SA ××× 310 name: ×× Tao
Environment: ubuntu13.04 gcc4.7.31. Process Management
Processes in Linux are mainly managed by kernel. System calling is a way for applications to interact with the kernel. As an interface, system calls allow
Abstract
Continue to learn about Linux.
Today we are going to build a Linux kernel debugging environment.
Environment: ubuntu13.04 gcc4.7.3
Install qemu
Qemu Introduction
Qemu is a set of simulation processors compiled by Fabrice bellard that use
Abstract
Today's topic is "The Mystery of Linux operating system cracking". Although the title is a bit mysterious, it will never be fooled.
Related Articles:
Linux operating system analysis (1)-How program works
Linux OS system analysis (2)-Process
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service