Hi,
 
It is possible that Debian does not log the NFS connection in quite the same 
way as Fedora. (I am assuming you meant /var/log/messages rather than 
/var/log/message). 
 
The fact that it mounted means the NFS service is running. (You did confirm the 
mount worked with 'df' and tried to access the files via the mountpoint?)
 
Did you check the firewall? - it is possible connections via 'lo' are allowed 
but blocked on ethernet.
 
Do you have another Linux box you can try the NFS mount from?
 
What happens if you use the IP address of your linux box rather than 
'localhost'?
 
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 09:34
To: Phil Quiney
Subject: Re: RE: I have a problem when use the NFS which use to mount the 
filesys


hello 
 
I can mount the file system in my host 
 
but i cann't see any message in /var/log/message
 
the problem is same
 
I  use Debian4.0
 
 
 
________________________________

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

Reply via email to