You are not logged in.
Pages: 1
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
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
Try to run
depmod -a
first.
And I think you should check systemd automount first too.
Offline
The kernel was updated just today. Perhaps you should just reboot. I made that mistake once.
Geek, runner, motorcyclist and professional know-it-all
Offline
The kernel was updated just today. Perhaps you should just reboot. I made that mistake once.
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
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
after you updated to the new kernel, did you reboot?
Also, did you look into systemd automount?
Offline
I did reboot. I am only interested in making autofs work, thanks anyway for the systemd suggestion.
Offline
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
Pages: 1