Re: mmap() on cdrom files fails since 2.6.9-rc2-bk2 (Was: in -mmX)

From: Andrew Morton
Date: Fri Oct 01 2004 - 20:48:07 EST


Jean Delvare <khali@xxxxxxxxxxxx> wrote:
>
> Quoting myself:
>
> > I think I found a bug in 2.6.9-rc2-mm4. It doesn't seem to be able to
> > mmap() files located on cdroms. Same problem with -mm3 and -mm1.
> > 2.6.9-rc2 works fine. I reproduced it on two completely different
> > systems, so I guess it isn't device dependant.
>
> Looks like I should have done more testing before reporting. The problem
> is not only in -mmX, it shows in the -bk series as well. The mmap()
> problem I am experiencing seems to have been introduced between
> 2.6.9-rc2-bk1 and 2.6.9-rc2-bk2. This somewhat narrows the research
> field.

It works OK here. Can you put together a simple test app?

Is it an iso9660 filesystem?

> I still don't know how to investigate the problem any further.
> Suggestions welcome.

Try the same thing on a read-only mounted ext3 filesystem, maybe?

Capture the strace output.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/