Hi, Please 'reply to all' to keep the list in the thread Can you post the complete output of the console rather than just the bit that fails. Regards Phil Q Phil Quiney, Senior Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.com <http://www.trinityconvergence.com/>
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 September 2008 10:40 To: Phil Quiney Subject: Re: RE: I have a problem when use the NFS which use to mount the filesys Hi now the problem is Sending DHCP requests .., OK IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.81.11 IP-Config: Complete: device=eth0, addr=192.168.81.11, mask=255.255.255.0, gw=192.168.81.1, host=192.168.81.11, domain=, nis-domain=(none), bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath= VFS: Cannot open root device "nfs" or unknown-block(0,255) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255) ________________________________ 2008-09-12 ________________________________ 发件人: Phil Quiney 发送时间: 2008-09-12 15:11:56 收件人: [EMAIL PROTECTED] 抄送: davinci-linux-open-source 主题: RE: I have a problem when use the NFS which use to mount the filesys Hi, As Brad said, if this is your own kernel then can you rebuild it with the default options set. The kernel config requires 'CONFIG_ROOT_NFS=y' for this boot method to work. FYI I booted a DM355 with the following bootargs.... setenv bootargs 'mem=116M console=ttyS0,115200n8 noinitrd root=/dev/nfs rw nfsroot=172.18.1.34:/tftpboot/remote_fs/dm355_rootfsdir_nfs ip=dhcp' On the console the following appeared.... eth0: link down Sending DHCP requests ., OK IP-Config: Got DHCP answer from 172.18.0.254, my address is 172.18.128.92 IP-Config: Complete: device=eth0, addr=172.18.128.92, mask=255.255.0.0, gw=172.18.0.254, host=172.18.128.92, domain=trinity.local, nis-domain=(none), bootserver=172.18.0.254, rootserver=172.18.1.34, rootpath= Looking up port of RPC 100003/2 on 172.18.1.34 Looking up port of RPC 100005/1 on 172.18.1.34 VFS: Mounted root (nfs filesystem). Freeing init memory: 180K Can you also check the /var/log/messages file on the NFS host. You should see a message like... Sep 12 07:50:19 chrysler mountd[1989]: authenticated mount request from 172.18.128.92:800 for /tftpboot/remote_fs/dm355_rootfsdir_nfs (/tftpboot) You have of course made the directory available (in /etc/exports), started the nfs service & disabled the firewall (or otherwise allow NFS through). [EMAIL PROTECTED] ~]# cat /etc/exports /tftpboot *(rw,no_root_squash,sync) What happens if you try to mount the file system from the host....in my case that would be commands of the form... [EMAIL PROTECTED] ~]# mkdir /mnt/nfs [EMAIL PROTECTED] ~]# mount -t nfs localhost:/tftpboot/remote_fs/dm355_rootfsdir_nfs /mnt/nfs [EMAIL PROTECTED] ~]# ls /mnt/nfs bin dev etc lib mnt proc sbin sys usr boot home media opt root srv tmp var Regards Phil Q Phil Quiney, Senior Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.com <http://www.trinityconvergence.com/> ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad Bitterman Sent: 12 September 2008 02:43 To: [EMAIL PROTECTED] Cc: davinci-linux-open-source Subject: Re: I have a problem when use the NFS which use to mount the filesys Did you build your own kernel? Seems like NFS is turned off in the kernel. - Brad On Sep 11, 2008, at 9:20 PM, [EMAIL PROTECTED] wrote: I have a problem when use the NFS which use to mount the filesys this problem is VFS: Cannot open root device "nfs" or unknown-block(0,255) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255) ________________________________ 2008-09-12 _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
