ts-7000
[Top] [All Lists]

[ts-7000] Re: can't execute /bin/sh WAS: running fsck on NAND

To:
Subject: [ts-7000] Re: can't execute /bin/sh WAS: running fsck on NAND
From: "yanzickp1" <>
Date: Tue, 21 Apr 2009 19:38:14 -0000
Dan,

I don't have an answer for you, but I can tell you that I ran into the same 
problem, however I was never lucky enough to get it to boot up at all.  I 
thought that I would be able to take the image, delete the contents of the 
partition, replace them with my own filesystem, and follow the process that I 
would normally, but it appears to be more involved than that and I haven't 
found much information on what the proper process is.  I have been told that 
the problem is likely because of the way the filesystem needs to be written to 
NAND as it works differently, but I would have thought the createmtdroot 
command would have handled that.

Would anyone be able to provide some information on the best way to put a 
custom filesystem on one of these devices once one has been built (NFS, QEMU, 
whatever)?  I have a TS-7800 as well.  I'm not new to Linux, but I am new to 
using it on an embedded device and the nuances of using NAND.

Thanks
Paul


--- In  "Dan" <> wrote:
>
> 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?
>
> thanks,
> dan
>
> --- In  "Dan" <jiggersplat@> wrote:
> >
> > i have a little bit of an odd problem.  i have been doing my development on 
> > an NFS share.  i finished up what i was working on, put the factory SD card 
> > in my desktop, wiped the partition and copied over my nfs root directory in 
> > it's place.  after that i loaded the NAND on my ts7800 using the 
> > createmtdroot utility.
> >
> > 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.
> >
> > anyone have any suggestions?
> >
> > thanks,
> > dan
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > :/# ls
> > ls: 
> > ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ:
> >  No such file or directory
> >
> >
> >
> > ?
> > (fd, fdsetp)
> > bin
> > boot
> > d1 NAME??dhparam - DH parameter manipulation and generation??=head1 
> > SYNOPSIS??B<openssl dhparam>?[B<-inform DER|PEM>]?[B<-outform 
> > DER|PEM>]?[B<-in> I<filename>]?[B<-out> 
> > I<filename>]?[B<-dsaparam>]?[B<-noout>]?[B<-text>]?[B<-C>]?[B<-2>]?[B<-5>]?[B<-rand>
> > d1 NAME??dsaparam - DSA parameter manipulation and generation??=head1 
> > SYNOPSIS??B<openssl dsaparam>?[B<-inform DER|PEM>]?[B<-outform 
> > DER|PEM>]?[B<-in filename>]?[B<-out 
> > filename>]?[B<-noout>]?[B<-text>]?[B<-C>]?[B<-rand 
> > file(s)>]?[B<-genkey>]?[B<-engine i
> > dev
> > etc
> > home
> > include
> > initrd
> > lib
> > lost+found
> > m-linux/sys-include/asm
> > man
> > mandoc.tmac
> > mnt
> > opt
> > proc
> > root
> > sbin
> > sys
> > tmp
> > tmsg
> > usr
> > var
> > ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> > ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> > ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> > ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> > ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> > ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> > ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> > ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> > :/#
> >
>




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

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