From: Tommy McCabe <rocketjet314@yahoo.com>
To: linux-8086@vger.kernel.org
Subject: Re: Init panics
Date: Wed, 21 Jul 2004 12:19:59 -0700 (PDT) [thread overview]
Message-ID: <20040721191959.98204.qmail@web51307.mail.yahoo.com> (raw)
In-Reply-To: <20040721152848.GB12766@duckman.distro.conectiva>
--- Eduardo Pereira Habkost
<ehabkost@conectiva.com.br> wrote:
> On Tue, Jul 20, 2004 at 04:34:00PM -0700, Tommy
> McCabe wrote:
> > In line 332 of elkscmd/sys_utils/init.c, there is
> a
> > PANIC that shouldn't be there- it's activated
> > regardless of the preceding if statement. But when
> I
> > take it out, init doesn't print out anything. I
> have
> > literally filled every other line of main() with
> fputs
> > and PANICS and init doesn't print out anything.
>
> Have you ever used execv() on unix? If you see some
> examples of use
> of execv(), you will see why the panic is there.
> Simply because init
> should really show a error message (I would print a
> error string, instead
> of just calling PANIC0, however), if it can't run
> getty, if the execv()
> call is successful, the PANIC0 line will not be
> executed, because the
> process is replaced by getty. Is getty included on
> your disk?
>
> --
> Eduardo
>
> ATTACHMENT part 2 application/pgp-signature
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
prev parent reply other threads:[~2004-07-21 19:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-20 23:34 Init panics Tommy McCabe
2004-07-21 15:28 ` Eduardo Pereira Habkost
2004-07-21 19:19 ` Tommy McCabe [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=20040721191959.98204.qmail@web51307.mail.yahoo.com \
--to=rocketjet314@yahoo.com \
--cc=linux-8086@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