[lkml]   [2003]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.027 / U:1.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site