Kernel con supporto controller ATA RAID Higpoint HPT 370
Inviato: ven 18 giu 2004, 17:31
Buongiorno a tutti ragazzi! Sono nuovo nel mondo Slack.
<BR>
<BR>Ho un problema!
<BR>
<BR>Voglio installare la slack su un sistema RAID Highpoint HPT370, il quale è un controller integrato sulla mia mobo Abit kg7 RAID.
<BR>
<BR>All´indirizzo <a href="http://www.highpoint-tech.com/USA/b370na.htm" target="_blank" target="_new">http://www.highpoint-tech.com/USA/b370na.htm</a> sono presenti isorgenti dei moduli per il mio controller.
<BR>
<BR>All´inerno è anche presente una mini guida, ma molto poco esaustiva e chiara. (non ho capito nulla)
<BR>
<BR>Vorrei sostanzialmente compilare un Kernel ad hoc, comprensivo dei moduli per il mio controller, da caricare durante l´installazione tramite floppy.
<BR>
<BR>Vi incollo inoltre il contenuto della miniguida che mette a disposizione highpoint.
<BR>
<BR>Potreste aiutarmi? Grazie mille!
<BR>
<BR>
<BR>
<BR> HPT3xx RAID Controller Linux Driver
<BR>Copyright (C) 2002-2004 HighPoint Technologies, Inc. All rights reserved.
<BR>
<BR>
<BR>#############################################################################
<BR>Revision History:
<BR>
<BR> v1.35 17Mar2004
<BR> Fix for DW state in thread hpt_wt.
<BR> Update for S-ATA support.
<BR>
<BR> v1.31 21Dec2002
<BR> Update driver library for GCC 3.2.
<BR> Fix 48-bit LBA compatibility.
<BR> Add support for HPT372N IC.
<BR> Support non-RAID build.
<BR>
<BR> v1.3 05Apr2002
<BR> It is the same driver code as ver 1.3 but this version opens kernel
<BR> related driver source codes. Users can use this source code to
<BR> generate HPT37x Linux drivers with current Linux kernel version.
<BR> Then use it for HPT37x controller installation. Please follow the
<BR> detail instruction in this readme.
<BR>
<BR> v1.3 02Jan2002
<BR> HPT37x Linux driver object code released for
<BR> a limited certain Linux kernel version.
<BR>
<BR> v1.2 15Oct2001
<BR>
<BR> v1.1 30Jul2001
<BR>
<BR> v1.0 18Jul2001
<BR> official release
<BR>
<BR>#############################################################################
<BR>
<BR>1. Overview
<BR>---------------------
<BR> This package contains Linux driver source code for HighPoint
<BR> HPT370/370A/372/372A/372N ATA RAID controllers and RocketRAID 1520
<BR> S-ATA RAID controllers.
<BR>
<BR> The source code is for kernel updating purposes - you can use this
<BR> source code to build a driver, if you cannot find one in HighPoint
<BR> Linux driver release package.
<BR>
<BR> NO WARRANTY
<BR>
<BR> THE DRIVER SOURCE CODE HIGHPOINT PROVIDED IS FREE OF CHARGE, AND THERE IS
<BR> NO WARRANTY FOR THE PROGRAM. THERE ARE NO RESTRICTIONS ON THE USE OF THIS
<BR> FREE SOURCE CODE. HIGHPOINT DOES NOT PROVIDE ANY TECHNICAL SUPPORT IF THE
<BR> CODE HAS BEEN CHANGED FROM ORIGINAL SOURCE CODE.
<BR>
<BR> LIMITATION OF LIABILITY
<BR>
<BR> IN NO EVENT WILL HIGHPOINT BE LIABLE FOR DIRECT, INDIRECT, SPECIAL,
<BR> INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF OR
<BR> INABILITY TO USE THIS PRODUCT OR DOCUMENTATION, EVEN IF ADVISED OF THE
<BR> POSSIBILITY OF SUCH DAMAGES. IN PARTICULAR, HIGHPOINT SHALL NOT HAVE
<BR> LIABILITY FOR ANY HARDWARE, SOFTWARE, OR DATA STORED USED WITH THE
<BR> PRODUCT, INCLUDING THE COSTS OF REPAIRING, REPLACING, OR RECOVERING
<BR> SUCH HARDWARE, OR DATA.
<BR>
<BR>2. Files List
<BR>---------------------
<BR> readme.txt
<BR> hpt.c
<BR> hptkern.h
<BR> hptglb.h
<BR> hpt.h
<BR> Makefile
<BR> rules.mak
<BR> hpt37x2lib.o (not needed for non-RAID driver)
<BR>
<BR>3. Build the driver
<BR>---------------------
<BR> 1) Preparation
<BR>
<BR> Users need to install the kernel source package and setup kernel
<BR> headers with proper configuration before building the driver.
<BR>
<BR> You shall use same configuration for the kernel and the driver.
<BR> Otherwise the driver may be unable to load or work abnormally.
<BR>
<BR> If you are using stock kernel, obtain the configuration in your Linux
<BR> distribution (e.g. the kernel configuration file for Red Hat stock kernel
<BR> can be found under "configs" directory in kernel source tree). Copy the
<BR> configuration file to <your-kernel-source-dir>/.config and setup the
<BR> kernel headers using "make oldconfig" and "make dep" commands before you
<BR> build the driver.
<BR>
<BR> Please refer to the documents in your Linux distribution for kernel
<BR> configuration.
<BR>
<BR> If the kernel contains built-in IDE support for your HPT3xx controller,
<BR> you must rebuild and install a kernel without HPT37x controller support
<BR> before using this driver. Please refer to kernel documents for how to
<BR> configure/update the kernel.
<BR>
<BR> 2) Extract the driver files to somewhere.
<BR>
<BR> 3) Build the driver (example for RedHat 7.2 i686 type kernel):
<BR>
<BR> # make KERNELDIR=/usr/src/linux-2.4.7-10
<BR>
<BR> Available make options:
<BR>
<BR> KERNELDIR=...
<BR> Specify kernel source directory.
<BR>
<BR> SUPPORT_SATA=1
<BR> Build driver for RocketRAID 1520 S-ATA controller.
<BR>
<BR> NON_RAID=1
<BR> Build driver without RAID support.
<BR>
<BR>4. Using the driver
<BR>---------------------
<BR> 1) Load module "scsi_mod" and "sd_mod" if they are not built into kernel:
<BR>
<BR> # modprobe sd_mod
<BR>
<BR> 2) Load the driver.
<BR>
<BR> # insmod ./hpt37x2.o
<BR>
<BR>
<BR>5. Known problems
<BR>-------------------
<BR> * Driver hang on SMP system using SuSE Linux 8.1
<BR>
<BR> The stock kernel shipped with SuSE Linux 8.1 has problems with the ACPI
<BR> code. To using the driver, pass the following option to kernel manually
<BR> at boot time:
<BR>
<BR> acpi=off
<BR>
<BR> You can also permanently add that line to your boot options before using
<BR> the driver.
<BR>
<BR> It´s recommend that you update your SuSE k_smp kernel to newer version.
<BR>
<BR>
<BR>6. Upgrade the driver from hpt370.o to hpt37x2.o
<BR>--------------------------------------------------
<BR> There are two methods to upgrade hpt370 (prior to v1.2) driver to hpt37x2.o:
<BR>
<BR> 1) Replace all references (including initrd and /etc/modules.conf) to hpt370
<BR> with hpt37x2, and replace hpt370 modules (including initrd and
<BR> /lib/modules/.../hpt370.o) with hpt37x driver (hpt37x2.o).
<BR> HighPoint ATA RAID management software should be upgraded to v1.2 or
<BR> later to work with hpt37x2.o module.
<BR>
<BR> Or
<BR>
<BR> 2) Name new hpt37x driver(hpt37x2.o) as hpt370.o, then overwrite hpt370
<BR> modules (including initrd and /lib/modules/.../hpt370.o) with it.
<BR>
<BR>
<BR>#############################################################################
<BR>Technical support and service
<BR>
<BR> If you have questions about installing or using your HighPoint product,
<BR> check the user´s guide or readme file first, and you will find answers to
<BR> most of your questions here. If you need further assistance, please
<BR> contact us. We offer the following support and information services:
<BR>
<BR> 1) The HighPoint Web Site provides information on software upgrades,
<BR> answers to common questions, and other topics. The Web Site is
<BR> available from Internet 24 hours a day, 7 days a week, at
<BR> <a href="http://www.highpoint-tech.com" target="_blank" target="_new">http://www.highpoint-tech.com</a>.
<BR>
<BR> 2) For technical support, send e-mail to <a href="mailto:support@highpoint-tech.com" target="_new">support@highpoint-tech.com</a>
<BR>
<BR> NOTE: Before you send an e-mail, please visit our Web Site
<BR> (http://www.highpoint-tech.com) to check if there is a new or
<BR> updated device driver for your system.
<BR>
<BR> <br>
<BR>
<BR>Ho un problema!
<BR>
<BR>Voglio installare la slack su un sistema RAID Highpoint HPT370, il quale è un controller integrato sulla mia mobo Abit kg7 RAID.
<BR>
<BR>All´indirizzo <a href="http://www.highpoint-tech.com/USA/b370na.htm" target="_blank" target="_new">http://www.highpoint-tech.com/USA/b370na.htm</a> sono presenti isorgenti dei moduli per il mio controller.
<BR>
<BR>All´inerno è anche presente una mini guida, ma molto poco esaustiva e chiara. (non ho capito nulla)
<BR>
<BR>Vorrei sostanzialmente compilare un Kernel ad hoc, comprensivo dei moduli per il mio controller, da caricare durante l´installazione tramite floppy.
<BR>
<BR>Vi incollo inoltre il contenuto della miniguida che mette a disposizione highpoint.
<BR>
<BR>Potreste aiutarmi? Grazie mille!
<BR>
<BR>
<BR>
<BR> HPT3xx RAID Controller Linux Driver
<BR>Copyright (C) 2002-2004 HighPoint Technologies, Inc. All rights reserved.
<BR>
<BR>
<BR>#############################################################################
<BR>Revision History:
<BR>
<BR> v1.35 17Mar2004
<BR> Fix for DW state in thread hpt_wt.
<BR> Update for S-ATA support.
<BR>
<BR> v1.31 21Dec2002
<BR> Update driver library for GCC 3.2.
<BR> Fix 48-bit LBA compatibility.
<BR> Add support for HPT372N IC.
<BR> Support non-RAID build.
<BR>
<BR> v1.3 05Apr2002
<BR> It is the same driver code as ver 1.3 but this version opens kernel
<BR> related driver source codes. Users can use this source code to
<BR> generate HPT37x Linux drivers with current Linux kernel version.
<BR> Then use it for HPT37x controller installation. Please follow the
<BR> detail instruction in this readme.
<BR>
<BR> v1.3 02Jan2002
<BR> HPT37x Linux driver object code released for
<BR> a limited certain Linux kernel version.
<BR>
<BR> v1.2 15Oct2001
<BR>
<BR> v1.1 30Jul2001
<BR>
<BR> v1.0 18Jul2001
<BR> official release
<BR>
<BR>#############################################################################
<BR>
<BR>1. Overview
<BR>---------------------
<BR> This package contains Linux driver source code for HighPoint
<BR> HPT370/370A/372/372A/372N ATA RAID controllers and RocketRAID 1520
<BR> S-ATA RAID controllers.
<BR>
<BR> The source code is for kernel updating purposes - you can use this
<BR> source code to build a driver, if you cannot find one in HighPoint
<BR> Linux driver release package.
<BR>
<BR> NO WARRANTY
<BR>
<BR> THE DRIVER SOURCE CODE HIGHPOINT PROVIDED IS FREE OF CHARGE, AND THERE IS
<BR> NO WARRANTY FOR THE PROGRAM. THERE ARE NO RESTRICTIONS ON THE USE OF THIS
<BR> FREE SOURCE CODE. HIGHPOINT DOES NOT PROVIDE ANY TECHNICAL SUPPORT IF THE
<BR> CODE HAS BEEN CHANGED FROM ORIGINAL SOURCE CODE.
<BR>
<BR> LIMITATION OF LIABILITY
<BR>
<BR> IN NO EVENT WILL HIGHPOINT BE LIABLE FOR DIRECT, INDIRECT, SPECIAL,
<BR> INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF OR
<BR> INABILITY TO USE THIS PRODUCT OR DOCUMENTATION, EVEN IF ADVISED OF THE
<BR> POSSIBILITY OF SUCH DAMAGES. IN PARTICULAR, HIGHPOINT SHALL NOT HAVE
<BR> LIABILITY FOR ANY HARDWARE, SOFTWARE, OR DATA STORED USED WITH THE
<BR> PRODUCT, INCLUDING THE COSTS OF REPAIRING, REPLACING, OR RECOVERING
<BR> SUCH HARDWARE, OR DATA.
<BR>
<BR>2. Files List
<BR>---------------------
<BR> readme.txt
<BR> hpt.c
<BR> hptkern.h
<BR> hptglb.h
<BR> hpt.h
<BR> Makefile
<BR> rules.mak
<BR> hpt37x2lib.o (not needed for non-RAID driver)
<BR>
<BR>3. Build the driver
<BR>---------------------
<BR> 1) Preparation
<BR>
<BR> Users need to install the kernel source package and setup kernel
<BR> headers with proper configuration before building the driver.
<BR>
<BR> You shall use same configuration for the kernel and the driver.
<BR> Otherwise the driver may be unable to load or work abnormally.
<BR>
<BR> If you are using stock kernel, obtain the configuration in your Linux
<BR> distribution (e.g. the kernel configuration file for Red Hat stock kernel
<BR> can be found under "configs" directory in kernel source tree). Copy the
<BR> configuration file to <your-kernel-source-dir>/.config and setup the
<BR> kernel headers using "make oldconfig" and "make dep" commands before you
<BR> build the driver.
<BR>
<BR> Please refer to the documents in your Linux distribution for kernel
<BR> configuration.
<BR>
<BR> If the kernel contains built-in IDE support for your HPT3xx controller,
<BR> you must rebuild and install a kernel without HPT37x controller support
<BR> before using this driver. Please refer to kernel documents for how to
<BR> configure/update the kernel.
<BR>
<BR> 2) Extract the driver files to somewhere.
<BR>
<BR> 3) Build the driver (example for RedHat 7.2 i686 type kernel):
<BR>
<BR> # make KERNELDIR=/usr/src/linux-2.4.7-10
<BR>
<BR> Available make options:
<BR>
<BR> KERNELDIR=...
<BR> Specify kernel source directory.
<BR>
<BR> SUPPORT_SATA=1
<BR> Build driver for RocketRAID 1520 S-ATA controller.
<BR>
<BR> NON_RAID=1
<BR> Build driver without RAID support.
<BR>
<BR>4. Using the driver
<BR>---------------------
<BR> 1) Load module "scsi_mod" and "sd_mod" if they are not built into kernel:
<BR>
<BR> # modprobe sd_mod
<BR>
<BR> 2) Load the driver.
<BR>
<BR> # insmod ./hpt37x2.o
<BR>
<BR>
<BR>5. Known problems
<BR>-------------------
<BR> * Driver hang on SMP system using SuSE Linux 8.1
<BR>
<BR> The stock kernel shipped with SuSE Linux 8.1 has problems with the ACPI
<BR> code. To using the driver, pass the following option to kernel manually
<BR> at boot time:
<BR>
<BR> acpi=off
<BR>
<BR> You can also permanently add that line to your boot options before using
<BR> the driver.
<BR>
<BR> It´s recommend that you update your SuSE k_smp kernel to newer version.
<BR>
<BR>
<BR>6. Upgrade the driver from hpt370.o to hpt37x2.o
<BR>--------------------------------------------------
<BR> There are two methods to upgrade hpt370 (prior to v1.2) driver to hpt37x2.o:
<BR>
<BR> 1) Replace all references (including initrd and /etc/modules.conf) to hpt370
<BR> with hpt37x2, and replace hpt370 modules (including initrd and
<BR> /lib/modules/.../hpt370.o) with hpt37x driver (hpt37x2.o).
<BR> HighPoint ATA RAID management software should be upgraded to v1.2 or
<BR> later to work with hpt37x2.o module.
<BR>
<BR> Or
<BR>
<BR> 2) Name new hpt37x driver(hpt37x2.o) as hpt370.o, then overwrite hpt370
<BR> modules (including initrd and /lib/modules/.../hpt370.o) with it.
<BR>
<BR>
<BR>#############################################################################
<BR>Technical support and service
<BR>
<BR> If you have questions about installing or using your HighPoint product,
<BR> check the user´s guide or readme file first, and you will find answers to
<BR> most of your questions here. If you need further assistance, please
<BR> contact us. We offer the following support and information services:
<BR>
<BR> 1) The HighPoint Web Site provides information on software upgrades,
<BR> answers to common questions, and other topics. The Web Site is
<BR> available from Internet 24 hours a day, 7 days a week, at
<BR> <a href="http://www.highpoint-tech.com" target="_blank" target="_new">http://www.highpoint-tech.com</a>.
<BR>
<BR> 2) For technical support, send e-mail to <a href="mailto:support@highpoint-tech.com" target="_new">support@highpoint-tech.com</a>
<BR>
<BR> NOTE: Before you send an e-mail, please visit our Web Site
<BR> (http://www.highpoint-tech.com) to check if there is a new or
<BR> updated device driver for your system.
<BR>
<BR> <br>