README (281957) | README (284935) |
---|---|
1Rocket Controller Driver for FreeBSD 2Copyright (C) 2015 HighPoint Technologies, Inc. All rights reserved. 3 4############################################################################# 5Revision History: | 1Rocket Controller Driver for FreeBSD 2Copyright (C) 2015 HighPoint Technologies, Inc. All rights reserved. 3 4############################################################################# 5Revision History: |
6 7 v1.1.4 2015-06-09 8 * Fix a bug that FailLED was not initialized properly. 9 10 v1.1.3 2015-05-19 11 * Support Report Luns command. 12 13 v1.1.2 2015-05-05 14 * Fix a bug that report wrong physical sector size for 512e HDD. 15 |
|
6 v1.1.1 2015-03-26 7 * Support 4Kn drive. 8 * Change the SCSI target ID of the disk to be the index of physical connetion to the HBA. 9 * Support staggered drive spin up. 10 * Fix a bug that command would be timeout because of improper interrupt service routine. 11 * Error handling to avoid scsi command lost which caused system hang up. 12 * Fix a bug that fail to get the devcie's serial number via FreeNAS WebGUI. 13 --- 38 unchanged lines hidden (view full) --- 522. Rebuild the kernel with HighPoint Rocket support 53----------------------------------------------- 54 55 1) Install kernel source package and building tools. 56 57 2) Extract the driver files under the kernel source tree: 58 59 # cd /usr/src/sys/ | 16 v1.1.1 2015-03-26 17 * Support 4Kn drive. 18 * Change the SCSI target ID of the disk to be the index of physical connetion to the HBA. 19 * Support staggered drive spin up. 20 * Fix a bug that command would be timeout because of improper interrupt service routine. 21 * Error handling to avoid scsi command lost which caused system hang up. 22 * Fix a bug that fail to get the devcie's serial number via FreeNAS WebGUI. 23 --- 38 unchanged lines hidden (view full) --- 622. Rebuild the kernel with HighPoint Rocket support 63----------------------------------------------- 64 65 1) Install kernel source package and building tools. 66 67 2) Extract the driver files under the kernel source tree: 68 69 # cd /usr/src/sys/ |
60 # tar xvzf /your/path/to/hptnr-freebsd-src-v1.0-130701.tgz | 70 # tar xvzf /your/path/to/HPTNR_FreeBSD_Src_1.x.x_xx_xx_xx.tgz |
61 62 3) Update the kernel configuration file to include the HighPoint source. 63 Assume the configure file is GENERIC, and new kernel configure file is 64 MYKERNEL: 65 66 # cd i386/conf (or amd64/conf for AMD64) 67 # cp GENERIC MYKERNEL 68 --- 5 unchanged lines hidden (view full) --- 74 5) For i386 system, edit /usr/src/sys/conf/files.i386 and append the lines 75 shown below: 76 77 hptnr_lib.o optional hptnr \ 78 dependency "$S/dev/hptnr/i386-elf.hptnr_lib.o.uu" \ 79 compile-with "uudecode < $S/dev/hptnr/i386-elf.hptnr_lib.o.uu" \ 80 no-implicit-rule 81 | 71 72 3) Update the kernel configuration file to include the HighPoint source. 73 Assume the configure file is GENERIC, and new kernel configure file is 74 MYKERNEL: 75 76 # cd i386/conf (or amd64/conf for AMD64) 77 # cp GENERIC MYKERNEL 78 --- 5 unchanged lines hidden (view full) --- 84 5) For i386 system, edit /usr/src/sys/conf/files.i386 and append the lines 85 shown below: 86 87 hptnr_lib.o optional hptnr \ 88 dependency "$S/dev/hptnr/i386-elf.hptnr_lib.o.uu" \ 89 compile-with "uudecode < $S/dev/hptnr/i386-elf.hptnr_lib.o.uu" \ 90 no-implicit-rule 91 |
82 dev/hptnr/os_bsd.c optional hptnr 83 dev/hptnr/osm_bsd.c optional hptnr | 92 dev/hptnr/hptnr_os_bsd.c optional hptnr 93 dev/hptnr/hptnr_osm_bsd.c optional hptnr |
84 dev/hptnr/hptnr_config.c optional hptnr 85 86 For amd64 system, edit /usr/src/sys/conf/files.amd64 and append the lines 87 shown below: 88 89 hptnr_lib.o optional hptnr \ 90 dependency "$S/dev/hptnr/amd64-elf.hptnr_lib.o.uu" \ 91 compile-with "uudecode < $S/dev/hptnr/amd64-elf.hptnr_lib.o.uu" \ 92 no-implicit-rule 93 | 94 dev/hptnr/hptnr_config.c optional hptnr 95 96 For amd64 system, edit /usr/src/sys/conf/files.amd64 and append the lines 97 shown below: 98 99 hptnr_lib.o optional hptnr \ 100 dependency "$S/dev/hptnr/amd64-elf.hptnr_lib.o.uu" \ 101 compile-with "uudecode < $S/dev/hptnr/amd64-elf.hptnr_lib.o.uu" \ 102 no-implicit-rule 103 |
94 dev/hptnr/os_bsd.c optional hptnr 95 dev/hptnr/osm_bsd.c optional hptnr | 104 dev/hptnr/hptnr_os_bsd.c optional hptnr 105 dev/hptnr/hptnr_osm_bsd.c optional hptnr |
96 dev/hptnr/hptnr_config.c optional hptnr 97 98 6) Rebuild and install the kernel: 99 | 106 dev/hptnr/hptnr_config.c optional hptnr 107 108 6) Rebuild and install the kernel: 109 |
100 a) for FreeBSD 5.x-i386/6.x-i386/7.x-i386/8.x-i386/9.x-i386: | 110 a) for FreeBSD 5.x-i386/6.x-i386/7.x-i386/8.x-i386/9.x-i386/10.x-i386: |
101 102 # cd /usr/src/sys/i386/conf/ 103 # /usr/sbin/config MYKERNEL 104 # cd ../compile/MYKERNEL/ 105 # make depend 106 # make 107 # make install 108 | 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 |
109 b) for FreeBSD 5.x-amd64/6.x-amd64/7.x-amd64/8.x-amd64/9.x-amd64: | 119 b) for FreeBSD 5.x-amd64/6.x-amd64/7.x-amd64/8.x-amd64/9.x-amd64/10.x-amd64: |
110 111 # cd /usr/src/sys/amd64/conf/ 112 # /usr/sbin/config MYKERNEL 113 # cd ../compile/MYKERNEL/ 114 # make depend 115 # make 116 # make install 117 --- 16 unchanged lines hidden (view full) --- 1343. Build/Load the driver as a kernel module 135------------------------------------------------ 136 137 1) Install kernel source package and building tools. 138 139 2) Extract the driver files under the kernel source tree: 140 141 # cd /usr/src/sys/ | 120 121 # cd /usr/src/sys/amd64/conf/ 122 # /usr/sbin/config MYKERNEL 123 # cd ../compile/MYKERNEL/ 124 # make depend 125 # make 126 # make install 127 --- 16 unchanged lines hidden (view full) --- 1443. Build/Load the driver as a kernel module 145------------------------------------------------ 146 147 1) Install kernel source package and building tools. 148 149 2) Extract the driver files under the kernel source tree: 150 151 # cd /usr/src/sys/ |
142 # tar xvzf /your/path/to/hptnr-freebsd-src-v1.0-111213.tgz | 152 # tar xvzf /your/path/to/HPTNR_FreeBSD_Src_1.x.x_xx_xx_xx.tgz |
143 144 145 4) Build the driver module: 146 147 # cd modules/hptnr 148 # make 149 150 5) Copy the driver module to the kernel module directory 151 152 For FreeBSD 4.x: 153 154 # cp hptnr.ko /modules/ 155 | 153 154 155 4) Build the driver module: 156 157 # cd modules/hptnr 158 # make 159 160 5) Copy the driver module to the kernel module directory 161 162 For FreeBSD 4.x: 163 164 # cp hptnr.ko /modules/ 165 |
156 For FreeBSD 5.x/6.x/7.x/8.x/9.x: | 166 For FreeBSD 5.x/6.x/7.x/8.x/9.x/10.x: |
157 158 # cp hptnr.ko /boot/kernel/ 159 160 6) Reboot and load the driver under loader prompt. e.g: 161 162 BTX loader 1.00 BTX version is 1.01 163 Console: internal video/keyboard 164 BIOS driver A: is disk0 --- 9 unchanged lines hidden (view full) --- 174 Booting [kernel] in 9 seconds 175 176 <-- press SPACE key here 177 Type '?' for a list of commands, 'help' for more detailed help. 178 ok load hptnr 179 /modules/hptnr.ko text=0xf571 data=0x2c8+0x254 180 ok boot 181 | 167 168 # cp hptnr.ko /boot/kernel/ 169 170 6) Reboot and load the driver under loader prompt. e.g: 171 172 BTX loader 1.00 BTX version is 1.01 173 Console: internal video/keyboard 174 BIOS driver A: is disk0 --- 9 unchanged lines hidden (view full) --- 184 Booting [kernel] in 9 seconds 185 186 <-- press SPACE key here 187 Type '?' for a list of commands, 'help' for more detailed help. 188 ok load hptnr 189 /modules/hptnr.ko text=0xf571 data=0x2c8+0x254 190 ok boot 191 |
182 For FreeBSD 5.x/6.x/7.x/8.x/9.x, you can select 6 on the boot menu to get a loader | 192 For FreeBSD 5.x/6.x/7.x/8.x/9.x/10.x, you can select 6 on the boot menu to get a loader |
183 prompt. 184 185 7) You can add a below line into /boot/defaults/loader.conf to load the 186 driver automatically: 187 188 hptnr_load="YES" 189 190 Please refer to the installation guide in HighPoint FreeBSD driver release --- 14 unchanged lines hidden (view full) --- 205 http://www.highpoint-tech.com. 206 207 2) For technical support, send e-mail to support@highpoint-tech.com 208 209 NOTE: Before you send an e-mail, please visit our Web Site 210 (http://www.highpoint-tech.com) to check if there is a new or 211 updated device driver for your system. 212 | 193 prompt. 194 195 7) You can add a below line into /boot/defaults/loader.conf to load the 196 driver automatically: 197 198 hptnr_load="YES" 199 200 Please refer to the installation guide in HighPoint FreeBSD driver release --- 14 unchanged lines hidden (view full) --- 215 http://www.highpoint-tech.com. 216 217 2) For technical support, send e-mail to support@highpoint-tech.com 218 219 NOTE: Before you send an e-mail, please visit our Web Site 220 (http://www.highpoint-tech.com) to check if there is a new or 221 updated device driver for your system. 222 |
213$FreeBSD: stable/10/sys/dev/hptnr/README 281957 2015-04-25 00:32:47Z delphij $ | 223$FreeBSD: stable/10/sys/dev/hptnr/README 284935 2015-06-29 18:34:30Z delphij $ |