BBSˮľÇ廪վ¡Ã¾«»ªÇø
·¢ÐÅÈË: vertex (lancelord), ÐÅÇø: Linux
±ê Ìâ: Linux ºËÐÄÆô¶¯¹ý³ÌÒ»ÀÀ
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Wed May 5 16:43:07 1999)
·¢ÐÅÈË: vertex (lacelord), ÐÅÇø: Linux
±ê Ìâ: Linux Æô¶¯ÐÅÏ¢
·¢ÐÅÕ¾: 9781 BBS (Tue May 4 10:26:21 1999), תÐÅ
/*
±¾ÎIJο¼ÁË
http://gem.ncic.ac.cn/~xhg/khg/HyperNews/get/tour/tour.html
»¶ÓÖ¸Õý.
-------------------------------------------------------------------
ÓÃdmesgÃüÁî¿ÉÒÔ¿´µ½linuxÆô¶¯´ò³öµÄÏûÏ¢.
´ÓÕâ¿ÉÒÔ¿´µ½linuxÆô¶¯µÄ¹ý³Ì.
Ö÷ÒªµÄÔ´Îļþ
¿ÉÒÔµ½ http://gem.ncic.ac.cn/lance/lxr/source/init/main.c
*/
--------------------------------------------------------------------
/**
ÄÚºËµÄÆô¶¯×îºóÊǵ½ start_kernel ( in /init/main.c )
head.S --> main.c(start_kernel) ..
½¨Òéÿ¸öÈ˶¼¶ÁһϠmain.c ( init/ )
ÓпտÉÒÔ¶Á head.S ( arch/i386/boot/ )
**/
/**
µÚÒ»²¿·Ö : Äں˳õʼ»¯ÒÔ¼°Æô¶¯.
**/
Loading ....[ bootsect.S ]
uncompress .....[ decompress_kernel() ]
/*
* main.c ---> start_kernel() ¿ªÊ¼.
*
* ¿ªÊ¼ printk(banner);
*/
Linux version 2.2.6 (root@lance) (gcc version 2.7.2.3)
#40 Sun Apr 18 17:44:20 CST 1999
/* ÒÔÏÂÊÇ /arch/i386/time.c ÖÐ init_time() ´ò³öµÄÐÅÏ¢ */ýw
Detected 199908264 Hz processor.
/* console_init() --> drivers/char/tty_io.c */
Console: colour VGA+ 80x25
/*ÔËÐÐÒ»¸öÑ»·,²âÁ¿Ò»Ï MIPS -- ΪʲôҪ¸ÉÕâ¼þɵÊÂ??*/ýw
/* ÎÒÖªµÀÁË ... ÕâÊÇÒòΪÄÚºËÐèÒªÖªµÀÒ»¸öÈ·¶¨µÄ»úÆ÷Ö¸ÁîÖÜÆÚÀ´ÊµÏÖʵʱµÄÑÓ³Ù.
ΪʲôҪ´òÓ¡³öÀ´ ?? ÕâÓÐÁ½¸öÔÒò :
1 . ÓÃÓÚ DEBUG .
2 . ¸ãЦÓÃ; , Linus Torvalds ÿÿ¿´¼ûÓû§¶Ô´ËÒɻ󲻽âʱ,×ÜÊÇ
´óЦ....:-((
*/
Calibrating delay loop... 199.48 BogoMIPS
/* init_mem */
Memory: 63396k/65536k available (848k kernel code, 408k reserved, 856k data, 28k
/** dquote_init() **/
VFS: Diskquotas version dquot_6.4.0 initialized
/* ?????????? **/
CPU: Intel Pentium Pro stepping 09
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
/**
´Ëºóµ÷Óà linux_thread(init ,..,..,)(arch/i386/kernel/process.c)
´´½¨Ò»¸öÔËÐÐ init µÄ½ø³Ì.
´Ó´Ë...¿ªÊ¼ÁËÒ»¸öеĽ׶Π:
½øÈëÁËÓû§Ä£Ê½ ( user_mode) ,Ìøµ½ÒÔϵڶþ²¿·Ö.----+
|
|
End of start_kernel |
|
×îºó½øÈëcpu_idle ( arch/i386/kernel/process.c ) |
|
**/ |
|
/** |
µÚ¶þ²¿·Ö <-------------------------------------+
ÒÔÏÂÊǶÔÉ豸µÄ³õʼ»¯ . init()--->do_basic_init()--+
**/ |
/* |
* pci_init() <------------------------------------+
* |
*/ +------------------------------------+
PCI: PCI BIOS revision 2.10 entry at 0xfd8d1 |
PCI: Using configuration type 1 |
PCI: Probing PCI hardware |
|
/** |
¶ÔSocketµÄ³õʼ»¯,socket_init() <------------------+
**/ |
+--------------------------+
Linux NET4.0 for Linux 2.2 |
Based upon Swansea University Computer Society NET3.039 |
NET4: Unix domain sockets 1.0 for Linux NET4.0. |
NET4: Linux TCP/IP 1.0 for NET4.0 |
IP Protocols: ICMP, UDP, TCP |
/** **/ |
Starting kswapd v 1.5 kswapd_setup() <-------------------+
/** Mouse **/ |
Detected PS/2 Mouse Port. |
device_setup()
/** Éù¿¨ **/ |
|
Sound initialization started |
Sound initialization complete |
|
/** ÈíÇý **/ |
|
Floppy drive(s): fd0 is 1.44M |
FDC 0 is a National Semiconductor PC87306 |
|
/** SCSI É豸µÄ³õʼ»¯ **/ +----------------------------+
|
(scsi0) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 13/0 |
(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs |
(scsi0) Downloading sequencer code... 419 instructions downloaded |
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4 |
<Adaptec AIC-7880 Ultra SCSI host adapter> |
scsi : 1 host. |
Vendor: SEAGATE Model: ST32155W Rev: 0596 |
Type: Direct-Access ANSI SCSI revision: 02 |
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 |
Vendor: SEAGATE Model: ST32155W Rev: 0596 |
Type: Direct-Access ANSI SCSI revision: 02 |
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0 |
scsi : detected 2 SCSI disks total. |
(scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8. |
SCSI device sda: hdwr sector= 512 bytes. Sectors= 4197405 [2049 MB] [2.0 GB]
(scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec, offset 8.
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4197405 [2049 MB] [2.0 GB]
Partition check: |
sda: sda1 |
sdb: sdb1 sdb2 < sdb5 sdb6 > |
/** |
<------------------------------------+
°²×° Îļþϵͳ filesystem_setup()
°²×°É豸Çý¶¯³ÌÐò |
mount_root()
**/ +------------------------------------>..
VFS: Mounted root (ext2 filesystem) readonly. |
|
Freeing unused kernel memory: 28k freed |
Adding Swap: 66540k swap-space (priority -1) |
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996 |
SB 3.01 detected OK (220) |
<ESS ES1688 AudioDrive (rev 11) (3.01)> at 0x220 irq 5 dma 1 |
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
<Yamaha OPL3> at 0x388 |
NET4: AppleTalk 0.18 for Linux NET4.0 +--+
eth0: Intel EtherExpress Pro 10/100 at 0xf800, 00:A0:C9:49:2F:FF, IRQ 9. |
Board assembly 645520-034, Physical connectors present: RJ45 |
Primary interface chip DP83840 PHY #1. |
DP83840 specific setup, setting register 23 to 8462. |
General self-test: passed. |
Serial sub-system self-test: passed. |
ý Internal registers self-test: passed. |
ROM checksum self-test: passed (0x49caa8d6). |
Receiver lock-up workaround activated. |
NET4: AppleTalk 0.18 for Linux NET4.0 |
<-----------------------------------------------+
/* ½áÊø do_basic_setup()
* open("/dev/console", O_RDWR, 0)
* ¿ªÊ¼Ö´ÐÐ /sbin/init ( execv(...) )
* ÄÚºË¾Í´ËÆô¶¯Íê±Ï...
* ÒÔºó¾ÍËûµÄ×÷ÓþÍÊǽÓÊÜÏûÏ¢ºÍÐźÅÀ´¹¤×÷.
* ( ͨ¹ý fork À´²úÉúеĽø³Ì )..
*/
--
¡ù ÐÞ¸Ä:¡¤vertex ì¶ May 5 16:54:18 Ð޸ı¾ÎÄ¡¤[FROM: 166.111.196.11]
¡ù À´Ô´:¡¤BBS ˮľÇ廪վ bbs.net.tsinghua.edu.cn¡¤[FROM: 166.111.196.11]
BBSˮľÇ廪վ¡Ã¾«»ªÇø