* Init panics
@ 2004-07-20 23:34 Tommy McCabe
2004-07-21 15:28 ` Eduardo Pereira Habkost
0 siblings, 1 reply; 3+ messages in thread
From: Tommy McCabe @ 2004-07-20 23:34 UTC (permalink / raw)
To: linux-8086
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.
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Init panics
2004-07-20 23:34 Init panics Tommy McCabe
@ 2004-07-21 15:28 ` Eduardo Pereira Habkost
2004-07-21 19:19 ` Tommy McCabe
0 siblings, 1 reply; 3+ messages in thread
From: Eduardo Pereira Habkost @ 2004-07-21 15:28 UTC (permalink / raw)
To: linux-8086
[-- Attachment #1: Type: text/plain, Size: 827 bytes --]
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 #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Init panics
2004-07-21 15:28 ` Eduardo Pereira Habkost
@ 2004-07-21 19:19 ` Tommy McCabe
0 siblings, 0 replies; 3+ messages in thread
From: Tommy McCabe @ 2004-07-21 19:19 UTC (permalink / raw)
To: linux-8086
--- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-21 19:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox