From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joost Vermeulen Subject: Re: Amstrad ppc640 Date: Thu, 19 Jun 2003 23:08:55 +0200 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20030619210855.GD261@arwen.dyndns.org> References: <20030618202625.GA261@arwen.dyndns.org> Reply-To: Joost Vermeulen Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Riley Williams Cc: linux-86 On Wed, Jun 18, 2003 at 11:20:59PM +0100, Riley Williams wrote: >Hi Joost. > > >> According to those messages, the root image is missing both > >> /bin/init and /bin/sh so it would be an idea to verify whether > >> those files are actually present at those paths within the > >> root image. > > > The image runs perfectly on my workstation, so I guess both > > /bin/init and /bin/sh are on the file system :) > >The easy way to be certain... > > 1. Copy the root image to the file ~/elks-root.img on your > workstation. > > 2. Run the following commands thereon: > > mkdir ~/elks-root > mount -o loop ~/elks-root.img ~/elks-root > ls -l /bin/{init,sh} > umount ~/elks-root > >If the ls -l command fails to list either file, that file isn't >where it's supposed to be... > Both files are where they supposed to be, so that couldn't be the problem I'm thinking that it has to do something with dup, 'cause it says dup failed but it is kinda odd, that is runs out of filehandlers, that isn't hardware based is it ? A quick manlookup of dup says: ERRORS Dup() and dup2() fail if: [EBADF] Oldd or newd is not a valid active descriptor [EMFILE] Too many descriptors are active. But it could also be something else :) Joost