Skip to contentSkip to conversation

: Can't access Digi32 with kernel 2.6.9

ALSA - driver 0000611 [email protected] 1 participant 1 message Nov 14, 2004

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=611>
======================================================================

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