From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4666cc0de4f3e71d,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,4666cc0de4f3e71d,start X-Google-Attributes: gid10b612,public From: stuart@lovelace.infobiogen.fr (Stuart Pook) Subject: how to fix broken RZ25 in DECstation 5000/25? Date: 1998/02/03 Message-ID: <6b6u94$nnh@lovelace.infobiogen.fr> X-Deja-AN: 321640877 Content-Transfer-Encoding: 8bit Keywords: RZ25, ST1480N, maxine, Seagate, hard disk, Ultrix Mime-Version: 1.0 Reply-To: stuart@turing.infobiogen.fr Content-Type: text/plain; charset=iso-8859-1 Organization: GIS INFOBIOGEN, 7 rue Guy Moquet BP8, 94801 VILLEJUIF, France Newsgroups: comp.sys.dec,comp.unix.ultrix The RZ25 in my Personal DECstation 5000 model 25 (maxine) doesn't work any more (I cannot even dd from the disk to /dev/null). Is it broken (and should I thus throw it away) or should I be able to fix it? How? I loaded OpenBSD onto the disk. The system booted and worked correctly. I then carried the machine home, fiddled with the jumpers (J7 below), put them back as they were, and I can no longer boot the system. The SCSI chain is correctly terminated (I tried two different terminaters). Below you will find the firmware diagnostics and the error messages from fsck and dd from Ultrix 4.3A (I booted Ultrix from CD-ROM). Thanks for your help Stuart This is what is printed on the disk: 940002-035 RZ25-E A01 SH20804080 I have been told that this disk is a OEM'd Seagate ST1480N. I got the jumper numbering from . The jumpers are set as follows. J6 = 01001011 J5 = 010 J7 = 00010 Here are the console error messages: KN02-CA V2.0g >>printenv boot=3/rz2/bsd testaction=q haltaction=h more=24 enet=08-00-2b-29-16-62 #=3 console=s osconsole=3 >>test >>cnfg 3: KN02-CA DEC V2.0g TCF0 ( 16 MB) (DV -- d=8) (Sb: devs = 0) (FDI: 1) (enet: 08-00-2b-29-16-62) (SCSI = 7) >>cnfg 3 3: KN02-CA DEC V2.0g TCF0 ( 16 MB) (DV -- d=8) (Sb: devs = 0) Name Rev. Vendor ============================== (FDI: 1) (enet: 08-00-2b-29-16-62) (SCSI = 7) --------------------------------------------------- DEV PID VID REV SCSI DEV ===== ================== ========== ====== ======== rz2 RZ25 (C) DEC DEC 0700 DIR dcache( 64 KB), icache( 64 KB) mem( 0): a0000000:a03fffff ( 4 MB) mem( 1): a0400000:a07fffff ( 4 MB) mem( B): a0800000:a0ffffff ( 8 MB) >>t 3/scsi/cntl >>t 3/scsi/sdiag 2 >>t 3/scsi/target 2 >>t 3/scsi/target 2 l 40 \?TFL: 3/scsi/target (8:(rzRd) 2) [KN02-CA] >>t 3/scsi/sdiag 2 ?TFL: 3/scsi/sdiag (3:(sdiag) 2) [KN02-CA] >>t 3/scsi/target 2 >>t 3/scsi/target 2 l 4000 /?TFL: 3/scsi/target (8:(rzRd) 2) [KN02-CA] >>t 3/scsi/target 2 >>t 3/scsi/sdiag 2 ?TFL: 3/scsi/sdiag (3:(sdiag) 2) [KN02-CA] >>pst-t >>boot Boot: 3/rz2/bsd Size: 1085584+0read error 11 Can't boot '3/rz2/bsd' KN02-CA V2.0g (PC: 0xbfc00c78, SP: 0x801fffe8) >>init >>boot 3/rz2/bsd.rz0 Boot: 3/rz2/bsd.rz0 no aout header Can't boot '3/rz2/bsd.rz0' KN02-CA V2.0g (PC: 0xbfc00c78, SP: 0x801fffe8) >>init >>boot 3/rz2/nosuchfile Boot: 3/rz2/nosuchfile open(3/rz2/nosuchfile) failed: 19 Can't boot '3/rz2/nosuchfile' KN02-CA V2.0g (PC: 0xbfc00c78, SP: 0x801fffe8) I switched the machine off and plugged the CD-ROM drive in: >>cnfg 3: KN02-CA DEC V2.0g TCF0 ( 16 MB) (DV -- d=8) (Sb: devs = 0) (FDI: 1) (enet: 08-00-2b-29-16-62) (SCSI = 7) >>cnfg 3 3: KN02-CA DEC V2.0g TCF0 ( 16 MB) (DV -- d=8) (Sb: devs = 0) Name Rev. Vendor ============================== (FDI: 1) (enet: 08-00-2b-29-16-62) (SCSI = 7) --------------------------------------------------- DEV PID VID REV SCSI DEV ===== ================== ========== ====== ======== rz2 RZ25 (C) DEC DEC 0700 DIR rz5 RRD42 (C) DEC DEC 4.5d CD-ROM dcache( 64 KB), icache( 64 KB) mem( 0): a0000000:a03fffff ( 4 MB) mem( 1): a0400000:a07fffff ( 4 MB) mem( B): a0800000:a0ffffff ( 8 MB) >>t 3/scsi/sdiag ?TFL: 3/scsi/sdiag (1:(dev ol) 0) [KN02-CA] >>t 3/scsi/cntl >>t 3/scsi/sdiag 2 >>t 3/scsi/sdiag 5 >>t 3/scsi/target 2 l 100 |?TFL: 3/scsi/target (8:(rzRd) 2) [KN02-CA] >>t 3/scsi/target 5 >>t 3/scsi/target 5 l 100 >>test >>t 3/scsi/sdiag 2 ?TFL: 3/scsi/sdiag (3:(sdiag) 2) [KN02-CA] >>t 3/scsi/sdiag 5 >>boot 3/rz5/vmunix Ultrixboot - V4.3A Sun May 16 13:28:53 EDT 1993 Loading 3/rz5/vmunix ... Sizes: text = 1884224 data = 1961360 bss = 790048 Starting at 0x80030000 ULTRIX V4.3A (Rev. 146) System #1: Thu May 20 01:57:57 EDT 1993 real mem = 16777216 avail mem = 9961472 using 409 buffers containing 1675264 bytes of memory DECsystem 5000 Model 25 - system rev 48 64Kb Instruction Cache, 64Kb Data Cache cpu0 ( version 3.0, implementation 2 ) fpu0 ( version 4.0, implementation 3 ) HBA 'PMAZ-BA ' and DME 'PMAZ-BA ' attached on Controller 0. asc0 at ibus3 rz2 at asc0 slave 2 (DEC RZ25 (C) DEC 0700) rz5 at asc0 slave 5 (DEC RRD42 (C) DEC 4.5d) ln0 at ibus3 ln0: DEC LANCE Ethernet Interface, hardware address: 08:00:2b:29:16:62 scc0 at ibus3 fd0 at ibus3 dti0 at ibus3 WARNING: clock lost 116 days *** STANDALONE ULTRIX ENVIRONMENT *** If you select the BASIC Installation option from the list that follows, the installation software creates file systems on default partitions on your system disk and loads the mandatory ULTRIX software subsets. If you require additional installation choices, select the ADVANCED Installation option. Select one of the following options: 1) BASIC Installation 2) ADVANCED Installation 3) System management Enter your choice: 3 # cd /dev # echo * MAKEDEV audit cam console crl cs1a cs1c cs2a cs2c drum errlog floppy kUmem kmem mem null rcs1a rcs1c rcs2a rcs2c trace tty ttyc1 ttyc2 ttyc3 tu0 tu1 # ./MAKEDEV rz2 MAKEDEV: special file(s) for rz2: rz2a rrz2a rz2b rrz2b rz2c rrz2c rz2d rrz2d rz2e rrz2e rz2f rrz2f rz2g rrz2g rz2h rrz2h # /etc/fsck -n /dev/rrz2c ** /dev/rrz2c (NO WRITE) ** Last Mounted on / ** Phase 1 - Check Blocks and Sizes UNKNOWN FILE TYPE I=16 CLEAR? no SPARE FIELDS OF INODE CONTAINED VALUES I=17 CLEAR? no SPARE FIELDS OF INODE CONTAINED VALUES I=18 CLEAR? no SPARE FIELDS OF INODE CONTAINED VALUES I=19 CLEAR? no SPARE FIELDS OF INODE CONTAINED VALUES I=20 CLEAR? no SPARE FIELDS OF INODE CONTAINED VALUES I=21 CLEAR? no SPARE FIELDS OF INODE CONTAINED VALUES I=22 CLEAR? no SPARE FIELDS OF INODE CONTAINED VALUES I=23 CLEAR? no SPARE FIELDS OF INODE CONTAINED VALUES I=24 CLEAR? no cam_logger: CAM_ERROR packet cam_logger: bus 0 target 2 lun 0 cdisk_check_sense Hard Error Hard Error Detected DEC RZ25 Active CCB at time of error CCB request completed with an error Dumping SCSI I/O CCB at 0xc10159fc: CCB Header: Address of this CCB .................... *my_addr: 0xc10159fc Length of the entire CCB ............ cam_ccb_len: 0x8c The XPT function code ............. cam_func_code: 0x1 (XPT_SCSI_IO) CAM subsystem status ................. cam_status: 0xc4 (CAM_REQ_CMP_ERR) Path ID for the request ............. cam_path_id: 0x0 Target device ID .................. cam_target_id: 0x2 Target LUN number ................ cam_target_lun: 0x0 Operation flags for subsystem ......... cam_flags: 0x40 CAM Flags Set: 0x40 = CAM_DIR_IN = Data direction is 'DATA IN'. Peripheral driver pointer ......... *cam_pdrv_ptr: 0xc1015818 Dumping Peripheral Working Set at 0xc1015818: Working set forward link ......... *pws_flink: 0xc0fda500 Working set backward link ........ *pws_flink: 0xc0fda500 Pointer to this CCB ................ *pws_ccb: 0xc10159fc Working set flags ................. pws_flags: 0x0 Retry count for request ....... pws_retry_cnt: 0x0 Peripheral driver structure ptr ... *pws_pdrv: 0xc0fda500 Auto-sense buffer in WS at .... pws_sense_buf: 0xc1015830 Next CCB pointer .................. *cam_next_ccb: 0x0 Request mapping info pointer ....... *cam_req_map: 0xc1025f80 Callback completion function ........ *cam_cbfcnp: 0x801a8444 Data buffer/SG list pointer ....... *cam_data_ptr: 0x7fff96e0 Data transfer length .............. cam_dxfer_len: 8192 (0x2000) Sense data buffer pointer ........ *cam_sense_ptr: 0xc1015830 Sense data buffer length .......... cam_sense_len: 64 Number of bytes in this CDB ......... cam_cdb_len: 6 Scatter gather list entries ...... cam_sglist_cnt: 0 SCSI device status code ......... cam_scsi_status: 0x2 (SCSI_STAT_CHECK_CONDITION) Autosense residual length ....... cam_sense_resid: 46 Transfer residual length .............. cam_resid: 8192 Command descriptor block in CCB at..cam_cdb_bytes: 0xc1015a38 Command descriptor block bytes ....... cam_cdb_io: 8 0 95 10 10 0 Command timeout value ............... cam_timeout: 0 (Default) Message buffer pointer ............. *cam_msg_ptr: 0x0 Message buffer length .............. cam_msgb_len: 0 Vendor unique flags ................ cam_vu_flags: 0x0 Tag queuing action ............... cam_tag_action: 0x0 Error, exception, or abnormal condition Nonrecoverable error Dumping Request Sense Data at 0xc1015830: Error code ...................... : 0x0 Error class ..................... : 0x7 Information fields valid ........ : 1 Segment number .................. : 0x0 Sense Key ....................... : 0x3 (Nonrecoverable error) Illegal length indicator ........ : 0 End of medium ................... : 0 Tape file mark detected ......... : 0 Information byte 3 .............. : 0x0 Information byte 2 .............. : 0x0 Information byte 1 .............. : 0x95 Information byte 0 .............. : 0x10 Additional sense length ......... : 0xa Command information byte 3 ...... : 0x0 Command information byte 2 ...... : 0x0 Command information byte 1 ...... : 0x0 Command information byte 0 ...... : 0x0 Additional sense code ........... : 0x12 Additional sense qualifier ...... : 0x0 Sense Code/Qualifier Message .... : Address mark not found for ID field Field replaceable unit code ..... : 0x0 Additional sense bytes .......... : 0x0 0x0 0x0 CANNOT READ: BLK 38160 CONTINUE? no Program terminated # dd if=/dev/rrz2c of=/dev/null cam_logger: CAM_ERROR packet cam_logger: bus 0 target 2 lun 0 cdisk_check_sense Hard Error Hard Error Detected DEC RZ25 Active CCB at time of error CCB request completed with an error Dumping SCSI I/O CCB at 0xc10159fc: CCB Header: Address of this CCB .................... *my_addr: 0xc10159fc Length of the entire CCB ............ cam_ccb_len: 0x8c The XPT function code ............. cam_func_code: 0x1 (XPT_SCSI_IO) CAM subsystem status ................. cam_status: 0xc4 (CAM_REQ_CMP_ERR) Path ID for the request ............. cam_path_id: 0x0 Target device ID .................. cam_target_id: 0x2 Target LUN number ................ cam_target_lun: 0x0 Operation flags for subsystem ......... cam_flags: 0x40 CAM Flags Set: 0x40 = CAM_DIR_IN = Data direction is 'DATA IN'. Peripheral driver pointer ......... *cam_pdrv_ptr: 0xc1015818 Dumping Peripheral Working Set at 0xc1015818: Working set forward link ......... *pws_flink: 0xc0fda500 Working set backward link ........ *pws_flink: 0xc0fda500 Pointer to this CCB ................ *pws_ccb: 0xc10159fc Working set flags ................. pws_flags: 0x0 Retry count for request ....... pws_retry_cnt: 0x0 Peripheral driver structure ptr ... *pws_pdrv: 0xc0fda500 Auto-sense buffer in WS at .... pws_sense_buf: 0xc1015830 Next CCB pointer .................. *cam_next_ccb: 0x0 Request mapping info pointer ....... *cam_req_map: 0xc1025f80 Callback completion function ........ *cam_cbfcnp: 0x801a8444 Data buffer/SG list pointer ....... *cam_data_ptr: 0x10001c10 Data transfer length .............. cam_dxfer_len: 512 (0x200) Sense data buffer pointer ........ *cam_sense_ptr: 0xc1015830 Sense data buffer length .......... cam_sense_len: 64 Number of bytes in this CDB ......... cam_cdb_len: 6 Scatter gather list entries ...... cam_sglist_cnt: 0 SCSI device status code ......... cam_scsi_status: 0x2 (SCSI_STAT_CHECK_CONDITION) Autosense residual length ....... cam_sense_resid: 46 Transfer residual length .............. cam_resid: 512 Command descriptor block in CCB at..cam_cdb_bytes: 0xc1015a38 Command descriptor block bytes ....... cam_cdb_io: 8 0 0 94 1 0 Command timeout value ............... cam_timeout: 0 (Default) Message buffer pointer ............. *cam_msg_ptr: 0x0 Message buffer length .............. cam_msgb_len: 0 Vendor unique flags ................ cam_vu_flags: 0x0 Tag queuing action ............... cam_tag_action: 0x0 Error, exception, or abnormal condition Nonrecoverable error Dumping Request Sense Data at 0xc1015830: Error code ...................... : 0x0 Error class ..................... : 0x7 Information fields valid ........ : 1 Segment number .................. : 0x0 Sense Key ....................... : 0x3 (Nonrecoverable error) Illegal length indicator ........ : 0 End of medium ................... : 0 Tape file mark detected ......... : 0 Information byte 3 .............. : 0x0 Information byte 2 .............. : 0x0 Information byte 1 .............. : 0x0 Information byte 0 .............. : 0x94 Additional sense length ......... : 0xa Command information byte 3 ...... : 0x0 Command information byte 2 ...... : 0x0 Command information byte 1 ...... : 0x0 Command information byte 0 ...... : 0x0 Additional sense code ........... : 0x12 Additional sense qualifier ...... : 0x0 Sense Code/Qualifier Message .... : Address mark not found for ID field Field replaceable unit code ..... : 0x0 Additional sense bytes .......... : 0x0 0x0 0x0 read: I/O error # /etc/halt syncing disks... done halting.... (transferring to monitor) KN02-CA V2.0g (PC: 0x800fe1d4, SP: 0xffffde70) >>init >>cnfg 3 3: KN02-CA DEC V2.0g TCF0 ( 16 MB) (DV -- d=8) (Sb: devs = 0) Name Rev. Vendor ==============================