Return-Path: Received: from smtp1.tech.numericable.fr (smtp1.tech.numericable.fr [82.216.111.37]) by bilbo.ozlabs.org (Postfix) with ESMTP id 62565B7B79 for ; Thu, 30 Jul 2009 09:42:28 +1000 (EST) Message-ID: <4A70DE54.5090406@scarlet.be> Date: Thu, 30 Jul 2009 01:42:12 +0200 From: Stef Simoens MIME-Version: 1.0 To: Benjamin Herrenschmidt Subject: Re: BUG in dma-mapping.h:218 // MESH SCSI driver not working References: <4A68E1CE.4040307@scarlet.be> <1248425553.25467.20.camel@pasglop> <4A70937B.7040201@scarlet.be> <1248910358.1509.27.camel@pasglop> In-Reply-To: <1248910358.1509.27.camel@pasglop> Content-Type: multipart/alternative; boundary="------------020200000608040304040002" Cc: linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --------------020200000608040304040002 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Benjamin Herrenschmidt schreef: > On Wed, 2009-07-29 at 20:22 +0200, Stef Simoens wrote: > >> 2.6.29 works OK >> 2.6.30-rc1 doesn't work (BUG...) >> 2.6.30-rc1 with your patch ... seems to hang when it should be >> mounting the root directory. >> >> Is it worthwhile doing a git bisect? >> > > It probably is, since it should work with my patch, so something else > changed, maybe in the SCSI stack. > What would be the best approach? - if the kernel boots, it's obviously 'good' - but what if the kernel hits the 'BUG', should I apply your patch then? If it doesn't work with your patch, would it be 'bad' then? > One thing I know is that the MESH HW has "issues" that make it very > sensitive to alignment DMA buffers, it's possible that the SCSI stack no > longer aligns some stuff ? > Hmm, great... how can I verify this? -- Regards, Stef Simoens --------------020200000608040304040002 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Benjamin Herrenschmidt schreef:
On Wed, 2009-07-29 at 20:22 +0200, Stef Simoens wrote:
  
2.6.29 works OK
2.6.30-rc1 doesn't work (BUG...)
2.6.30-rc1 with your patch ... seems to hang when it should be
mounting the root directory.

Is it worthwhile doing a git bisect?
    

It probably is, since it should work with my patch, so something else
changed, maybe in the SCSI stack.
  
What would be the best approach?
- if the kernel boots, it's obviously 'good'
- but what if the kernel hits the 'BUG', should I apply your patch then? If it doesn't work with your patch, would it be 'bad' then?
One thing I know is that the MESH HW has "issues" that make it very
sensitive to alignment DMA buffers, it's possible that the SCSI stack no
longer aligns some stuff ?
  
Hmm, great... how can I verify this?
-- 
Regards,
Stef Simoens
--------------020200000608040304040002--