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

Norman Shulman norm at arcturusnetworks.com
Mon Mar 24 11:46:31 EST 2003


Massimo Calò wrote:
> 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

Should be

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

Norm

>     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
> 
>  
> 
>  
> 




More information about the uClinux-dev mailing list