From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Francis Meyvis <francis.meyvis@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: kernel panic - not syncing: No init found
Date: Sun, 31 Jul 2011 22:42:46 -0400 [thread overview]
Message-ID: <4E3612A6.7040602@windriver.com> (raw)
In-Reply-To: <CAHts6WS5OvR47W+o--ZpNJU-C8rVa_5GJh+YczRjaYkfN7pJjQ@mail.gmail.com>
On 11-07-31 3:44 PM, Francis Meyvis wrote:
> Hello,
>
> I probably miss something trivial.
> I cloned the git://git.yoctoproject.org/poky.git
> I build on a 64 bit machine a qemux86-64
> (. ./oe-init-build-env qemux86-64 and changing the conf/local.conf)
> I build the core-image-sato& core-image-minimal.
> Then I try to run with
> runqemu qemux86-64 core-image-sato ext3
>
> But both sato and minimal give me this message:
> Kernel panic - not syncing: No init found.
>
> As runqemu showed me the full command line I tried to add the --append
> command line option
> init=/sbin/init and /sbin/init.sysvinit
> But that did not help (there's a message saying Failed to execute
> /sbin/init. Attempting defaults...)
> I verified by mounting these ext3 images on a loop device that there's
> really a /sbin/init present.
>
> Can somebody tell what I'm doing wrong?
Can you send a full bootlog, or paste it somewhere accessible ? It's hard
to say what's with the information you've given.
Is this the latest yocto master ?
If you are seeing that message it typically means that the the
device that is being used as the root isn't ready (fixed by
rootwait/rootdelay) or isn't supported (i.e. NFS root without
the right ethernet device). Changing what init is, won't change
the result if either one of those is the case.
Cheers,
Bruce
>
> BTW is there any way to not have to run qemu with root permissions?
> I ran the android emulator and it does not require me to be root.
> Should I configure something on my Ubuntu machine to get qemu to function?
>
> Thanks,
> francis
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
next prev parent reply other threads:[~2011-08-01 2:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-31 19:44 kernel panic - not syncing: No init found Francis Meyvis
2011-08-01 2:42 ` Bruce Ashfield [this message]
2011-08-01 3:30 ` Tom Zanussi
2011-08-01 4:04 ` Bruce Ashfield
2011-08-02 5:38 ` Francis Meyvis
2011-08-02 17:34 ` Bruce Ashfield
-- strict thread matches above, loose matches on Subject: below --
2012-09-12 16:18 Kernel " Ellis Andrew
2012-09-15 19:04 ` Baruch Siach
2012-09-17 11:49 ` Ellis Andrew
2012-09-19 5:04 ` Baruch Siach
[not found] <-1484187685935794069@unknownmsgid>
2006-05-10 13:57 ` Steve Iribarne (GMail)
2006-05-10 9:40 hangtoo
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=4E3612A6.7040602@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=francis.meyvis@gmail.com \
--cc=yocto@yoctoproject.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.