All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: Andrew Morton <akpm@osdl.org>, Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mmap() on cdrom files fails in 2.6.9-rc2-mmX
Date: Sat, 2 Oct 2004 18:48:28 +0200	[thread overview]
Message-ID: <20041002184828.2d9fefda.khali@linux-fr.org> (raw)
In-Reply-To: <20041002004221.33510f46.akpm@osdl.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?

Correct, on my desktop system. However, I have a laptop with an IDE
CDROM, and am able to reproduce the problem there with 2.6.9-rc2-mm1.

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

Mmm, that's odd. There is next to nothing in common between my two
systems (desktop is AMD-based with VIA chipset and SYM/NCR SCSI adapter,
laptop is Intel-based with Intel chipset). Oh, the only common point I
can think of is the underlying Linux distro, namely up-to-date Slackware
9.1.

...

Being admittedly lost, I decided to do the only thing I could...
Starting from 2.6.9-rc2-bk1, I incrementally applied all changesets from
bk1 to bk2 as found on linux.bkbits.net:8080/linux-2.5, and test each
time. I wasted quite a few hours on this, but not in vain. The changeset
triggering the problem is this one:

http://linux.bkbits.net:8080/linux-2.5/cset@1.1891

It looks totally unrelated. As to why it causes a problem to only me,
don't ask, I have no idea.

Does it help?

Thanks.

-- 
Jean Delvare
http://khali.linux-fr.org/

      reply	other threads:[~2004-10-02 16:47 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
2004-10-02 16:48   ` Jean Delvare [this message]

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=20041002184828.2d9fefda.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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.