mount via nfs using MontaVista's Linux for IBM405

5 messages, 3 authors, 2000-12-06 · open the first message on its own page

mount via nfs using MontaVista's Linux for IBM405

From: Matthias Fuchs <hidden>
Date: 2000-12-05 10:21:29

Hello,

I am trying to mount a directory from a nfs server to my IBM405GP board.

Here are the facts:

	Kernel on our 405 board: 2.4.0-test2_mvista_001126
	Root filesystem: target_ftest4 from MontaVista

When I do a: mount -t nfs <nfs-servers-ip>:/home/matthias /test on the
405 board, I get this output (after some delay):

	nfs warning: mount version older than kernel
	portmap: server localhost not responding, timed out
	portmap: server localhost not responding, timed out
	lockd_up: makesock failed, error=-5

But I can still telnet to the board (it does not crash) but I cannot
interrupt the mount call.

The nfs server is working properly, because I get the root filesystem
from the same server (with no problems).

Has anybody a solution for this problem ?

Matthias
--
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: mount via nfs using MontaVista's Linux for IBM405

From: Topi Kanerva <hidden>
Date: 2000-12-05 11:59:19

On Tue, 5 Dec 2000, Matthias Fuchs wrote:
When I do a: mount -t nfs <nfs-servers-ip>:/home/matthias /test on the
405 board, I get this output (after some delay):

nfs warning: mount version older than kernel
portmap: server localhost not responding, timed out
portmap: server localhost not responding, timed out
lockd_up: makesock failed, error=-5

But I can still telnet to the board (it does not crash) but I cannot
interrupt the mount call.

The nfs server is working properly, because I get the root filesystem
from the same server (with no problems).
I am using 2.4.0-test2 aswell, but on a motorola sandpoint platform...
I get exactly the same messages as you do, but without the last one
("lockd_up: makesock failed...") and the mount works after a delay
(5 minutes or so)... I don't exactly know what is the reason for that,
but have you tried to set up a loopback interface for the localhost
aswell? It just might solve the problem, obviously portmap is trying
to contact the portmapper on localhost aswell...


-topi


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: mount via nfs using MontaVista's Linux for IBM405

From: Frank Rowand <hidden>
Date: 2000-12-05 20:09:37

Matthias Fuchs wrote:
Hello,

I am trying to mount a directory from a nfs server to my IBM405GP board.

Here are the facts:

        Kernel on our 405 board: 2.4.0-test2_mvista_001126
        Root filesystem: target_ftest4 from MontaVista

When I do a: mount -t nfs <nfs-servers-ip>:/home/matthias /test on the
405 board, I get this output (after some delay):

        nfs warning: mount version older than kernel
        portmap: server localhost not responding, timed out
        portmap: server localhost not responding, timed out
        lockd_up: makesock failed, error=-5

But I can still telnet to the board (it does not crash) but I cannot
interrupt the mount call.

The nfs server is working properly, because I get the root filesystem
from the same server (with no problems).

Has anybody a solution for this problem ?

Matthias
--
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------
Add the "-o nolock" option to the mount command.

-Frank
--
Frank Rowand [off-list ref]
MontaVista Software, Inc

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: mount via nfs using MontaVista's Linux for IBM405

From: Matthias Fuchs <hidden>
Date: 2000-12-06 10:02:46

Hello Frank,

I tried the nolock option for the mount command. It does not really
work, only sometimes, not very
frequently.

Here is exactly how I do the mount:

mount -t nfs -o nolock -v 192.168.2.190:/home/matthias/canbtgw
/home/matthias

(All directories exist, mounting from other computers is working.)

Here is the output:

  nfs warning: mount version older than kernel
  192.168.2.190:/home/matthias/canbtgw on /home/matthias type nfs
(rw,nolock,addr=192.168.2.190)
... long time later ...
  VFS: Close: file count is 0
  VFS: Close: file count is 0
... long time later ...
  VFS: Close: file count is 0

... mount never returns ...

Any further idea ?

Matthias

Frank Rowand wrote:
Matthias Fuchs wrote:
quoted
Hello,

I am trying to mount a directory from a nfs server to my IBM405GP board.

Here are the facts:

        Kernel on our 405 board: 2.4.0-test2_mvista_001126
        Root filesystem: target_ftest4 from MontaVista

When I do a: mount -t nfs <nfs-servers-ip>:/home/matthias /test on the
405 board, I get this output (after some delay):

        nfs warning: mount version older than kernel
        portmap: server localhost not responding, timed out
        portmap: server localhost not responding, timed out
        lockd_up: makesock failed, error=-5

But I can still telnet to the board (it does not crash) but I cannot
interrupt the mount call.

The nfs server is working properly, because I get the root filesystem
from the same server (with no problems).

Has anybody a solution for this problem ?

Matthias
--
Add the "-o nolock" option to the mount command.

-Frank
--
Frank Rowand [off-list ref]
MontaVista Software, Inc
--
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: mount via nfs using MontaVista's Linux for IBM405

From: Frank Rowand <hidden>
Date: 2000-12-06 18:53:03

Matthias Fuchs wrote:
Hello Frank,

I tried the nolock option for the mount command. It does not really
work, only sometimes, not very
frequently.

Here is exactly how I do the mount:

mount -t nfs -o nolock -v 192.168.2.190:/home/matthias/canbtgw
/home/matthias

(All directories exist, mounting from other computers is working.)

Here is the output:

  nfs warning: mount version older than kernel
  192.168.2.190:/home/matthias/canbtgw on /home/matthias type nfs
(rw,nolock,addr=192.168.2.190)
... long time later ...
  VFS: Close: file count is 0
  VFS: Close: file count is 0
... long time later ...
  VFS: Close: file count is 0

... mount never returns ...

Any further idea ?
Sorry, I didn't go back to the old target root file system to test
the "-o nolock".  You need to use a newer version of mount to solve this
problem (and continue to specify -o nolock).  When your Walnut CDK arrives
your problem will be resolved because it contains the newer mount.

-Frank
Matthias

Frank Rowand wrote:
quoted
Matthias Fuchs wrote:
quoted
Hello,

I am trying to mount a directory from a nfs server to my IBM405GP board.

Here are the facts:

        Kernel on our 405 board: 2.4.0-test2_mvista_001126
        Root filesystem: target_ftest4 from MontaVista

When I do a: mount -t nfs <nfs-servers-ip>:/home/matthias /test on the
405 board, I get this output (after some delay):

        nfs warning: mount version older than kernel
        portmap: server localhost not responding, timed out
        portmap: server localhost not responding, timed out
        lockd_up: makesock failed, error=-5

But I can still telnet to the board (it does not crash) but I cannot
interrupt the mount call.

The nfs server is working properly, because I get the root filesystem
from the same server (with no problems).

Has anybody a solution for this problem ?

Matthias
--
Add the "-o nolock" option to the mount command.

-Frank
--
Frank Rowand [off-list ref]
MontaVista Software, Inc
--
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help