From: Michael Leun <lkml20101129@newton.leun.net>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: hughd@google.com, akpm@linux-foundation.org,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: kernel BUG at mm/truncate.c:475!
Date: Thu, 2 Dec 2010 11:57:22 +0100 [thread overview]
Message-ID: <20101202115722.1c00afd5@xenia.leun.net> (raw)
In-Reply-To: <E1PO5gh-00079U-Ma@pomaz-ex.szeredi.hu>
On Thu, 02 Dec 2010 10:42:51 +0100
Miklos Szeredi <miklos@szeredi.hu> wrote:
> On Thu, 2 Dec 2010, Michael Leun wrote:
> > > Kernel compile 2.6.36.1 with that .page_mkwrite commented out
> > > running now, will reboot really soon now (TM).
> >
> > OK - that happened very fast again in 2.6.36.1.
> >
> > Sorry for that tainted kernel, but cannot afford to additionally
> > have graphics lockups all the time - I've shown that it happens with
> > untainted kernel also (long run without fault yesterday also was
> > with nvidia.ko driver).
> >
> > Until I've another suggestion what to try I'll swich back to 2.6.36
> > to see if it really happens less frequent there.
>
> Can you please describe in detail the workload that's causing this to
> happen?
Thats rather complicated, but I'll try. Basically it boils down to:
unshare -n -m /bin/bash
unionfs -o cow,suid,allow_other,max_files=65536 /home/netenv/user1-union=RW:/=RO /home/netenv/user1
mount -n -t proc none /home/netenv/user1/proc
mount -n -t sysfs none /home/netenv/user1/sys
mount -n -t devtmpfs devtmpfs /home/netenv/user1/dev
mount -n -t devpts devpts /home/netenv/user1/dev/pts
chroot /home/netenv/user1 /bin/su - user1
Then run some shell-scripts in this shell running as user1.
Of course there is some more stuff as getting network connectivity in
this new namespace and so on, but I guess thats not important for the
fuse problem.
Then there are some (up to 6 at the moment) more setups like the above
one with different users (user2, user3 and so on) running concurrent.
In some of this setups two or more environments share the same writable
branch, so the files in this environments changed against real root of
the machine are the same, e.g.:
[...]
unionfs -o cow,suid,allow_other,max_files=65536 /home/netenv/commondir=RW:/=RO /home/netenv/user1
[...]
and another one
[...]
unionfs -o cow,suid,allow_other,max_files=65536 /home/netenv/commondir=RW:/=RO /home/netenv/user2
[...]
I observed that unionfs process takes much more cpu power than usual
before fault happens.
elektra:~ # unionfs --version
unionfs-fuse version: 0.24
FUSE library version: 2.8.5
fusermount version: 2.8.5
using FUSE kernel interface version 7.12
--
MfG,
Michael Leun
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2010-12-02 11:03 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20101130194945.58962c44@xenia.leun.net>
2010-11-30 23:00 ` kernel BUG at mm/truncate.c:475! Hugh Dickins
2010-12-01 10:25 ` Miklos Szeredi
2010-12-01 11:45 ` Michael Leun
2010-12-01 17:22 ` Miklos Szeredi
2010-12-02 7:41 ` Michael Leun
2010-12-02 8:15 ` Michael Leun
2010-12-02 9:42 ` Miklos Szeredi
2010-12-02 10:57 ` Michael Leun [this message]
2010-12-03 7:53 ` Michael Leun
2010-12-06 12:36 ` Miklos Szeredi
2010-12-06 19:43 ` Michael Leun
2010-12-11 14:14 ` Miklos Szeredi
2010-12-11 19:50 ` Michael Leun
2010-12-13 22:20 ` Andrew Morton
2010-12-14 7:31 ` Hugh Dickins
2010-12-14 9:10 ` Peter Zijlstra
2010-12-14 9:11 ` Peter Zijlstra
2010-12-14 10:45 ` Miklos Szeredi
2010-12-15 4:32 ` Hugh Dickins
2010-12-15 11:22 ` Miklos Szeredi
2010-12-16 0:26 ` Hugh Dickins
2010-12-16 14:50 ` Robert Święcki
2010-12-16 19:05 ` Hugh Dickins
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=20101202115722.1c00afd5@xenia.leun.net \
--to=lkml20101129@newton.leun.net \
--cc=akpm@linux-foundation.org \
--cc=hughd@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=miklos@szeredi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).