Skip to contentSkip to conversation

3ware 9650 and Xen 3.1

DISCUSSION Philippe Vanhaesendonck 1 participant 1 message Sep 28, 2007

lore
Share & tools
lore
#0 lore raw

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:

Quoted 4 lines
      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:

Quoted 1 line

retval = pci_set_dma_mask(pdev, sizeof(dma_addr_t) > 4 ? DMA_64BIT_MASK

: DMA_32BIT_MASK);

Signature · 1 line
Philippe