linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* mount via nfs using MontaVista's Linux for IBM405
@ 2000-12-05 10:21 Matthias Fuchs
  2000-12-05 11:59 ` Topi Kanerva
  2000-12-05 20:09 ` Frank Rowand
  0 siblings, 2 replies; 6+ messages in thread
From: Matthias Fuchs @ 2000-12-05 10:21 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount via nfs using MontaVista's Linux for IBM405
  2000-12-05 10:21 mount via nfs using MontaVista's Linux for IBM405 Matthias Fuchs
@ 2000-12-05 11:59 ` Topi Kanerva
  2000-12-05 12:20   ` Wolfgang Denk
  2000-12-05 20:09 ` Frank Rowand
  1 sibling, 1 reply; 6+ messages in thread
From: Topi Kanerva @ 2000-12-05 11:59 UTC (permalink / raw)
  To: Matthias Fuchs; +Cc: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount via nfs using MontaVista's Linux for IBM405
  2000-12-05 11:59 ` Topi Kanerva
@ 2000-12-05 12:20   ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2000-12-05 12:20 UTC (permalink / raw)
  To: Topi Kanerva; +Cc: Matthias Fuchs, linuxppc-embedded


In message <Pine.GSO.4.30.0012051357150.16118-100000@stekt6> you 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
...
> (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...

Try what happens when you run the following commands on  your  target
(soon after booting):

/sbin/ifconfig lo 127.0.0.1
/bin/mount -n -o rsize=8192,wsize=8192,rw,remount /
>/etc/mtab
/bin/mount -t proc proc /proc
/usr/sbin/portmap &
rdate -s `sed -n -e 's/\/dev\/root .*addr=\([^ ][^ ]*\).*/\1/p' /proc/mounts`

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
...though his invention worked superbly -- his theory was a crock  of
sewage from beginning to end.         - Vernor Vinge, "The Peace War"

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount via nfs using MontaVista's Linux for IBM405
  2000-12-05 10:21 mount via nfs using MontaVista's Linux for IBM405 Matthias Fuchs
  2000-12-05 11:59 ` Topi Kanerva
@ 2000-12-05 20:09 ` Frank Rowand
  2000-12-06 10:02   ` Matthias Fuchs
  1 sibling, 1 reply; 6+ messages in thread
From: Frank Rowand @ 2000-12-05 20:09 UTC (permalink / raw)
  To: Matthias Fuchs; +Cc: linuxppc-embedded, frowand


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 <frank_rowand@mvista.com>
MontaVista Software, Inc

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount via nfs using MontaVista's Linux for IBM405
  2000-12-05 20:09 ` Frank Rowand
@ 2000-12-06 10:02   ` Matthias Fuchs
  2000-12-06 18:53     ` Frank Rowand
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Fuchs @ 2000-12-06 10:02 UTC (permalink / raw)
  To: frowand; +Cc: linuxppc-embedded


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:
> >
> > 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 <frank_rowand@mvista.com>
> 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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount via nfs using MontaVista's Linux for IBM405
  2000-12-06 10:02   ` Matthias Fuchs
@ 2000-12-06 18:53     ` Frank Rowand
  0 siblings, 0 replies; 6+ messages in thread
From: Frank Rowand @ 2000-12-06 18:53 UTC (permalink / raw)
  To: Matthias Fuchs; +Cc: frowand, linuxppc-embedded


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:
> >
> > 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
> > > --
> >
> > Add the "-o nolock" option to the mount command.
> >
> > -Frank
> > --
> > Frank Rowand <frank_rowand@mvista.com>
> > 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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-12-06 18:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-05 10:21 mount via nfs using MontaVista's Linux for IBM405 Matthias Fuchs
2000-12-05 11:59 ` Topi Kanerva
2000-12-05 12:20   ` Wolfgang Denk
2000-12-05 20:09 ` Frank Rowand
2000-12-06 10:02   ` Matthias Fuchs
2000-12-06 18:53     ` Frank Rowand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).