Skip to contentSkip to conversation

: Maestro3 driver does not work with Fedora Xen Kernels

ALSA - driver 0001907 [email protected] 1 participant 1 message Mar 13, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1907>
======================================================================

Reported By:                xaoslaad
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   1907
Category:                   PCI - maestro3
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               Fedora Core 5 Test 3
Kernel Version:             kernel-xen0-2.6.15-1.2038_FC5
======================================================================
Date Submitted:             03-11-2006 02:29 CET
Last Modified:              03-13-2006 15:49 CET

======================================================================
Summary: Maestro3 driver does not work with Fedora Xen
Kernels
Description:
maestro3.c contains the following check which causes the driver to fail to work when using Fedora Xen0 kernels:

-----------------------------------------------------------------------------

        /* 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;
        }

-----------------------------------------------------------------------------

Commenting out the lines:

                pci_disable_device(pci);
                return -ENXIO;

causes the driver to load and seemingly work properly. Not sure what negative impact removing this check can have.

======================================================================

----------------------------------------------------------------------
tiwai - 03-13-06 15:49
----------------------------------------------------------------------
It's rather a problem of Xen kernel which doesn't accept the DMA mask.

Issue History
Date Modified Username Field Change
======================================================================

03-11-06 02:29 xaoslaad       New Issue                                    
03-11-06 02:29 xaoslaad       Distribution              => Fedora Core 5 Test 3
03-11-06 02:29 xaoslaad       Kernel Version            =>

kernel-xen0-2.6.15-1.2038_FC5
03-13-06 15:49 tiwai Note Added: 0008448
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642