server nfs and mini2440

Yassine
Hi, I am new on this forum :) So my mini2440 cannot start because of the
NFS server this what I got from a terminal on linux.


eth0: link down                                                            
    
IP-Config: Guessing netmask 255.255.255.0                                  
    
IP-Config: Complete:                                                       
    
     device=eth0, addr=192.168.1.50, mask=255.255.255.0,
gw=255.255.255.255,    
     host=192.168.1.50, domain=, nis-domain=(none),                        
    
     bootserver=255.255.255.255, rootserver=192.168.1.27, rootpath=        
    
Looking up port of RPC 100003/2 on 192.168.1.27                            
    
eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1                            
    
Root-NFS: Unable to get nfsd port number from server, using default        
    
Looking up port of RPC 100005/1 on 192.168.1.27                            
    
Root-NFS: Unable to get mountd port number from server, using default      
    
Root-NFS: Server returned error -5 while mounting /home/target_fs          
    
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; here are the available
partitions: 
1f00             256 mtdblock0 (driver?)                                   
    
1f01             128 mtdblock1 (driver?)                                   
    
1f02            5120 mtdblock2 (driver?)                                   
    
1f03          125568 mtdblock3 (driver?)                                   
    
1f04          131072 mtdblock4 (driver?)                                   
    
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)  
Backtrace:                                                                 
    
[<c00341cc>] (dump_backtrace+0x0/0x10c) from [<c03297d0>]
(dump_stack+0x18/0x1c)
 r7:c03db108 r6:00008000 r5:c3923000 r4:c0481b10                           
    
[<c03297b8>] (dump_stack+0x0/0x1c) from [<c0329820>] (panic+0x4c/0x114)    
    
[<c03297d4>] (panic+0x0/0x114) from [<c0008dbc>]
(mount_block_root+0x174/0x228) 
 r3:c38621ac r2:00000000 r1:c3823f60 r0:c03db0a0                           
    
[<c0008c48>] (mount_block_root+0x0/0x228) from [<c0008f34>]
(mount_root+0xc4/0x)
[<c0008e70>] (mount_root+0x0/0xfc) from [<c0009094>]
(prepare_namespace+0x128/0)
 r5:c002081d r4:c04814e0                                                   
    
[<c0008f6c>] (prepare_namespace+0x0/0x180) from [<c00084b0>]
(kernel_init+0xe0/)
 r5:c001f180 r4:c04812a0                                                   
    
[<c00083d0>] (kernel_init+0x0/0x114) from [<c004bbbc>] (do_exit+0x0/0x620) 
    
 r5:00000000 r4:00000000                 



This is my file (network config) on debian : 

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
        address 192.168.1.27
        netmask 255.255.255.0
  gateway 192.168.1.1
        broadcast 192.168.1.255

I have been thinking since 3 days... so please if you have any ideas let me
know.

Yassine
From my laptop I can ping 192.168.1.50 and I have an answer but the trouble
is still the same...

Juergen Beisert
Do you run a NFS server on your 192.168.1.27 host?

Yassine
Hi thanks for you answer!!! What dod you mean run a NFS server on my host??

yassine necib
yes it can run

pravalika
To send rootfs to the target board is that necessary to run internet
connection on both host And client  or else one internet connection is
sufficient please reply soon

Juergen Beisert
Mini2440                          Host
 NFS client  <---- network -----> NFS server

TheRegnirps
Pravalika. NFS is much more convenient if you use a network switch so that
your host can use the Internet and communicate with your Mini2440 at the
same time. If you do this, you can not use the supplied Ethernet cable. It
is a crossover meant for Mini2440 <---> Host.

Disable SELinux in your Debian and make a hole in your firewall for the
Mini2440 address (or turn off firewall if you are using the direct
connection with the crossover).