Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 1997 13:40:08 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        scsi@freebsd.org
Cc:        tom@tomqnx.com (Tom Torrance at home)
Subject:   Re: CD-R & SCSI Problems
Message-ID:  <19970608134008.SK05770@uriah.heep.sax.de>
In-Reply-To: <m0wacsO-000A2VC@TomQNX.tomqnx.com>; from Tom Torrance at home on Jun 8, 1997 03:59:00 -0400
References:  <19970607234548.VE42744@uriah.heep.sax.de> <m0wacsO-000A2VC@TomQNX.tomqnx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Tom Torrance at home wrote:

> That SCSI debugging is really neat stuff!  Here are the results of
> doing the scsi command followed by an 'mt rewind'.

> Jun  8 03:45:39 tomqnx /kernel: st0(ahc0:6:0): command: 1e,0,0,0,1,0-[0 bytes]
> Jun  8 03:45:39 tomqnx /kernel: st0(ahc0:6:0): back in cmd()
> Jun  8 03:45:40 tomqnx /kernel: st0(ahc0:6:0): sc_err1,err = 0x1 
> Jun  8 03:45:40 tomqnx /kernel: code70 valid0 seg0 key5 ili0 eom0 fmark0
> Jun  8 03:45:40 tomqnx /kernel: info: 0 0 0 0 followed by 16 extra bytes
> Jun  8 03:45:40 tomqnx /kernel: extra: 1 5 0 0 0 0 0 0 0 0 0 0 0 0 80 9a 
> Jun  8 03:45:40 tomqnx /kernel: st0(ahc0:6:0): calling private err_handler()
> Jun  8 03:45:40 tomqnx /kernel: st0(ahc0:6:0): private err_handler() returned -1
> Jun  8 03:45:40 tomqnx /kernel: st0(ahc0:6:0): ILLEGAL REQUEST asc:20,0 Invalid command operation code

0x1e is PREVENT ALLOW MEDIUM REMOVAL.  Thus, the failure is benign.
The command is optional per the standard (thus FreeBSD shouldn't be
that verbose about the returned error), but all the better drives seem
to implement it -- even those that don't really have a chance to
prevent you from removing the medium, like QIC.

At least, your drive returns the correct error code.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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