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] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712)
From: Tom Hibbert <tom.xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Apr 2006 23:31:33 +1200
Delivery-date: Wed, 12 Apr 2006 03:45:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Organization: Thoughtcrime
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mail/News 1.5 (X11/20060309)
Hi all,

I'm currently running on Ubuntu Dapper and xen 3.0 testing. I noticed my
sound card didnt work.

I looked in dmesg and found this:

Apr  9 17:49:29 phoenix kernel: [   27.490852] architecture does not
support 28bit PCI busmaster DMA

Grepping the kernel I came up with this, from sound/pci/ice1712/ice1712.c:

        /* check, if we can restrict PCI DMA transfers to 28 bits */
        if (pci_set_dma_mask(pci, 0x0fffffff) < 0 ||
            pci_set_consistent_dma_mask(pci, 0x0fffffff) < 0) {
                snd_printk(KERN_ERR "architecture does not support 28bit
PCI busmaster DMA\n");
                pci_disable_device(pci);
                return -ENXIO;
        }

I commented it out, and the module loaded but I got a burst of static
from the speakers. I suspect that this code is incompatible with Xen.

Why does Xen not allow the dom0 to set these parameters? My development
workstation is my main home box, and I like to have sound on it.

Thanks

Tom





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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Tom Hibbert <=