[ELDK] Can't execute bin file
Zaahir Khan
kn.zahirkhan at gmail.com
Fri Jun 19 08:04:47 CEST 2009
Hi Detlev,
For me that binary execution problem got solved.
I freshly build the file system for the board.
Now one new problem.....
I am able to logged in with some warnings & script syntax error.. but
able to get the ping eth0 is up
problem when I try to start nfs demon
-bash-3.2# /etc/init.d/nfs start
/etc/init.d/nfs: /etc/rc.d/init.d/functions: line 139: syntax error: Bad
substitution
This syntax error when kernel booting also.
Kernel bootup log attached with the mail.
I feel something missing in file system,
not getting what? may be wrong also
pls suggets
Thanks & regards,
Zaahir Khan
On Wed, Jun 17, 2009 at 6:05 PM, Detlev Zundel <dzu at denx.de> wrote:
> Hi Zaahir,
>
> > ls etc/rc.d/rc -l
> > -rwxr-xr-x 1 root root 2255 2009-06-15 19:32 etc/rc.d/rc
> >
> > ls etc/rc.d/rc.sysinit -l
> > -rwxr-xr-x 1 root root 26701 2009-06-16 18:45 etc/rc.d/rc.sysinit
>
> Ok, looks good. I presume this is directly on the NFS server, correct?
> Did you try to mount the filesystem from another machine and check if
> there are any obvious problems?
>
> > etc/exports file
> >
> > / 192.168.1.10/255.255.255.0(rw,no_root_squash,sync)<http://192.168.1.10/255.255.255.0%28rw,no_root_squash,sync%29>
>
> Looks good.
>
> > I tried with no_all_squash in place of sync .... but same result
>
> no_root_squash is definitely needed to boot the system so testing
> without it does not make much sense.
>
> > I am attaching the kernel config file.
>
> It would be a big surprise if this is a configuration problem. As long
> as you use the "sequoia_defconfig" in the kernel, there should be no
> problem here.
>
> > Please suggest if anything I missed.
>
> Actually the only other thing explaining the "cannot execute" would be
> if bin/bash has a problem inside the NFS root. This would also explain
> why you cannot login.
>
> I would suggest re-installing the ELDK from scratch to get a clean and
> working NFS root again.
>
> If you want to debug further, I'd suggest booting the sequoia from a
> ramdisk and then mount the NFS filesystem. Then use chroot to test
> /bin/bash in the NFS mounted area....
>
> Cheers
> Detlev
>
> --
> Question : If you were redesigning UNIX, what would you do differently?
> Ken Thompson: I'd spell creat with an e.
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
>
More information about the eldk
mailing list