[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Error when booting



Hello everybody,

When I boot uClinux, I get this (end of my booting sequence):

----------------------------------------------------
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 44K
Mounting proc:
Mounting var:
Populating /var:
Running local start scripts.
[: not found
[: not found
[: not found
init: Booting to single user mode
#
----------------------------------------------------

Here is my /etc/rc script:

----------------------------------------------------
# cat rc
#!/bin/sh

PATH=/bin:/sbin:/usr/bin:/usr/sbin
TZ=JST-9

echo "Mounting proc: "
mount -t proc proc /proc

echo "Mounting var: "
mount -t ramfs none /var

echo "Populating /var: "
mkdir /var/run/ &&
mkdir /var/tmp/ &&
chmod 777 /var/tmp

echo "Running local start scripts."
for i in /etc/rc.d/S*
do
  if [ -x $i ]; then
    /bin/sh $i
  fi
done
----------------------------------------------------

And the local start scripts are there:

----------------------------------------------------
# pwd
/etc/rc.d
# ls
S02flatfsd   S30hostname  S40network
----------------------------------------------------

What is wrong with the local scripts?

Thanks,

Arnaud Lagger
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/