From owner-freebsd-scsi Sat Apr 11 18:27:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA18680 for freebsd-scsi-outgoing; Sat, 11 Apr 1998 18:27:59 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA18675 for ; Sat, 11 Apr 1998 18:27:56 -0700 (PDT) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id KAA21793; Sun, 12 Apr 1998 10:57:36 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id KAA22660; Sun, 12 Apr 1998 10:57:35 +0930 (CST) (envelope-from grog) Message-ID: <19980412105735.37665@freebie.lemis.com> Date: Sun, 12 Apr 1998 10:57:35 +0930 From: Greg Lehey To: Joerg Wunsch , freebsd-scsi@FreeBSD.ORG Cc: Mark D Smith Subject: Re: SCSI EOT fixed J"org? References: <199804070732.XAA28712@revolution.3-cities.com> <19980411204617.63713@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <19980411204617.63713@uriah.heep.sax.de>; from J Wunsch on Sat, Apr 11, 1998 at 08:46:17PM +0200 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 11 April 1998 at 20:46:17 +0200, J Wunsch wrote: > As Mark D Smith wrote: > >> Some time back, you answered a question in freebsd-scsi about end of >> tape detection on a DAT drive. You'd said that the message wasn't >> getting to the calling program through the kernel, or something >> similar. Has this been fixed or has the CAM (I STILL haven't tried >> it yet) code fixed it? > > AFAIK, neither subsystem handles tape EOFs correctly yet. (To recall > the problem: the driver is supposed to return a `short write' (even > null write) in case it encounters EOF/EOM, but instead it returns EIO > currently). My understanding is that the CAM driver returns ENOSPC. I don't know whether it performs a partial write, but as long as it correctly reports what it does, that's fine by me. -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message