Common kernel documents:
Readme: This file introduces the background and development of Linux. How to compile and configure the kernel. How to solve the problem.
Documentation/changes: the minimum package for compiling and using the kernel.
The signal mechanism is a very old process communication method used by Unix. It is used to notify another process (or itself) of what happened to one process, what to do.
1. signal:Signals are a series of macros starting with SIG defined in signal.
Static Method
Note: All operations use the root user.
Modify IP Address:
Edit file/etc/sysconfig/network-scripts/ifcfg-eth0
Device = eth0 // device name, do not modify
Bootproto = static // do not modify
Broadcast = 10.10.22.255 // broadcast address,
1. Introduction The GNU Debugger is called GDB. This program is an interactive tool that works in character mode. In the X Window System, there is a GDB front-end graphics tool called xxgdb.
GDB is a powerful debugging program that can complete the
1. Install JDK
sudo apt-get install openjdk-6-jdk2. Configure Java environment variables
Enter the following command:
sudo gedit /etc/profile
Open the profile and add the following content at the bottom of the file:
# set java homeexport
Ptrace system call]
Function Description:It provides a mechanism for the parent process to observe and control the execution of another process, and also provides the ability to query and modify the core images and registers of another process. It
1. File Type
Linux files can be divided into 6 categories, common files (by internal structure can be divided into: text files, binary files), directory files, linked files, device Files (which can be divided into block device files and character
During this time, a capacitive touch screen was created. After experiment, we finally tried it out, because we didn't have this one in the past, and we have accumulated a lot of experience. There are two key points to illustrate:
(1) read/write
In the driver development process, we sometimes encounter such an application: for example, the firmware of a chip is not fixed and can be upgraded later. Therefore, you need to perform a check every time the system is started. If a new firmware is
Socket is the socket interface, which is actually the communication node on the network. A user or application can connect to any communication endpoint on the network and transmit data as long as it is connected to a socket. In Linux, programmers
Just as if you write a C program that needs to contain the header file of the C library, Linux kernel programming also needs to contain the kernel header file. Most Linux drivers need to include the following three header files:
# Include # Include #
Problem: A library file in the project is 32-bit and compiled in 64-Bit mode. An error occurs:
[***** @ Fedora-17-64 Lab1-linux] $ makeGCC datalink. c Protocol. A-O datalink-lm-lstdc ++/Usr/bin/ld: i386 architecture of input file 'Protocol. A
Source :《In-depth analysis of Linux kernel source code"
Http://oss.org.cn/kernel-book/ch06/6.6.1.htm
6.6.1 basic principle of exchange
As mentioned above, each process can use a large amount of space (3 GB), but the actual space used is not large,
Configure the ARM Linux cross-compilation tool in the Fedora 7 Environment
1, SlaveHttp://kegel.com/crosstoolDownload crosstool-0.43.tar.gzPut it under/home and unzip: tar-zxvf crosstool-0.43.tar.gz
Assume that you want arm9tdmiOn the tool chain
Some time ago I bought a display and changed my antique book (P3) to Ubuntu. Later I adjusted samba, but I was always confused when I configured ssh .... I think that although I have been using Linux since redhat9 on and off, I have gone through the
Reprinted: http://hi.baidu.com/xuehuo_0411/blog/item/98559cf46107573fbd3109f6.html
When using the Linux terminal tool securecrt, Every time SVN is submitted to enter Chinese logs, it is impossible to enter Chinese characters.
SVN ci-M "" At this
To sum up, there are three primary methods: 1. Change the/etc/lD. So. conf configuration file, and then refresh
Vim/etc/lD. So. confAdd/where/you/install/libSudo ldconfig
2. Use ln to link the required so file to the/usr/lib or/lib
During development on the Linux platform, when ADB connect is used, sometimes protocol error occurs and PS cannot be used to see whether or not the relevant process can be found, and the following connection can be viewed, close the connection.
Guidance: 1. Process special file names Suppose there is a file name named "-ee" in Linux. If we want to operate on it, for example, to delete it, enter the RM-ee command in the command line according to the general deletion method, the interface
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