I'm having problems getting DMA-access to work. With
read() and write() everything works fine. Here's the problem:

I've used "mmap_test.c" as an example. If I open the driver
in "O_WRONLY" mode, the mmap() call returns with errno 13 (
"permission denied"). If I open in mode "O_RDWR" (as in
"mmap_test.c"), it hangs the process (even kill -9 doesn't
help; the rest of the system works OK). I've also tried
compiling "mmap_test.c" and running it also hangs the process. 

Info about my system:

- Linux x86 / kernel 2.2.6
- OSS version: 3.9.2g-990327, compiled for Linux-2.2.4-UP
- otherwise a RedHat v5.2 based system
- soundcards:
        - Gravis GusMax
        - SB AWE 64 Gold

Is this some known problem or possibly related to the new kernels?

-- 
Kai Vehmanen ---------------------------- CS, University of Turku, Finland
 - email                    o mailto:[EMAIL PROTECTED]
 - music reviews            o http://www.wakkanet.fi/~kaiv/reviews/
 - my music (in mp3 format) o http://www.wakkanet.fi/~kaiv/sculpscape.html

Reply via email to