[uClinux-dev] problem with "mount -t nfs"

Massimo Calò m.calo at ctsgroup.it
Mon Mar 24 05:16:57 EST 2003


Hi All,

    I have a 5272 based board running uClinux 2.4.20.

This is my rc file :

    mkdir /var/run
    mkdir /var/lock

    mount -t jffs2 /dev/mtdblock2 /mnt

    ifconfig lo 127.0.0.1

    route add -net 127.0.0.0 netmask 255.0.0.0 lo

    dhcpcd -p -a eth0 &

    ifconfig eth0 192.168.0.2

    portmap &

    mount -t nfs 192.168.0.3:/home/usr /usr

    cat /etc/motd

The problem is that sometimes the command "mount -t nfs 192.168.0.3:/home/usr /usr" doesn' t work :

After the boot finished I can't get the prompt and the led of the ethernet on the board is continously blinking very fast.

If I change the rc and run the command on background mode (mount -t nfs 192.168.0.3:/home/usr /usr &)

I can get the prompt but the remote pc directory is not mounted and the led blinks.

Any Help ?

Thanks!

Massimo




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20030324/12c4b7e3/attachment.html>


More information about the uClinux-dev mailing list