rh9.0虚拟机dmesg启动过程分析(1)

本文详细记录了Linux系统的启动流程,包括内核版本信息、物理内存分布、CPU检测配置、网络及磁盘驱动加载等关键步骤。
Linux version 2.4.20-8 ( bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
#linux内核版本:2.4.20-8
#Gcc版本,c编译器版本:3.2.2
#当前发行版本的发布日期:Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)    #可用的
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)  #保留的
 BIOS-e820: 00000000000ca000 - 00000000000cc000 (reserved)
 BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000009ef0000 (usable)
 BIOS-e820: 0000000009ef0000 - 0000000009efc000 (ACPI data)  #ACPI数据
 BIOS-e820: 0000000009efc000 - 0000000009f00000 (ACPI NVS)   #ACPI NVS
 BIOS-e820: 0000000009f00000 - 000000000a000000 (usable) 
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
#使用e820技术显示的物理内存地址列表
0MB HIGHMEM available.
#0M高速缓存可用
160MB LOWMEM available.
#160M低速缓存可用
On node 0 totalpages: 40960
zone(0): 4096 pages.
zone(1): 36864 pages.
zone(2): 0 pages.
#页面信息
Kernel command line: ro root=LABEL=/
#内核命令行:根只读
Initializing CPU#0
#初始化CPU#0
Detected 2793.547 MHz processor.
#检测cpu主频为2793.547
Console: colour VGA+ 80x25
#console类型
Calibrating delay loop... 5570.56 BogoMIPS
#校正回环延时,后面的数值好像是每秒运算多少百万条指令
Memory: 156648k/163840k available (1347k kernel code, 5460k reserved, 999k data, 132k init, 0k highmem)
#可用物理内存,kernel占用1347k;5460k保留;999k数据;132k初始化;0k高速缓存
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
#各种缓存hash值
CPU: Trace cache: 12K uops<6>CPU: L2 cache: 256K
#cpu的L1和L2
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
#硬件体系结构
CPU:     After generic, caps: 0febfbff 00000000 00000000 00000000
CPU:             Common caps: 0febfbff 00000000 00000000 00000000
CPU: Intel(R) Celeron(R) CPU 2.80GHz stepping 08
#CPU检测信息
Enabling fast FPU save and restore... done.
#启用快速FPU读写
Enabling unmasked SIMD FPU exception support... done.
#启用无屏蔽的单指令流FPU异常支持
Checking 'hlt' instruction... OK.
#检测hlt指令
POSIX conformance testing by UNIFIX
#POSIX一致性测试
mtrr: v1.40 (20010327) Richard Gooch ( rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
#内核的MTRR支持,可提升PCI/AGP速率
PCI: PCI BIOS revision 2.10 entry at 0xfd9a0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
PCI: Cannot allocate resource region 4 of device 00:07.1
#PCI扩展插槽检测
Limiting direct PCI/PCI transfers.
#限制直连的PCI传输
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
#ISA扩展插槽检测
Linux NET4.0 for Linux 2.4
#2.4内核支持ipv4
Based upon Swansea University Computer Society NET3.039
#基于SUCS的NET3.039
Initializing RT netlink socket
#初始化网络接收接口
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
#高级电源管理
Starting kswapd
#启动kswpd进程,kswapd是核心调页线程,挺重要的一个核心线程
VFS: Disk quotas vdquot_6.5.1
#虚拟文件系统
pty: 2048 Unix98 ptys configured
#伪终端支持
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
#串行设备的内核支持
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
#初始化tty
Real Time Clock Driver v1.10e
#始终程序
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
#软驱驱动
NET4: Frame Diverter 0.46
#网络的帧分离器版本
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
#随机存储器支持
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
#一致的多平台E-IDE驱动版本
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
#IDE的工作频率
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide1: BM-DMA at 0x1478-0x147f, BIOS settings: hdc:DMA, hdd:pio
#IDE驱动信息
hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
#ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
#IDE1位置和IRQ
ide-floppy driver 0.99.newide
ide-floppy driver 0.99.newide
#IDE驱动
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
#多线程调试
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
#TCP/IP信息
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 247k freed
#空闲的初始化缓存
VFS: Mounted root (ext2 filesystem).
#挂接根文件系统
SCSI subsystem driver Revision: 1.00
#SCSI支持
PCI: Found IRQ 11 for device 00:10.0
#PCI IRQ支持
scsi: ***** BusLogic SCSI Driver Version 2.1.15 of 17 August 1998 *****
scsi: Copyright 1995-1998 by Leonard N. Zubkoff < lnz@dandelion.com>
scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
scsi0:   Firmware Version: 5.07B, I/O Address: 0x1440, IRQ Channel: 11/Level
scsi0:   PCI Bus: 0, Device: 16, Address: 0xEC800000, Host Adapter SCSI ID: 7
scsi0:   Parity Checking: Enabled, Extended Translation: Enabled
scsi0:   Synchronous Negotiation: Ultra, Wide Negotiation: Enabled
scsi0:   Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
scsi0:   Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 211
scsi0:   Driver Queue Depth: 211, Host Adapter Queue Depth: 192
scsi0:   Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
scsi0:   Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
scsi0: *** BusLogic BT-958 Initialized Successfully ***
scsi0 : BusLogic BT-958
  Vendor: VMware,   Model: VMware Virtual S  Rev: 1.0 
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0: Target 0: Queue Depth 28, Asynchronous
scsi0: Target 1: Queue Depth 3, Asynchronous
scsi0: Target 2: Queue Depth 3, Asynchronous
scsi0: Target 3: Queue Depth 3, Asynchronous
scsi0: Target 4: Queue Depth 3, Asynchronous
scsi0: Target 5: Queue Depth 3, Asynchronous
scsi0: Target 6: Queue Depth 3, Asynchronous
scsi0: Target 7: Queue Depth 3, Asynchronous
scsi0: Target 8: Queue Depth 3, Asynchronous
scsi0: Target 9: Queue Depth 3, Asynchronous
scsi0: Target 10: Queue Depth 3, Asynchronous
scsi0: Target 11: Queue Depth 3, Asynchronous
scsi0: Target 12: Queue Depth 3, Asynchronous
scsi0: Target 13: Queue Depth 3, Asynchronous
scsi0: Target 14: Queue Depth 3, Asynchronous
scsi0: Target 15: Queue Depth 3, Asynchronous
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 8388608 512-byte hdwr sectors (4295 MB)
#检测和调试SCSI驱动器过程
Partition check:
 sda: sda1 sda2 sda3 sda4 < sda5 >
#分区检测
Journalled Block Device driver loaded
#驱动器载入
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
scsi0: Tagged Queuing now active for Target 0
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
#文件系统检测、挂接、设置
Freeing unused kernel memory: 132k freed
#空闲的可用核心内存
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
usb-uhci.c: High bandwidth mode enabled
#USB驱动支持和检测
PCI: Found IRQ 9 for device 00:07.2
PCI: Sharing IRQ 9 with 00:12.0
#PCI设备检测
usb-uhci.c: USB UHCI at I/O 0x1060, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
#usb设备检测
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik < vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
Adding Swap: 305192k swap-space (priority -1)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
#文件系统挂接
ip_tables: (C) 2000-2002 Netfilter core team
#ip_tables核心线程信息
pcnet32.c:v1.27b 01.10.2002  tsbogend@alpha.franken.de
PCI: Found IRQ 10 for device 00:11.0
pcnet32: PCnet/PCI II 79C970A at 0x1080, 00 0c 29 e5 f4 4d assigned IRQ 10.
divert: allocating divert_blk for eth0
eth0: registered as PCnet/PCI II 79C970A
pcnet32: 1 cards_found.
#网卡
ip_tables: (C) 2000-2002 Netfilter core team
ip_tables: (C) 2000-2002 Netfilter core team
ip_tables: (C) 2000-2002 Netfilter core team


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值