ts-7000
[Top] [All Lists]

[ts-7000] Re: can't execute /bin/sh

To:
Subject: [ts-7000] Re: can't execute /bin/sh
From: "Dan" <>
Date: Tue, 21 Apr 2009 20:00:42 -0000
yeah, that nonsense about not being able to mount it when booted from the SD 
was a brain-fart on my end.

and yeah, i just reflashed the NAND again and so far so good.  still a weird 
problem though.

--- In  Stefan Agner <> wrote:
>
> 
> Hello dan,
> 
> > well, now my board boots but claims that it can't run /bin/sh.  i get a
> login prompt, 
> > am able to log in but i am immediately booted back out
> due to not being able to 
> > execute the shell.  "exec format
> error".  also, it appears that there is no such thing 
> > as fsck for a
> yaffs partition, so does anyone have any other suggestions?
> That souds like a busybox/proc problem. Busybox uses the /proc filesystem to 
> find
> out where the binary itself lies. Try to mount proc fs.
> # mount -t proc proc /proc
> 
> > here's the thing.  everything boots and seems to work fine.  EXCEPT when i 
> > cd to 
> > the root directory on the NAND and ls, i get what i've pasted down below.  
> > i guess 
> > the first thing i'd like to try is to run fsck on the NAND, but i'm not 
> > quite sure how to 
> > go about doing that since you can't do it while it's mounted and you can 
> > mount the 
> > NAND when you boot off the SD card.
> I don't understand you. You say you can mount the nand when you boot off the 
> sd? 
> So there is no problem calling fsck, is there?
> But anyway, is there a fsck for yaffs2? Im not sure, but i dont think so. 
> When I had
> some filesystem issues i just erased the content with flash_erase all or 
> something like
> this and put the root fs on it again...
> 
> Bye
> Stefan
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU