[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Error when booting
I've seen this type of thing before. It may not be an issue with the
scripts, but rather in the type of shell you've included in the RFS.
Steve
--- Arnaud Lagger <arnaud.lagger@xxxxxxx> wrote:
> 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/
>
>
___________________________
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/