From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-embedded+bounces-3733-garchives=archives.gentoo.org@lists.gentoo.org>) id 1PVh9X-00025l-Tg for garchives@archives.gentoo.org; Thu, 23 Dec 2010 09:08:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7364CE062B for <garchives@archives.gentoo.org>; Thu, 23 Dec 2010 09:08:03 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 2F96AE0574 for <gentoo-embedded@lists.gentoo.org>; Thu, 23 Dec 2010 08:38:43 +0000 (UTC) Received: by gyh3 with SMTP id 3so3859756gyh.40 for <gentoo-embedded@lists.gentoo.org>; Thu, 23 Dec 2010 00:38:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=GLaSkiSeTs2vfViMZxUJ+D7DWwW4kfftAgfu5b0jWEE=; b=ZMURT+DAUs1++TbxdRNJR9jqs2P6DQjlISBMvqGybqfg7JE2WcBut0kUvIxHKDohGS LHD/h+Zo8RJsPsG9XerGq/omF8hUHxdLlFIUNtov97eXL4pMQhMAD4SMmk0C9gh5W456 /hRJb8hIsbGGKNHbph6sH8hHU2dbJ1aAlQ748= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=blFWVzzoJtCbD1RV9xfO6Y87NwwTXEEdcpLlDQJh9UU+84DYOGqlljAPWq7+t5p9Ui hpjY65A6UnJRhkqpse38ApeC/OF3ZgaNJymnVKUdLn/sljdQwYRg1+BjrwRqdDdkDzCr 1a6768jkmoUq83lVQsOAVNpN6h1ODWsOMf4WQ= Precedence: bulk List-Post: <mailto:gentoo-embedded@lists.gentoo.org> List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org> X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.236.110.12 with SMTP id t12mr15480110yhg.6.1293093523518; Thu, 23 Dec 2010 00:38:43 -0800 (PST) Received: by 10.236.110.38 with HTTP; Thu, 23 Dec 2010 00:38:43 -0800 (PST) In-Reply-To: <4D128A5E.9000202@blue-labs.org> References: <AANLkTimgPT94qJGd=TT5Ly6NFdxVqW+tz7odTDf0ftZX@mail.gmail.com> <4D128A5E.9000202@blue-labs.org> Date: Thu, 23 Dec 2010 10:38:43 +0200 Message-ID: <AANLkTi=87HPqtRyNw79-64BjWR31By+Qb-v0f2Gwg_AJ@mail.gmail.com> Subject: Re: [gentoo-embedded] /sbin/init don't work From: Kfir Lavi <lavi.kfir@gmail.com> To: gentoo-embedded@lists.gentoo.org Content-Type: multipart/alternative; boundary=0023547c921521757e04980fcce0 X-Archives-Salt: f78f6ff1-1302-47a8-bb5c-e243a76912be X-Archives-Hash: 5f0f58120c6cdd0bfacb2a602ffb5b4e --0023547c921521757e04980fcce0 Content-Type: text/plain; charset=UTF-8 On Thu, Dec 23, 2010 at 1:31 AM, David Ford <david@blue-labs.org> wrote: > does /dev/console exist? is /sbin/init statically compiled? if it's a > shell script, does /bin/sh (or /bin/bash etc) exist? > > On 12/22/2010 01:41 PM, Kfir Lavi wrote: > > Hi, > > I have created a small cross filesystem. > > I have /sbin/init but the kernel is stuck in: > > Freeing unused kernel memory: 284k freed > > > > I created a init script for testing and this init script work. > > Why this /sbin/init don't work for me. > > > > I'm using baselayout 2 and openrc. > > > > Thanks, > > Kfir > > Hi David, Thanks for your replay. I have bash, so if I run bash from the script bash will open a session. I did a compilation of /sbin/init statically. I don't have /dev/console, because udev didn't kickstart. My /dev is empty. Maybe this is the problem. :-P Is there a gentoo article that describe the must for loading a system? Regards, Kfir --0023547c921521757e04980fcce0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><br><div class=3D"gmail_quote">On Thu, Dec 23, 2010 at= 1:31 AM, David Ford <span dir=3D"ltr"><<a href=3D"mailto:david@blue-lab= s.org">david@blue-labs.org</a>></span> wrote:<br><blockquote class=3D"gm= ail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(2= 04, 204, 204); padding-left: 1ex;"> does /dev/console exist? is /sbin/init statically compiled? if it's a<b= r> shell script, does /bin/sh (or /bin/bash etc) exist?<br> <div><div></div><div class=3D"h5"><br> On 12/22/2010 01:41 PM, Kfir Lavi wrote:<br> > Hi,<br> > I have created a small cross filesystem.<br> > I have /sbin/init but the kernel is stuck in:<br> > Freeing unused kernel memory: 284k freed<br> ><br> > I created a init script for testing and this init script work.<br> > Why this /sbin/init don't work for me.<br> ><br> > I'm using baselayout 2 and openrc.<br> ><br> > Thanks,<br> > Kfir<br> <br> </div></div></blockquote></div>Hi David,<br>Thanks for your replay. <br>I h= ave bash, so if I run bash from the script bash will open a session. <br>I = did a compilation of /sbin/init statically. <br>I don't have /dev/conso= le, because udev didn't kickstart. My /dev is empty. <br> Maybe this is the problem. :-P<br>Is there a gentoo article that describe t= he must for loading a system?<br><br>Regards,<br>Kfir<br></div> --0023547c921521757e04980fcce0--