Skip to contentSkip to conversation

About NFS4 in kernel 2.6.9

DISCUSSION Diego 7 participants 11 messages Dec 27, 2004 – Jan 3, 2005 1 message not in the archive

lore
Share & tools
lore

Diego

author
#0 lore raw

Hello,
I have recompile fedora core 3 to kernel 2.6.9 and tried to user NFS,
I configure but when i have some problems:
root@c-57-137-05 ~]# service nfs restart

Desligando o NFS mountd:                                   [FALHOU]
Desligando o servidor NFS:                                 [FALHOU]
Desligando o NFS quotas:                                   [FALHOU]
Desligando serviços NFS:                                   [  OK  ]
Iniciando os serviços NFS:                                 [  OK  ]
Iniciando as quatas do NFS:                                [  OK  ]
Iniciando servidor NFS:                                    [FALHOU]
Iniciando o NFS mountd:                                    [  OK  ]
Iniciando NFS4 idmapd: FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc

I dont know what is the problem, whem i recompile the kernel, i compile support to NFSv4. Somebody help me, please. Thanks for your help.

Diego.

#1 lore raw

Hello Diego,

Am 2004-12-27 16:18:00, schrieb Diego:

Quoted 6 lines

Iniciando NFS4 idmapd: FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc

I dont know what is the problem, whem i recompile the kernel, i compile support to NFSv4. Somebody help me, please. Thanks for your help.

The output told you that it does not find "sunrpc" so you need ot compile it for your kernel. What do you mean ?

Quoted 1 line

Diego.

Greetings
Michelle

Signature · 4 lines
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)
author
#2 lore raw

First sorry about my poor english. I read in internet that it´s best if i recompile NFS4 as module, so i did it. But i have this error message. I dont know wht to do. when i do make xconfig, in filesystem, i have checked all that have NFS and RPC, but it insist in not work.

Quoted 27 lines · Michelle Konzack

Hello Diego,

Am 2004-12-27 16:18:00, schrieb Diego:

Quoted 6 lines

Iniciando NFS4 idmapd: FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc

I dont know what is the problem, whem i recompile the kernel, i compile support to NFSv4. Somebody help me, please. Thanks for your help.

The output told you that it does not find "sunrpc" so you need ot compile it for your kernel. What do you mean ?

Quoted 1 line

Diego.

Greetings
Michelle

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)

#3 lore raw
Quoted 4 lines

First sorry about my poor english. I read in internet that it´s best if i recompile NFS4 as module, so i did it. But i have this error message. I dont know wht to do. when i do make xconfig, in filesystem, i have checked all that have NFS and RPC, but it insist in not work.

Really? I have this in fs/Kconfig (2.6.8+2.6.9-rc2):

menu "Network File Systems"
depends on NET

config NFS_FS
tristate "NFS file system support"
depends on INET
select LOCKD
select SUNRPC
select NFS_ACL_SUPPORT if NFS_ACL

So SUNRPC should always be selected whenever you say yes/module to "NFS file system support".
Check the .config if NFS_FS=y or =m, that'd be my guess.

Jan Engelhardt

Signature · 1 line
ENOSPC
author
#4 lore raw

Thanks for your help,
I´ve checked what Jan said, and in .config is NFS_FS=y. When i do modprobe sunrpc shows me:

[root@laca01 ~]# modprobe sunrpc
FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc

It´s really annoyng :)

Quoted 26 lines · Jan Engelhardt
Quoted 4 lines

First sorry about my poor english. I read in internet that it´s best if i recompile NFS4 as module, so i did it. But i have this error message. I dont know wht to do. when i do make xconfig, in filesystem, i have checked all that have NFS and RPC, but it insist in not work.

Really? I have this in fs/Kconfig (2.6.8+2.6.9-rc2):

menu "Network File Systems"
depends on NET

config NFS_FS
tristate "NFS file system support"
depends on INET
select LOCKD
select SUNRPC
select NFS_ACL_SUPPORT if NFS_ACL

So SUNRPC should always be selected whenever you say yes/module to "NFS file system support".
Check the .config if NFS_FS=y or =m, that'd be my guess.

Jan Engelhardt
--
ENOSPC

author
#11 lore raw
In reply to a message not in the archive

Hello Michelle,

Quoted 6 lines · you

Are you sure, it is not there ?
You will find the "sunrpc" module in

/lib/modules/2.6.9/kernel/net/sunrpc/sunrpc.ko
^^^^^
Your Kernelversion here

That was really not there, no sunrpc directory nor sunrpc.ko, I copy from another kernel and now i'll try. About using .config from /boot my friend tryied but it doesn´t work. Shows kernel panic, but I' ll try it myself now.

Quoted 6 lines
| # Network File Systems
| #
| CONFIG_NFS_FS=y
| CONFIG_NFS_V3=y
| CONFIG_NFS_V4=y
| CONFIG_NFS_DIRECTIO=y
Quoted 8 lines
| # CONFIG_ROOT_NFS is not set
| CONFIG_NFSD=y
| CONFIG_NFSD_V3=y
| CONFIG_NFSD_V4=y
| CONFIG_NFSD_TCP=y
| CONFIG_LOCKD=y
| CONFIG_LOCKD_V4=y
| CONFIG_SUNRPC=y

