Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755999AbYAYPrf (ORCPT ); Fri, 25 Jan 2008 10:47:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753312AbYAYPr2 (ORCPT ); Fri, 25 Jan 2008 10:47:28 -0500 Received: from rv-out-0910.google.com ([209.85.198.187]:63529 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753069AbYAYPr1 convert rfc822-to-8bit (ORCPT ); Fri, 25 Jan 2008 10:47:27 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K9GvaioLfxUr0+wm8hpCmm8PcJwke9NPLSc+J/ufHM3nnKsaQZpay5GRMLQEUgVPrh2qIwxiGWh37HeDRd4QcoRxyWeOQVlOXFz9Z4qcqQnO7UVq04yYbIAp1QtiglS7zKneWRVvexwQMpbgPE7zzrhwUwDgvX0G5wMISYqR88A= Message-ID: Date: Fri, 25 Jan 2008 15:47:24 +0000 From: "Jack Harvard" To: "Jan Engelhardt" Subject: Re: Q: linux failed to execute /init? Cc: linux-kernel@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2401 Lines: 61 On Jan 25, 2008 3:34 PM, Jack Harvard wrote: > > On Jan 25, 2008 3:02 PM, Jan Engelhardt 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/