Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

nfs-problem

Altera_Forum
Honored Contributor II
1,274 Views

Hi, 

 

if i try to mount an nfs-share like: 

 

mount -t nfs 10.10.13.118:/data1 /mnt/nfs -n -o nolock  

 

i get the following error: 

 

nfs warning: mount version older than kernel 

 

if i try to list the dir with ls it works but if i copy a file from /mnt/nfs to my CF-Card /mnt/ide0  

 

i get an other error like: 

 

(it takes a long time then) 

nfs: server 10.10.13.118 not responding, still trying 

 

i searched the forum and see a thread that describe the same error but must i have portmap to do this?? 

 

My nfs server is a Suse Linux 9.3 professionell Worksation. 

 

/etc/exports 

/data1 *(rw,no_auth_nlm,insecure_locks,no_acl,no_root_squash) 

 

hope someone can help 

 

regards 

Mike
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
551 Views

Hi all, 

 

i browse the Source code of the linux distri und i looked on this: 

 

 

 

Usage Notes 

----------- 

 

- this version of mount/umount was taken from Slackware v8.1 and ported over 

to work with uClinux 2.4.x 

 

- In the original version of mount/umount, the etc/mtab and etc/fstab files 

were never referenced (by default) 

 

is this the reason why nfs do not work with suse 9.3 ?? 

 

I tested Suse 8.2 with Kernel 2.4 and it works fine but we want to use Suse9.3 on ouer server. 

Is there any workaround to get them work? 

Must i make a new mount command ? 

 

regards 

Mike http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif
0 Kudos
Altera_Forum
Honored Contributor II
551 Views

You can try the busybox mount command... to do this you need to include busybox into your filesystem project re-build and re-upload. 

 

Once you&#39;ve logged in, run  

 

busybox mount <options> 

 

That might help but I don&#39;t think it&#39;s the mount program that&#39;s the problem...  

 

What type of network adapter are you using on your Nios II board?
0 Kudos
Altera_Forum
Honored Contributor II
551 Views

Hello Ken, 

 

i used a Cyclone I developmentboard from Altera and a Cyclone II developmentboard from Altera. 

On the boards the same networkcard smc lan911c111. 

 

It tells me the error: 

nfs warning: mount version older than kernel http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif  

 

I tested the mount command from busybox and it works. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif  

 

I use Quartus 5.0Sp1 Nios II 5.0 and uClinux 1.4, Nios developmentboard Cyclone II EPC2S35 from Altera; 

NFS-Server with bordcomm Gigabit network card and Suse 9.3 (it works with all other applications) 

 

I think its the normal mount command that not work with new nfs-servers. 

Yesterday i logged the traffic on the network to see whats wrong. The Suse server send all the packets but the Nios  

always want a reply from all packets. 

 

regards 

Mike
0 Kudos
Reply