On Wed, Feb 6, 2019 at 4:54 PM Alexey Brodkin <alexey.brod...@synopsys.com> wrote: > > Hi Leon, > > > -----Original Message----- > > From: Leon Woestenberg <l...@sidebranch.com> > > Sent: Friday, February 1, 2019 12:18 AM > > To: Alexey Brodkin <alexey.brod...@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.brod...@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... Cheers Andrea [1] http://cgit.openembedded.org/meta-openembedded/commit/meta-initramfs/recipes-kernel?id=7183bacd5c866d433467a750e485e6c01af4aafc > > That said enabling CONFIG_DEVTMPFS_MOUNT doesn't help with initramfs too. > So I don't see any other solution except disabling this check in case > of enabled CONFIG_BLK_DEV_INITRD, see [2]. > > [1] > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/early-userspace/README#n140 > [2] > https://lists.yoctoproject.org/pipermail/linux-yocto/2019-February/007552.html > > -Alexey > > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core