From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000611]: Can't access Digi32 with kernel 2.6.9 Date: Sun, 14 Nov 2004 15:07:59 +0100 Message-ID: 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 [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 1DA8A227 for ; Sun, 14 Nov 2004 15:07:59 +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: spirou Assigned To: martin ====================================================================== Project: ALSA - driver Issue ID: 611 Category: PCI - RME 32 Reproducibility: always Severity: minor Priority: normal Status: assigned Distribution: Gentoo Linux Kernel Version: 2.6.9-gentoo-r1 ====================================================================== Date Submitted: 10-27-2004 03:44 CEST Last Modified: 11-14-2004 15:07 CET ====================================================================== Summary: Can't access Digi32 with kernel 2.6.9 Description: The Driver for the digi32 in kernel 2.6.9 doesn't let me access the card. All I get is a "Device busy". With 2.6.8 everything is fine. lsmod shows the driver as loaded, permissions are the same as with 2.6.8. ====================================================================== ---------------------------------------------------------------------- martin - 11-11-04 16:11 ---------------------------------------------------------------------- I've choosed the word "format", because my example had unsupported channels and unsupported sample rate. I can do more specific tests about it to find any difference, but I'm afraid not before the weekend. I still believe that this is the same bug. In case of this rme32 failure the card become unusable. The dev will not be freed again. For aplay it's impossible to get a prompt after a Ctrl-C abort. It hangs endlessly. So any further accesses become impossible and that fits to the original report. ---------------------------------------------------------------------- martin - 11-14-04 15:07 ---------------------------------------------------------------------- It occurs in cases of "sample rate conversion"! I've figured out that removing this line in snd_rme32_*_ops{} helps me: // .mmap = snd_pcm_lib_mmap_iomem, ... at least on x86 running 2.4.26. But those lines were introduced in 1.45 because of architecture incompatibilities. So, undoing it will not solve it for all architectures and I fear it will only re-introduce another bug. Maybe this problem exist also for rme96 and other cards... Issue History Date Modified Username Field Change ====================================================================== 10-27-04 03:44 spirou New Issue 10-27-04 03:44 spirou Distribution => Gentoo Linux 10-27-04 03:44 spirou Kernel Version => 2.6.9-gentoo-r1 11-09-04 19:16 tiwai Note Added: 0002341 11-10-04 02:47 spirou Note Added: 0002354 11-10-04 11:04 martin Note Added: 0002360 11-10-04 12:08 tiwai Note Added: 0002363 11-10-04 22:09 martin File Added: rme32.stracelog.WRONG.gz 11-10-04 22:10 martin File Added: rme32.stracelog.FINE.gz 11-10-04 22:33 martin Note Added: 0002377 11-10-04 22:37 martin Note Added: 0002380 11-11-04 15:04 tiwai Note Added: 0002388 11-11-04 16:11 martin Note Added: 0002389 11-14-04 15:07 martin Note Added: 0002408 ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8