LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 656|回复: 3

编译2.6内核后,系统启动IDE盘的问题

[复制链接]
发表于 2005-8-27 22:53:11 | 显示全部楼层 |阅读模式
我编译2.6.12.5内核以后,没有什么问题,但是系统启动的时候在一处停了很久
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    161 hda: max request size: 1024KiB
    162 hda: 78140160 sectors (40007 MB) w/1740KiB Cache, CHS=16383/255/63, UDMA(100)
    163 hda: cache flushes supported
    164  /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 > p3
    165 Probing IDE interface ide1...
    166 hdc: DV-28E-B, ATAPI CD/DVD-ROM drive
    167 ide1 at 0x170-0x177,0x376 on irq 15
    168 hdc: ATAPI 24X DVD-ROM drive, 256kB Cache, UDMA(33)
    169 Uniform CD-ROM driver Revision: 3.20
    170 Probing IDE interface ide2...
就在Uniform CD-ROM driver Revision: 3.20处停了好久,但幸好系统还是起来了。

后来看看log,下面是/var/log/syslog的信息:ide4有问题
Aug 27 22:20:03 mvision kernel: Probing IDE interface ide1...
  12560 Aug 27 22:20:03 mvision kernel: hdc: DV-28E-B, ATAPI CD/DVD-ROM drive
  12561 Aug 27 22:20:03 mvision kernel: ide1 at 0x170-0x177,0x376 on irq 15
  12562 Aug 27 22:20:03 mvision kernel: hdc: ATAPI 24X DVD-ROM drive, 256kB Cache, UDMA(33)
  12563 Aug 27 22:20:03 mvision kernel: Uniform CD-ROM driver Revision: 3.20
  12564 Aug 27 22:20:03 mvision kernel: Probing IDE interface ide2...
  12565 Aug 27 22:20:03 mvision kernel: Probing IDE interface ide3...
  12566 Aug 27 22:20:03 mvision kernel: Probing IDE interface ide4...
  12567 Aug 27 22:20:03 mvision kernel: ide4: Wait for ready failed before probe !
  12568 Aug 27 22:20:03 mvision kernel: Probing IDE interface ide5...
  12569 Aug 27 22:20:03 mvision kernel: EXT3-fs: mounted filesystem with ordered data mode.

我的分区表如下:
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         958     7695103+   7  HPFS/NTFS
/dev/hda2             959        4234    26314470    f  W95 Ext'd (LBA)
/dev/hda3            4235        4864     5060475   83  Linux
/dev/hda5             959        2315    10900071    7  HPFS/NTFS
/dev/hda6            2316        3645    10683193+   b  W95 FAT32
/dev/hda7            3646        4063     3357553+   b  W95 FAT32
/dev/hda8            4064        4088      200781   82  Linux swap / Solaris
/dev/hda9            4089        4234     1172713+  83  Linux

没有hda4,是这个原因吗?那应该怎么解决呢?
谢谢!
 楼主| 发表于 2005-8-27 22:55:12 | 显示全部楼层
是不是ide0对应hda,ide1对应hda1呢?
但是我的分区表中为什么会没有hda4呢?
回复 支持 反对

使用道具 举报

发表于 2005-8-28 12:05:42 | 显示全部楼层
ide0对应hda,ide1对应hdb
hda4是第四个主分区,这个主分区一般都会被用作扩展分区,所有的逻辑分区都在扩展分区上,从5开始计数。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-28 13:26:31 | 显示全部楼层
哦,后来我编译内核的时候去掉了genetic ide support,就可以了,呵呵
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表