[ELDK] Can't execute bin file
Detlev Zundel
dzu at denx.de
Wed Jun 17 11:05:52 CEST 2009
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)
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