All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Brodkin <alexey.brodkin@synopsys.com>
To: Andrea Adami <andrea.adami@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Always install initramfs-framework-base in case of linux-yocto & INITRAMFS_IMAGE_BUNDLE=1
Date: Fri, 8 Feb 2019 06:41:51 +0000	[thread overview]
Message-ID: <4881796E12491D4BB15146FE0209CE64681D645B@DE02WEMBXB.internal.synopsys.com> (raw)
In-Reply-To: <CAAQYJAsCYPP88dCGY_=4mKE9rPGuw6za01tw-CB7D7VCZ7xYeg@mail.gmail.com>

Hi Andrea,

> -----Original Message-----
> From: Andrea Adami <andrea.adami@gmail.com>
> Sent: Thursday, February 7, 2019 5:26 PM
> To: Alexey Brodkin <alexey.brodkin@synopsys.com>
> Cc: Leon Woestenberg <leon@sidebranch.com>; Patches and discussions about the oe-core layer
> <openembedded-core@lists.openembedded.org>
> Subject: Re: [OE-core] Always install initramfs-framework-base in case of linux-yocto &
> INITRAMFS_IMAGE_BUNDLE=1
> 
> On Wed, Feb 6, 2019 at 4:54 PM Alexey Brodkin
> <alexey.brodkin@synopsys.com> wrote:
> >
> > Hi Leon,
> >
> > > -----Original Message-----
> > > From: Leon Woestenberg <leon@sidebranch.com>
> > > Sent: Friday, February 1, 2019 12:18 AM
> > > To: Alexey Brodkin <alexey.brodkin@synopsys.com>
> > > Cc: Patches and discussions about the oe-core layer <openembedded-core@lists.openembedded.org>
> > > Subject: Re: [OE-core] Always install initramfs-framework-base in case of linux-yocto &
> > > INITRAMFS_IMAGE_BUNDLE=1
> > >
> > > On Tue, Jan 29, 2019 at 9:01 PM Alexey Brodkin
> > > <alexey.brodkin@synopsys.com> wrote:
> > > > --------------------------->8----------------------
> > > > /dev/console is missing or not a character device!
> > > > Please ensure your rootfs is properly configured
> > > > --------------------------->8----------------------
> > >
> > > I thought /dev/console could also be created by the kernel itself onto
> > > a "temporary filesystem for device nodes" (DEVTMPFS).
> > > I am not sure, but here is a similar case:
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.busybox.net_pipermail_buildroot_2015-
> > >
> 2DMarch_123309.html&d=DwIBaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=
> > > 9xab_6OSIxhk6sCiqSFEwTUASBIaA_-C_wGiSMfJn3o&s=SJ9X7QVWrd1gCdyBsL9fdY841I4qG2y47VH3Sw-IRF4&e=
> > >
> > > Is your (other) kernel configured with CONFIG_DEVTMPFS=y?
> >
> > Indeed it is.
> >
> > The problem is devtmpfs is auto-mounted in prepare_namespace() which
> > is not executed in case of initramfs because in case of initramfs we
> > expect its "/init" will do everything itself, see [1].
> 
> Hi,
> I jump in because I was at the same point years ago [1]: the issue
> here is basically the linux-yocto specific patch adding the check for
> console.
> It was simply reverted in our case...

See this is fixed in linux-yocto now by [1].

[1] http://git.yoctoproject.org/cgit.cgi/linux-yocto/commit/?id=11e0e616ed095bb8012e1b4a231254c9656a0193&h=master

-Alexey

      reply	other threads:[~2019-02-08  6:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-29 20:00 Always install initramfs-framework-base in case of linux-yocto & INITRAMFS_IMAGE_BUNDLE=1 Alexey Brodkin
2019-01-31 21:17 ` Leon Woestenberg
2019-02-06 15:53   ` Alexey Brodkin
2019-02-07 14:25     ` Andrea Adami
2019-02-08  6:41       ` Alexey Brodkin [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=4881796E12491D4BB15146FE0209CE64681D645B@DE02WEMBXB.internal.synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=andrea.adami@gmail.com \
    --cc=openembedded-core@lists.openembedded.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 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.