Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Make sure kernel was compiled with NFS server support Post 302592934 by chebarbudo on Wednesday 25th of January 2012 08:44:12 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
DEPMOD(8)																 DEPMOD(8)

NAME
depmod - program to generate modules.dep and map files. SYNOPSIS
depmod [ -b basedir ] [ -e ] [ -F System.map ] [ -n ] [ -v ] [ version ] [ -A ] depmod [ -e ] [ -FSystem.map ] [ -n ] [ -v ] [ version ] [ filename... ] DESCRIPTION
Linux kernel modules can provide services (called "symbols") for other modules to use (using one of the EXPORT_SYMBOL variants in the code). If a second module uses this symbol, that second module clearly depends on the first module. These dependencies can get quite com- plex. depmod creates a list of module dependencies by reading each module under /lib/modules/version and determining what symbols it exports and what symbols it needs. By default, this list is written to modules.dep, and a binary hashed version named modules.dep.bin, in the same directory. If filenames are given on the command line, only those modules are examined (which is rarely useful unless all modules are listed). depmod also creates a list of symbols provided by modules in the file named modules.symbols and its binary hashed version, mod- ules.symbols.bin. If a version is provided, then that kernel version's module directory is used rather than the current kernel version (as returned by uname -r). depmod will also generate various legacy map files in the output directory for use by the older hotplug infrastructure. These map files are largely deprecated. OPTIONS
-a --all Probe all modules. This option is enabled by default if no file names are given in the command-line. -A --quick This option scans to see if any modules are newer than the modules.dep file before any work is done: if not, it silently exits rather than regenerating the files. -b basedir --basedir basedir If your modules are not currently in the (normal) directory /lib/modules/version, but in a staging area, you can specify a basedir which is prepended to the directory name. This basedir is stripped from the resulting modules.dep file, so it is ready to be moved into the normal location. Use this option if you are a distribution vendor who needs to pre-generate the meta-data files rather than running depmod again later. -C --config file or directory This option overrides the default configuration file at /etc/depmod.conf (or the /etc/depmod.d/ directory if that is not found). -e --errsyms When combined with the -F option, this reports any symbols which a module needs which are not supplied by other modules or the ker- nel. Normally, any symbols not provided by modules are assumed to be provided by the kernel (which should be true in a perfect world), but this assumption can break espencially when additionally updated third party drivers are not correctly installed or were built incorrectly. -F --filesyms System.map Supplied with the System.map produced when the kernel was built, this allows the -e option to report unresolved symbols. -h --help Print the help message and exit. -n --dry-run This sends the resulting modules.dep and the various map files to standard output rather than writing them into the module direc- tory. -v --verbose In verbose mode, depmod will print (to stdout) all the symbols each module depends on and the module's file name which provides that symbol. -V --version Show version of program and exit. See below for caveats when run on older kernels. COPYRIGHT
This manual page originally Copyright 2002, Rusty Russell, IBM Corporation. Maintained by Jon Masters and others. SEE ALSO
depmod.conf(5), depmod.d(5), modprobe(8), modules.dep(5) 2010-03-01 DEPMOD(8)
All times are GMT -4. The time now is 09:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy