From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756019AbYIYXlo (ORCPT ); Thu, 25 Sep 2008 19:41:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753021AbYIYXlg (ORCPT ); Thu, 25 Sep 2008 19:41:36 -0400 Received: from ipmail04.adl2.internode.on.net ([203.16.214.57]:57623 "EHLO ipmail04.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753796AbYIYXlf (ORCPT ); Thu, 25 Sep 2008 19:41:35 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjADABO820h5LF82iGdsb2JhbACTHwEBARUiqDuBZQ X-IronPort-AV: E=Sophos;i="4.33,309,1220193000"; d="scan'208";a="214758138" Date: Fri, 26 Sep 2008 09:41:30 +1000 From: Dave Chinner To: Lukas Hejtmanek Cc: linux-kernel@vger.kernel.org, xfs@oss.sgi.com Subject: Re: 2.6.27-rc7 no init found on the root partition? Message-ID: <20080925234130.GD27997@disturbed> Mail-Followup-To: Lukas Hejtmanek , linux-kernel@vger.kernel.org, xfs@oss.sgi.com References: <20080924192227.GC31582@ics.muni.cz> <20080924230326.GM5448@disturbed> <20080925111239.GF31582@ics.muni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080925111239.GF31582@ics.muni.cz> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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