All of lore.kernel.org
 help / color / mirror / Atom feed
* klibc's nfsmount failure with 2.6.27.21, while 2.6.25.20 was fine
@ 2009-04-15 10:50 Hans-Peter Jansen
       [not found] ` <200904151250.49372.hpj-2x7n3sizJbFeoWH0uzbU5w@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Hans-Peter Jansen @ 2009-04-15 10:50 UTC (permalink / raw)
  To: linux-nfs

[-- Attachment #1: Type: text/plain, Size: 2248 bytes --]

Hi,

I suffer from a problem, where my diskless environment doesn't work anymore 
after upgrading the server from openSUSE 11.0 (2.6.25.20) to openSUSE 11.1 
(2.6.27.21).

The diskless environment gets set up with an customized initrd via pxelinux.
The initrd uses klibc's nfsmount, and I've tried both protocols: udp and 
tcp. It's not an iptables issue, since I can mount these directories from 
other (fully booted) systems just fine. 

Using the debug version of klibc's nfsmount prints these messages:
short read: 0 < 28
Port for 100003/3[udp]: 0
short read: 0 < 28
Port for 100005/3[udp]: 0
NFS params:
  server = xxx.xx.xx.xx, path = "/roroot", version = 3, proto = udp,
  mount_port = 627, nfs_port = 2049, flags = 00010282,
  rsize = 0, wsize = 0, timeo = 7, retrans = 3,
  acreg (min,max) = (3,60), acdir (min,max) = (30,60),
  soft = 0, intr = 1, posix = 0, nocto = 0, noac = 0

tcpdumping the communication shows, that for whatever reason, the client 
sends the mount request from source port 798 to destination port 627, but 
the server doesn't listen on 627:
# rpcinfo -p
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp  41656  mountd
    100005    1   tcp  49063  mountd
    100005    2   udp  41656  mountd
    100005    2   tcp  49063  mountd
    100005    3   udp  41656  mountd
    100005    3   tcp  49063  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100021    1   udp  33144  nlockmgr
    100021    3   udp  33144  nlockmgr
    100021    4   udp  33144  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   tcp  57268  nlockmgr
    100021    3   tcp  57268  nlockmgr
    100021    4   tcp  57268  nlockmgr
    100024    1   udp  39508  status
    100024    1   tcp  45430  status


I've attached the relevant tcpdump section.

I would be very grateful, if some kind soul could enlight me here, as I'm 
fully puzzled..

Pete

[-- Attachment #2: shark-nfs-mount.dump --]
[-- Type: application/octet-stream, Size: 4824 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: klibc's nfsmount failure with 2.6.27.21, while 2.6.25.20 was fine
@ 2009-04-15 19:17 Hans-Peter Jansen
       [not found] ` <200904152117.41367.hpj-2x7n3sizJbFeoWH0uzbU5w@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Hans-Peter Jansen @ 2009-04-15 19:17 UTC (permalink / raw)
  To: linux-nfs, Chuck Lever, Trond Myklebust

[-- Attachment #1: Type: text/plain, Size: 2290 bytes --]

Am Mittwoch, 15. April 2009 schrieb Chuck Lever:
> On Apr 15, 2009, at 1:23 PM, Hans-Peter Jansen wrote:
> > Am Mittwoch, 15. April 2009 schrieb Chuck Lever:
> >> When using rpcbind instead of portmapper, what does the output of
> >> "rpcinfo" look like on the server?
> >
> > It's dumped in the mail starting this thread.
>
> I don't see why the client's rpcbind attempt for the server's mountd
> service should have failed.

For completeness, here's the current rpcinfo view with portmap:

# rpcinfo -p 172.16.23.110
   Program Vers Proto   Port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp  54838  mountd
    100005    1   tcp  32772  mountd
    100005    2   udp  54838  mountd
    100005    2   tcp  32772  mountd
    100005    3   udp  54838  mountd
    100005    3   tcp  32772  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100021    1   udp  35501  nlockmgr
    100021    3   udp  35501  nlockmgr
    100021    4   udp  35501  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   tcp  54766  nlockmgr
    100021    3   tcp  54766  nlockmgr
    100021    4   tcp  54766  nlockmgr
    100024    1   udp  44650  status
    100024    1   tcp  39765  status


> Would it be possible for you to capture a packet trace of the client's
> attempt to mount it's root file system?  (You will likely need to do
> this for a bugzilla report, anyway).

Ähem, Chuck, may I ask you to look into the initial mail again. The failing 
case is attached there. Here I've attached the good one. Since I couldn't 
locate any mount attempt in the dump, I've left a few more nfs 
transactions.

> Also let us know what's running on your clients (distribution, kernel
> version, etc).

Hmm, sure. The client setup is a legacy SuSE 9.3 diskless environment 
(unfortunately Novell didn't manage to create a distribution with similar 
stability since then..., being a rpm junke, I will soon check Cent-OS 
(again)).

Client (relevant) versions:
Kernel: 2.6.11.4
Udev (nfsmount): 053

Let me know, what more I can provide, please.

THanks,
Pete

[-- Attachment #2: shark-nfs-mount-ok.dump --]
[-- Type: application/octet-stream, Size: 11534 bytes --]

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

end of thread, other threads:[~2009-04-15 22:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15 10:50 klibc's nfsmount failure with 2.6.27.21, while 2.6.25.20 was fine Hans-Peter Jansen
     [not found] ` <200904151250.49372.hpj-2x7n3sizJbFeoWH0uzbU5w@public.gmane.org>
2009-04-15 12:38   ` Trond Myklebust
     [not found]     ` <1239799114.5177.4.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-04-15 13:48       ` Hans-Peter Jansen
     [not found]         ` <200904151548.12291.hpj-2x7n3sizJbFeoWH0uzbU5w@public.gmane.org>
2009-04-15 14:36           ` Chuck Lever
2009-04-15 17:23             ` Hans-Peter Jansen
     [not found]               ` <200904151923.58709.hpj-2x7n3sizJbFeoWH0uzbU5w@public.gmane.org>
2009-04-15 17:35                 ` Chuck Lever
2009-04-15 19:16                   ` Hans-Peter Jansen
  -- strict thread matches above, loose matches on Subject: below --
2009-04-15 19:17 Hans-Peter Jansen
     [not found] ` <200904152117.41367.hpj-2x7n3sizJbFeoWH0uzbU5w@public.gmane.org>
2009-04-15 20:52   ` Chuck Lever
2009-04-15 22:48     ` Hans-Peter Jansen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.