Subject: Re: dump and tar problems
To: None <simonb@netbsd.org>
From: Daniel Senderowicz <daniel@synchrods.synchrods.COM>
List: port-pmax
Date: 12/31/1999 17:31:40
Simon et all,

>Daniel Senderowicz wrote:
>
>> [ dump problems ]
>
>You need an up-to-date sys/dev/tc/asc_ioasic.c - either rev 1.15.2.1 of
>the 1.4 branch or rev 1.18 for NetBSD-current.  The pre-release 1.4.2
>snapshot in pub/arch/pmax/snapshot/1.4.2_ALPHA on ftp.netbsd.org has
>this patch applied.  I've included a diff that should apply to a stock
>1.4.1 kernel below.

Given that I wanted to make a whole new system (in rz3), rather
than just copying 'netbsd' I took all the sets of 1.4.2_ALPHA
and started from scratch. Everything went fine and the
installation was completed successfully. The problem came after
when I wanted to copy from the other system (rz0) the directory
/usr/users. So I did:

bebita# mount /dev/rz0d /mnt
bebita# cd /usr
bebita# (cd /mnt; tar cf - users) | tar xf -

Apparently it completed the copying process, but it came out
with:

asc_mtr: tgt 3 command phase TC zero; padding command
SENSE
rz3: no sense data
Dec 31 14:41:02 bebita /netbsd: asc_mtr: tgt 3 command phase TC zero; padding c
Dec 31 14:41:02 bebita /netbsd: SENSE
Dec 31 14:41:03 bebita /netbsd: rz3: No sense data
bebita# asc_mtr: tgt 3 command phase TC zero; padding command
rz3: No sense data
Dec 31 14:41:12 bebita /netbsd: asc_mtr: tgt 3 command phase TC zero; padding c
Dec 31 14:41:14 bebita /netbsd: rz3: No sense data

So suspecting that the copy could have errors I did:

bebita# diff -rq /mnt/users users

and the response was:

asc0: SCSI device 3: gross error
rebooting...

I guess I'm going to have a glass of my Y2K compliant champagne.
Sigh...

Dan