From: Sabrina Dubroca <sd@queasysnail.net>
To: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Paul Moore <pmoore@redhat.com>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-fsdevel@vger.kernel.org, linux-audit@redhat.com,
Richard Guy Briggs <rgb@redhat.com>
Subject: Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs
Date: Tue, 20 Jan 2015 22:38:58 +0100 [thread overview]
Message-ID: <20150120213858.GA18129@kria> (raw)
In-Reply-To: <20150120210202.GI29656@ZenIV.linux.org.uk>
2015-01-20, 21:02:03 +0000, Al Viro wrote:
> On Tue, Jan 20, 2015 at 09:45:04PM +0100, Sabrina Dubroca wrote:
>
> > printk(KERN_ERR "fn_lookup %s %d\n", name, retval);
> >
> > and I get:
> >
> > [ 1.618558] fn_lookup bsg/0:0:0:0 -2
> > [ 1.619437] fn_lookup bsg 0
> > [ 1.620236] fn_lookup bsg/0:0:0:0 -2
> > [ 1.625996] fn_lookup sda 0
> > [ 1.626609] fn_lookup sda 0
> > [ 1.639007] fn_lookup sda1 0
> > [ 1.639691] fn_lookup sda1 0
> > [ 1.643656] fn_lookup bsg/1:0:0:0 -2
> > [ 1.644974] fn_lookup bsg 0
> > [ 1.645928] fn_lookup bsg/1:0:0:0 -2
> > [ 1.649483] fn_lookup /dev/ram -2
> > [ 1.650424] fn_lookup /dev/root -2
> > [ 1.651234] VFS: Cannot open root device "sda1" or unknown-block(8,1): error -2
>
> That -2 is -ENOENT... Wait a sec, what's in filename, filename->name and
> what do you get from your printk on kernel with that commit reverted?
filename->name matches name. with
printk(KERN_ERR "fn_lookup %s %d, %p %s\n", name, retval, filename, filename->name);
[ 1.538646] fn_lookup bsg/0:0:0:0 -2, ffff88001f718000 bsg/0:0:0:0
[ 1.539704] fn_lookup bsg 0, ffff88001f718000 bsg
[ 1.540559] fn_lookup bsg/0:0:0:0 -2, ffff88001f718000 bsg/0:0:0:0
[ 1.552611] fn_lookup bsg/1:0:0:0 -2, ffff88001f718000 bsg/1:0:0:0
[ 1.553689] fn_lookup bsg 0, ffff88001f718000 bsg
[ 1.554505] fn_lookup bsg/1:0:0:0 -2, ffff88001f718000 bsg/1:0:0:0
[ 1.557554] fn_lookup sda 0, ffff88001f718000 sda
[ 1.558368] fn_lookup sda 0, ffff88001f718000 sda
[ 1.564190] fn_lookup sda1 0, ffff88001f718000 sda1
[ 1.565008] fn_lookup sda1 0, ffff88001f718000 sda1
[ 1.570751] fn_lookup /dev/ram -2, ffff88001f71a300 /dev/ram
[ 1.571786] fn_lookup /dev/root -2, ffff88001f71b480 /dev/root
and with
printk(KERN_ERR "fn_lookup %s %d, %s\n", name, retval, filename.name);
in the original do_path_lookup:
[ 1.426101] fn_lookup bsg/0:0:0:0 -2, bsg/0:0:0:0
[ 1.426893] fn_lookup bsg 0, bsg
[ 1.427406] fn_lookup bsg/0:0:0:0 0, bsg/0:0:0:0
[ 1.431530] fn_lookup sda 0, sda
[ 1.438346] fn_lookup bsg/1:0:0:0 0, bsg/1:0:0:0
[ 1.443658] fn_lookup sda1 0, sda1
[ 1.448344] fn_lookup /dev/ram 0, /dev/ram
[ 1.449148] fn_lookup /dev/root 0, /dev/root
[ 1.449835] fn_lookup /dev/root 0, /dev/root
[ 1.451586] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[ 1.452954] fn_lookup /dev/root 0, /dev/root
[ 1.454292] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[ 1.456331] fn_lookup /dev/root 0, /dev/root
[ 1.480208] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 1.481323] VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
--
Sabrina
next prev parent reply other threads:[~2015-01-20 21:38 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 7:53 linux-next: Tree for Jan 20 Stephen Rothwell
2015-01-20 14:16 ` Guenter Roeck
2015-01-20 16:56 ` linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs Sabrina Dubroca
2015-01-20 17:39 ` Paul Moore
2015-01-20 17:51 ` Sabrina Dubroca
2015-01-20 19:54 ` Al Viro
2015-01-20 20:45 ` Sabrina Dubroca
2015-01-20 21:02 ` Al Viro
2015-01-20 21:38 ` Sabrina Dubroca [this message]
2015-01-20 21:58 ` Al Viro
2015-01-20 22:08 ` Sabrina Dubroca
2015-01-20 22:13 ` Guenter Roeck
2015-01-20 22:50 ` Al Viro
2015-01-20 23:17 ` Al Viro
2015-01-20 23:27 ` Sabrina Dubroca
2015-01-21 0:04 ` Paul Moore
2015-01-21 0:14 ` Paul Moore
2015-01-21 0:41 ` Al Viro
2015-01-21 2:44 ` Guenter Roeck
2015-01-21 3:36 ` Al Viro
2015-01-21 4:01 ` Guenter Roeck
2015-01-21 4:36 ` Al Viro
2015-01-21 11:05 ` Sabrina Dubroca
2015-01-21 13:32 ` Guenter Roeck
2015-01-21 18:29 ` Al Viro
2015-01-21 19:06 ` Guenter Roeck
2015-01-21 20:06 ` Al Viro
2015-01-21 21:03 ` Guenter Roeck
2015-01-21 21:28 ` Al Viro
2015-01-21 21:38 ` Guenter Roeck
2015-01-21 21:40 ` Sabrina Dubroca
2015-01-21 21:54 ` Paul Walmsley
2015-01-22 2:28 ` Paul Moore
2015-01-22 4:12 ` Al Viro
2015-01-22 4:49 ` Paul Moore
2015-01-21 21:30 ` Sabrina Dubroca
2015-01-21 14:42 ` Thierry Reding
2015-01-21 15:24 ` Paul Moore
2015-01-21 15:39 ` Thierry Reding
2015-01-21 15:54 ` Sabrina Dubroca
2015-01-21 16:16 ` Paul Moore
2015-01-21 17:38 ` Al Viro
2015-01-21 17:51 ` Guenter Roeck
2015-01-21 16:21 ` Guenter Roeck
2015-01-21 15:06 ` Paul Moore
2015-01-20 21:43 ` Guenter Roeck
2015-01-20 17:54 ` Fabio Estevam
2015-01-20 19:00 ` Ross Zwisler
2015-01-20 19:16 ` Fabio Estevam
2015-01-20 19:24 ` Paul Moore
2015-01-20 19:43 ` Fabio Estevam
2015-01-20 20:10 ` Paul Moore
2015-01-20 20:26 ` linux-next: Tree for Jan 20 Guenter Roeck
2015-01-20 22:54 ` Kirill A. Shutemov
2015-01-21 3:05 ` Guenter Roeck
2015-01-21 10:43 ` Kirill A. Shutemov
2015-01-21 23:34 ` Guenter Roeck
2015-01-22 3:14 ` Guenter Roeck
2015-01-22 17:13 ` linux-next: Tree for Jan 20 -- sparc32: fix broken set_pte() Kirill A. Shutemov
2015-01-22 17:27 ` Kirill A. Shutemov
2015-01-22 17:27 ` Kirill A. Shutemov
2015-01-22 19:34 ` Guenter Roeck
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=20150120213858.GA18129@kria \
--to=sd@queasysnail.net \
--cc=linux-audit@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=pmoore@redhat.com \
--cc=rgb@redhat.com \
--cc=sfr@canb.auug.org.au \
--cc=viro@ZenIV.linux.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.