[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] 3ware 9650 and Xen 3.1


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • Importance: Normal
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.