When learning Linux device driver, the first step is to build the kernel tree, first download the Linux kernel, according to the author of Linux Device dervier 3, as long as the linux-2.6.xxx kernel can be, I am a linux-2.6.30.4.Procedure:(1)
Directory structureE2fsprogs:/root/ARM-QT/e2fsprogsJpeg-6b:/root/ARM-QT/jpeg-6bQt-2.3.10:/root/ARM-QT/qt-2.3.10Qt-2.3.2:/root/ARM-QT/qt-2.3.2 // PC version QT, not usedQtopia-free-2.1.1:/root/ARM-QT/qtopia-free-2.1.1Qt-x11-free-3.3.8:/root/ARM-QT/qt-
Linux
Kamlloc function prototype:
# Include
Void * kmalloc (size_t size, int flags );
1. Using gfp_kernel allows kmalloc to allow the current process to sleep and wait when idle memory is allocated. Therefore, the assignment function must be
The company rented another Linux server and wanted to use Debian, but the management staff of the IDC would not install it, so they had to use rhel5 instead.
Zend optimizer is used for the system. I installed v3.3 and the installation process went
Does sleep in Linux provide sleep and sleep in a common Windows system. In Linux sleep, there are two ways to sleep: MEM and standby. Sleep also has two ways: shutdown and platform. Each method is somewhat different.
Before proceeding, check the
In Linux, MMAP and mmap2 are called to create a process address space ing. MMAP and mmap2 are commonly used in the following scenarios:
1. file ing common file I/O operations, read and write the memory after MMAP ing, you can complete file read and
Standing in the rain with tears in my eyes ....
Linux Kernel is configurable. There are many configuration methods! For developers and administrators on Linux, these configuration methods have plagued many users. The configuration here is not a
Introduction to signal programming in Linux-Unreliable Signals(Author: mikespook | Release Date: | views: 135)
Keywords: Linux, signal, signal ()Preface:This article is only intended to provide guidance to many cainiao like me. If you are a master
Previously, windows to Linux were migrated using the normal exp and IMP methods. Logical backup is used to migrate data across physical structures and operating systems. SuchI believe many of my friends are doing this.
Today, we have a 50 GB
(1) ssh-add ~ /. Ssh/id_rsa [Exception in key addition]
SSH key-gen-t rsa [generate public key]
The generated public key file is ~ by default ~. SSH/folder
PS: The generated public key is mainly used for SSH login authentication and Bitbucket
If any thread in the process calls exit, _ exit, _ exit, the whole process is terminated. This is not the thread termination, but the process, which terminates all threads in the process.
1. Thread termination method:
A single thread can exit in
About lilo
1. When lilo appears: Enter linux single
Lilo: linux single
2. Press enter to directly access the Linux Command Line
3. Use the PASSWORD command to change the password
Ii. About grub1. When the grub screen appears, use the up/down
Link: http://www.cnitblog.com/zouzheng/archive/2007/10/30/35565.html
Original article title: multi-thread programming in Linux
Thread technology was proposed as early as 1960s, but the real application of multithreading to the operating system was
From the Internet, these three commonly used commands may have many duplicates and have time to sort them out. However, in this case, it is better to strengthen the memory.
Apt-get:The software package management program of the Debian system (its
Environment
VMware 7.1 + RedHat Linux9 + vncviewer
Summary
1. Install vncserver in Linux. I will not repeat it here because it is already available on my host. For details, refer to this article;
2. Prepare vncviewer and click here to download it;
Basic concepts of Linux Device Drivers
A system call is an interface between the operating system kernel and applications, and a device driver is an interface between the operating system kernel and the machine hardware. The device driver shields
Recently, I 've been reading some things about Linux C Server programming, and it involves a lot of connection processing problems. We know that in Linux, we generally use the TCP/IP protocol to write simple C/S model code and often use the select ()
When Linux and Windows systems coexist, the boot process is relatively complex. And may cause some false concepts. For example, some netizens often ask: "should I use LILO, grub, or nt OS loader to guide XXX Linux ?"
The actual Linux boot path only
Upon startup of Linux database get ORA-27102: out of memory Linux-X86_64 error: 28: no space left on device [ID 301830.1]
Applies:
Oracle Server-Enterprise Edition-version: 9.2.0.4 to 11.2.0.2-release: 9.2 to 11.2Red Hat Enterprise
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