From: Zan Lynx <zlynx@acm.org>
To: Badari <pbadari@us.ibm.com>
Cc: Chris Mason <chris.mason@oracle.com>,
reiserfs-devel@vger.kernel.org, linux-mm <linux-mm@kvack.org>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>
Subject: Re: migratepage failures on reiserfs
Date: Wed, 31 Oct 2007 00:05:26 +0000 [thread overview]
Message-ID: <1193789126.7320.34.camel@localhost> (raw)
In-Reply-To: <4727B979.8030207@us.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1392 bytes --]
On Tue, 2007-10-30 at 16:08 -0700, Badari wrote:
> Chris Mason wrote:
> > On Tue, 30 Oct 2007 13:54:05 -0800
[cut]
> > The easy way to narrow our search is to try without data=ordered, it is
> > certainly complicating things.
> >
>
> I can try that, its my root filesystem :(
You meant to write "can't?"
Download BusyBox and build it into an initramfs. It's pretty easy, you
can do it yourself. Or you could download the Debian mkinitramfs (I
think) package and look at it. Or the Fedora equivalent (I think
mkinitrd).
Then you can boot into that and mount your / with whatever options you
like.
Here's what I use for my own custom BusyBox initramfs /init script:
#!/bin/sh
get_arg() {
local arg="$1"
local x=`cat /proc/cmdline`
for i in $x; do
if [ "${i%=*}" = "$arg" ]; then
echo ${i#*=}
break
fi
done
}
do_switch() {
mount -t proc none /proc
local root=`get_arg root`
local flags=`get_arg rootflags`
mount "$root" /new ${flags:+-o "$flags"}
umount /proc
cd /new
exec switch_root . /sbin/init
}
do_shell() {
exec /sbin/init
}
# The following will wait 2 seconds for Enter before booting.
trap "do_switch" ALRM
target=$$
( sleep 2; kill -ALRM $target ) &
alarm=$!
echo -n "Press Enter for a shell: "
while read action; do
kill $alarm
break
done
do_shell
--
Zan Lynx <zlynx@acm.org>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-10-31 0:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-30 18:27 migratepage failures on reiserfs Badari Pulavarty
2007-10-30 17:54 ` Chris Mason
2007-10-30 21:54 ` Badari Pulavarty
2007-10-30 22:58 ` Chris Mason
2007-10-30 23:08 ` Badari
2007-10-31 0:05 ` Zan Lynx [this message]
2007-10-31 16:14 ` Badari Pulavarty
2007-10-31 17:40 ` Chris Mason
2007-11-01 16:38 ` Badari Pulavarty
2007-11-01 15:51 ` Chris Mason
2007-11-01 18:10 ` Badari Pulavarty
2007-11-02 16:46 ` Badari Pulavarty
2007-11-05 10:23 ` Mel Gorman
2007-11-05 13:40 ` Chris Mason
2007-11-05 22:46 ` Christoph Lameter
2007-11-07 14:56 ` Mel Gorman
2007-11-07 15:58 ` Badari Pulavarty
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=1193789126.7320.34.camel@localhost \
--to=zlynx@acm.org \
--cc=chris.mason@oracle.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=pbadari@us.ibm.com \
--cc=reiserfs-devel@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 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).