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

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Dec 1997, Jim Riffle wrote:

Whoops!  During my testing of this problem, I erased one of my tapes,
taking off the label.  So, the results I sent it this message were a
result of that.  I relabeled the tape, and here is what I get with amanda
configured properly.  I thought this data would be much more useful.

st0(aic0:0:0): ILLEGAL REQUEST asc:80,81 Vendor Specific ASC

That is the primary error.  Below is with debug level 7.  Sorry for the
length of the output, I wasn't sure if all the info would be needed or
not.

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(0xf0e7d000): flg(0x60)sc_link(0xf093ca80)retr(0x2)timo(0x186a0)cmd(0xf0e7d058)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(0xf0e7d000): flg(0x20)sc_link(0xf093ca80)retr(0x2)timo(0x186a0)cmd(0xf0e7d058)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(0xf0e7d000): flg(0xe0)sc_link(0xf093ca80)retr(0x2)timo(0x1388)cmd(0xf0e7d058)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(0xf0e7d000): flg(0x20)sc_link(0xf093ca80)retr(0x4)timo(0x493e0)cmd(0xf0e7d058)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(0xf0e7d000): flg(0x420)sc_link(0xf093ca80)retr(0x0)timo(0x186a0)cmd(0xf0e7d058)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: 41 4d 41 4e 44 41 3a 20 54 41 50 45 53 54 41 52 
016: 54 20 44 41 54 45 20 58 20 54 41 50 45 20 41 6d 
032: 61 6e 64 61 32 0a 0c 0a 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 = 0x0 
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(0xf0e7d000): flg(0x60)sc_link(0xf093ca80)retr(0x2)timo(0x1388)cmd(0xf0e7d058)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(0xf0e7d000): flg(0x60)sc_link(0xf093ca80)retr(0x2)timo(0x186a0)cmd(0xf0e7d058)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(0xf0e7d000): flg(0x20)sc_link(0xf093ca80)retr(0x2)timo(0x186a0)cmd(0xf0e7d058)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(0xf0e7d000): flg(0xe0)sc_link(0xf093ca80)retr(0x2)timo(0x1388)cmd(0xf0e7d058)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=0x7b83]
st0(aic0:0:0): scsi_cmd
st0(aic0:0:0): get_xs
st0(aic0:0:0): returning
xs(0xf0e7d000): flg(0x20)sc_link(0xf093ca80)retr(0x0)timo(0x186a0)cmd(0xf0e7d058)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)st0(aic0:0:0): command: 10,0,0,0,1,0-[0 bytes]
st0(aic0:0:0): scsi_done
st0(aic0:0:0): command: 10,0,0,0,1,0-[0 bytes]
st0(aic0:0:0): back in cmd()
st0(aic0:0:0): sc_err1,err = 0x1 
code70 valid1 seg0 key5 ili0 eom0 fmark0
info: 0 0 0 1 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): ILLEGAL REQUEST asc:80,81 Vendor Specific ASC
st0(aic0:0:0): scsi_interpret_sense (no bp) returned 22
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(0xf0e7d000): flg(0x60)sc_link(0xf093ca80)retr(0x2)timo(0x1388)cmd(0xf0e7d058)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 


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

[snip]

Jim




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