public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Cc: linux-kernel@vger.kernel.org, xfs@oss.sgi.com
Subject: Re: 2.6.27-rc7 no init found on the root partition?
Date: Fri, 26 Sep 2008 09:41:30 +1000	[thread overview]
Message-ID: <20080925234130.GD27997@disturbed> (raw)
In-Reply-To: <20080925111239.GF31582@ics.muni.cz>

On Thu, Sep 25, 2008 at 01:12:40PM +0200, Lukas Hejtmanek wrote:
> On Thu, Sep 25, 2008 at 09:03:26AM +1000, Dave Chinner wrote:
> > On Wed, Sep 24, 2008 at 09:22:27PM +0200, Lukas Hejtmanek wrote:
> > > Hello,
> > > 
> > > I have a box that has XFS root partition, I have kernel
> > > 2.6.26.3 that boots pretty well on that box. Today, I've tried
> > > 2.6.27-rc7 (so that I can test NFSv4 over IPv6), but the
> > > kernel is unable to boot. It says that root partition is
> > > mounted, XFS file system but no init found.
> > 
> > Can you paste the error messages or send pointers to screen
> > shots of the error?
> 
> http://undomiel.ics.muni.cz/tmp/IMG_2962.JPG

Hmmm - the filesystem mounted without errors, but init was not
found. Strange.

> this one is if I pass init=/bin/bash
> http://undomiel.ics.muni.cz/tmp/IMG_2961.JPG

Same again, it's unable to run the init process.

Of course, kernel_execve() throws away any error that might
have occurred, so without hacking the init code we can't find out
why it failed.

> > If you go back to 2.6.26.3, does the kernel boot ok?
> 
> indeed.

Ok, is the 2.6.27 kernel based on the same config as the 2.6.26
kernel?

> this is a grub record:
> 
> title Linux 2.6.26.3 root (hd0,0) kernel /boot/vmlinuz-2.6.26.3
> root=/dev/sda1 ro console=tty0
> 
> title Linux 2.6.27-rc7 root (hd0,0) kernel
> /boot/vmlinuz-2.6.27-rc7 root=/dev/sda1 ro 

Does it boot if you take away the "ro" option?

Cheers,

Dave.
> 
> 
> -- Lukáš Hejtmánek
> 
> 
> 

-- 
Dave Chinner
david@fromorbit.com

      parent reply	other threads:[~2008-09-25 23:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 19:22 2.6.27-rc7 no init found on the root partition? Lukas Hejtmanek
2008-09-24 23:03 ` Dave Chinner
2008-09-25 11:12   ` Lukas Hejtmanek
2008-09-25 13:48     ` Eric Sandeen
2008-09-25 16:30       ` Lukas Hejtmanek
2008-09-25 23:41     ` Dave Chinner [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=20080925234130.GD27997@disturbed \
    --to=david@fromorbit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xfs@oss.sgi.com \
    --cc=xhejtman@ics.muni.cz \
    /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