Mod_name Loading ModuleModprobe-r mod_name Unload ModuleModprobe-r FloppyModprobe FloppyModinfo: View specific information about the moduleModinfo Mod_nameModinfo FloppyInsmod/path/to/module_file: Load ModuleRmmod Mod_name removing modulesDepmod/path/to/modiles_dirInstall the driver: Download the source code, compile into KO, load the moduleKernel and kernel modules must be fully consistent2.6.32-1 kernel
of a can be downloaded at http://www.oreilly.com/catalog/linuxdrive2;F and G are relatively new and difficult to buy in China.You can also query the article title "Linux kernel Book recommendation introduction" on the page"2. Source Code Problems2.1 How to obtain the Linux kernel
• Source code to compile the Linux kernel• Using the Linux kernel module• Actual combat-compile an NTFS kernel module to implement Linux mount NTFS file system and read and write functionsUpgrade the
1./proc DirectoryThe Linux kernel provides a mechanism for accessing kernel internal data structures and changing kernel settings at run time through the/proc file system. The proc file system is a pseudo-file system that only exists in memory and does not occupy external memory space. It provides an interface for acce
the learning process is really real existence of such a "door", in front of us, across the sky is another world, But it is to let countless people competing bow down, think not its key.In addition, this "problem door" is also a My book "Linux kernel cultivation of the road" produced a small episode, in order to thank the essence of the release process a lot of f
Release date:Updated on:
Affected Systems:Linux kernel Description:--------------------------------------------------------------------------------Bugtraq id: 67302CVE (CAN) ID: CVE-2014-1738Linux Kernel is the Kernel of the Linux operating system.Drivers/block/floppy versions earlier than
file without having to burn it to a CD. We can mount an image file directly using a special loop Mount , Mount-o Loop , and then access the mount point to access the data in the image file. Really very convenient, think about it. In Windows, we have to use third-party software to open the image file. In addition to the image file, for a large file, we can also use this way to mount, which is equivalent to We do not need to modify the partition table to create the partition we want. Here's how
The RCU of lock mechanism in Linux kernel, the big kernel lockIn the last blog post, the author analyzes the use of completion and mutual exclusion and some classic questions, the following author will focus on this blog post on the RCU mechanism of the relevant content and introduce the current has been eliminated from the k
the purpose of learning the Linux kernel.Finally, we recommend two reference books to learn the kernel. One is the design and implementation of theLinux kernel, which provides readers with a quick and concise introduction to the main functions and implementations of the Linux kern
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
Ker
It was just a day, and I studied how to compile Linux kernel in my spare time. I used to work on Windows platforms and almost never used Linux, so I wanted to have a good time. The platform is the latest Ubuntu 10.04 LTS, and the kernel is also the latest version 2.6.35.2 downloaded. In fact,
The kernel learning notes, since it is a note to remember the key things, assorted slowly again. Here are a few simple steps to compile the kernel:
1. Go to www.kernel.org download kernel
2. mkdir/usr/src/linux-2.6.37CP 2.6.37.tar.bz2/usr/src/linux-2.6.37 (just out)
3. The
Arch/x86/include/asm/*.h2. Spin LockAtomic operation can only be used in the case of only one variable in the critical section, in practical application, the situation of the critical section is much more complicated.For complex critical zones, there are several synchronization methods available in the Linux kernel, and spin locks are one of them.The spin lock feature is that when a thread acquires a lock,
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, emb
virtual address, theoretically we can directly read and write the I/O memory resources like the read/write Ram. To ensure the cross-platform portability of the driver, we should use special functions in Linux to access the I/O memory resources, instead of the core virtual address pointer.
[MMAP]
MMAP is used to map a device, which means that an address in the user space is associated with the device memory. This allows the program to read or write d
To say clear Systemd, you have to start with the Linux operating system started speaking. The startup of the Linux operating system starts with the BIOS, then the boot Loader loads into the kernel and initializes the kernel. The final step in kernel initialization is to star
the high-performance requirements of the program.If a process uses mmap to map a large data file to the virtual address space of a process, we need to focus on the value of Majflt because the damage to performance compared to Minflt,majflt is fatal, and the time-consuming order of random reads of a disk is several milliseconds, And Minflt only have a lot of time to affect performance.Other Memory request Management algorithm implementationmalloc used in glibc is not the only memory management m
July 26, 2014 kernel preemption and kernel control path designA definition of kernel preemption: If a process is executing kernel functions in the kernel state, a kernel switchover is allowed (that is, the process being replaced i
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
record when writing or revising a file. Therefore, when data inconsistency occurs, you can examine the log record block directly, and you can quickly identify the problem. Linux EXT3 is a file system that supports logging capabilities. It has also been said that since the disk is much slower than memory, Linux does not immediately update the modified data in memory to disk after modifying the data in me
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.