From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 24 Feb 2003 18:44:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 24 Feb 2003 18:43:55 -0500 Received: from scrye.com ([216.17.180.1]:56792 "EHLO scrye.com") by vger.kernel.org with ESMTP id ; Mon, 24 Feb 2003 18:43:46 -0500 Message-ID: <20030224235355.30878.qmail@scrye.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 24 Feb 2003 16:53:51 -0700 From: Kevin Fenzi To: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid Subject: Re: 2.4.x end of tape handling error References: <200302101904.h1AJ4US05141@devserv.devel.redhat.com> <20030218021039.28335.qmail@scrye.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Some more information on this problem discovered by Tim Jones : Tim> Additional news. Tim> This is actually related to the check sense bit not being Tim> propagated up to the ST driver. A simpler test (beats writing Tim> 40GB to a tape ...): Tim> use a 2.2.19/20/21 or 22 kernel, or a 2.4.9-34 kernel Remove the Tim> tape from the tape device execute: Tim> tar -cvvf /dev/nst0 /etc Tim> You will receive a "No medium found" message Tim> Replace the kernel with 2.4.11+ and repeat the tar write test. Tim> This time, you will receive a write failure. Tim> This is caused by the check sense not being set and the ST driver Tim> sending up a EIO instead of the ENOMEDIUM. So, it looks like this problem is _not_ in the st driver itself, but somewhere in the SCSI layer. Anyone have any ideas how to better track it down? Happy to run debug code/test cases here. anyone? kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 iD8DBQE+WrCT3imCezTjY0ERAoNDAJ9kx5aTtxJZlxKL04IJmVTztvM5MQCeIuFS Y4RxoYEC619ckzSxXGIAlcM= =A5/e -----END PGP SIGNATURE-----