Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 1996 13:34:12 +1100 (EST)
From:      Andrew MacIntyre <andymac@bullseye.apana.org.au>
To:        freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org
Subject:   Problems with HP T4000s tape drive
Message-ID:  <Pine.BSF.3.91.961226132603.2907A-100000@bullseye.apana.org.au>

next in thread | raw e-mail | index | archive | help
I have just acquired a HP T4000s tape drive for my primary FreeBSD
machine, which is a mail/news/file/print server for my home net.

However, it doesn't want to do anything useful :-( (commands & results 
below).

The drive is connected to the SCSI bus between the HD & CD-ROM, and 
the terminating resistors were removed.  I am not aware of any other 
system "funnies" which might be attributable to poor SCSI cabling or 
bad termination.

I notice from the boot probe (see below) that the drive appears to 
have v1.05 firmware, compared to another recent posting to the list 
having v1.06.

The system is stock 2.1.0 installed from CD-ROM.  I have the 2.1.5 CD-ROM
(have held off installing on this system until I could back it up
adequately), and plan on snarfing a 2.1.6 CD-ROM as soon as they become
available here.

Any thoughts/advice appreciated & compliments of the season to all.

What follows are the results of my attempts to use the drive + the system
config & boot transcript.  All commands issued as root.

An "mt status" results in:

---8<---8<---8<---
Present Mode:   Density = 0x45         Blocksize = 512 bytes
---------available modes---------
Mode 0:         Density = 0x00         Blocksize variable
Mode 1:         Density = 0x00         Blocksize variable
Mode 2:         Density = 0x00         Blocksize variable
Mode 3:         Density = 0x00         Blocksize variable
---8<---8<---8<---

with the console showing:

