ChinaUnix.net
相关文章推荐:

kernel 2.6

2.5.59+ kernel makefile documentation [Posted February 4, 2003 by corbet] Linux kernel Makefiles This document describes the Linux kernel Makefiles. === Table of Contents === 1 Overview === 2 Who does what === 3 The kbuild Makefiles --- 3.1 Goal definitions --- 3.2 Built-in object goals - obj-y --- 3.3 Loadable module goals - obj-m --- 3.4 Objects which expo...

by g_hk - Linux文档专区 - 2007-04-11 16:49:50 阅读(649) 回复(0)

相关讨论

changes in kernel 2.6 Linux2.6内核驱动移植 随着Linux2.6的发布,由于2.6内核做了教的改动,各个设备的驱动程序在不同程度上要进行改写。为了方便各位Linux爱好者我把自己整理的这分文档share出来。该文当列举了2.6内核同以前版本的绝大多数变化,可惜的是由于时间和精力有限没有详细列出各个函数的用法。 特别声明:该文档中的内容来自http://lwn.net,该网也上也有各个函数的较为详细的说明可供各位参考。如果需要该文档的word...

by ificanfly - Linux文档专区 - 2005-12-02 16:40:11 阅读(765) 回复(0)

How to compile kernel modules for the kernel 2.6 HOWTO compile kernel modules for the kernel 2.6: If you want to compile the sum-module (source mirrored below), follow these steps: Create the Makefile in your directory with the sum-module.c obj-m := sum-module.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) SUBDIRS=$(P...

by unix_disciple - Linux文档专区 - 2009-10-09 21:46:34 阅读(753) 回复(0)

RCU(Read-Copy Update),顾名思义就是读-拷贝修改,它是基于其原理命名的。对于被RCU保护的共享数据结构,读者不需要获得任何锁就可以访问它,但写者在访问它 时首先拷贝一个副本,然后对副本进行修改,最后使用一个回调(callback)机制在适当的时机把指向原来数据的指针重新指向新的被修改的数据。这个时 机就是所有引用该数据的CPU都退出对共享数据的操作。 因此RCU实际上是一种改进的rwlock,读者几乎没有什么同步开销,它...

by sunorr - Linux文档专区 - 2009-09-25 17:57:39 阅读(839) 回复(0)

Compile Linux 2.6 kernel 1.Download kernel: http://www.kernel.org/pub/linux/kernel/v2.6/ 2.Copy code to work directory: #cp linux-2.6.18.1.tar.gz /usr/src #cd /usr/src 3.If there is an old edition,delete the symbol link: #rm -f linux-2.4 4.decompress the packdge: #tar -zxvf linux-2.6.18.1.tar.gz 5.enter the compile directory: #cd /usr/src/linux-2.6.18.1 6.This command ensure there is no .o ...

by nciae - Linux文档专区 - 2009-05-06 07:50:16 阅读(836) 回复(0)

0 - 前言 1 - 2.4 回顾 2 - 2.6 的变化 2.1 2.6的.ko文件 2.2 失效的原因 3 - 对策 3.1 修改.rel.gnu.linkonce.this_module 3.2 例子 4 - 检测module injection的方法 5 - 参考 6 - 代码 --[ 0 - 前言 phrack 61期有一篇不错的文章[1],给出了一种感染内核模块的方法,不过是基于2.4 内核的,该方法在2.6上无效,但是思想还是通用的。通过对2.6内核加载的分析,了解 两者之间的差异,并最终实现2.6下的module inje...

by loughsky - Linux文档专区 - 2007-04-12 18:02:45 阅读(543) 回复(0)

[color="#000000"]Web [color="#000000"]me09.cublog.cn 搜索更多[color="#02368d"]linux kernel 2.6 Makefile 转自 oldlinux.org .在此感谢原文作者给我们提供学习新知识机会。 2.5.59+ kernel makefile documentation Linux kernel Makefiles This document describes the Linux kernel Makefiles. === Table of Contents === 1 Overview === 2 Who does what === 3 The kbuild Makefiles --- 3.1 Goal definit...

by me09 - Linux文档专区 - 2006-06-15 18:56:11 阅读(940) 回复(0)

编译内核make成功,在make intsall的时候: kernel: arch/i386/boot/bzImage is ready sh /usr/src/linux-2.6.9/arch/i386/boot/install.sh 2.6.9 arch/i386/boot/gzImage System.map 此时,系统一直在运行,但是经过很长时间(至少一个小时了),还停留在这里,不知是什么原因? 谢谢!

by kuangtu - 内核/嵌入技术 - 2006-04-24 16:55:32 阅读(791) 回复(2)

编译内核make成功,在make intsall的时候: kernel: arch/i386/boot/bzImage is ready sh /usr/src/linux-2.6.9/arch/i386/boot/install.sh 2.6.9 arch/i386/boot/gzImage System.map 此时,系统一直在运行,但是经过很长时间(至少一个小时了),还停留在这里,不知是什么原因? 谢谢!

by kuangtu - 内核源码 - 2006-04-24 16:55:32 阅读(1549) 回复(2)

# # Automatically generated make config: don't edit # Linux kernel version: 2.6.16 # Wed Apr 5 19:11:42 2006 # CONFIG_X86_32=y CONFIG_SEMAPHORE_SLEEPERS=y CONFIG_X86=y CONFIG_MMU=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_DMI=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_kernel=y CONFIG_INIT_ENV_ARG_LIMIT=32 # # General setup # C...

by lues - Linux文档专区 - 2006-04-06 00:16:41 阅读(838) 回复(0)