From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031154AbXD3Rjg (ORCPT ); Mon, 30 Apr 2007 13:39:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1031563AbXD3Rjg (ORCPT ); Mon, 30 Apr 2007 13:39:36 -0400 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 Date: Mon, 30 Apr 2007 18:39:27 +0100 From: Christoph Hellwig To: Jens Axboe Cc: James Bottomley , Bob Tracy , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, hch@infradead.org Subject: Re: BAD_SG_DMA panic in aha1542 Message-ID: <20070430173927.GA10522@infradead.org> Mail-Followup-To: Christoph Hellwig , Jens Axboe , James Bottomley , Bob Tracy , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.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 Content-Disposition: inline In-Reply-To: <20070430173243.GP21015@kernel.dk> User-Agent: Mutt/1.4.2.2i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.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.