My .config is like yours, now it's the perfect time to pray to lord. Thanks for all help.

#5 lore raw
In reply to Diego
Quoted 4 lines · Diego

Thanks for your help,
I´ve checked what Jan said, and in .config is NFS_FS=y. When i do modprobe sunrpc shows me:

Quoted 29 lines

[root@laca01 ~]# modprobe sunrpc
FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc

It´s really annoyng :)

Quoted 20 lines · Jan Engelhardt
Quoted 4 lines

First sorry about my poor english. I read in internet that it´s best if i recompile NFS4 as module, so i did it. But i have this error message. I dont know wht to do. when i do make xconfig, in filesystem, i have checked all that have NFS and RPC, but it insist in not work.

Really? I have this in fs/Kconfig (2.6.8+2.6.9-rc2):

menu "Network File Systems"
depends on NET

config NFS_FS
tristate "NFS file system support"
depends on INET
select LOCKD
select SUNRPC
select NFS_ACL_SUPPORT if NFS_ACL

So SUNRPC should always be selected whenever you say yes/module to "NFS file system support".
Check the .config if NFS_FS=y or =m, that'd be my guess.

By any chance was sunrpc compiled in instead of module? What is the setting in your .config file?

Signature · 3 lines
bill davidsen <[email protected]>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979
#6 lore raw

POSIX ACL's with NFS (was: Re: About NFS4 in kernel 2.6.9)

Quoted 6 lines · Jan Engelhardt

config NFS_FS
tristate "NFS file system support"
depends on INET
select LOCKD
select SUNRPC
select NFS_ACL_SUPPORT if NFS_ACL

Are you using any external patches for getting ACL support in NFS? I'd de highly interested in those. I already tried googling but nothing enligtening was found apart from the http://acl.bestbits.at/ site. :-/

Thanks for any pointers, Rogério Brito.

Signature · 3 lines
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogério Brito - [email protected] - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#7 lore raw

Re: POSIX ACL's with NFS

Quoted 11 lines · Rogério Brito
Quoted 6 lines · Jan Engelhardt

config NFS_FS
tristate "NFS file system support"
depends on INET
select LOCKD
select SUNRPC
select NFS_ACL_SUPPORT if NFS_ACL

Quoted 7 lines

Are you using any external patches for getting ACL support in NFS? I'd de highly interested in those. I already tried googling but nothing enligtening was found apart from the http://acl.bestbits.at/ site. :-/

Thanks for any pointers, Rogério Brito.

<http://acl.bestbits.at/nfsacl/> contains the most recent available patches. I have a few build-fixes pending to submit to Andreas though, but those are just gcc-2.95 stuff. And you have to fix up one or two patch rejects on anything recent from kernel.org..

It got submitted for inclusion on LKML some time ago, and got a few kinks ironed out in that process. Not sure why it hasn't been included yet..

I'm using this set of patches on 2.6.10 and have not noticed any problems using it to date. SuSE seems to ship with them too, so it probably have had a lot of usage/testing out in the field.

#8 lore raw

Re: POSIX ACL's with NFS

to den 30.12.2004 Klokka 11:42 (+0100) skreiv Andre Tomt:

Quoted 2 lines

It got submitted for inclusion on LKML some time ago, and got a few kinks ironed out in that process. Not sure why it hasn't been included yet..

Those patches will remain unmergeable as long as they contain no support whatsoever for client side caching of ACLs.

Cheers,
Trond

Signature · 1 line
Trond Myklebust <[email protected]>
author
#9 lore raw
In reply to Bill Davidsen

Thanks for all help, finally it´s working
I prayed to lord, enjoy the 2004=>2005 and it worked. I think i was
doing something wrong heheh.
Thanks to all again.

Quoted 43 lines · Bill Davidsen
Quoted 4 lines · Diego

Thanks for your help,
I´ve checked what Jan said, and in .config is NFS_FS=y. When i do modprobe sunrpc shows me:

Quoted 29 lines

[root@laca01 ~]# modprobe sunrpc
FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc

It´s really annoyng :)

Quoted 20 lines · Jan Engelhardt
Quoted 4 lines

First sorry about my poor english. I read in internet that it´s best if i recompile NFS4 as module, so i did it. But i have this error message. I dont know wht to do. when i do make xconfig, in filesystem, i have checked all that have NFS and RPC, but it insist in not work.

Really? I have this in fs/Kconfig (2.6.8+2.6.9-rc2):

menu "Network File Systems"
depends on NET

config NFS_FS
tristate "NFS file system support"
depends on INET
select LOCKD
select SUNRPC
select NFS_ACL_SUPPORT if NFS_ACL

So SUNRPC should always be selected whenever you say yes/module to "NFS file system support".
Check the .config if NFS_FS=y or =m, that'd be my guess.

By any chance was sunrpc compiled in instead of module? What is the setting in your .config file?

--
bill davidsen <[email protected]>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979