From: ch@murgatroid.com (Christopher Hoover)
To: linux-mtd@lists.infradead.org
Subject: Another mmap / jffs2 problem (was RE: 2.5.59-rmk1: unmap_vmas: VMA list is not sorted correctly!)
Date: Thu, 6 Mar 2003 18:10:40 -0800 [thread overview]
Message-ID: <003c01c2e44e$c0779680$e55f040f@bergamot> (raw)
In-Reply-To: <003501c2e449$2fc65db0$e55f040f@bergamot>
BTW, this is fixed in the ppd CVS:
http://www.samba.org/cgi-bin/cvsweb/ppp/pppd/tdb.c?r1=1.1&r2=1.2
-ch
> -----Original Message-----
> From: linux-arm-kernel-admin at lists.arm.linux.org.uk
> [mailto:linux-arm-kernel-admin at lists.arm.linux.org.uk] On
> Behalf Of Christopher Hoover
> Sent: Thursday, March 06, 2003 5:31 PM
> To: 'Russell King - ARM Linux'
> Cc: linux-arm-kernel at lists.arm.linux.org.uk; 'linux-mtd'
> Subject: RE: Another mmap / jffs2 problem (was RE:
> 2.5.59-rmk1: unmap_vmas: VMA list is not sorted correctly!)
>
>
>
> > This is a long standing problem - and, has been reported many times
> > here. I don't remember the details, but I seem to remember that
> > pppd is buggy.
>
> Ah. I looked at the code -- it seems that someone thought
> that mmap(2)
> returns 0 on error. A couple of checks for -1 fixed it.
> I'll forward a
> patch to the maintainers (attached here for anyone encountering this
> problem who finds this note).
>
> Incidentally why does the mmap fail with EINVAL against a
> jffs2 file and
> succeed against a tmpfs file? Is that by design?
>
>
> > As far as the unmap_vmas message, if you could get a copy of the
> > /proc/<pid>/maps file while pppd is running, it might provide some
> > clues.
>
> I'm still getting the occasion unmap_vmas message; I'll grab that info
> next time I see it.
>
> Thanks again.
>
> Cheers,
> -ch
>
next prev parent reply other threads:[~2003-03-07 2:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <000d01c2e2ba$95246520$7a00000a@bergamot>
2003-03-06 22:47 ` Another mmap / jffs2 problem (was RE: 2.5.59-rmk1: unmap_vmas: VMA list is not sorted correctly!) Christopher Hoover
2003-03-06 23:28 ` Russell King - ARM Linux
2003-03-07 1:30 ` Christopher Hoover
2003-03-07 2:10 ` Christopher Hoover [this message]
2003-03-07 6:53 ` David Woodhouse
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='003c01c2e44e$c0779680$e55f040f@bergamot' \
--to=ch@murgatroid.com \
--cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox