Make sure kernel was compiled with NFS server support


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Make sure kernel was compiled with NFS server support
# 1  
Old 01-25-2012
Question Make sure kernel was compiled with NFS server support

Hi there,

I have a Debian Squeeze server.
How can I check if my kernel was compiled with NFS server support?

Extra question: if it is not, how do I enable NFS support in my kernel?

Thanks for your help.
Santiago
# 2  
Old 01-25-2012
Check the contents of
Code:
/boot/config-$(uname -r)

See KernelFAQ - Debian Wiki
# 3  
Old 01-25-2012
lsmod and depmod lsmod lists the modules, depmod may be closer to what you want.

You have to use modeprobe to add a new module. To force a module to be loaded during boot you can edit /etc/modules.

What you really should do is read about modprobe. First. There is a fair amount to it. Then try to mod your system.
# 4  
Old 01-25-2012
Great guys, thans for your help.

My problem is then slightly different:

lsmod works on my local network server but on my online dedicated server (ovh.com), it fails with:
Code:
Opening /proc/modules: No such file or directory

depmod returns nothing but exits with 0 status on my local network server but on my online dedicated server (ovh.com), it fails with:
Code:
WARNING: Couldn't open directory /lib/modules/2.6.38.2-grsec-xxxx-grs-ipv6-64: No such file or directory
FATAL: Could not open /lib/modules/2.6.38.2-grsec-xxxx-grs-ipv6-64/modules.dep.temp for writing: No such file or directory

modprobe works fine on my local network server but on my online dedicated server (ovh.com), it fails with:
Code:
FATAL: Could not load /lib/modules/2.6.38.2-grsec-xxxx-grs-ipv6-64/modules.dep: No such file or directory

Does it make any sense to you?
Cheers
Santiago
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

[ipv6_test] Kernel is not compiled with IPv6 support

Hello, i tried to enable IPv6 networking and after service network restart i seen these messages: FATAL: Error inserting ipv6 (/lib/modules/2.6.18-348.16.1.el5.028stab108.1/kernel/net/ipv6/ipv6.ko): Device or resource busy CRITICAL : Kernel is not compiled with IPv6 support Bringing up... (6 Replies)
Discussion started by: postcd
6 Replies

2. Ubuntu

Phenom II support in kernel

Does anyone know at which kernel version support for Phenom II x6 first appeared? (7 Replies)
Discussion started by: Varsel
7 Replies

3. Web Development

Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini)

Hello everyone, I would like to setup a lamp server from a minimal distro and to compile PHP, MySQL and Apache myself. I have chosen CentOS minimal for the OS and I am trying to build the stack by hand... But well, it appears I need some help! First: I am looking for good and recent... (3 Replies)
Discussion started by: freddie50
3 Replies

4. Linux

Is it possible to insert compile module after compiled "make" without installing

Hi gud day, I would like to ask if possible to load the driver i compiled module without installing it in the ubuntu-kernel-distro/updates* or simple not executing "make install". what i mean is i compile the compat wireless driver using make and i want to try to load on the system without... (1 Reply)
Discussion started by: jao_madn
1 Replies

5. Red Hat

After umount -lf: kernel: nfs: server HOSTNAME not responding, timed out

Greetings! I'm testing a failover solution for NFSv4 on RHEL6 with latest updates. My script umounts (umount -lf /share) the faulty NFS share if it sees that's hanging on the client (the NFS daemon is down on the NFS server) and it mounts the share from another healthy NFS server. Sometimes... (4 Replies)
Discussion started by: Arsene Lupen
4 Replies

6. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

7. UNIX for Dummies Questions & Answers

Script to automatically reboot to newly compiled kernel with fallback

Hi, I'm new here. Just started playing around with kernel compilation. I need a little bit of advice. I'm trying to do a bash script to automatically compile a kernel package and reboot to that new kernel by default, with fallback to the old kernel. So far, I'm getting stuck at the part... (0 Replies)
Discussion started by: tridus_08
0 Replies

8. UNIX for Dummies Questions & Answers

Kernel Support

Hi, I want to learn that all the family of x86 processors are supported by kernel. I want to buy a board, which has VIA ESP10K processor and CHIPSET: VIA CN333 north bridge & VIA VT8237R south bridge Where can I find this? Thanks. (5 Replies)
Discussion started by: yildiz.a
5 Replies

9. Programming

Which debugger is appropriate for the executalbe file compiled with make?

I ask a question about the executalbe file compiled with make. Which debugger is appropriate? I tried to use gdb. But it failed to give the code with 'list' command. Program received signal SIGTSTP, Stopped (user). 0x0000000000472621 in DivergeTreeLogLikelihood () (gdb) bt #0 ... (5 Replies)
Discussion started by: cdbug
5 Replies
Login or Register to Ask a Question