Two Problems in upgrading CentOS 6 Kernel to Kernel 3.x
Problem:
Before the production of openstack CentOS6.5 template image, the kernel is 2.6.xx, now need to make a kernel for 3. x centos6 image, use rpm package kernel-ml-3.18.3-1.el6.elrepo.x86_64.rpm to upgrade the
Difference: the kernel-devel package only contains the kernel header file and makefile required for the kernel development environment, while the kernel-Souce contains all the kernelSource code.If you only want to develop your own modules, you only need to reference the corresponding
I haven't compiled the kernel for a long time. Recently I want to get the driver. I checked that there are two folders under/usr/src, which are empty and do not have any kernel source code.I used centos 5.1. In fact, the Red Hat series did not include the Linux kernel source code after the appearance of redora, so these headers won't be available at the moment wh
When CentOS updates the kernel, many startup items will be added during startup. we can delete the old kernel and keep the latest kernel so that some disk space (/boot) can be released ). (1) view the installed kernel command: rpm-qkernel display result: kernel-2.6.32-279.14
Article Title: Use kgdb to debug Linux kernel and kernel modules. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Comparison of several kernel debugging tools
Kdb: Debugging ca
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, embedded systems, and open source.
Lsmod reads the/proc/modules file to check which kernel m
Read the platinum file written by the sibling in the 2.4 kernel.
IptablesAdd a module and try it in the 2.6 kernel. After one and a half days of hard work, refer to the platinum article,
Finally succeeded, write it down and share it with the Cu guys, my system is fedora2 + linux-2.6.5-1.358
1. Install the kernel source code.[Root @ jiecho] # Yum install
This series of articles prepared by Zhang tonghao, reproduced please note the Source: http://blog.csdn.net/muge0913/article/details/7480929
Email: muge0913@sina.com
Because the kernel does not distinguish between processes and threads, kernel threads are also called Kernel processes ). Note that threads in common processes cannot be considered as processes.
Dif
Kernel synchronizationSynchronous introductionThe concept of synchronizationCritical section: Also known as the critical segment, is the code snippet that visits and operates shared data.Competition conditions: 2 or more than 2 threads are running at the same time in a critical section, which constitutes a competitive condition.So-called synchronization. In fact, to prevent the formation of competitive conditions in the critical area.Assuming that the
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 kernel directory (each level corresp
Abstract:
Use the kernel source code and scripts officially provided by Slackware to create a kernel suitable for your own machine, learn to compile the kernel and improve our learning and work efficiency;
Preface:
The current machine configuration is getting higher and higher. a small notebook may also have 2 GB of memory. In addition, server applications o
Tags: http bootstra strip image 16px net BSP CSDN developmentObjectiveIn recent months, the Linux kernel has probably been studied, the following need to conduct in-depth detailed analysis. The main development Board of S3C2440 is a hardware entity. Probably includes the following content:1 bootloader analysis, to Uboot-based, combined with the specific development Board situation. My goal is to explain how Uboot works (to be honest, the analysis does
Recently, FC 10 (fedora10) was installed on the machine (x86_64). to install the virtual machine, first install VM 6.5. It was found that it was very difficult to install VM 6.5 in 64-Bit mode for three days, give up. Some people say that the 64-bit VM under FC 10 cannot be installed. As a result, I switched to Sun's Virtual Machine Software virtualbox. On the official virtualbox website, I found the rpm version of fedora9/10 corresponding to x86_64. I read a lot of posts on how to install it. A
My kernel upgrade is from 2.6.32.5 to 2.6.38.2.
The beginning of these sections is followed by the following article:
http://blog.csdn.net/ctbinzi/article/details/6006931
Install the required software first, and download the latest kernel:#apt-get Install kernel-package libncurses5-dev wget bzip2 make patch#cd/USR/SRC#wget http://www.kernel.org/pub/linux/
Because the kernel does not differentiate between processes and threads, kernel threads (kernel thread) are also called kernel processes (kernel process). Note that threads in normal processes cannot be understood as processes.
The difference between a
10 days to learn the Nineth day of the Linux kernel---Add code to the kernelSleep a good sleep, very late, for a long time not so comfortable, today's task is not heavy, so the pressure is not big, oh, the weather is really cold, but the laboratory has air conditioning, I still like to stay here, there is a different feeling, after writing so many days, I do not understand the page gradually enlightened, And also made some friends, really very happy a
First, let's talk about how this problem came about. (When analyzing a technology, we should first consider what problems it wants to solve, or when learning new knowledge, what is the purpose of this knowledge ).
When compiling the kernel, I found a file named vmlinux. LDS. s under the arch/ARM/kernel directory. At first glance, do you want to compile a file? It seems that it is not. So what does it do?
instructions in the critical section are executed continuously, and may be executed in the critical section half way, Because the scheduler is preempted or interrupted, the CPU does not continue to execute within the critical zone, which means the execution is interrupted.But that still guarantees the avoidance of competitive conditions, the reason is that if a process outside of the interrupted process is scheduled, the process will have to access the critical section, the lock or semaphore, a
compilers !) Enthusiasts can select Y to get a smaller kernel.
Processor type and features
Symmetric multi-processing support if you do not have a multi-thread processor, you can select N
Processor family depends on your CPU.
For High Memory Support Memory larger than 1 GB, select "4 GB" and less than 1 GB, and do not plan to upgrade to 1 GB in the future. Select "off ".
Bus options (PCI, PCMCIA, EISA, MCA, ISA)
PCI support
PCI Express support vintag
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.