From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: PROBLEM: 2.6.3 hangs when writing to scsi-dvd Date: Mon, 23 Feb 2004 15:25:31 +0100 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20040223142531.GF32010@suse.de> References: <403512B8.2060403@ics.uci.edu> <4036867C.60803@ics.uci.edu> <20040223132634.GD32010@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from ns.virtualhost.dk ([195.184.98.160]:36018 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S261872AbUBWOZf (ORCPT ); Mon, 23 Feb 2004 09:25:35 -0500 Content-Disposition: inline In-Reply-To: List-Id: linux-scsi@vger.kernel.org To: Kai Makisara Cc: Joachim Feise , linux-scsi@vger.kernel.org, Michael Guntsche , Andrew Morton , "Justin T. Gibbs" , Frank Pieczynski On Mon, Feb 23 2004, Kai Makisara wrote: > On Mon, 23 Feb 2004, Jens Axboe wrote: > > > On Mon, Feb 23 2004, Kai Makisara wrote: > ... > > > I hope someone sees no where the real problem is. > > > > SCSI io completion path (sr/sd/st rw_intr() -> scsi_io_completion() -> > > scsi_end_request()) doesn't properly handle non-sector aligned data > > transfers. This patch should fix it up. Warning: untested. > > > Now it is slightly tested: it works with my SCSI tape test program. Since > the program only does an inquiry, I tried it with the SCSI system disk > without problems. Unfortunately, I don't have access to a SCSI CDROM now. Great, that's promising (code like this tends to either break at first access, or work :-). Thanks for testing. -- Jens Axboe