当前位置: 技术问答>linux和unix
300分求内核初始化及启动中出现的问题,
来源: 互联网 发布时间:2015-08-03
本文导语: 我的本本是SHARP PC-AX40型号的, 处理器: Intel Pentium III 700M 内存容量: 128M 内存类型: SDRAM 硬盘容量: 20G 屏幕尺寸: 12.1寸 安装的是Redhat 9.0 安装过程中一切正常,可安装完后在 GRUB启动菜单中我选择 RED HAT 2...
我的本本是SHARP PC-AX40型号的,
处理器: Intel Pentium III 700M
内存容量: 128M
内存类型: SDRAM
硬盘容量: 20G
屏幕尺寸: 12.1寸
安装的是Redhat 9.0 安装过程中一切正常,可安装完后在
GRUB启动菜单中我选择 RED HAT 2..... //后面那些数字记不太清楚了.
然后正常的加载动作,提示文字一屏屏的向上翻
.....
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
……
Starting kswapd v 1.5
......
pty :2048 unix98 deys configured
Serial driver verison 5.05(...............)
IAL-PCI ISAPNP Enabled
ttys1 at 0X02F8 (IRQ=3) is a 16550A
Real Time Clock driver v1.10 e //到这里就不动了,已死机.
据上面的信息,Linux 启动还没有到Init()也就是还没有执行到InitTab这里.应该是设备的初始化阶段.是不是我的硬件不支持,可是安装时它没有提示我的硬件有问题呀.
现在是这个问题该怎解决?大家提供些资料.问题解决者我将另开3贴(每贴100分)给予问题解决者,参与者也给分.希望大家关注,急!!!
以下贴是一样的.
http://community.csdn.net/Expert/topic/3362/3362370.xml?temp=4.006594E-02
处理器: Intel Pentium III 700M
内存容量: 128M
内存类型: SDRAM
硬盘容量: 20G
屏幕尺寸: 12.1寸
安装的是Redhat 9.0 安装过程中一切正常,可安装完后在
GRUB启动菜单中我选择 RED HAT 2..... //后面那些数字记不太清楚了.
然后正常的加载动作,提示文字一屏屏的向上翻
.....
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
……
Starting kswapd v 1.5
......
pty :2048 unix98 deys configured
Serial driver verison 5.05(...............)
IAL-PCI ISAPNP Enabled
ttys1 at 0X02F8 (IRQ=3) is a 16550A
Real Time Clock driver v1.10 e //到这里就不动了,已死机.
据上面的信息,Linux 启动还没有到Init()也就是还没有执行到InitTab这里.应该是设备的初始化阶段.是不是我的硬件不支持,可是安装时它没有提示我的硬件有问题呀.
现在是这个问题该怎解决?大家提供些资料.问题解决者我将另开3贴(每贴100分)给予问题解决者,参与者也给分.希望大家关注,急!!!
以下贴是一样的.
http://community.csdn.net/Expert/topic/3362/3362370.xml?temp=4.006594E-02
|
我猜测是 console init的时出错了
我的机器dmesg信息:
Real Time Clock Driver v1.10e
floppy0: no floppy controllers found
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
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 00:02.5
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SiS650 ATA 100 controller
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST340014A, ATA DISK drive
blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff)
hdc: ST330621A, ATA DISK drive
hdd: ASUS DVD-ROM E608, ATAPI CD/DVD-ROM drive
blk: queue c03ca3a0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
hdc: host protected area => 1
hdc: 58633344 sectors (30020 MB) w/1024KiB Cache, CHS=58168/16/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
hdc: [PTBL] [3649/255/63] hdc1 hdc2 hdc3 hdc4
ide-floppy driver 0.99.newide
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 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 146k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 132k freed
我的机器dmesg信息:
Real Time Clock Driver v1.10e
floppy0: no floppy controllers found
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
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 00:02.5
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SiS650 ATA 100 controller
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST340014A, ATA DISK drive
blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff)
hdc: ST330621A, ATA DISK drive
hdd: ASUS DVD-ROM E608, ATAPI CD/DVD-ROM drive
blk: queue c03ca3a0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
hdc: host protected area => 1
hdc: 58633344 sectors (30020 MB) w/1024KiB Cache, CHS=58168/16/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
hdc: [PTBL] [3649/255/63] hdc1 hdc2 hdc3 hdc4
ide-floppy driver 0.99.newide
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 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 146k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 132k freed
|
www.redehat.org
|
BIOS 有Real Time Clock 选项否?能否关闭?
|
信息显示出来的地方通常没错。
建议加apci off启动安装,这是一个造成许多机器启动失败的原因之一
建议加apci off启动安装,这是一个造成许多机器启动失败的原因之一
|
kernel source 参考
time_init();
/*
* HACK ALERT! This is early. We're enabling the console before
* we've done PCI setups etc, and console_init() must be aware of
* this. But we do want output early, in case something goes wrong.
*/
console_init();
#ifdef CONFIG_MODULES
init_modules();
#endif
profile_init();
kmem_cache_init();
sti();
calibrate_delay();
#ifdef CONFIG_BLK_DEV_INITRD
if (initrd_start && !initrd_below_start_ok &&
initrd_start
time_init();
/*
* HACK ALERT! This is early. We're enabling the console before
* we've done PCI setups etc, and console_init() must be aware of
* this. But we do want output early, in case something goes wrong.
*/
console_init();
#ifdef CONFIG_MODULES
init_modules();
#endif
profile_init();
kmem_cache_init();
sti();
calibrate_delay();
#ifdef CONFIG_BLK_DEV_INITRD
if (initrd_start && !initrd_below_start_ok &&
initrd_start