From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001907]: Maestro3 driver does not work with Fedora Xen Kernels Date: Tue, 14 Mar 2006 04:46:44 +0100 Message-ID: <8e85c0047ad21b4e50d556a863fc3061@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 529F91BC for ; Tue, 14 Mar 2006 04:46:44 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== 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-14-2006 04:46 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. ---------------------------------------------------------------------- chrisw - 03-14-06 04:46 ---------------------------------------------------------------------- File this under kernel-xen in Fedora Bugzilla (it's a Xen issue). Also, please include the dmesg from bootup. It will show swiotlb info that's useful. Specifically, if the swiotlb is in use, and mapped up too high, it won't be able to handle 28-bit 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 03-14-06 04:46 chrisw Note Added: 0008473 ====================================================================== ------------------------------------------------------- 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