LinuxSir.cn,穿越时空的Linuxsir!

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

-help Linux 4 raid 驱动安装问题?

[复制链接]
发表于 2007-12-5 23:39:19 | 显示全部楼层 |阅读模式
由于工作需要接触到redhat linux 4 我的核心版本是 2.6.9-5.EL
一张sil 3114 raid卡!两个80G 做raid 0 驱动软盘也做了好了!
不过坛子里说在boot :linux dd 不过我的不行!
驱动里面有个说明,我看得不是很懂!希望得到大虾们的帮助,谢谢啦!
下面是驱动里面带的说明!大家看一下!

Silicon Image Red Hat Enterprise Linux 4 Driver Installation for 3114 Controllers


1. OVERVIEW

This driver disk adds support for the SiI 3114 SATA controller and overrides the Open Source Driver. The installation will override the default Open Source Driver already contained in the CD-ROM.

Supported RedHatLinux versions:

* RedHat Enterprise Linux 4, Kernel revision 2.6.9-5.
* This driver rev. 1.0.5.8 supports 32-bit AMD/Intel platforms for Sii3114 controller with RAID capability.


CREATE FLOPPY before INSTALLATION

1) If you received the driver in an xxx.img format, the easiest way to create a floppy containing the drivers under Linux is to use
'dd' as follows:

dd if=file_name.img of=/dev/fd0 (In a Linux System)
where filename will change with the distribution used.

2) Configure RAID SET using the controller BIOS if you want RAID
functionality

3) The following BIOS BOOT sequence is recommended => CD, Hard Disk,
Floppy



2. FRESH INSTALLATION TO A BOOT DRIVE

Installing the SiI Driver currently requires some manual intervention. It also requires to disable probing so that the Open Source Drivers does not get installed. At boot time type:

'linux noprobe' at the boot prompt.


When you get to the screen shown in figure 1, get a shell prompt (see last page) and execute the initial_install script as followings to install the driver for boot disk:


# mkdir /f
# mount /dev/fd0 /f
# cd /f
# ./initial_install.sh


Figure 1:


| Warning |

No hard drives have been found.
You probably need to manually
choose device drivers for the
for the installation to succeed. Would
you like to select drivers now?

| Yes | | No |




Once the driver is installed select 'No' and then 'Done' on the next two screens. Continue with the installation.
At the end, go to shell prompt ([Ctrl]-[Alt]-[F2]) to run the script below BEFORE REBOOTING.

./upgrade_driver.sh


This last step writes all the drivers permanently into the kernel.

Go back to the last screen (such as [Ctrl]-[Alt]-[F7]) to reboot the system. Installation of boot disk at this point is completed.



3. ACCESS A SATA DISK AS DATA DRIVE WITHOUT UPGRADING THE KERNEL

If your system is already up and running, you can add loadable modules to access the SATA drives by the followings:

. Unload the open source driver for Silicon Image controllers if it was loaded.

. # mount /mnt/floppy
in case of DOS formatted floppy
. # mount -t vfat /dev/fd0 /mnt/floppy

. Install the driver by adding the following lines at the end of the script in /etc/rc.d/rc.sysinit

'insmod scsi_mod'
'insmod sii3114'

The SATA data drive would be available at next time when system reboot. At this point you are done with the installation

. If you want to permanently have access to your SATA drives we recommend
you upgrade to kernel as shown below.




4. UPGRADE THE KERNEL TO ACCESS SATA AS DATA DRIVES

If your system is already up and running, you can use shell scripts to modify
the kernel or add loadable modules to access the SATA drives as followings:

. Unload the open source driver for Silicon Image controllers if it was loaded.

. # mount /mnt/floppy
in case of DOS formatted floppy
. # mount -t vfat /dev/fd0 /mnt/floppy

. # 'sh /mnt/floppy/load-driver-from-floppy.sh' (DATA DRIVES)
(or use the the proper script depending on your kernel)

. If you received a zipped file, unzip the file and copy the modules.cgz
to a destination directory. Type "modules.cgz | gunzip | cpio -ivH crc" to
unzip the driver tree and load the approapriate driver file to your system.

. if you want to make sure you can see the drives, you may want
to 'mke2fs /dev/sda' and 'mount /dev/sda /test' the hard disk(s)

. insmod sii3114. As an example add the following lines at the end
of the script in /etc/rc.d/rc.sysinit

'insmod scsi_mod'
'insmod sii3114'

. # ./mnt/floppy/upgrade_driver.sh
/etc/lilo.conf and /boot/grub/grub.conf will be saved by the setup
script. You may back them up as you wish. Visually inspect lilo.conf and
grub.conf to make sure the result is what you want.

5. New Features and bug fixes

a. The driver could support SATA ATAPI devices.
b. This revision of driver has Java GUI interface that can configure legacy RAID set.

6. Known Restrictions

Please note that ATAPI hot plug is not expected.




Console Keystrokes Contents:

1 [Ctrl]-[Alt]-[F1] installation dialog
2 [Ctrl]-[Alt]-[F2] shell prompt
3 [Ctrl]-[Alt]-[F3] install log (messages from installation program)
4 [Ctrl]-[Alt]-[F4] system-related messages
5 [Ctrl]-[Alt]-[F5] other messages
7 [Ctrl]-[Alt]-[F7] X graphical display
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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