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

📄 up.4

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 4
字号:
.\" SCCSID: @(#)up.4	8.1	9/11/90.TH up 4 VAX "" Unsupported.SH Nameup \- unibus storage module controller/drives.SH Syntax.B "controller sc0 at uba? csr 0176700 vector upintr.br.B "disk up0 at sc0 drive 0".SH DescriptionThis is a generic UNIBUS storage module disk driver.It is specifically designed to work with the Emulex SC-21 controller.It can be easilyadapted to other controllers (although bootstrapping willnot necessarily be directly possible.).PPFiles with minor device numbers 0 through 7 refer to various portionsof drive 0;minor devices 8 through 15 refer to drive 1, etc.The standard device names begin with ``up'' followed bythe drive number and then a letter a-h for partitions 0-7 respectively.The character ? stands here for a drive number in the range 0-7..PPThe block files access the disk via the system's normalbuffering mechanism and may be read and written without regard tophysical disk records.  There is also a `raw' interfacewhich provides for direct transmission between the diskand the user's read or write buffer.A single read or write call results in exactly one I/O operationand therefore raw I/O is considerably more efficient whenmany words are transmitted.  The names of the raw filesconventionally begin with an extra `r.'.PPIn raw I/O counts should be a multiple of 512 bytes (a disk sector).Likewise.I seekcalls should specify a multiple of 512 bytes..SS Disk SupportThe driver interrogates the controller's holding registerto determine the type of drive attached.  The driver recognizesfour different drives: AMPEX 9300, CDC 9766, AMPEX Capricorn,and FUJITSU 160.The origin and size of the pseudo-disks on each drive areas follows:.PP.nf.ta .5i +\w'000000    'u +\w'000000    'u +\w'000000    'u\fBCDC 9766 300M drive partitions:\fP	disk	start	length	cyl	up?a	0	15884	0-26	up?b	16416	33440	27-81	up?c	0	500384	0-822	up?d	341696	15884	562-588	up?e	358112	55936	589-680	up?f	414048	861760	681-822	up?g	341696	158528	562-822	up?h	49856	291346	82-561.PP\fBAMPEX 9300 300M drive partitions:\fP	disk	start	length	cyl	up?a	0	15884	0-26	up?b	16416	33440	27-81	up?c	0	495520	0-814	up?d	341696	15884	562-588	up?e	358112	55936	589-680	up?f	414048	81312	681-814	up?g	341696	153664	562-814	up?h	49856	291346	82-561.PP\fBAMPEX Capricorn 330M drive partitions:\fP	disk	start	length	cyl	hp?a	0	15884	0-31	hp?b	16384	33440	32-97	hp?c	0	524288	0-1023	hp?d	342016	15884	668-699	hp?e	358400	55936	700-809	hp?f	414720	109408	810-1023	hp?g	342016	182112	668-1023	hp?h	50176	291346	98-667.PP\fBFUJITSU 160M drive partitions:\fP	disk	start	length	cyl	up?a	0	15884	0-49	up?b	16000	33440	50-154	up?c	0	263360	0-822	up?d	49600	15884	155-204	up?e	65600	55936	205-379	up?f	121600	141600	380-822	up?g	49600	213600	155-822.DT.fi.PPIt is unwise for all of these files to be present in one installation,since there is overlap in addresses and protection becomesa sticky matter.The up?a partition is normally used for the root file system,the up?b partition as a paging area,and the up?c partition for pack-pack copying (it maps the entire disk).On 160M drives the up?g partition maps the rest of the pack.On other drives both up?g and up?h are used to map theremaining cylinders..SH RestrictionsIn raw I/O.PN readand.MS write 2truncate file offsets to 512-byte block boundaries,and.PN writescribbles on the tail of incomplete blocks.Thus,in programs that are likely to access raw devices,.PN read , .PN writeand.MS lseek 2should always deal in 512-byte multiples..SH Diagnostics\fBup%d%c: hard error sn%d cs2=%b er1=%b er2=%b\fR..brAn unrecoverableerror occurred during transfer of the specified sector in the specifieddisk partition.The contents of the cs2, er1 and er2 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\fBup%d: write locked\fR..brThe write protect switch was set on the drivewhen a write was attempted.  The write operation is not recoverable..PP\fBup%d: not ready\fR..brThe drive was spun down or off line when it wasaccessed.  The i/o operation is not recoverable..PP\fBup%d: not ready (flakey)\fR..brThe 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\fBup%d%c: soft ecc sn%d\fR..brA recoverable ECC error occurred on thespecified sector of 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\fBsc%d: lost interrupt\fR..brA timer watching the controller detectingno 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 UNIBUS reset, and retry of the pending operations.If the controller continues to lose interrupts, this error will recura few seconds later..SH Files/dev/up[0-7][a-h]	block files.br/dev/rup[0-7][a-h]	raw files.SH See Alsohk(4), hp(4), uda(4)

⌨️ 快捷键说明

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