lkml.org 
[lkml]   [2003]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 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/

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