Subject: Re: SCSI Tape (TK50Z on VS3100 M76)
To: Chuck McManis <cmcmanis@mcmanis.com>
From: Douglas Meade <inforum@umd5.umd.edu>
List: port-vax
Date: 04/11/2000 10:30:10
Chuck,

I tried the kernel you put up for me with the patch, and tried to make
a small tape archive this morning.  I include the whole session below,
hoping it can help give a clue as to what is wrong.

Doug


On Fri, 7 Apr 2000, Chuck McManis wrote:

> Well I cabled up my TK50Z to the 3100 and got it to fail in exactly the 
> same way. Unfortunately I'm borrowing the cable I used and have to give it 
> back tomorrow :-(. If the person who said there was a patch sends it to me 
> I'll patch the 1.4X kernel and make it available if you would like to try it.
> --Chuck
> 
> At 03:32 PM 4/5/00 -0400, you wrote:
> >I've been having some trouble with SCSI tape on some of the later
> >snapshots.  I decided I would try Chuck's snapshot of 1.4V he put
> >up on ftp.neurotica.com to make sure I still had the problem.  In
> >fact, it is still there.

Here is my session with this kernel from this morning:
--------------------------------------------------------------------------------------
b dkb200


-DKB200
>> NetBSD/vax boot [Mar 24 2000 05:09:21] <<
>> Press any key to abort autoboot  543210
> boot netbsd
changing rpb->unit from 200 to 2
|/-\|/1057732-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+52160|/-\|/+180192+[76476-\|/-\|/-\|/-\|/-\|/+89586] total=0x16381a
Copyright (c) 1996, 1997, 1998, 1999, 2000
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.4X (GENERIC) #2: Mon Apr 10 17:16:34 PDT 2000
    cmcmanis@evax.hq.home.mcmanis.com:/usr/src/sys/arch/vax/compile/GENERIC

VAXstation 3100/m76
cpu: KA43
primary cache status: 1a<HIT,REFRESH,ENABLE>
secondary cache status: ffe1<TPE,DPE,MISS,ENABLE>
total memory = 16252 KB
avail memory = 12156 KB
using 228 buffers containing 912 KB of memory
mainbus0 (root)
vsbus0 at mainbus0
vsbus0: interrupt mask 8
le0 at vsbus0 csr 0x200e0000 vec 120 ipl 14 maskbit 5 buf 0x2840e000-0x2841dfff
le0: address 08:00:2b:23:c4:64
le0: 32 receive buffers, 8 transmit buffers
le0: supplying EUI64: 08:00:2b:ff:fe:23:c4:64
dz0 at vsbus0 csr 0x200a0000 vec 304 ipl 14 maskbit 6
dz0: 4 lines
lkc0 at dz0
ncr0 at vsbus0 csr 0x200c0080 vec 770 ipl 14 maskbit 1
scsibus0 at ncr0: 8 targets, 8 luns per target
ncr1 at vsbus0 csr 0x200c0180 vec 774 ipl 14 maskbit 0
scsibus1 at ncr1: 8 targets, 8 luns per target
smg0 at vsbus0 csr 0x200f0000 vec 104 ipl 14 maskbit 3
wsdisplay0 at smg0
wsdisplay0: screen 0-7 added (128x57, vt100 emulation)
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DEC, DSP3210S, 436D> SCSI2 0/direct fixed
sd0: 2049 MB, 3045 cyl, 16 head, 86 sec, 512 bytes/sect x 4197520 sectors
sd1 at scsibus0 target 2 lun 0: <DEC, RZ25     (C) DEC, 0900> SCSI2 0/direct fixed
sd1: 406 MB, 1476 cyl, 9 head, 62 sec, 512 bytes/sect x 832527 sectors
scsibus1: waiting 2 seconds for devices to settle...
sd2 at scsibus1 target 2 lun 0: <FUJITSU, M2266S-512, 001F> SCSI1 0/direct fixed
sd2: 1030 MB, 1658 cyl, 15 head, 84 sec, 512 bytes/sect x 2111018 sectors
st0 at scsibus1 target 5 lun 0: <DEC, TK50Z, > SCSI1 1/sequential removable
st0: rogue, drive empty
boot device: sd2
root on sd2a dumps on sd2b
root file system type: ffs
swapctl: adding /dev/sd2b as swap device at priority 0
Automatic boot in progress: starting file system checks.
/dev/rsd2a: file system is clean; not checking
/dev/rsd2d: file system is clean; not checking
Setting tty flags.
Starting network.
Hostname: inforumvax
NIS domainname: umd.edu
Configuring network interfaces: le0.
add net default: gateway 128.8.56.1
Adding interface aliases:
add net fe80::: gateway ::1
add net fec0::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::224.0.0.0: gateway ::1
add net ::127.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net ::255.0.0.0: gateway ::1
add net 2002:e000::: gateway ::1
add net 2002:7f00::: gateway ::1
add net 2002:0000::: gateway ::1
add net 2002:ff00::: gateway ::1
add net ::0.0.0.0: gateway ::1
IPv6 mode: host
Starting syslogd.
Checking for core dump...
savecore: no core dump
Starting nfsiod.
Mounting all filesystems...
Building databases...
Checking quotas: done.
Creating runtime link editor directory cache.
Clearing /tmp.
Setting securelevel: kern.securelevel: 0 -> 1
starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
Tue Apr 11 11:31:38 EDT 2000

NetBSD/vax (inforumvax) (console)

login: root
Password:
Last login: Fri Mar  6 19:03:57 1970 on console
Apr 11 11:32:11 inforumvax login: ROOT LOGIN (root) ON console
Copyright (c) 1996, 1997, 1998, 1999, 2000
Apr 11 11:32:11 inforumvax login: ROOT LOGIN (root) ON console
        The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

NetBSD 1.4X (GENERIC) #2: Mon Apr 10 17:16:34 PDT 2000

Welcome to NetBSD!

You have mail.
inforumvax# tar cv /etc
st0(ncr1:5:0):  Check Condition on CDB: 0x15 00 00 00 18 00
    SENSE KEY:  Illegal Request
 COMMAND INFO:  117440512 (0x7000000)
     ASC/ASCQ:  No Additional Sense Information

st0(ncr1:5:0):  Check Condition on CDB: 0x15 00 00 00 18 00
    SENSE KEY:  Illegal Request
 COMMAND INFO:  117440512 (0x7000000)
     ASC/ASCQ:  No Additional Sense Information

st0: cannot set selected mode
tar: Removing leading / from absolute path names in the archive.
Apr 11 11:32:20 inforumvax /netbsd: st0(ncr1:5:0):  Check Condition on CDB: 0x15 00 00 00 18 00
Apr 11 11:32:21 inforumvax /netbsd:     SENSE KEY:  Illegal Request
Apr 11 11:32:21 inforumvax /netbsd:  COMMAND INFO:  117440512 (0x7000000)
etc/
Apr 11 11:32:21 inforumvax /netbsd:      ASC/ASCQ:  No Additional Sense Information
etc/disklabels/
Apr 11 11:32:21 inforumvax /netbsd: 
etc/kerberosIV/
etc/kerberosV/
Apr 11 11:32:21 inforumvax /netbsd: st0(ncr1:5:0):  Check Condition on CDB: 0x15 00 00 00 18 00
etc/mtree/
etc/mtree/NetBSD.dist
Apr 11 11:32:21 inforumvax /netbsd:     SENSE KEY:  Illegal Request
tar: can't write to /dev/nrst0Apr 11 11:32:22 inforumvax /netbsd:  COMMAND INFO:  117440512 (0x7000000)
 : Input/output error
inforumvax# Apr 11 11:32:22 inforumvax /netbsd:      ASC/ASCQ:  No Additional Sense Information
Apr 11 11:32:22 inforumvax /netbsd: 
Apr 11 11:32:22 inforumvax /netbsd: st0: cannot set selected mode

inforumvax#