Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]
FreeBSD/Linux Kernel Cross Reference
|
Name | Size | Last modified (GMT) | Description | |
Parent directory | 2019-04-23 12:38:21 | |||
LICENSE | 1595 bytes | 2019-04-23 12:38:13 | ||
README | 6794 bytes | 2019-04-23 12:38:13 | ||
amd64-elf.rr232x_lib.o.uu | 283014 bytes | 2019-04-23 12:38:13 | ||
array.h | 4708 bytes | 2019-04-23 12:38:13 | ||
him.h | 10286 bytes | 2019-04-23 12:38:13 | ||
himfuncs.h | 4051 bytes | 2019-04-23 12:38:13 | ||
hptintf.h | 52865 bytes | 2019-04-23 12:38:13 | ||
i386-elf.rr232x_lib.o.uu | 190075 bytes | 2019-04-23 12:38:13 | ||
ldm.h | 12276 bytes | 2019-04-23 12:38:13 | ||
list.h | 3666 bytes | 2019-04-23 12:38:13 | ||
os_bsd.c | 7894 bytes | 2019-04-23 12:38:13 | ||
os_bsd.h | 6675 bytes | 2019-04-23 12:38:13 | ||
osm.h | 6655 bytes | 2019-04-23 12:38:13 | ||
osm_bsd.c | 33508 bytes | 2019-04-23 12:38:13 | ||
rr232x_config.c | 1000 bytes | 2019-04-23 12:38:13 | ||
rr232x_config.h | 4933 bytes | 2019-04-23 12:38:13 |
1 RocketRAID 232x Controller Driver for FreeBSD 2 Copyright (C) 2005 HighPoint Technologies, Inc. All rights reserved. 3 4 ############################################################################# 5 Revision History: 6 7 v1.02 02/20/2006 8 Add RR2322 support 9 10 v1.01 2005-8-30 11 First source code release 12 13 $FreeBSD: releng/6.1/sys/dev/rr232x/README 158199 2006-05-01 00:15:13Z scottl $ 14 15 ############################################################################# 16 17 1. Overview 18 --------------------- 19 This package contains FreeBSD driver source code for HighPoint RocketRAID 20 232x SATA controller. 21 22 NO WARRANTY 23 24 THE DRIVER SOURCE CODE HIGHPOINT PROVIDED IS FREE OF CHARGE, AND THERE IS 25 NO WARRANTY FOR THE PROGRAM. THERE ARE NO RESTRICTIONS ON THE USE OF THIS 26 FREE SOURCE CODE. HIGHPOINT DOES NOT PROVIDE ANY TECHNICAL SUPPORT IF THE 27 CODE HAS BEEN CHANGED FROM ORIGINAL SOURCE CODE. 28 29 LIMITATION OF LIABILITY 30 31 IN NO EVENT WILL HIGHPOINT BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, 32 INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF OR 33 INABILITY TO USE THIS PRODUCT OR DOCUMENTATION, EVEN IF ADVISED OF THE 34 POSSIBILITY OF SUCH DAMAGES. IN PARTICULAR, HIGHPOINT SHALL NOT HAVE 35 LIABILITY FOR ANY HARDWARE, SOFTWARE, OR DATA STORED USED WITH THE 36 PRODUCT, INCLUDING THE COSTS OF REPAIRING, REPLACING, OR RECOVERING 37 SUCH HARDWARE, OR DATA. 38 39 40 2. Rebuild the kernel with RR232x support 41 -------------------------------------------- 42 43 1) Install kernel source package and building tools. 44 45 2) Extract the driver files under the kernel source tree: 46 47 # cd /usr/src/sys/ 48 # tar xvzf /your/path/to/rr232x-freebsd-src.tgz 49 50 3) Update the kernel configuration file to include the HighPoint source. 51 Assume the configure file is GENERIC, and new kernel configure file is 52 MYKERNEL: 53 54 # cd i386/conf (or amd64/conf for AMD64) 55 # cp GENERIC MYKERNEL 56 57 4) Edit MYKERNEL, and add the following line under "RAID controllers 58 interfaced to the SCSI subsystem": 59 60 device "rr232x" #HighPoint RocketRAID 232x 61 62 5) For i386 system, edit /usr/src/sys/conf/files.i386 and append the lines 63 shown below: 64 65 rr232x_lib.o optional rr232x \ 66 dependency "$S/dev/rr232x/i386-elf.rr232x_lib.o.uu" \ 67 compile-with "uudecode < $S/dev/rr232x/i386-elf.rr232x_lib.o.uu" \ 68 no-implicit-rule 69 70 dev/rr232x/os_bsd.c optional rr232x 71 dev/rr232x/osm_bsd.c optional rr232x 72 dev/rr232x/rr232x_config.c optional rr232x 73 74 For amd64 system, edit /usr/src/sys/conf/files.amd64 and append the lines 75 shown below: 76 77 rr232x_lib.o optional rr232x \ 78 dependency "$S/dev/rr232x/amd64-elf.rr232x_lib.o.uu" \ 79 compile-with "uudecode < $S/dev/rr232x/amd64-elf.rr232x_lib.o.uu" \ 80 no-implicit-rule 81 82 dev/rr232x/os_bsd.c optional rr232x 83 dev/rr232x/osm_bsd.c optional rr232x 84 dev/rr232x/rr232x_config.c optional rr232x 85 86 Note FreeBSD 5.3/5.4 i386 already have a built-in RR232x driver, you should 87 replace the old configuration lines with the lines listed above. 88 89 90 6) Rebuild and install the kernel: 91 92 a) for FreeBSD 5.x-i386: 93 94 # cd /usr/src/sys/i386/conf/ 95 # /usr/sbin/config MYKERNEL 96 # cd ../compile/MYKERNEL/ 97 # make depend 98 # make 99 # make install 100 101 b) for FreeBSD 5.x-amd64: 102 103 # cd /usr/src/sys/amd64/conf/ 104 # /usr/sbin/config MYKERNEL 105 # cd ../compile/MYKERNEL/ 106 # make depend 107 # make 108 # make install 109 110 c) for FreeBSD 4.x: 111 112 # cd /usr/src/sys/i386/conf/ 113 # /usr/sbin/config MYKERNEL 114 # cd ../../compile/MYKERNEL/ 115 # make depend 116 # make 117 # make install 118 119 If the driver was previously configured as an auto-loaded module by 120 /boot/defaults/loader.conf, please remove the entry rr232x_load="YES" 121 from loader.conf to prevent the driver from being loaded twice. 122 123 7) Reboot from the new kernel. 124 125 126 3. Build/Load the driver as a kernel module 127 ------------------------------------------------ 128 129 1) Install kernel source package and building tools. 130 131 2) Extract the driver files under the kernel source tree: 132 133 # cd /usr/src/sys/ 134 # tar xvzf /your/path/to/rr232x-opensource-v1.12-bsd.tgz 135 136 137 4) Build the driver module: 138 139 # cd modules/rr232x 140 # make 141 142 5) Copy the driver module to the kernel module directory 143 144 For FreeBSD 4.x: 145 146 # cp rr232x.ko /modules/ 147 148 For FreeBSD 5.x: 149 150 # cp rr232x.ko /boot/kernel/ 151 152 6) Reboot and load the driver under loader prompt. e.g: 153 154 BTX loader 1.00 BTX version is 1.01 155 Console: internal video/keyboard 156 BIOS driver A: is disk0 157 BIOS driver C: is disk2 158 BIOS 636kB/74512kB available memory 159 160 FreeBSD/i386 bootstrap loader, Revision 0.8 161 (mailto:jkh@narf.osd.bsdi.com, Sat Apr 21 08:46:19 GMT 2001) 162 Loading /boot/defaults/loader.conf 163 /kernel text=0x24f1db data=0x3007ec+0x2062c - 164 165 Hit [Enter] to boot immediagely, or any other key for command prompt. 166 Booting [kernel] in 9 secondsĄ 167 168 <-- press SPACE key here 169 Type '?' for a list of commands, 'help' for more detailed help. 170 ok load rr232x 171 /modules/rr232x.ko text=0xf571 data=0x2c8+0x254 172 ok boot 173 174 For FreeBSD 5.x, you can select 6 on the boot menu to get a loader prompt. 175 176 7) You can add a below line into /boot/defaults/loader.conf to load the 177 driver automatically: 178 179 rr232x_load="YES" 180 181 Please refer to the installation guide in HighPoint FreeBSD driver release 182 package for more information. 183 184 185 ############################################################################# 186 Technical support and service 187 188 If you have questions about installing or using your HighPoint product, 189 check the user's guide or readme file first, and you will find answers to 190 most of your questions here. If you need further assistance, please 191 contact us. We offer the following support and information services: 192 193 1) The HighPoint Web Site provides information on software upgrades, 194 answers to common questions, and other topics. The Web Site is 195 available from Internet 24 hours a day, 7 days a week, at 196 http://www.highpoint-tech.com. 197 198 2) For technical support, send e-mail to support@highpoint-tech.com 199 200 NOTE: Before you send an e-mail, please visit our Web Site 201 (http://www.highpoint-tech.com) to check if there is a new or 202 updated device driver for your system.
[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]
This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.