From: "Jack Harvard" <jack.harvard@googlemail.com>
To: "Jan Engelhardt" <jengelh@computergmbh.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Q: linux failed to execute /init?
Date: Fri, 25 Jan 2008 15:47:24 +0000 [thread overview]
Message-ID: <a72f6a3c0801250747n4861d55vbab3bd35b26c8219@mail.gmail.com> (raw)
In-Reply-To: <a72f6a3c0801250734hdad822akce2808af7f9c4a83@mail.gmail.com>
On Jan 25, 2008 3:34 PM, Jack Harvard <jack.harvard@googlemail.com> wrote:
>
> On Jan 25, 2008 3:02 PM, Jan Engelhardt <jengelh@computergmbh.de> wrote:
> >
> >
> > On Jan 25 2008 14:39, Jack Harvard wrote:
> > >> On Jan 25 2008 13:40, Jack Harvard wrote:
> > >> >Hi,
> > >> >
> > >> >I'm trying to boot Linux, but the /init process failed. Here is the
> > >> >info:
> > >> >
> > >> >=FF<6>/init exit code: -14
> > >> >/init exit code: -14
> > >> ><4>Failed to execute /init
> > >> >Failed to execute /init
> > >> > <6>/sbin/init exit code: -14
> > >> >
> > >> >Just wondering what do those different exit codes mean?
> > >>
> > >> asm-generic/errno-base.h:#define EFAULT 14 /* Bad address */
> > >>
> > >
> > >Also, before the init process hung up and printed out /init exit code:
> > >-14, it printed out the following symbol
> > >ÿ
> > >Which doesn't make any sense to me, just wondering what could have
> > >caused this? it's unlikely due to baud rate and printed out something
> > >unreadable.
> >
> > ÿ is 255. While this could indicate a serial transmission error (my
> > guess: bad timing), printing -14 repeatedly certainly does not.
> > Is the ÿ reproducable, does it happen every time?
> >
>
> This is reproduceable and it happens every time. IMHO, I also suspect
> this could be caused by some obscure timing issues, as the kernel is
> booting up from an FPGA-prototyped SoC, the same Linux image was
> running fine on a previous build of FPGA-prototyped SoC, but it's
> coming across this /init failed problem repeatedly on the currently
> running newly built bit file.
>
Here is the terminal printout from the correct bootup on a previous build.
<6>Freeing init memory: 584K
Freeing init memory: 584K
init started: BusyBox v0.60.5 (2006.06.15-11:12+0000) multi-call binary
Bummer, could not run '/etc/init.d/rcS': No such file or directory
ÿ
Please press Enter to activate this console.
It looks that it's printing out several ÿ first and then replaced them
with "init started: BusyBox..." seems quite obscure, as the only
difference between those two FPGA builds is they were built at
different runs using exactly the same source files.
next prev parent reply other threads:[~2008-01-25 15:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a72f6a3c0801250538m57a91629o59242fad9e7d0265@mail.gmail.com>
2008-01-25 13:40 ` Jack Harvard
2008-01-25 13:47 ` Andreas Schwab
2008-01-25 14:27 ` Jan Engelhardt
2008-01-25 14:39 ` Jack Harvard
2008-01-25 15:02 ` Jan Engelhardt
2008-01-25 15:34 ` Jack Harvard
2008-01-25 15:47 ` Jack Harvard [this message]
2008-01-25 17:52 ` H. Peter Anvin
2008-01-25 18:48 ` linux-os (Dick Johnson)
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=a72f6a3c0801250747n4861d55vbab3bd35b26c8219@mail.gmail.com \
--to=jack.harvard@googlemail.com \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®