I have a problem when use the NFS which use to mount the
filesys
Phil Quiney
PQuiney at trinityconvergence.com
Fri Sep 12 04:50:41 CDT 2008
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: xiongzhongkai at foxmail.com [mailto:xiongzhongkai at foxmail.com]
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
ÊÕ¼þÈË£º xiongzhongkai at foxmail.com
³ËÍ£º 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).
[root at chrysler ~]# 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...
[root at chrysler ~]# mkdir /mnt/nfs
[root at chrysler ~]# mount -t nfs localhost:/tftpboot/remote_fs/dm355_rootfsdir_nfs /mnt/nfs
[root at chrysler ~]# 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: davinci-linux-open-source-bounces at linux.davincidsp.com [mailto:davinci-linux-open-source-bounces at linux.davincidsp.com] On Behalf Of Brad Bitterman
Sent: 12 September 2008 02:43
To: xiongzhongkai at foxmail.com
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, xiongzhongkai at foxmail.com 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
Davinci-linux-open-source at linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20080912/7ec1f51f/attachment-0001.htm
More information about the Davinci-linux-open-source
mailing list