From: Christoph Hellwig Subject: Re: BAD_SG_DMA panic in aha1542 Date: Mon, 30 Apr 2007 18:39:27 +0100 Message-ID: <20070430173927.GA10522@infradead.org> References: <20070427214709.DC44BDBA2@gherkin.frus.com> <1177712499.3688.25.camel@mulgrave.il.steeleye.com> <20070430173243.GP21015@kernel.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:43885 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031561AbXD3Rjf (ORCPT ); Mon, 30 Apr 2007 13:39:35 -0400 Content-Disposition: inline In-Reply-To: <20070430173243.GP21015@kernel.dk> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Jens Axboe Cc: James Bottomley , Bob Tracy , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, hch@infradead.org On Mon, Apr 30, 2007 at 07:32:45PM +0200, Jens Axboe wrote: > It's due to the crappy ->generic_packet() ioctl stuff, it bypasses the > block layer. So that needs to be converted to use block pc requests and > the block layer interface, then things will just work. > > Christoph had a sort-of ready patch for that some time ago. Christoph, > did that ever materialize into a full blown patch? I had a fullblown patch somewhere. The only drawback was that I didn't convert pcd because I neither understand enough of the hardware nor do I really understand what's going on there.