LinuxSir.cn,穿越时空的Linuxsir!

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

gentoo 配置内核时与硬盘设置相关的选项---intel 主板芯片组

[复制链接]
发表于 2009-4-1 15:16:49 | 显示全部楼层 |阅读模式
NeddySeagoons' Rough Guide to Intel ICH7 Chip Set
Edit - Now tested with ICH3, ICH4, ICH5, ICH6, ICH7,ICH8, ICH9 and ICH10R too

Regardless of the electrical connection of the drives to the motherboard, you will use the SCSI high level layer.
All your drives will appear as SCSI devices. This means you will have to change grub.conf and /etc/fstab if you have PATA drives.

You have an Intel ICH7 Family chip set. genkernel will not set this one up correctly, so you have to help it if you want to use genkernel.
In make menuconfig choose the following options:-
代码:
--------------------
Device Drivers  --->
    < > ATA/ATAPI/MFM/RLL support  --->
-------------------

turn off the ATA/ATAPI/MFM/RLL support menu item entirely.
You may think this will prevent your CDROM working - it won't. I'll explain later.
Choose
代码:
------------------------
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers  --->
   <*>   Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
-----------------------
notice how it says PATA/SATA in the name. This driver is a combined driver for both SATA and IDE modes - its peculiar to Intel. All other options on this menu must be off, including the two Intel PATA options close to the bottom. If you get that wrong your hard drive will appear as an IDE drive and be very slow as you will not get DMA modes.
Thats the low level drivers set.
Now the high level driver
go back up to

代码:
-----------------------
SCSI device support  --->
----------------------
Inside that menu choose

代码:
-------------------
  │ │                 < > RAID Transport Class         
  │ │                 -*- SCSI device support   
  │ │                 < > SCSI target support   
  │ │                 
  • legacy /proc/scsi/ support     
      │ │                     *** SCSI support type (disk, tape, CD-ROM) ***
      │ │                 <*> SCSI disk support           
      │ │                 < > SCSI tape support   
      │ │                 < > SCSI OnStream SC-x0 tape support
      │ │                 <*> SCSI CDROM support
    ------------------------------------
    SCSI CDROM support may be either <M> or <*> but your CDROM is going to be treated as a SCSI device now. It will have two entries in /dev, /dev/sr0 which is the block device you use in the normal way and /dev/sg0 which is its controlling charater device. Normally, you don't need to know that as udev takes care of creating the symlinks properly. However, if your CDROm is listed in /etc/fstab as /dev/hd... that will need to change.

    Edit - with thanks to ilm
    Note - ICH8 and ICH9 chipsets have been seen with AHCI SATA hardware, in which case you will need
    代码:
    -----------------------------
       <*>   AHCI SATA support
       <*>   Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
    -----------------------------

    If you are sure you only have AHCI hardware, Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support is not required.

    Edit - with apologies to Mort_pp
    Note, Some ICH9 chipsets have a supporting Jmicron PATA/SATA chip. If this is listed in your lspci, you will need
    代码:
    ---------------------------

       <*>   JMicron PATA support

    -------------------
    too.

    Edit - with thanks to E001754 for reporting the ICH10R working

    Edit - tested with ICH3 in IRC.
    /////////////////////////////////////////
    .
    .
    最后进行编辑的是 NeddySeagoon, on Thu Dec 25, 2008 6:20 pm, 总计第 7 次编辑
    .


    /////////////////////////////////////////

    .
    .
  • 发表于 2009-4-2 20:00:13 | 显示全部楼层
    不错,我的就是INTEL主板,正需要,这个是出自哪里啊?
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2009-4-2 20:36:58 | 显示全部楼层
    gentoo 的E文论坛。
    回复 支持 反对

    使用道具 举报

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

    本版积分规则

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