You are not logged in.

#1 2013-02-18 03:13:53

zwa
Member
Registered: 2005-12-05
Posts: 69

autofs module not loading

Hi, can't manage to load the autofs kernel module.

uname -r
3.7.8-1-ARCH

community/autofs 5.0.7-1 [installed]

sudo modprobe -v autofs
modprobe: FATAL: Module autofs not found

sudo modprobe -v autofs4
lsmod |grep auto
Nothing.


thx

Offline

#2 2013-02-18 06:15:59

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: autofs module not loading

This is not a solution to your actual problem, but you know that systemd actually has autofs functionality built in?  Check out the x-systemd.automount mount option (along with noauto I believe).  See the man pages for systemd.mount and systemd.automount, it will explain it.  Though these types of units are typically automagically created by systemd on boot time, so you can still just use fstab... those man pages just explain how to use those mount options, as they are not on the mount man page.

Offline

#3 2013-02-18 06:24:42

rainofchaos
Wiki Admin
Registered: 2011-12-07
Posts: 14

Re: autofs module not loading

Try to run

depmod -a

first.

And I think you should check systemd automount first too.

Offline

#4 2013-02-18 18:48:55

der_joachim
Member
From: the Netherlands
Registered: 2008-12-17
Posts: 136
Website

Re: autofs module not loading

The kernel was updated just today. Perhaps you should just reboot. I made that mistake once. smile


Geek, runner, motorcyclist and professional know-it-all

Offline

#5 2013-02-18 20:19:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: autofs module not loading

der_joachim wrote:

The kernel was updated just today. Perhaps you should just reboot. I made that mistake once. smile

Me too... I think even the most experienced Arch user has gone through this before.  One of those banging your head against the wall moments.

Offline

#6 2013-02-19 03:56:00

zwa
Member
Registered: 2005-12-05
Posts: 69

Re: autofs module not loading

I updated the kernel to 3.7.9-1-ARCH.
Then I ran "depmod -a" but the problem persist.

Here is the output of locate -i autofs:
http://pastebin.com/4wyptXbD

There is no .ko file.

also
find /lib/modules -iname *autofs*
returns no output.

Last edited by zwa (2013-02-19 04:06:16)

Offline

#7 2013-02-19 04:05:21

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: autofs module not loading

after you updated to the new kernel, did you reboot?

Also, did you look into systemd automount?

Offline

#8 2013-02-19 04:10:27

zwa
Member
Registered: 2005-12-05
Posts: 69

Re: autofs module not loading

I did reboot. I am only interested in making autofs  work,  thanks anyway for the systemd suggestion.

Offline

#9 2013-02-19 13:21:38

Painless
Member
Registered: 2006-02-06
Posts: 176

Re: autofs module not loading

The standard kernel has autofs4 built in directly (not as a module).

$ uname -a
Linux vendhya 3.7.7-1-ARCH #1 SMP PREEMPT Mon Feb 11 20:51:07 EET 2013 i686 GNU/Linux
$ gunzip -c /proc/config.gz | grep -i autofs
CONFIG_AUTOFS4_FS=y

The instructions in the wiki to load the module are not required unless you have a self-built kernel.

Offline

Board footer

Powered by FluxBB