Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 1997 01:34:27 +0100
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-scsi@FreeBSD.ORG
Cc:        Scott Watters <scott.watters@vina-tech.com>
Subject:   Re: Questions about mt and SCSI subsystem
Message-ID:  <19971210013427.36373@uriah.heep.sax.de>
In-Reply-To: <007601bd04e9$48a33af0$4560f2cf@curious.vina-tech.com>; from Scott Watters on Tue, Dec 09, 1997 at 01:27:42PM -0800
References:  <007601bd04e9$48a33af0$4560f2cf@curious.vina-tech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Scott Watters wrote:

> I did a ktrace on mt and discovered that the driver was NOT
> returning an error on the fsf IOCTL. It looks like a driver

It really wouldn't have required a ktrace run to tell you this. :-)

> problem. I've been looking at the sources, but the EOM logic
> escapes me. Has anyone else played with/patched this code?

I once tried to fix the EOF bug, but eventually gave up for lack of
time understanding all this code, pending flags, etc. (and filed a PR
for it).

> I know the logic is complex due to asychronous IO and early 
> returns. But I can't see the forest for the trees.

You are not alone.
-- 
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?19971210013427.36373>