LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-06-2007, 08:08 AM   #1
splyt
LQ Newbie
 
Registered: Sep 2006
Location: Brazil
Distribution: slackware
Posts: 13

Rep: Reputation: 0
I can not for some reazon do "modprobe nfs"


Hello,
I am running a slackware 11 system. It is a virtual machine pre configured, and I have found
that it doesnt include the nfs module. When I log in I get:
Linux 2.6.18.
root@darkmoon:~# mount 192.168.0.2:/arqui/netnews /mnt -t nfs
mount: unknown filesystem type 'nfs'
I googled and found that the nfs module is not loaded:
root@darkmoon:~# lsmod
Module Size Used by
I then tryed the following:
root@darkmoon:~# modprobe nfs
WARNING: Error inserting sunrpc (/lib/modules/2.6.18/kernel/net/sunrpc/sunrpc.ko): Invalid module format
WARNING: Error inserting lockd (/lib/modules/2.6.18/kernel/fs/lockd/lockd.ko): Invalid module format
FATAL: Error inserting nfs (/lib/modules/2.6.18/kernel/fs/nfs/nfs.ko): Invalid module format
root@darkmoon:~#
I am as you could see running the kernel 2.6.18, and I have installed the kernel-modules-2.6.18-i486-1 package.
I ahve installed also the module-init-tools-3.2.2-i486-2 package. As I have kernel 2.6.18 and the kernel modules 2.6.18 I can't understand why it is saying that the module has invalid format, it was suposed to work .. or I am missing something?
I would like to have the nfs module loaded, and at this moment I cant compile a module with this compiled. I have to try nfs as a loadable module.
I tryed searching the web but I could not find nothing that helped.
If someone can help me I would be gratefull.
Thanks for any help
Marlon
 
Old 02-06-2007, 10:43 AM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
what does
Quote:
ls /lib/modules/2.6.18/kernel/net/
give?

Reinstall the kernel modules. or better go into /usr/src/linux and do
Quote:
make modules
make modules_install
 
Old 02-06-2007, 11:16 AM   #3
splyt
LQ Newbie
 
Registered: Sep 2006
Location: Brazil
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Hello,
It gives:
802/
8021q/
appletalk/
atm/
ax25/
bluetooth/
bridge/
ieee80211/
ipv4/
ipv6/
ipx/
irda/
key/
llc/
netfilter/
netrom/
rose/
rxrpc/
sched/
sctp/
sunrpc/
wanrouter/
I checked the three files and they do exist and are placed where the modprobe results tell they do. I'll try to make the modules, but I think this prety strange as I used the oficial kernel modules package from the slackware site, downloaded in a known mirror.
Any more help is apreciated.
 
Old 02-07-2007, 04:04 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 11,201
Blog Entries: 3

Rep: Reputation: 1426Reputation: 1426Reputation: 1426Reputation: 1426Reputation: 1426Reputation: 1426Reputation: 1426Reputation: 1426Reputation: 1426Reputation: 1426
Hi,

If you compiled the kernel or load the source then from a console;
Code:
cat /usr/src/linux/.config |grep NFS

#The output should be something like;

CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_NFS_COMMON=y
CONFIG_NCPFS_NFS_NS=y
Note that for the NFS 3 & 4 are compiled in (static), this is for linux-2.6.13.

For the module;

Code:
#ls /lib/modules/2.6.13/kernel/fs/nfs
nfs.ko
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 07:04 AM
Receive "modprobe: Can’t locate module block-major-" and disconnects NFS mount car182 Linux - Hardware 1 05-25-2006 08:46 AM
commands "init" and "modprobe" not working Diagmato Fedora 2 07-22-2005 11:44 PM
"depmod" and "modprobe" commands don't work The1PatO Fedora 7 06-10-2004 12:10 PM
cupsd, many "modprobe: can't locale device /dev/usbxx" at boot.. bit7 Linux - Software 0 01-16-2004 01:40 AM


All times are GMT -5. The time now is 11:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration