Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 19 Feb 2003 19:28:00 +0200 | From | Janne Heikkinen <> | Subject | Re: 2.4.20 oopses with OSS/munmap |
| |
Janne Heikkinen wrote:
> When trying to to use mmap with OSS with kernel version 2.4.20, > program causes oops > when munmapping takes place (either when calling munmap directly or > when program is > terminating).
I looked into it more carefully and most of the time I don't actually get oops but system just goes unstable. It is allways second time when program is run when this hang with munmap() happens.
Program that causes this maps DMA buffer with mmap, uses SNDCTL_DSP_GETIPTR ioctl() after select() and then copies data from mmap'd buffer into another buffer. Everything goes fine until munmap().
It seems to be exactly the same problem that Paul Forgey had run into and wrote about in January with subject "oss bug introduced since 2.4.18?".
Janne Heikkinen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |