Note: Most of the content below is taken from the Linux kernel programming entry and the Linux kernel complete annotation.
Looking at the kernel source code intermittently, I found that many knowledge points are not very clear, especially for
Previously, based on the Code of the IBM deveplopworks community, I made a serial port initialization and sending program. Today, I added a program to read serial port data. The first is the simplest loop reading program, and the second is reading
Virtual Machine redhat9 linux2.4 kernel upgradedLinux2.6
Preparations:
1. Go to the next Linux 2.6Kernel! Http://www.kernel.org;
2.install A modules-init-tools-3.0.tar.gz toolkit. Because the 2.4.x modutils toolkit is no longer compatible with the
An important feature of the Linux 2.6 kernel is the provision of a unified kernel device model. With the continuous advancement of technology, the topology structure of the system becomes more and more complex, and the requirements for intelligent
After the Chinese RedHat is installed, run the setup, VI, and other commands on the Character interface to display garbled characters. The solution after searching the network is as follows:
1. temporary solution# Exportlc_all = POSIXAfter the
# Include # Include # Include # Include # Include # Include # Include # Include
Void process_client (INT s ){
Char buff [128];Int RC, maxfd;While (fgets (buff, sizeof (buff), stdin )! = NULL ){Write (S, buff, strlen (buff ));Rc = read (S, buff,
Linux2.6 kernel compiled successfully
1) required tools:
Module tool: modutils-2.4.21-23.src.rpm // Load the module. It does not need to be compiled independently before 2.4.
// Module storage location:/lib/modules/kernel version
Now I have used USB for everything. I think it's strange to hear the name. Let's take a look at it. U, Sb, it seems like it's a joke. However, this guy does bring us a lot of convenience. What USB mouse, USB flash drive, USB WiFi, USB camera, and
Little Japan has snatched the Diaoyu Islands for the time being. However, we believe that with the concerted efforts of the people throughout the country, the Diaoyu Islands cannot be escaped. As for whether to use force or not, we have no say. It
The weekend is about to pass, and the cycle of one week and one week is round and round. I don't know when it will come to an end. Every day, except for work and study, I go to bed. Maybe such a day is very fulfilling, but it is not very fond of
First, let's take a look at the frequently used Linux commands for later convenience. You can use the man command directly on the terminal. The following operations are based on Ubuntu.
1. CP and SCP
CP: copy of the current computer
SCP: Copy
Note: Most of the content below is taken from the Linux kernel programming entry and the Linux kernel complete annotation.
During this period of work, I found that I was familiar with the painting of Visio. I always liked to understand the source
About initramfs
Initramfs is compiled at the same time and connected to the kernel into a file. It is linked to address _ initramfs_start and loaded to Ram at the same time as the kernel. The space occupied by the original cpio package (compressed
Configure the IP address of eth0 and activate the device.
# Ifconfig eth0 192.168.1.110 netmask 255.255.255.0 up
Add a default gateway.
# Route add default GW 192.168.1.1
Set DNS and set file/etc/resolv. conf
Nameserver XXX. XXX
Name parser/etc/host.
Statement for viewing file permissions:
Enter at the terminal:
Ls-l XXX. XXX (XXX. XXX is the file name)
Then similar information will appear, mainly including:
-RW-r --
A total of 10 digits
The first one indicates the type.
The three RW in the
Best references:
1. Master from the Internet.
2. UNP V2 posix ipc chapters 3, 6, 11, and 14.
3. Linux man command.
Remember Master Steven s ~~~ The author said in "a deep understanding of Linux kernel architecture" that the POSIX standard has
From: http://blog.chinaunix.net/u/26185/showart_475934.html
Like other kernel functions, each network function is one of the kernel members. Therefore, it must use the memory reasonably and fairly,CPU and other shared resources. The vast majority
In Linux, The Write function is used when we use a device.
Send data to the device as a file. Why can I write data to a device using the write function?
How is this process implemented?
The mystery lies in the write Implementation of the device
There is a statistical http://www.remword.com/kps_result/china.php
Click Connect. You can see:
Total patch sets of this kernel release: 1572365337 person contrispontheir works to this kernel release.Averagely, every person committed 29 patch
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