Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 1997 21:17:42 -0500 (EST)
From:      Jim Riffle <rif@rif.hoosierlink.net>
To:        freebsd-scsi@freebsd.org
Subject:   possiable quirk with CTT8000-S Tape Drive
Message-ID:  <Pine.BSF.3.96.971211205834.610A-100000@rif.hoosierlink.net>

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

I have been attempting to get Amanda working with a CTT8000-Scsi tape
drive, and may have stumbled on a quirk, or perhaps just a bug with
Amanda.

I have the following SCSI devices in my box.

aic0 at 0x340-0x35f irq 9 on isa
(aic0:0:0): "CONNER CTT8000-S 1.17" type 1 removable SCSI 2
st0(aic0:0:0): Sequential-Access density code 0x45,  drive empty
(aic0:2:0): "HP HP35470A T503" type 1 removable SCSI 2
st1(aic0:2:0): Sequential-Access density code 0x13, variable blocks, write-enabled


Running amanda gives one of these 2 errors.
st0(aic0:0:0): ILLEGAL REQUEST asc:80,81 Vendor Specific ASC
st0(aic0:0:0): BLANK CHECK req sz: 32768 (decimal) asc:0,5 End-of-data detected

If I run amanda on st1 (The HP tape), It works okay, so it appears to just
be the Conner which has the trouble.  If I run a simple "dump" command,
on sd0, it works okay, which may mean this is a bug with Amanda instead..

I compiled SCSIDEBUG into my kernel, and get the following output with a
debug level of 7, while running amanda.  At the end there, I set the debug
level back to 0, so there is extra stuff at the end.  If anyone had any
thoughts of things for me to try, I would apprecaite it greatly.  

st0(aic0:0:0): stclose:  Closing device
st0(aic0:0:0): scsi_cmd
st0(aic0:0:0): get_xs
st0(aic0:0:0): returning
xs(0xf093ca00): flg(0x60)sc_link(0xf093ca80)retr(0x2)timo(0x186a0)cmd(0xf093ca58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)st0(aic0:0:0): command: 0,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): scsi_done
st0(aic0:0:0): command: 0,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): back in cmd()
st0(aic0:0:0): sc_err1,err = 0x0 
st0(aic0:0:0): free_xs
st0(aic0:0:0): calling private start()
st0(aic0:0:0): ststart st0(aic0:0:0): scsi_cmd
st0(aic0:0:0): get_xs
st0(aic0:0:0): returning
xs(0xf093ca00): flg(0x20)sc_link(0xf093ca80)retr(0x2)timo(0x186a0)cmd(0xf093ca58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)st0(aic0:0:0): command: 0,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): scsi_done
st0(aic0:0:0): command: 0,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): back in cmd()
st0(aic0:0:0): sc_err1,err = 0x0 
st0(aic0:0:0): free_xs
st0(aic0:0:0): calling private start()
st0(aic0:0:0): ststart st0(aic0:0:0): scsi_cmd
st0(aic0:0:0): get_xs
st0(aic0:0:0): returning
xs(0xf093ca00): flg(0xe0)sc_link(0xf093ca80)retr(0x2)timo(0x1388)cmd(0xf093ca58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)st0(aic0:0:0): command: 1e,0,0,0,1,0-[0 bytes]
st0(aic0:0:0): scsi_done
st0(aic0:0:0): command: 1e,0,0,0,1,0-[0 bytes]
st0(aic0:0:0): back in cmd()
st0(aic0:0:0): sc_err1,err = 0x0 
st0(aic0:0:0): free_xs
st0(aic0:0:0): calling private start()
st0(aic0:0:0): ststart st0(aic0:0:0): Open complete
st0(aic0:0:0): stopen: dev=0xe01 (unit 0) result 0
st0(aic0:0:0): [ioctl: op=0x5 count=0xefbfd7e4]
st0(aic0:0:0): scsi_cmd
st0(aic0:0:0): get_xs
st0(aic0:0:0): returning
xs(0xf093ca00): flg(0x20)sc_link(0xf093ca80)retr(0x4)timo(0x493e0)cmd(0xf093ca58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)st0(aic0:0:0): command: 1,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): scsi_done
st0(aic0:0:0): command: 1,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): back in cmd()
st0(aic0:0:0): sc_err1,err = 0x0 
st0(aic0:0:0): free_xs
st0(aic0:0:0): calling private start()
st0(aic0:0:0): ststart st0(aic0:0:0): 
ststrategy st0(aic0:0:0): 32768 bytes @ blk0
st0(aic0:0:0): ststart st0(aic0:0:0): scsi_cmd
st0(aic0:0:0): get_xs
st0(aic0:0:0): returning
xs(0xf093ca00): flg(0x420)sc_link(0xf093ca80)retr(0x0)timo(0x186a0)cmd(0xf093ca58)len(0x6)data(0xf46af7e4)len(0x8000)res(0x0)err(0x0)bp(0xf2d0dff4)st0(aic0:0:0): command: 8,0,0,80,0,0-[32768 bytes]
------------------------------
000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
------------------------------
st0(aic0:0:0): scsi_done
st0(aic0:0:0): command: 8,0,0,80,0,0-[32768 bytes]
------------------------------
000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
------------------------------
st0(aic0:0:0): sc_err1,err = 0x1 
code70 valid1 seg0 key8 ili0 eom0 fmark0
info: 0 0 80 0 followed by 10 extra bytes
extra: 0 0 0 0 0 0 0 0 0 0 
st0(aic0:0:0): calling private err_handler()
st0(aic0:0:0): private err_handler() returned -1
st0(aic0:0:0): BLANK CHECK req sz: 32768 (decimal) asc:0,5 End-of-data detected
st0(aic0:0:0): free_xs
st0(aic0:0:0): calling private start()
st0(aic0:0:0): ststart st0(aic0:0:0): stclose:  Closing device
st0(aic0:0:0): scsi_cmd
st0(aic0:0:0): get_xs
st0(aic0:0:0): returning
xs(0xf093ca00): flg(0x60)sc_link(0xf093ca80)retr(0x2)timo(0x1388)cmd(0xf093ca58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)st0(aic0:0:0): command: 1e,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): scsi_done
st0(aic0:0:0): command: 1e,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): back in cmd()
st0(aic0:0:0): sc_err1,err = 0x0 
st0(aic0:0:0): free_xs
st0(aic0:0:0): calling private start()
st0(aic0:0:0): ststart st0(aic0:0:0): scsi_cmd
st0(aic0:0:0): get_xs
st0(aic0:0:0): returning
xs(0xf093ca00): flg(0x60)sc_link(0xf093ca80)retr(0x2)timo(0x186a0)cmd(0xf093ca58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)st0(aic0:0:0): command: 0,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): scsi_done
st0(aic0:0:0): command: 0,0,0,0,0,0-[0 bytes]
st0(aic0:0:0): back in cmd()
st0(aic0:0:0): sc_err1,err = 0x0 
st0(aic0:0:0): free_xs
st0(aic0:0:0): calling private start()
st0(aic0:0:0): ststart st0(aic0:0:0): stopen: dev=0x20000e00 (unit 0) result 0
st0(aic0:0:0): scsi_do_ioctl(0x80045102)
st0(aic0:0:0): debug set to 0
st0(aic0:0:0): BLANK CHECK req sz: 32768 (decimal) asc:0,5 End-of-data detected


Thanks,
Jim
---
Jim Riffle
rif@hoosierlink.net
HoosierLink & KC Online
Network/Systems Administrator
http://rif.kconline.com/




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