All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Jean Delvare <khali@linux-fr.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mmap() on cdrom files fails in 2.6.9-rc2-mmX
Date: Sat, 2 Oct 2004 00:42:21 -0700	[thread overview]
Message-ID: <20041002004221.33510f46.akpm@osdl.org> (raw)
In-Reply-To: <20040928214246.41b80d30.khali@linux-fr.org>

Jean Delvare <khali@linux-fr.org> wrote:
>
> 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.
> 

So I tried your .config

> ...
> # CONFIG_BLK_DEV_IDECD is not set

hm.  You're not using an IDE CDROM?

> CONFIG_BLK_DEV_SR=m

but you are using a SCSI CDROM, correct?

I tried your test app on both IDE CD with my .config and on SCSI CD with
your .config.  Works fine.


vmm:/mnt/cdrom> ~/test-mmap REGSVR32.EXE 
mmap size=42 flags=1: OK
mmap size=42 flags=2: OK
mmap size=4096 flags=1: OK
mmap size=4096 flags=2: OK



  parent reply	other threads:[~2004-10-02  7:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-28 19:42 mmap() on cdrom files fails in 2.6.9-rc2-mmX Jean Delvare
2004-09-30 18:49 ` Bill Davidsen
2004-10-02  7:42 ` Andrew Morton [this message]
2004-10-02 16:48   ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041002004221.33510f46.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=khali@linux-fr.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.