public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Fedyk <mfedyk@matchmail.com>
To: H?kon Alstadheim <hakon@cyberglobe.net>
Cc: Andrew Morton <akpm@zip.com.au>, Colin Leroy <colin@colino.net>,
	linux-kernel@vger.kernel.org
Subject: Re: question about 2.4.18 and ext3
Date: Tue, 19 Mar 2002 09:57:57 -0800	[thread overview]
Message-ID: <20020319175757.GO2254@matchmail.com> (raw)
In-Reply-To: <20020318180158.2886dd4a.colin@colino.net> <3C96510A.24CDE6BC@zip.com.au> <m0r8mhq9a8.fsf@alstadhome.online.no>

On Tue, Mar 19, 2002 at 08:57:51AM +0100, H?kon Alstadheim wrote:
> Andrew Morton <akpm@zip.com.au> writes:
> 
> > Colin Leroy wrote:
> > > 
> > > Hello all,
> > > 
> > > I really hope I'm not asking a FAQ, i looked in the archives since 15 Feb
> > > and didn't see anything about this.
> > > 
> > > I upgraded from 2.2.20 to 2.4.18 on my powerbook two weeks ago, and
> > > compiled ext3 in the kernel in order to quietly crash :)
> > > 
> > > However, I had about a dozen strange crashes, sometimes when the computer
> > > woke up from sleep, sometimes when launching a program : every visible
> > > soft died, then X, then blackscreen, and the computer didn't even answer
> > > pings. So I reset the computer and here, each time, yaboot (ppc equivalent
> > > of lilo) told me that "cannot load image". Booting and fscking from a
> > > rescue CD showed that superblock was corrupt.
> > 
> > It may be a yaboot/ext3 incompatibility.  Your version of yaboot
> > may not know how to mount a needs-recovery ext3 filesystem.
> > There are some words on this at
> > http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html
> > 
> > I am told that yaboot 1.3.5 and later will do the right thing.
> > What version are you using?
> 
> One way to work around this is to keep your kernels in /boot and have
> /boot be a separate ext2 filesystem that you normally mount ro. That
> way it will not need to be recovered after a crash. During install of
> a new kernel you will of course need to do "/bin/mount -o remount,rw
> /boot" and then afterwards "/bin/mount -o remount,ro /boot" .
> 
> Your /etc/fstab will then look something like:
> 
> [...]
> /dev/hde3 /      ext3 # your usual parameters here
> /dev/hda6 /boot  ext2 ro,exec   1   2
> [...]
> 
> Remember to make sure you know which devices are / and /boot/
> respectively, and also which device holds the bootsector. Make sure
> you know which one to give to your bootloader where.
> 
> I run grub-install like this:
> /usr/local/sbin/grub-install /dev/hda --root-directory=/boot

Grub won't work on ppc IIRC, but it does work similarly by reading the
filesystem.

      reply	other threads:[~2002-03-19 17:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-18 17:01 question about 2.4.18 and ext3 Colin Leroy
2002-03-18 17:27 ` Mike Fedyk
2002-03-18 18:07   ` Colin Leroy
2002-03-18 20:41 ` Andrew Morton
2002-03-19  7:57   ` Håkon Alstadheim
2002-03-19 17:57     ` Mike Fedyk [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=20020319175757.GO2254@matchmail.com \
    --to=mfedyk@matchmail.com \
    --cc=akpm@zip.com.au \
    --cc=colin@colino.net \
    --cc=hakon@cyberglobe.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox