Hi Zhang, See my reply below..
> Message: 1 > Date: Tue, 28 Apr 2009 15:26:55 +0800 > From: shaofeng zhang <ipc...@gmail.com> > Subject: NFS can not be mounted automaticly > To: davinci-linux-open-source@linux.davincidsp.com > Message-ID: > <f1c20a310904280026j55ec0aebneb0fa26b2c92c...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, All, > > When my board use the MVL Pro 4.0(linux 2.6.10), it can mount the NFS > automaticly, but then I test the MVL Pro 5.0(linux 2.6.18), it can not mount > the NFS automaticlly. > because my u-boot ENV (bootargs, mem, etc) use the same configuration. > that is the error infomation: > > *IP-Config: Complete: > device=eth0, addr=192.168.0.125, mask=255.255.255.0, gw=192.168.0.1, > host=XJTUIPCEVM, domain=, nis-domain=(none), > bootserver=192.168.0.238, rootserver=192.168.0.238, rootpath= > Looking up port of RPC 100003/2 on 192.168.0.238 > portmap: server 192.168.0.238 not responding, timed out > Root-NFS: Unable to get nfsd port number from server, using default > Looking up port of RPC 100005/1 on 192.168.0.238 > portmap: server 192.168.0.238 not responding, timed out > Root-NFS: Unable to get mountd port number from server, using default > mount: server 192.168.0.238 not responding, timed out > Root-NFS: Server returned error -5 while mounting /home/workdir/filesys > VFS: Unable to mount root fs via NFS, trying floppy. > VFS: Cannot open root device "nfs" or unknown-block(2,0) > Please append a correct "root=" boot option > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(2,0)* > ** > could anyone tell me some infomation about the message? Thanks! > > Zhang This indicates that your bootloader ENV "bootargs" is missing the rootpath, nfshost and nfsroot values. I'm quoting from the Getting Started Guide (spruf73b): EVM # setenv nfshost <ip address of nfs host> EVM # setenv rootpath <directory to mount> EVM # setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=116M video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16, 2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=$(videostd) Also note that you need to have root=/dev/nfs in bootargs. Hope this helps. Kapil Pendse TekKraft -- "The Power to Imagine, is The Power to Create!" -TTux _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source