linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jeremiah Mahler <jmmahler@gmail.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-kernel@vger.kernel.org, linux-next@vger.kernel.org,
	linux-fsdevel@vger.kernel.org
Subject: Re: [BUG, linux-next] spawn PID 1 without CLONE_FS, wireless inop
Date: Wed, 17 Dec 2014 14:17:57 +0100	[thread overview]
Message-ID: <s5h61dabeka.wl-tiwai@suse.de> (raw)
In-Reply-To: <20141216200351.GA1126@newt.localdomain>

At Tue, 16 Dec 2014 12:03:51 -0800,
Jeremiah Mahler wrote:
> 
> Al Viro,
> 
> On Tue, Dec 16, 2014 at 04:27:16PM +0000, Al Viro wrote:
> > On Tue, Dec 16, 2014 at 07:26:26AM -0800, Jeremiah Mahler wrote:
> > 
> > > > No such errors happen on the normal boot, presumably?
> > > > 
> > > > > [    2.392117] EXT4-fs (sda5): mounting ext2 file system using the ext4 subsystem
> > > > > [    2.393920] EXT4-fs (sda5): mounted filesystem without journal. Opts: (null)
> > > > 
> > > > Wait a minute. So that happens _before_ /dev/sda5 mount?  Could you post dmesg
> > > > from the normal boot (e.g. just prior to the buggy commit)?
> > > > 
> > > > I really don't get it - there's nothing for init_fs.root to point to other
> > > > than initramfs by that point, CLONE_FS or no CLONE_FS.  We simply don't
> > > > have anything else mounted yet.  Do you get another failing bunch of
> > > > request_firmware later?  And what does dmesg look like on the working
> > > > kernel - either you have that firmware on initramfs image (in which case
> > > > it ought to have been picked by both kernels), or you do not, in which case
> > > > neither kernel would've managed to load it until after mounting the real
> > > > root...
> > > 
> > > I compiled this kernel with the commit just before the bug was introduced
> > > (93fe74b2e2b5d266d630f0c3f8287efcbe6ecd10).  Wireless comes up without
> > > any issue.  Here is the dmesg output.
> > 
> > OK, so the root is on sda6, it's been mounted before those attempts to
> > load firmware and init has been chrooted into it, while init_fs got left
> > behind.  And that "chrooted into" has happened without pivot_root(2) (or
> > it would've been caught by chroot_fs_refs() in sys_pivot_root()) and
> > not from the "no /init on initramfs" codepath (you do have it there).
> > 
> > OK, it's probably unsalvagable, then.  Pity, since it means that PID 1 and
> > kernel threads _must_ share ->fs, for the sake of usable ->fs->root, which
> > is asking for trouble.  And it means that we still need a sane solution for
> > nfsd folks...
> > 
> > Anyway, dropped that stuff from for-next (and for-linus, obviously), with
> > apologies all around.
> 
> On a totally different machine, an Acer C720, the sound quit working.
> I bisected that one and it pointed to this same commit.  However this
> one doesn't involve loading firmware or any of that stuff.  Attached
> are the good/bad dmesg logs.

Did you mean HD-audio stuff?  The bad case shows the error

[    2.122849] hda-i915: get_power symbol get fail
[    2.122856] snd_hda_intel 0000:00:03.0: Error request power-well from i915

This is the place calling request_symbol(), where i915 module should
have been loaded dynamically but it failed, likely because of the same
reason as the firmware loading failure.


Takashi

  reply	other threads:[~2014-12-17 13:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-16 11:55 [BUG, linux-next] spawn PID 1 without CLONE_FS, wireless inop Jeremiah Mahler
2014-12-16 12:56 ` Al Viro
2014-12-16 13:28   ` Al Viro
2014-12-16 14:09     ` Jeremiah Mahler
2014-12-16 14:25       ` Al Viro
2014-12-16 14:46         ` Jeremiah Mahler
2014-12-16 15:05           ` Al Viro
2014-12-16 15:26             ` Jeremiah Mahler
2014-12-16 16:27               ` Al Viro
2014-12-16 20:03                 ` Jeremiah Mahler
2014-12-17 13:17                   ` Takashi Iwai [this message]
2014-12-17 14:54                     ` Jeremiah Mahler

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=s5h61dabeka.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=jmmahler@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --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 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).