1 .\" $NetBSD: hk.4,v 1.14 2009/04/11 21:56:01 joerg Exp $
3 .\" Copyright (c) 1980, 1991, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" from: @(#)hk.4 8.1 (Berkeley) 6/5/93
38 .Tn RK6-11 Ns / Tn RK06
43 .Cd "hk0 at uba? csr 0177440 vector rkintr"
44 .Cd "rk0 at hk0 drive 0"
46 NOTE: This driver has not been ported from
53 is a typical block-device disk driver; block device
61 should be used to create the special files; if a special file
62 needs to be created by hand consult
65 Special file names begin with
69 for the block and character files respectively.
70 The second component of the name, a drive unit number in the range
71 of zero to seven, is represented by a
73 in the disk layouts below.
74 The last component is the file system partition which is designated
80 corresponds to a minor device number set: zero to seven,
81 eight to 15, 16 to 23 and so forth for drive zero, drive two and drive
83 The location and size (in sectors) of the
88 drives are as follows:
90 .It Tn RK07 No partitions
91 .Bl -column diskx undefined length "xxx-yyyy" -compact
92 .It Sy disk start length cyl
93 .It hk?a 0 15884 0-240
94 .It hk?b 15906 10032 241-392
95 .It hk?c 0 53790 0-814
96 .It hk?d 25938 15884 393-633
97 .It hk?f 41844 11792 634-814
98 .It hk?g 25938 27786 393-813
100 .It Tn RK06 No partitions
101 .Bl -column diskx undefined length "xxx-yyyy" -compact
102 .It Sy disk start length cyl
103 .It hk?a 0 15884 0-240
104 .It hk?b 15906 11154 241-409
105 .It hk?c 0 27126 0-410
112 partition hk?a is used
113 for the root for one drive
114 and partition hk?g for the /usr file system.
115 If large jobs are to be run using
116 hk?b on both drives as swap area provides a 10Mbyte paging area.
118 partition hk?c on the other drive
119 is used as a single large file system.
121 .Bl -tag -width /dev/rhk[0-7][a-h] -compact
122 .It Pa /dev/hk[0-7][a-h]
124 .It Pa /dev/rhk[0-7][a-h]
129 .It "hk%d%c: hard error %sing fsbn %d[-%d] cs2=%b ds=%b er=%b."
130 An unrecoverable error occurred during transfer of the specified
131 filesystem block number(s),
132 which are logical block numbers on the indicated partition.
133 The contents of the cs2, ds and er registers are printed
134 in octal and symbolically with bits decoded.
135 The error was either unrecoverable, or a large number of retry attempts
136 (including offset positioning and drive recalibration) could not
139 .It rk%d: write locked.
140 The write protect switch was set on the drive
141 when a write was attempted.
142 The write operation is not recoverable.
145 The drive was spun down or off line when it was
147 The I/O operation is not recoverable.
149 .It rk%d: not ready (came back!).
150 The drive was not ready, but after
151 printing the message about being not ready (which takes a fraction
152 of a second) was ready.
153 The operation is recovered if no further errors occur.
155 .It rk%d%c: soft ecc reading fsbn %d[-%d].
158 error occurred on the
159 specified sector(s) in the specified disk partition.
160 This happens normally
162 If it happens more frequently than this the sectors where the errors
163 are occurring should be checked to see if certain cylinders on the
164 pack, spots on the carriage of the drive or heads are indicated.
166 .It hk%d: lost interrupt.
167 A timer watching the controller detected
168 no interrupt for an extended period while an operation was outstanding.
169 This indicates a hardware or software failure.
170 There is currently a hardware/software problem with spinning down
171 drives while they are being accessed which causes this error to
175 reset, and retry of the pending operations.
176 If the controller continues to lose interrupts, this error will recur
193 scribbles on the tail of incomplete blocks.
196 error logging should be supported.
198 A program to analyze the logged error information (even in its
199 present reduced form) is needed.
201 The partition tables for the file systems should be read off of each
202 pack, as they are never quite what any single installation would prefer,
203 and this would make packs more portable.
207 g partition size in rk.c disagrees with that in