---8<---8<---8<---
Dec 26 12:13:25 bullseye /kernel: st0(ncr0:4:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
Dec 26 12:13:25 bullseye /kernel: st0: Cannot set selected mode
---8<---8<---8<---

An "mt rewind" is rewarded with tape activity, with the console showing:

---8<---8<---8<---
Dec 26 12:16:12 bullseye /kernel: st0(ncr0:4:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
Dec 26 12:16:12 bullseye /kernel: st0: Cannot set selected mode
---8<---8<---8<---

A "dump 0ubBf 32 1200000 /dev/nrst0 /usr" fails:

---8<---8<---8<---
  DUMP: Date of this level 0 dump: Thu Dec 26 12:21:33 1996
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rsd0s1g (/usr) to /dev/nrst0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 264124 tape blocks on 0.22 tape(s).
  DUMP: dumping (Pass III) [directories]
  DUMP: End of tape detected
  DUMP: Closing /dev/nrst0
  DUMP: Change Volumes: Mount volume #2
  DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") 
  DUMP: Do you want to abort?: ("yes" or "no") 
  DUMP: The ENTIRE dump is aborted.
---8<---8<---8<---

with the console showing:

---8<---8<---8<---
Dec 26 12:21:36 bullseye /kernel: st0(ncr0:4:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
Dec 26 12:21:36 bullseye /kernel: st0: Cannot set selected mode
Dec 26 12:21:36 bullseye /kernel: st0: oops not queued
Dec 26 12:21:37 bullseye last message repeated 2 times
Dec 26 12:21:37 bullseye /kernel: st0(ncr0:4:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
Dec 26 12:21:37 bullseye /kernel: st0: Cannot set selected mode
---8<---8<---8<---


System configuration:

---8<---8<---8<---
#
# BULLSEYE
#
# hardware:  Asus PVI-486SP3 rev 1.8 mbd,
#               w/ v3.04 BIOS (Award 4.50g) & NCR v3.07 SDMS
#               (has UMC 8669F Multi-IO chip, not SMC :-( )
#            Intel DX4/100 Overdrive CPU
#            16MB 60ns parity FPM RAM
#            Asus SC200 SCSI controller
#              - Quantum Capella 2.2G HD (0)
#              - HP Colorado T4000s tape drive (4)
#              - Toshiba XM-3401 CD-ROM drive (5)
#            Accton EN1666 ethernet card
#            TLI ET4000/W32 ISA video card
#

machine		"i386"
#cpu		"I386_CPU"
cpu		"I486_CPU"
#cpu		"I586_CPU"
ident		BULLSEYE
maxusers	32

#options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
#options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

config		kernel	root on sd0 

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
#tape		ft0	at fdc0 drive 2

#controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
#disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1

#controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

#options         ATAPI   #Enable ATAPI support for IDE bus
#device          wcd0    #IDE CD-ROM

controller	ncr0
#controller	ahc0

#controller	bt0	at isa? port "IO_BT0" bio irq ? vector btintr
#controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller	ahc1	at isa? bio irq ? vector ahcintr
#controller	ahb0	at isa? bio irq ? vector ahbintr
#controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
#controller	aic0    at isa? port 0x340 bio irq 11 vector aicintr
#controller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
#controller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
#controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr

controller	scbus0

device		sd0

device		st0

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

#device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
#device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
#device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr

#controller	matcd0	at isa? port 0x230 bio

#device		scd0	at isa? port 0x360 bio

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.1
#options		XSERVER			# include code for XFree86

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
#device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
#device		sio3	at isa? port "IO_COM4" tty irq 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
#device		lpt1	at isa? port? tty
#device		lpt2	at isa? port? tty
#device		mse0	at isa? port 0x23c tty irq 5 vector mseintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
#device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr
#device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	2
# ijppp uses tun instead of ppp device
pseudo-device	ppp	2
pseudo-device	tun	2
pseudo-device	pty	64
pseudo-device	gzip		# Exec gzipped a.out's
---8<---8<---8<---


Boot transcript (taken from /var/log/messages):

---8<---8<---8<---
Dec 25 11:14:39 bullseye /kernel: FreeBSD 2.1.0-RELEASE #0: Thu Jul 18 21:12:56 EST 1996
Dec 25 11:14:39 bullseye /kernel:     root@bullseye.apana.org.au:/usr/src/sys/compile/BULLSEYE
Dec 25 11:14:40 bullseye /kernel: CPU: i486 DX4 (486-class CPU)
Dec 25 11:14:40 bullseye /kernel:   Origin = "GenuineIntel"  Id = 0x480  Stepping=0
Dec 25 11:14:40 bullseye /kernel:   Features=0x3<FPU,VME>
Dec 25 11:14:40 bullseye /kernel: real memory  = 16777216 (16384K bytes)
Dec 25 11:14:40 bullseye /kernel: avail memory = 14954496 (14604K bytes)
Dec 25 11:14:41 bullseye /kernel: Probing for devices on the ISA bus:
Dec 25 11:14:41 bullseye /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Dec 25 11:14:41 bullseye /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Dec 25 11:14:41 bullseye /kernel: ed1 at 0x300-0x31f irq 5 on isa
Dec 25 11:14:41 bullseye /kernel: ed1: address 00:00:e8:13:eb:57, type NE2000 (16 bit) 
Dec 25 11:14:41 bullseye /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Dec 25 11:14:41 bullseye /kernel: sio0: type 16550A
Dec 25 11:14:41 bullseye /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Dec 25 11:14:42 bullseye /kernel: sio1: type 16550A
Dec 25 11:14:42 bullseye /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Dec 25 11:14:42 bullseye /kernel: lpt0: Interrupt-driven port
Dec 25 11:14:42 bullseye /kernel: lp0: TCP/IP capable interface
Dec 25 11:14:42 bullseye /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Dec 25 11:14:42 bullseye /kernel: fdc0: NEC 72065B
Dec 25 11:14:42 bullseye /kernel: fd0: 1.44MB 3.5in
Dec 25 11:14:42 bullseye /kernel: npx0 on motherboard
Dec 25 11:14:43 bullseye /kernel: npx0: INT 16 interface
Dec 25 11:14:43 bullseye /kernel: Probing for devices on the PCI bus:
Dec 25 11:14:43 bullseye /kernel: chip0 <SiS 85c496> rev 49 on pci0:5
Dec 25 11:14:44 bullseye /kernel: ncr0 <ncr 53c810 scsi> rev 1 int a irq 12 on pci0:12
Dec 25 11:14:44 bullseye /kernel: ncr0 waiting for scsi devices to settle
Dec 25 11:14:44 bullseye /kernel: (ncr0:0:0): "QUANTUM VP32210 81H8" type 0 fixed SCSI 2
Dec 25 11:14:44 bullseye /kernel: sd0(ncr0:0:0): Direct-Access 
Dec 25 11:14:44 bullseye /kernel: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec 25 11:14:44 bullseye /kernel: 2103MB (4308352 512 byte sectors)
Dec 25 11:14:44 bullseye /kernel: (ncr0:4:0): "HP T4000s 1.05" type 1 removable SCSI 2
Dec 25 11:14:44 bullseye /kernel: st0(ncr0:4:0): Sequential-Access density code 0x0,  drive empty
Dec 25 11:14:44 bullseye /kernel: (ncr0:5:0): "TOSHIBA CD-ROM XM-3401TA 3593" type 5 removable SCSI 2
Dec 25 11:14:44 bullseye /kernel: cd0(ncr0:5:0): CD-ROM 
Dec 25 11:14:44 bullseye /kernel: cd0(ncr0:5:0): asynchronous.
Dec 25 11:14:45 bullseye /kernel: cd present.[298166 x 2048 byte records]
Dec 25 11:14:45 bullseye /kernel: st0(ncr0:4:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
Dec 25 11:14:45 bullseye /kernel: st0: Cannot set selected modest0: oops not queued
Dec 25 11:14:45 bullseye /kernel: st0: oops not queued
Dec 25 11:14:45 bullseye /kernel: st0: oops not queued
Dec 25 11:14:45 bullseye /kernel: st0(ncr0:4:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
Dec 25 11:14:45 bullseye /kernel: st0: Cannot set selected mode
Dec 25 11:14:42 bullseye lpd[99]: restarted
Dec 25 11:14:48 bullseye innd: ME descriptors 64
Dec 25 11:14:48 bullseye innd: ME outgoing 51
Dec 25 11:14:49 bullseye innd: ME ccsetup control:11
Dec 25 11:14:49 bullseye innd: ME lcsetup localconn:13
Dec 25 11:14:49 bullseye innd: ME rcsetup remconn:4
Dec 25 11:14:49 bullseye innd: saturn opened saturn:15:file
Dec 25 11:14:49 bullseye innd: f243.n620 opened f243.n620:16:file
Dec 25 11:14:49 bullseye innd: OVERVIEW! spawned OVERVIEW!:18:proc:182
Dec 25 11:14:49 bullseye innd: ME starting
---8<---8<---8<---


The tape devices are as follows:

crw-r-----  2 root  operator   14,   1 Dec 26 12:21 /dev/nrst0
crw-r-----  2 root  operator   14,   1 Dec 26 12:21 /dev/nrst0.0
crw-r-----  1 root  operator   14,   5 Jan 14  1996 /dev/nrst0.1
crw-r-----  1 root  operator   14,   9 Jan 14  1996 /dev/nrst0.2
crw-r-----  1 root  operator   14,  13 Jan 14  1996 /dev/nrst0.3
crw-r-----  2 root  operator   14,   0 Dec 26 11:44 /dev/rst0
crw-r-----  2 root  operator   14,   0 Dec 26 11:44 /dev/rst0.0
crw-r-----  1 root  operator   14,   4 Jan 14  1996 /dev/rst0.1
crw-r-----  1 root  operator   14,   8 Jan 14  1996 /dev/rst0.2
crw-r-----  1 root  operator   14,  12 Jan 14  1996 /dev/rst0.3
crw-------  1 root  wheel      14, 536870912 Jan 14  1996 /dev/rst0.ctl
crw-rw----  1 root  operator   14,   3 Jan 14  1996 /dev/st0ctl.0
crw-rw----  1 root  operator   14,   7 Jan 14  1996 /dev/st0ctl.1
crw-rw----  1 root  operator   14,  11 Jan 14  1996 /dev/st0ctl.2
crw-rw----  1 root  operator   14,  15 Jan 14  1996 /dev/st0ctl.3

--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andrew.macintyre@aba.gov.au    (work) | Snail: PO Box 370
        andymac@bullseye.apana.org.au  (play) |        Belconnen  ACT  2616
Fido:   Andrew MacIntyre, 3:620/243.18        |        Australia




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961226132603.2907A-100000>