RR1540installationGuide

王朝other·作者佚名  2008-05-21
窄屏简体版  字體: |||超大  

下面的都是以前写的,呵呵,看了看时间是2005年8月份的.感觉当时highpoint对linux好像确实不太热心,很多产品缺乏对linux系统足够的支持,仅仅做个样子罢了.所以客户很难使用,相关文档也很欠缺.

今天又上了一次官方站点,才发现居然更新了文档和大部分驱动,呵呵,基本都能直接支持到最新的kernel,以前最新支持的版本是RH9.0.现在是 FC4,AS3 U6,AS4 U2.这样,客户就不会存在太多的麻烦,不然我们能郁闷死,不可能任何时候都能提供上门服务,而且在电话里说半天也不能让别人明白.我估计 highpoint也够郁闷的,肯定不少客户就为了这些问题在他们那里抱怨过或者反应过。

总算是重视了,作了更新.看了看文档,的确是做了不少重要地方的改动,而驱动也相应全了不少

[2005-08-30]

~~~~~ OS platform REDHAT AS3/4

~~~~~

1.对于还没有系统存在的磁盘分区

a.将下载的驱动文件( IMG格式 )写入软盘

windows — rawrite.exe ……..

linux — dd if= ***.img (驱动软盘镜像文件) of=/dev/fd0

b. 安装提示

boot: linux dd

根据提示安装……….

2. 已经存在系统的磁盘分区

a.将驱动模块文件从驱动软盘中的 modules.cgz 释放

#mount /dev/fd0

#cd /tmp

#gzip -dc /mnt/floppy/modules.cgz | cpio -idumv (/tmp/’uname -r’/hptmv6.0)

b.加载释放出来的驱动

#modprobe sd_mod

#cd /tmp/’uname -r’

#insmod hptmv6.0

c.加载和重新分区

#fdisk dev/sda

#mkfs /dev/sda1

#mkdir ***** \\创建RAID队列

#mount /dev/sda1/****

d.配置系统自动加载模块

\\安装模块, 先进入 hptmv6.0文件目录

#install -d /lib/modules/’uname -r’/kernel/driver/scsi

#install -c hptmv6.0/lib/modules/’uname -r’/kernel/drivers/sisi

\\自动挂载模块

#echo “modprobe hptmv6″ > /etc/init.d/hptdriver

#chmod 775 /etc/init.d/hptdirver

#ln -sf /etc/init.d/hptdriver/etc/rc.d/rc3.d/S01hptdriver

e.自动挂载磁盘

\\编辑 /etc/fstab

\\add /dev/sda1 /media/raid ext2 defaults 0 0

3.驱动卸载

a.

\\ delete the line about RAID array in /etc/fstab

\\ remove files created in /etc/init.d

=============================================

made by dayan

——————–

OFFICAL tech support :

www.highpoint-tech.com

———————————————————————————–

最后发现呵呵,还是不能加载驱动,原因很简单,官方提供的该型号阵列卡所有模块中没有与服务器内核版本相符的,都太低了, 所以在insmod 的时候出现FATAL错误,….. 算了, 用soft RAID吧!!!

===========================================

[2006-04-20]

只更新文档中修改之处

0.On “Welcome to Red Hat Enterprise Linux” installation screen, a prompted label

“boot:” will appear at the bottom of the screen:

For RedHat Enterprise Linux 3, type in “expert text hde=noprobe hdf=noprobe

hdg=noprobe hdh=noprobe hdi=noprobe hdj=noprobe hdk=noprobe

hdl=noprobe ” (without quotation mark);

For RedHat Enterprise Linux 4, type in “linux dd hde=noprobe hdf=noprobe

hdg=noprobe hdh=noprobe hdi=noprobe

1. When the “Boot Loader Configuration” dialog appears, type in “hde=noprobe

hdf=noprobe hdg=noprobe hdh=noprobe hdi=noprobe hdj=noprobe

hdk=noprobe hdl=noprobe” as boot parameters.

2. You must update /etc/lilo.conf or /etc/grub.conf to disable in-kernel hpt374 driver at

first.

If you are using Lilo to boot your system, update /etc/lilo.conf.

append=”hde=noprobe hdf=noprobe hdg=noprobe hdh=noprobe hdi=noprobe hdj=noprobe hdk=noprobe hdl=noprobe”

Then you need to run lilo:

# lilo

If you are using Grub to boot your system, update /etc/grub.conf.

kernel /vmlinux-xxx hde=noprobe hdf=noprobe hdg=noprobe hdh=noprobe hdi=noprobe hdj=noprobe hdk=noprobe hdl=noprobe ro

The kernel parameters, “hdx=noprobe”, are used to prevent Red Hat 8.0/9.0 kernel

from loading the default HPT374 IDE driver. When your system has other IDE

interfaces supported by Linux, you may need to modify “hdx=noprobe” according to

your hardware configuration.

3.Configure System to Automatically Load the Driver

[这是在已经存在的系统中,并且你已经得到了正确版本的驱动.

如果你是安装系统的时候就安装驱动,则系统会自动加载.

得到驱动模块的方法很多,你可以自己编译

也可以从相应linux版本的驱动img文件中获得,获得方法, 将img以loop设备挂载,cp modules.cgz 到外部目录,按cpio.gz解压,按解压开的目录获取和当前系统内核一致的驱动模块.]

4.Configure System to Automatically Load the Driver

change directory to where the proper hpt374.ko locates

#install –d /lib/modules/`uname –r`/kernel/drivers/scsi.

#install –c hpt374.o /lib/modules/`uname –r`/kernel/drivers/scsi.

#depmod

Then you should inform the system load the module when system boots up with the

following command:

#echo “modprobe hpt374” > /etc/init.d/hptdriver

#chmod 755 /etc/init.d/hptdriver

#ln –sf /etc/init.d/hptdriver /etc/rc.d/rc3.d/S01hptdriver

#ln –sf /etc/init.d/hptdriver /etc/rc.d/rc4.d/S01hptdriver

#ln –sf /etc/init.d/hptdriver /etc/rc.d/rc5.d/S01hptdriver

modifying the file /etc/fstab

/dev/sda1 /mnt/raid ext2 defaults 0 0

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航