WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] 3ware 9650 and Xen 3.1

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] 3ware 9650 and Xen 3.1
From: "Philippe Vanhaesendonck" <xen@xxxxxxxxxxx>
Date: Fri, 28 Sep 2007 10:42:32 +0200 (CEST)
Delivery-date: Fri, 28 Sep 2007 01:43:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.4
Gents,

Just FYI, I ran into this 3ware 9650 / Xen 3.1 crash, and eventually saw
this thread:
http://lists.xensource.com/archives/html/xen-devel/2007-09/msg00330.html

I confirm that just applying the small changes outlined by keir in the
last mail solves the problem.

I other words, it is the following piece of code in the latest 3w-9xxx.c
3ware driver which makes the difference:

>       if (pci_set_dma_mask(pdev, DMA_64BIT_MASK)
>           || pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK))
>               if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)
>                   || pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK)) {

Compared to the (older) working bit:
> retval = pci_set_dma_mask(pdev, sizeof(dma_addr_t) > 4 ? DMA_64BIT_MASK
: DMA_32BIT_MASK);

-- 
Philippe


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel