星期五, 5月 25, 2007

Linux 系統設定檔

inittab

/etc/inittab

  1. init 的腳本

  2. 呼叫初始化硬體的腳本 /etc/rc.d/rc.sysinit

  3. 呼叫初始化系統參數的腳本 /etc/init.d/rcS

  4. 啟動 bash

/etc/rc.d/rc.sysinit

初始化硬體

/etc/rc.d/rc.modules

網路驅動程式在此啟動

/etc/init.d/rcS

初始化系統參數

/etc/init.d/umountfs

copy kernel...OK

copy rootfs...OK
Uncompressing Linux................................................ done, booting the kernel.
Linux version 2.4.18-rmk7-swl8 (root@MDS-Linux-01) (gcc version 2.95.3 20010315 (release)) #3 三 10月 27 14:02:49 CST 24
CPU: SAMSUNG S3C2410(Arm920T)sid(wb) revision 0
Machine: create ARM920T-S3C2410
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 console=ttyS0
Calibrating delay loop... 101.37 BogoMIPS
Memory: 64MB = 64MB total
Memory: 52600KB available (1299K code, 286K data, 44K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
JFFS version 1.0, (C) 1999, 2000 Axis Communications AB
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
l3 S3C2410 Adapter Initialized
ttyS0 at MEM 0xe0000000 (irq = 52) is a S3C2410
ttyS1 at MEM 0xe0004000 (irq = 55) is a S3C2410
pty: 256 Unix98 ptys configured
Installing S3C2410 RTC
S3C Real Time Clock driver v1.00
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
S3C2410 UDA1341 / IIS initialized
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xd9000000, IRQ 26
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 8192 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 10240K
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 44K
INIT: version 2.78 booting
eth0: cs8900 rev K(3.3 Volts) found at 0xf0000300
cs89x0 media RJ-45, IRQ 37
INIT: Entering runlevel: 2
EXT2-fs: Unrecognized mount option
EXT2-fs: Unrecognized mount option
mount: / not mounted already, or bad option
Starting Network
bash-2.04#


0 意見: