Subject: Re: how do use use rabads to repair a ST-225 drive
To: Chuck McManis <cmcmanis@mcmanis.com>
From: None <ragge@ludd.luth.se>
List: port-vax
Date: 08/09/2004 15:01:23
It may also be that rabads only want to speak with an UDA50 that has
bad-block-handling in the controller.  The RQDX3 leaves the BB handling
and remapping to software and may not understand the bad block commands.

-- Ragge

> IIRC the bad blocks from the label of the drive needed to either be 
> manually entered into a bad block track, or you had to run a diagnostic to 
> test each sector and create the table for you. Then the drive should work. 
> I believe that rabads was only used on drives that developed bad blocks 
> while holding a "live" file system.
> 
> --Chuck
> 
> At 09:58 AM 8/8/2004, Kirk Russell wrote:
> >Hello,
> >
> >I found a ST-225 drive at a local hardware surplus.  First I initialized
> >the drive with a RQDX3 controller:
> >- changed the drive select from 1 to 3
> >- put a PDP11/23+ in the BA23 enclosure
> >- run XXDP's ZRQC??.BIN on the RD31 -- seemed to work okay
> >
> >I replaced the PDP11/23+ with a KA640-A, in the same BA23 enclosure.  And
> >netbooted NetBSD 1.6.  There appears to be some bad blocks:
> >
> >ra0: drive 0 soft error datagram: unit 0: small disk error, cyl 35: data 
> >error (uncorrectable ecc) (code 8, subcode 7)
> >ra0: drive 0 soft error datagram: unit 0: small disk error, cyl 39: data 
> >error (uncorrectable ecc) (code 8, subcode 7)
> >ra0: drive 0 soft error datagram: unit 0: small disk error, cyl 41: data 
> >error (uncorrectable ecc) (code 8, subcode 7)
> >ra0: drive 0 soft error datagram: unit 0: small disk error, cyl 563: data 
> >error (uncorrectable ecc) (code 8, subcode 7)
> >
> >I assume you have to run rabads to replace the blocks:
> >- get rabads from
> > 
> >http://highgate.comm.sfu.ca/pups/4BSD/Distributions/odds-ends/rabads.a.out
> >- still using the same RQDX3 controller
> >- netboot rabads
> >
> >I cannot get rabads to find the RQDX3 controller.  What am I missing?  TIA.
> >
> >KA640-A V4.1, VMB 2.5
> >Performing normal system tests.
> >41..40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..
> >25..24..23..22..21..20..19..18..17..16..15..14..13..
> >
> >?40 1 07 FF 00 0000
> >12..11..10..
> >09..08..07..06..05..04..03..
> >Tests completed.
> > >>>show qbus
> >Scan of Qbus I/O Space
> >-20001468 (772150) = FFFF (154) RQDX3/KDA50/RRD50/RQC25/KFQSA-DISK
> >-2000146A (772152) = 0B40
> >-20001900 (774400) = 0080 (160) RLV12
> >-20001902 (774402) = 0000
> >-20001904 (774404) = 0000
> >-20001906 (774406) = 7FFF
> >-20001F40 (777500) = 0020 (004) IPCR
> >
> >Scan of Qbus Memory Space
> > >>>show UQSSP
> >UQSSP Disk Controller 0 (772150)
> >-DUA0 (RD31)
> >-DUA1 (RX50)
> >-DUA2 (RX50)
> > >>>boot esa0:
> >(BOOT/R5:0 ESA0)
> >
> >
> >
> >   2..
> >-ESA0
> >   1..0..
> >
> >
> > >> NetBSD/vax boot [Nov 17 2000 07:23:42] <<
> > >> Press any key to abort autoboot 4
> >Press '?' for help
> > > boot rabads
> >Trying BOOTP
> >Using IP address: 192.168.1.113
> >myip: tinvax (192.168.1.113)
> >root addr=192.168.1.201 path=/export/netboot/tinvax/root
> >57308+0+0 total=0xdfe0
> >
> >
> >ULTRIX DSA Disk Initialization Program
> >
> >rabads <help exit drives status table init replace>: init
> >
> >Enter UBA number ( 0 - 7 )  < 0 >: 0
> >
> >Enter controller CSR (in octal) < 172150 >: 772150
> >CSR address too large!
> >
> >Enter controller CSR (in octal) < 172150 >: 172150
> >
> >Enter unit number ( 0 - 7 )  < 0 >: 0
> >
> >?12 DBL ERR2
> >         PC = EF00FB14
> > >>>
> >
> >--
> >Kirk Russell                  http://www.employees.org/~kirk/
> 
> 
>