mount via nfs using MontaVista's Linux for IBM405
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: [email protected] \
\ phone: +49-511-37298-0 \
\ fax: +49-511-37298-68 \
--------------------------------------------------** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 8 lines · Matthias Fuchs
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
Quoted 5 lines
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/
Quoted 8 lines · In message <Pine.GSO.4.30.0012051357150.16118-100000@stekt6> you wrote:
Quoted 8 lines
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
...
Quoted 4 lines
(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 /
Quoted 1 line
/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: [email protected] ...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/
Quoted 31 lines · Matthias Fuchs
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_ftest4from MontaVistaWhen 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=-5But 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 \
Quoted 7 lines
\ Vahrenwalder Straße 205 \
\ D-30165 Hannover \
\ email: [email protected] \
\ phone: +49-511-37298-0 \
\ fax: +49-511-37298-68 \
--------------------------------------------------Add the "-o nolock" option to the mount command.
-Frank
--
Frank Rowand <[email protected]>
MontaVista Software, Inc
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
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
Quoted 31 lines · Frank Rowand
Quoted 21 lines · Matthias Fuchs
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_ftest4from MontaVistaWhen 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=-5But I can still telnet to the board (it does not crash) but I cannot interrupt the mount call.
Quoted 7 lines
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
--
Quoted 6 lines
Add the "-o nolock" option to the mount command.
-Frank
--
Frank Rowand <[email protected]>
MontaVista Software, Inc
--
-------------------------------------------------
\ Matthias Fuchs \
\ esd electronic system design Gmbh \
\ Vahrenwalder Straße 205 \
\ D-30165 Hannover \
\ email: [email protected] \
\ phone: +49-511-37298-0 \
\ fax: +49-511-37298-68 \
--------------------------------------------------** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 25 lines · Matthias Fuchs
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/matthiastype 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
Quoted 3 lines
... 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
Quoted 45 lines
Matthias
Quoted 31 lines · Frank Rowand
Quoted 21 lines · Matthias Fuchs
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_ftest4from MontaVistaWhen 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=-5But I can still telnet to the board (it does not crash) but I cannot interrupt the mount call.
Quoted 7 lines
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
--Quoted 6 lines
Add the "-o nolock" option to the mount command.
-Frank
--
Frank Rowand <[email protected]>
MontaVista Software, Inc--
-------------------------------------------------
\ Matthias Fuchs \
\ esd electronic system design Gmbh \
Quoted 6 lines
\ Vahrenwalder Straße 205 \
\ D-30165 Hannover \
\ email: [email protected] \
\ phone: +49-511-37298-0 \
\ fax: +49-511-37298-68 \
--------------------------------------------------** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/