⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hk.4

📁 早期freebsd实现
💻 4
字号:
.\" Copyright (c) 1980, 1991, 1993.\"	The Regents of the University of California.  All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\"    notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\"    notice, this list of conditions and the following disclaimer in the.\"    documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\"    must display the following acknowledgement:.\"	This product includes software developed by the University of.\"	California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\"    may be used to endorse or promote products derived from this software.\"    without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\"     @(#)hk.4	8.1 (Berkeley) 6/5/93.\".Dd June 5, 1993.Dt HK 4.Os BSD 4.Sh NAME.Nm hk.Nd.Tn RK6-11 Ns / Tn RK06and.Tn RK07disk interface.Sh SYNOPSIS.Cd "controller hk0 at uba? csr 0177440 vector rkintr".Cd "disk rk0 at hk0 drive 0".Sh DESCRIPTIONThe.Nm hkdriveris a typical block-device disk driver; block device.Tn I/Oisdescribed in.Xr physio 4 ..PpThe script.Xr MAKEDEV 8should be used to create the special files; if a special fileneeds to be created by hand consult.Xr mknod 8 ..Sh DISK SUPPORTSpecial file names begin with.Sq Li hkand.Sq Li rhkfor the block and character files respectively. The secondcomponent of the name, a drive unit number in the range of zero toseven, is represented by a.Sq Li ?in the disk layouts below. The last component is the file system partitionwhich is designatedby a letter from.Sq Li ato.Sq Li h .andcorresponds to a minor device number set: zero to seven,eight to 15, 16 to 23 and so forth for drive zero, drive two and drivethree respectively.The location and size (in sectors) of thepartitions for the.Tn RK06and.Tn RK07drives are as follows:.Bl -column header diskx undefined length.Tn RK07 No partitions:.Sy	disk	start	length	cyl	hk?a	0	15884	0-240	hk?b	15906	10032	241-392	hk?c	0	53790	0-814	hk?d	25938	15884	393-633	hk?f	41844	11792	634-814	hk?g	25938	27786	393-813.Tn RK06 No partitions.Sy	disk	start	length	cyl	hk?a	0	15884	0-240	hk?b	15906	11154	241-409	hk?c	0	27126	0-410.El.PpOn a dual.Tn RK-07systempartition hk?a is usedfor the root for one driveand partition hk?g for the /usr file system.If large jobs are to be run usinghk?b on both drives as swap area provides a 10Mbyte paging area.Otherwisepartition hk?c on the other driveis used as a single large file system..Sh FILES.Bl -tag -width /dev/rhk[0-7][a-h] -compact.It Pa /dev/hk[0-7][a-h]block files.It Pa /dev/rhk[0-7][a-h]raw files.El.Sh DIAGNOSTICS.Bl -diag.It "hk%d%c: hard error %sing fsbn %d[-%d] cs2=%b ds=%b er=%b."An unrecoverable error occurred during transfer of the specifiedfilesystem block number(s),which are logical block numbers on the indicated partition.The contents of the cs2, ds and er registers are printedin octal and symbolically with bits decoded.The error was either unrecoverable, or a large number of retry attempts(including offset positioning and drive recalibration) could notrecover the error..Pp.It rk%d: write locked.The write protect switch was set on the drivewhen a write was attempted.  The write operation is not recoverable..Pp.It rk%d: not ready.The drive was spun down or off line when it wasaccessed.  The i/o operation is not recoverable..Pp.It rk%d: not ready (came back!).The drive was not ready, but afterprinting the message about being not ready (which takes a fractionof a second) was ready.  The operation is recovered if no furthererrors occur..Pp.It rk%d%c: soft ecc reading fsbn %d[-%d].A recoverable.Tn ECCerror occurred on thespecified sector(s) in the specified disk partition. This happens normallya few times a week.  If it happens more frequently thanthis the sectors where the errors are occurring should be checked to seeif certain cylinders on the pack, spots on the carriage of the driveor heads are indicated..Pp.It hk%d: lost interrupt.A timer watching the controller detectedno interrupt for an extended period while an operation was outstanding.This indicates a hardware or software failure.  There is currently ahardware/software problem with spinning down drives while they arebeing accessed which causes this error to occur.The error causes a.Tn UNIBUSreset, and retry of the pending operations.If the controller continues to lose interrupts, this error will recura few seconds later..El.Sh SEE ALSO.Xr hp 4 ,.Xr uda 4 ,.Xr up 4 ,.Xr syslogd 8.Sh HISTORYThe.Nmdriver appeared in.Bx 4.1 ..Sh BUGSThe.Xr writefunctionscribbles on the tail of incomplete blocks..Pp.Tn DEC Ns -standarderror logging should be supported..PpA program to analyze the logged error information (even in itspresent reduced form) is needed..PpThe partition tables for the file systems should be read off of eachpack, as they are never quite what any single installation would prefer,and this would make packs more portable..PpThe.Tn RK07g partition size in rk.c disagrees with that in.Pa /etc/disktab.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -