易截截图软件、单文件、免安装、纯绿色、仅160KB

Linux 内核启动分析(转)

Linux 内核启动分析
1.       内核启动地址
1.1.   名词解释
ZTEXTADDR
解压代码运行的开始地址。没有物理地址和虚拟地址之分,因为此时MMU处于关闭状态。这个地址不一定时RAM的地址,可以是支持读写寻址的flash等存储中介。
Start address of decompressor. here's no point in talking about virtual or physical addresses here, since the MMU will be off at the time when you call the decompressor code. You normally call   the kernel at this address to start it booting. This doesn't have to be located in RAM, it can be in flash or other read-only or      read-write addressable medium.
      
ZRELADDR
       内核启动在RAM中的地址。压缩的内核映像被解压到这个地址,然后执行。
This is the address where the decompressed kernel will be written, and eventually executed. The following constraint must be valid:
              __virt_to_phys(TEXTADDR) == ZRELADDR
       The initial part of the kernel is carefully coded to be position independent.
TEXTADDR
       内核启动的虚拟地址,与ZRELADDR相对应。一般内核启动的虚拟地址为RAM的第一个bank地址加上0x8000。
       TEXTADDR = PAGE_OFFSET + TEXTOFFST
       Virtual start address of kernel, normally PAGE_OFFSET + 0x8000.This is where the kernel image ends up.  With the latest kernels, it must be located at 32768 bytes into a 128MB region.  Previous kernels placed a restriction of 256MB here.
TEXTOFFSET
       内核偏移地址。在arch/arm/makefile中设定。
PHYS_OFFSET
       RAM第一个bank的物理起始地址。
Physical start address of the first bank of RAM.
PAGE_OFFSET
RAM第一个bank的虚拟起始地址。
       Virtual start address of t


相关文档:

Linux iptable文档

总览
用iptables -ADC 来指定链的规

,-A添加 -D删除 -C 修改
iptables - [RI] chain rule num rule-specification[option]
用iptables - RI 通过规则的顺序指定
iptables -D chain rule num[option]
删除指定规则
iptables -[LFZ] [chain][option]
用iptables -LFZ 链名 [选项]
iptables -[NX] chain
用 -NX ......

LINUX系统操作

单用户模式进入:
进入启动画面之后,敲入“e”,光标移动到kernel ...那一行,再敲入“e”,在kernel 一行的最后加上空格single,回车
敲入“b”,启动系统,即进入单用户模式
查看命令启动路径:
vi .bashrc
查看环境变量:
env 
改变目录权限:
chmod -R +777 目录
查看自 ......

硬盘安装red hat linux 9.0

分享一下我在网上看到的硬盘安装Linux 9.0的相关操作:
下面有两种安装方法.
<A>从dos安装.这方法可以不用软盘,比较方便.
<A.1> 得到dosutils目录
这个目录里有从dos安装和软盘安装的工具.一般都在第一个iso文件里.
在linux下可以这样装载iso文件.
mount -o loop valhalla-i386-disc1.iso /mnt/cdro ......

《Linux性能及调优指南》第一章:了解Linux操作系统


翻译:飞哥 (
http://hi.baidu.com/imlidapeng
)
版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明。
原文名称:《Linux Performance and Tuning Guidelines》
原文地址:http://www.redbooks.ibm.com/abstracts/redp4285.html
----------------------------------------------------------------- ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号