From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tommy McCabe Subject: Re: Init panics Date: Wed, 21 Jul 2004 12:19:59 -0700 (PDT) Sender: linux-8086-owner@vger.kernel.org Message-ID: <20040721191959.98204.qmail@web51307.mail.yahoo.com> References: <20040721152848.GB12766@duckman.distro.conectiva> Mime-Version: 1.0 Return-path: In-Reply-To: <20040721152848.GB12766@duckman.distro.conectiva> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-8086@vger.kernel.org --- Eduardo Pereira Habkost 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