From owner-freebsd-scsi Thu Dec 11 20:51:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA16922 for freebsd-scsi-outgoing; Thu, 11 Dec 1997 20:51:12 -0800 (PST) (envelope-from owner-freebsd-scsi) Received: from rif.hoosierlink.net (rif.hoosierlink.net [208.154.69.9]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA16909 for ; Thu, 11 Dec 1997 20:51:05 -0800 (PST) (envelope-from rif@rif.hoosierlink.net) Received: from localhost (rif@localhost) by rif.hoosierlink.net (8.8.8/8.8.6) with SMTP id XAA02204 for ; Thu, 11 Dec 1997 23:50:56 -0500 (EST) Date: Thu, 11 Dec 1997 23:50:56 -0500 (EST) From: Jim Riffle To: freebsd-scsi@freebsd.org Subject: Re: possiable quirk with CTT8000-S Tape Drive In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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