Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 1997 10:23:40 +0000
From:      "Coi Giovanni" <Coi_Giovanni@prometeo.it>
To:        freebsd-isp@freeBSD.org, freebsd-hackers@freeBSD.org
Subject:   AHA SCSI DAT dump problem
Message-ID:  <199701250924.KAA24920@prometeo.prometeo.it>

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

I have a SONY SDT-5200 3.26 tape backup (DAT) which I am trying
to run. The SCSI controller is a AHA-1522A (ISA bus) when I try
to write on tape (with dump for example) I get the following
error messages on console:

st0(aic0:5:0): ABORTED COMMAND info:4 asc:4b,0 Data phase error

st0(aic0:5:0): HARDWARE FAILURE info:14 asc:44,0 Internal target 
failure 

st0(aic0:5:0): HARDWARE FAILURE info:14 asc:44,0 Internal
target failure 

st0(aic0:5:0): HARDWARE FAILURE info:1 asc:44,0
Internal target failure

the dump command is

dump 0uBbf 2000000 10 /dev/rst0 /dev/wd0a

but I try also with

dump 0uBbf 2000000 10 /dev/rst0 /

whit the same results

and this is the output of dump on stderr:

DUMP: Date of this level 0 dump: Wed Jan 22 13:52:54 1997
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rwd0a (/) to /dev/rst0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 15086 tape blocks on 0.01 tape(s).
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
... error messages on console....

DUMP: End of tape detected
DUMP: Closing /dev/rst0
DUMP: Change Volumes: Mount volume #2
DUMP: Is the new volume mounted and ready to go?: ("yes" or "no")
I reply no

DUMP: Do you want to abort?: ("yes" or "no")
I reply yes

DUMP: The ENTIRE dump is aborted.

Note:
a) after I run the dump command after signaling

    DUMP: dumping (Pass IV) [reguler files]

    the system freeze. It do not respond at console, no on other
    telnet session, no on other vitrual console. After it finish 
   (with error) all return to normal state.

b) I have tryed the following command:

    tar cvf /dev/rst0 /etc

    and it goes. Then I can run also

    tar tvf /dev/rst0

    and see the correct listing of etc's file.
    I think it was because there are few data in /etc.

c) the _same_ DAT works fine when I connect it to a
    windows NT 4.0 box (but with a SCSI controller
    more quick, an PCI Adaptec AHA-2940

d) as you can see from the startup log (below) I have also
    a SCSI CDROM that work fine (I have copied with success
    a file of about 10Mbyte from it).

Anyone has some suggestions? 
TIA.


Follow my system configuration parameter:
---------------------------------------------------------------
controller      aic0    at isa? port 0x140 bio irq 10 vector aicintr
controller	scbus0 at aic0		# Single bus device
disk 		sd0 at scbus0 target 4 unit 0
tape		st0 at scbus0 target 5 unit 0
device		cd0 at scbus0 target 3 unit 0

options		SCSI_DELAY=30
options		SCSIDEBUG
---------------------------------------------------------------

Follow my startup log
-----------------------------------------------------------
FreeBSD 2.1.5-RELEASE #0: Wed Jan 22 15:56:04 MET 1997

CPU: i486DX (486-class CPU)
real memory  = 16777216 (16384K bytes)
avail memory = 14835712 (14488K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA mono <4 virtual consoles, flags=0x0>
ed0 at 0x340-0x35f irq 5 on isa
ed0: address 00:00:1b:3a:c4:88, type NE2000 (16 bit) 
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450

aic0 at 0x140-0x15f irq 12 on isa
aic0 waiting for scsi devices to settle
(aic0:3:0): "NEC CD-ROM DRIVE:501 2.2" type 5 removable SCSI 2
cd0(aic0:3:0): CD-ROM cd present.[328201 x 2048 byte records]
(aic0:4:0): "IBM MTA-3230TC2210!B 0" type 7 removable SCSI 2
uk0(aic0:4:0): Unknown 
(aic0:5:0): "SONY SDT-5200 3.26" type 1 removable SCSI 2
st0(aic0:5:0): Sequential-Access density code 0x13, 512-byte blocks,
write-enabled

wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80008000 on isa
wdc0: unit 0 (wd0): <WDC AC2850F>
wd0: 814MB (1667232 sectors), 1654 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <WDC AC2540H>
wd1: 515MB (1056384 sectors), 1048 cyls, 16 heads, 63 S/T, 512 B/S
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
mcd0: type Mitsumi FX001D, version info: D 2
mcd0 at 0x320-0x323 irq 11 on isa
npx0 on motherboard
npx0: INT 16 interface
-----------------------------------------------------------


----------------------------------------------------------
Prometeo srl - Progetti e Metodologie Informatiche
               Internet Services Provider

Coi Giovanni			
Voice : +39 (041)5701366        Via Giudecca 15
Fax   : +39 (041)5701005        30035 MIRANO (VE) - ITALY
e-mail: coi@prometeo.it         http://www.prometeo.it



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