Our sys admin was able to get our system back up to working condition with
the following script:

#!/bin/sh
sync
echo
echo "THIS WILL REMOUNT, FSCK, AND REBOOT YOUR COMPUTER, YOU HAVE 5s TO
CTRL+C"
echo
sleep 6
sync;sync
mount -n -o remount,ro / || exit 1
fsck /dev/mmcblock1
echo
echo "REBOOTING IN 5s"
sleep 6
reboot

If this doesn't work let me know.  We operate mobile, so unfriendly
shutdowns happen and we wanted to get back up and running in the field.
 There may be a better way of doing this - so I would love feedback from
the community as well!

--Laura



On Mon, Sep 10, 2012 at 5:33 PM, G Jones <[email protected]> wrote:

> I had some luck solving this problem by putting the SD card in another
> machine and using fsck.ext2 on it to fix the corrupt FS. My experience
> is the SD cards are overly susceptible to this sort of FS corruption.
> I've had much better luck netbooting (once getting through the
> annoying initial hurdle of getting everything set up).
> Glenn
>
> On Mon, Sep 10, 2012 at 8:08 PM, Louis P. Dartez <[email protected]>
> wrote:
> > Hello Ryan,
> >
> >         This happened to me as well recently with a new ROACH board. I
> > noticed that the file '/etc/network/run/ifstate' was corrupted. When I
> used
> > the command 'ls -alh' all I got was question marks in each field. I was
> > unable to rm or mv the file, or even execute 'touch ifstate'. Another
> ROACH
> > board that I received in the same shipment worked right out of the box. I
> > was going to try completely formatting the troublesome SD card and
> copying
> > everything on the working SD onto it. I have not tried this yet,
> > though...but I think it should work.
> >
> > -Louis P. Dartez
> >
> > Arecibo Remote Command Center Scholar
> > Center for Advanced Radio Astronomy Researcher
> > Department of Physics and Astronomy
> > University of Texas at Brownsville
> >
> > On 09/10/2012 06:42 PM, Ryan Monroe wrote:
> >
> > Hi All,
> >
> > We recently purchased two ROACH boards from Digicom and we seem to be
> > experiencing a bit of an issue.  Upon trying to boot to the SD card on
> > either, several processes don't come up, complaining of "Stale NFS
> handle".
> > If I configure eth0, I can start it that once but it will not initialize
> by
> > default.  Attached is a copy of a dump from minicom via serial.
> >
> > The only command I am using in uboot is mmcboot.  In addition, I'm using
> the
> > SD cards as they arrived (which seems to have the correct
> > filesystem/format).  Should I be doing something else in addition to
> mount
> > the SD card?
> >
> > Finally, I saw a similar thread in the archive (here).
> >
> > Any advice?  Thank you very much!
> >
> > --Ryan
> >
> >
>
>

Reply via email to