Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 96 13:55:44 MST
From:      crs@hamlet.lanl.gov (Charlie Sorsby)
To:        questions@freebsd.org
Subject:   Help adding SCSI tape drive
Message-ID:  <9612172055.AA04467@hamlet.lanl.gov.lanl.gov>

next in thread | raw e-mail | index | archive | help

I'm running FreeBSD 2.1.5 from the Walnut Creek CDROM.

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.

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.

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.

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).

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

Trying tar to see if it's really there anyway:

PC% tar tvf /dev/rst0
tar: can't open /dev/rst0 : Device not configured
PC% 

Checking /dev:

PC% ls /dev/*st*
/dev/erst0      /dev/nrst0      /dev/rst0       /dev/rst0.ctl   /dev/st0ctl.3
/dev/erst0.0    /dev/nrst0.0    /dev/rst0.0     /dev/sndstat    /dev/stderr
/dev/erst0.1    /dev/nrst0.1    /dev/rst0.1     /dev/st0ctl.0   /dev/stdin
/dev/erst0.2    /dev/nrst0.2    /dev/rst0.2     /dev/st0ctl.1   /dev/stdout
/dev/erst0.3    /dev/nrst0.3    /dev/rst0.3     /dev/st0ctl.2
PC% 

Of course some of those are unrelated files that happen to have
"st" in the filename.

All of the files listed in the st man-page FILES section seem to be
there.

Checking my kernel configuration file (eliminating obviously unrelated
"st"s as in "Filesystem":
		   ^^

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

Just to be sure, I'll look at that section and list what I find
that looks relevant.

>From KERNEL.CRS:

controller      ahc0    
[...]
controller      scbus0
[...]
device          sd0     

device          st0

device          cd0     #Only need one of these, the code dynamically grows

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

[I'll append dmesg output at the end of this message.  I apologize
for all of the "not found" messages in dmesg.  I made only those
changes to my kernel configuration file that were needed earlier
and haven't had time to go back and clean it up by eliminating
stuff that I don't have.  The "st0" line is as it came in the
GENERIC kernel configuration file.]

I suppose that I could re-install FreeBSD (2.1.5) to see if that
finds the tape drive but I really hate to do that if I can avoid
it.

Here's the output from dmesg:

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:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
ed1 not found at 0x300
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: disabled, not probed.
sio3: disabled, not probed.
lpt0 at 0x378-0x37f on isa
lpt1 not found at 0xffffffff
psm0 at 0x60-0x63 irq 12 on motherboard
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
bt0 not found at 0x330
uha0 not found at 0x330
aha0 not found at 0x330
aic0 not found at 0x340
nca0 not found at 0x1f88
nca1 not found at 0x350
sea0 not found
wt0 not found at 0x300
mcd0: timeout getting status
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0 not found at 0x230
ie0 not found at 0x360
ep0 not found at 0x300
ix0 not found at 0x300
le0 not found at 0x300
lnc0 not found at 0x280
ze0 not found at 0x300
zp0 not found at 0x300
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.13>
sbxvi0 at 0x0 drq 5 on isa
sbxvo0: <SoundBlaster 16 4.13>
sbmidi0 at 0x330 on isa
 <SoundBlaster MPU-401>
opl0 at 0x388 on isa
opl0: <Yamaha OPL-3 FM>

Thanks for any help.

Charlie Sorsby
	crs@hamlet.lanl.gov
	crs@swcp.com



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