tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Gernot Salzer <salzer () logic ! at>
To: tru64-unix-managers
Subject: SUMMARY: Mounting Linux-root via NFS from Tru64 server
Date: Fri, 01 Sep 2000 16:30:38 +0000	[thread overview]
Message-ID: <96782579910757.tru64-unix-managers.marc@archive.invalid> (raw)


Problem
=======
When mounting the Root-FS of a Linux PC from an NFS server
running Tru64 4.0D, I get the error
   call_verify: server requires stronger authentication
(my original mail is at the bottom).


Solution
========
I received two replies from this list; many thanks to
   Iwao MAKINO   <makino@hpc.co.jp>
   Keith Parkins <kparkins@cs.rochester.edu>
Both suggested that my problem might be the result of a version mismatch
between NFSv3 on the Tru64 server and NFSv2 on the Linux client.
They gave me some pointers for Linux patches that would upgrade
the NFS version:
   http://www.fys.uio.no/~trondmy/src/
   http://oss.sgi.com/projects/nfs3/
   http://nfs.sourceforge.net/

The final solution (so it seems) came from John.Jemiolo@compaq.com,
who according to the archives of a Linux kernel mailing list
had a similar problem in 1998.
Upon my request John sent me the following explanation and
patch for the Linux kernel. Many many thanks!

John's explanation:
> (Digital/Compaq) UNIX uses the stronger RPC Authentication standards for
> improved security, especially when an anonymous client tries to mount a fs
> as root. Linux uses the weak (NULL) Authentication for mounting a root-fs
> using NFS, And strong authentication for most everything else..  Why???
> I'll send some mail off to find out.

The suggested patch to the Linux kernel:
> in /usr/src/linux/fs/nfs/mount_clnt.c
> 
> mnt_create(char *hostname, struct sockaddr_in *srvaddr)
> {
>         struct rpc_xprt *xprt;
>         struct rpc_clnt *clnt;
> 
>         if (!(xprt = xprt_create_proto(IPPROTO_UDP, srvaddr, NULL)))
>                 return NULL;
> 
>         clnt = rpc_create_client(xprt, hostname,
>                                 &mnt_program, NFS_MNT_VERSION,
>                                 RPC_AUTH_NULL);
> 
> Change to
>         clnt = rpc_create_client(xprt, hostname,
>                                 &mnt_program, NFS_MNT_VERSION,
>                                 RPC_AUTH_UNIX);
>                                 **************



My original mail
================
> I have a problem related to NFS between Linux and Tru64.
> 
> My diskless PCs load a Linux 2.2.12 kernel via tftp, boot it and then
> mount the root file system via NFS.
> 
> If the NFS server also runs Linux, it works.
> 
> If the NFS server runs Tru64, the Linux kernel aborts the boot process
> with the error message:
>    call_verify: server requires stronger authentication
>    call_verify: unknown auth error: 5
>    Root-NFS Server returned error -5 while mounting /DC/root
> 
> What puzzles me is that an ordinary NFS mount works, i.e., once the Linux
> PC is up and running (having mounted the root fs from somewhere else),
> it's no problem to nfs-mount /DC/root from the Tru64 server, i.e.,
> it seems to be no trivial export error.

                 reply	other threads:[~2000-09-01 16:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox