|
|
以下是我在highpoint China上发的一个贴:弄了三天还没成功,实在是很冒火
RR100的驱动根本就不能用!!!
一.readme上的描述和makefile的描述不一致。
readme的描述如下:
3) Build the driver for RocketRAID 1520 (example for SuSE 9.1 type kernel):
# make KERNELDIR=/usr/src/linux-2.6.4-52-default
Available make options:
KERNELDIR=...
Specify kernel source directory, if not use this option, the default
kernel source directory is /usr/src/linux.
RR1520=
RR1520=1 for RocketRAID 1520 SATA controller. (Default) //注意,默认为RR1520
RR1520=0 for HPT3xx based PATA RAID controllers.
NON_RAID=
NON_RAID=0 to build the driver with RAID support.(Default)
NON_RAID=1 to build the driver without RAID support.
这是makefile的定义:
#
# RR1520=1 for SATA controller, 0 for HPT37x2 PATA controller
#
ifndef RR1520
RR1520 = 0 //默认为非RR1520
endif
二.suse10.0上编译,新下载2.6.14核心
安如下步骤出错:
1.cd /usr/src/linux
2.make oldconfig
3.cp .config /hpt(驱动目录)
4.make
在第二阶段出错 我只记得一个警告是有个什么东西过时了。
三.suse9.1上编译 (这是readme上用作范例的版本)
编译通过,得到hpt37x2.o以及hpt37x2.ko
安装系统,向核心传递hde=nopeobe .....hdg=noprobe acpi=off
在选择语言时候进入命令行。
modprobe sd_mod
modprobe sd_mod
都已加载
insmod hpt37x2.ko
显示不正确的模块格式。
以上安装过程没任何问题。但是还是不能按安装,尤其是第一个默认参数的问题。使我对驱动源码的真确性大大怀疑。我已近浪费了3天了。
如果你们真的听说过有人在2.6 核心上能正确编译出可以用的驱动,请提供一下具体步骤。否则就不要把驱动放出来----虽然上面写的NO WARRANTY !!!
如果哪位兄弟真的成功过请回一下。到底是我错了还是highpoint错了?
顺便告诫以下没软驱,千万不用raid卡!!! |
|