From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasily Averin Subject: Re: megaraid_mbox: garbage in file Date: Fri, 12 May 2006 08:18:32 +0400 Message-ID: <44640C98.3070006@sw.ru> References: <890BF3111FB9484E9526987D912B261901BD42@NAMAIL3.ad.lsil.com> <445BE14D.8000706@sw.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailhub.sw.ru ([195.214.233.200]:6419 "EHLO relay.sw.ru") by vger.kernel.org with ESMTP id S1750902AbWELEPS (ORCPT ); Fri, 12 May 2006 00:15:18 -0400 In-Reply-To: <445BE14D.8000706@sw.ru> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Vasily Averin Cc: "Ju, Seokmann" , James Bottomley , linux-scsi@vger.kernel.org, "Kolli, Neela" , "Mukker, Atul" , "Bagalkote, Sreenivas" , devel@openvz.org, Linux Kernel Mailing List Vasily Averin wrote: > Ju, Seokmann wrote: >>I'm waiting for feedback from F/W team for MegaRAID 150-4 controller if it supports 64-bit DMA. >> >>I'll update here as I get. Could you please tell me any updates? Could you confirm that this issue was reproduced on your nodes? >>Can you do one quick change in the driver? >>Search for 'pci_set_dma_mask()' API calls in the driver and mask out one of them with DMA_64BIT_MASK as follow. >>--- >> // if (pci_set_dma_mask(adapter->pdev, DMA_64BIT_MASK) != 0) { >> >> // conlog(CL_ANN, (KERN_WARNING >> // "megaraid: could not set DMA mask for 64-bit.\n")); >> >> // goto out_free_sysfs_res; >> // } >>--- >> >>I found that the driver is NOT checking 64-bit DMA capability of the controllers accordingly and this could be a reason. > > This change help me: > Errors go away, file content is correct. I'm going to use this change in production, at least as temporal workaround. Could you please confirm that it is safe for all controllers supported by this driver? Thank you, Vasily Averin SWsoft Virtuozzo/OpenVZ Linux kernel team