Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 1996 16:10:49 -0700 (MST)
From:      Softweyr LLC <softweyr@xmission.com>
To:        crs@hamlet.lanl.gov (Charlie Sorsby)
Cc:        questions@freebsd.org
Subject:   Re: Help adding SCSI tape drive
Message-ID:  <199612172310.QAA29543@xmission.xmission.com>
In-Reply-To: <9612172055.AA04467@hamlet.lanl.gov.lanl.gov> from "Charlie Sorsby" at Dec 17, 96 01:55:44 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm running FreeBSD 2.1.5 from the Walnut Creek CDROM.

Good.

> I just bought a used SCSI tape drive.  I could only afford the
> least costly:
> 
> Archive/Conner/Seagate    2150S
> HH-Internal-SCSI Tape 150/300Mg, 1 New 6150 Tape Included.
> 
> According to the stickers it's the Archive.

Good.  This is a good drive, if a little slow by today's standards.

> I have only two weeks to decide if the drive is OK and the clock
> began yesterday...
> 
> Naturally the first thing that I found is that the vendor from whom
> I bought my system only included enough connectors on my SCSI cable
> for the devices that I ordered so I had to scurry around to find a
> cable.

Naturally.  PC-minded boobs think you'd never need more than two
disk drives in a computer!

> Now I find that my system doesn't seem to be finding the tape drive
> when it boots.
> 
> I couldn't find anything in the handbook or the faq about adding
> a tape drive.
> 
> Any suggestions about where to look and what to look for will be
> much appreciated.
> 
> The system is basically all SCSI.  Disk and CDROM are working.

OK, for SCSI there are really only two things to solve: ID and
termination.  In terms of IDs, you seem to have:

> I can't see the jumpers for the disk-drive but according to the
> 2940 scsi utilities, it is SCSI ID 0.
> 
> The CDROM drive is jumpered for SCSI ID 1.
> 
> The tape drive came jumpered for SCSI ID 4 and I left it that way.
> 
> The 2940 scsi utilities (I guess it's actually the Adaptec scsi
> utilities) see only the disk drive, the CDROM drive, and the host
> adapter (SCSI ID 7).

Good.  Everybody has their own uniqe ID, so this shouldn't be a
problem.

> The tape drive is not at the end of the cable and it has an empty
> termination resistor socket above the SCSI connector.

What I'd suggest is putting the tape drive in between the two 
previosuly work devices.  For instance, if you originally had:

	Adapter +
		|
	   Disk +
		|
	 CD-ROM +

Make it look like:

	Adapter +
		|
	   Disk +
		|
	   Tape +
		|
	 CD-ROM +

> PC% grep st KERNEL.CRS
> options         "SCSI_DELAY=15"         #Be pessimistic about Joe SCSI device
> device          st0
> PC% 

> From KERNEL.CRS:
> 
> controller      ahc0    
> controller      scbus0
> device          sd0     
> device          st0
> device          cd0     #Only need one of these, the code dynamically grows

This should get it, the first SCSI tape device found by the probe
should be configured as device st0.

> Do I need to be more specific in the kernel configuration file
> than above?  As mentioned, disk and CDROM are working.

Shouldn't need anything else.  On to the probe output:

> FreeBSD 2.1.5-RELEASE #0: Tue Oct 29 16:56:58 MST 1996
>     crs@quail.swcp.com:/usr/src/sys/compile/KERNEL.CRS
> CPU: 120-MHz Pentium 735\\90 or 815\\100 (Pentium-class CPU)
>   Origin = "GenuineIntel"  Id = 0x526  Stepping=6
>   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
> real memory  = 16777216 (16384K bytes)
> avail memory = 14594048 (14252K bytes)
> Probing for devices on PCI bus 0:
> chip0 <Intel 82439> rev 1 on pci0:0
> chip1 <Intel 82371 PCI-ISA bridge> rev 1 on pci0:7:0
> chip2 <Intel 82371 Bus-Master IDE controller> rev 0 on pci0:7:1
> vga0 <VGA-compatible display device> rev 0 int a irq ?? on pci0:10
> ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 11 on pci0:12
> ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
> ahc0 waiting for scsi devices to settle
> (ahc0:0:0): "IBM DORS-32160 WA0A" type 0 fixed SCSI 2
> sd0(ahc0:0:0): Direct-Access 2063MB (4226725 512 byte sectors)
> (ahc0:1:0): "SONY CD-ROM CDU-76S 1.1c" type 5 removable SCSI 2
> cd0(ahc0:1:0): CD-ROM 
> cd0(ahc0:1:0): UNIT ATTENTION asc:28,0
> cd0(ahc0:1:0):  Not ready to ready transition, medium may have changed
> cd present.[400000 x 2048 byte records]
> Probing for devices on the ISA bus:

Whoops, the SCSI bus probe didn't see the tape drive.  You're certain
you have power to the tape drive?  You're certain you've got the SCSI
cable plugged in right side up?  (Don't laugh, I've done it myself with
IDE drives that weren't clearly labelled.)  When you put a tape in and
close the door, does it make any whirring or clicking noises?  Can you
use the diagnostics on the 2940 to "see" the tape drive?

> Thanks for any help.

I hope I've provided some.  You need to get the 2940 talking to the
tape drive.

-- 
          "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                       Softweyr LLC
http://www.xmission.com/~softweyr                       softweyr@xmission.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612172310.QAA29543>