You are not logged in.

#1 2012-08-29 07:44:04

1126
Member
From: Cologne, Germany.
Registered: 2011-10-25
Posts: 12

[Solved] "/dev/autofs" missing after upgrading to linux-3.5

Today I did a

pacman -Syu

and it installed the latest linux along with linux-headers.

Afterwards I wanted to reboot into my new kernel, but it fails. Systemd is complaining that it couldn't load kernelmodule autofs4 and that it couldn't find /dev/autofs.

Only after I downgraded to 3.4.9 again, my machine booted normally.

Does anyone else experience this problem? And why is autofs all of a sudden important? I never used it.

Thanks in advance.

Last edited by 1126 (2012-08-30 08:58:47)

Offline

#2 2012-08-29 07:48:30

progandy
Member
Registered: 2012-05-17
Posts: 5,317

Re: [Solved] "/dev/autofs" missing after upgrading to linux-3.5

Maybe try to reinstall the kernel. Also, do you have a separate /usr partition? Do not forget to add the usr-hook to the initramfs.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2012-08-29 07:58:20

1126
Member
From: Cologne, Germany.
Registered: 2011-10-25
Posts: 12

Re: [Solved] "/dev/autofs" missing after upgrading to linux-3.5

I installed it twice already, ran into the same problem everytime. And no, I do not have /usr installed on a separate partition.

Offline

#4 2012-08-29 08:16:25

progandy
Member
Registered: 2012-05-17
Posts: 5,317

Re: [Solved] "/dev/autofs" missing after upgrading to linux-3.5

1126 wrote:

I installed it twice already, ran into the same problem everytime. And no, I do not have /usr installed on a separate partition.

Strange, I have the same setup. Here is my modinfo. Systemd needs autofs for its automount feature. It can create a virtual mountpoint and waits with the mounting until the file system is accessed (If you add noauto,x-systemd.automount to fstab)

# uname -a
Linux localhost 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 09:14:51 CEST 2012 x86_64 GNU/Linux
# modinfo autofs4
filename:       /usr/lib/modules/3.5.3-1-ARCH/kernel/fs/autofs4/autofs4.ko.gz
license:        GPL
alias:          devname:autofs
alias:          char-major-10-235
depends:        
intree:         Y
vermagic:       3.5.3-1-ARCH SMP preempt mod_unload modversions
# systemd --version
systemd 189
arch
+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ

Edit: I am using the testing repos. The testing packages which could be (remotely) related to the problem are systemd, libdrm and libevent I think.

Last edited by progandy (2012-08-29 08:37:25)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2012-08-29 10:44:28

1126
Member
From: Cologne, Germany.
Registered: 2011-10-25
Posts: 12

Re: [Solved] "/dev/autofs" missing after upgrading to linux-3.5

Well, I tried it once again. It did not work. The same error.

I think I'll ignore linux-3.5 for a while and see if it works with the next update. wink

---

~/$ uname -a
Linux 1126 3.4.9-1-ARCH #1 SMP PREEMPT Wed Aug 15 18:59:31 CEST 2012 x86_64 GNU/Linux
~/$ modinfo autofs4
filename:       /usr/lib/modules/3.4.9-1-ARCH/kernel/fs/autofs4/autofs4.ko.gz
license:        GPL
alias:          devname:autofs
alias:          char-major-10-235
depends:       
intree:         Y
vermagic:       3.4.9-1-ARCH SMP preempt mod_unload modversions
~/$ systemd --version
systemd 188
arch
+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP

Offline

#6 2012-08-29 11:06:23

1126
Member
From: Cologne, Germany.
Registered: 2011-10-25
Posts: 12

Re: [Solved] "/dev/autofs" missing after upgrading to linux-3.5

The weird thing is that when I install linux-3.5.1, do a

 # updatedb 

afterwards and try

 locate autofs4.ko.gz 

it shows

/usr/lib/modules/3.5.3-1-ARCH/kernel/fs/autofs4/autofs4.ko.gz

... So, it's there. But still, my computer does not boot properly due to missing module autofs4.

Offline

#7 2012-08-29 11:57:37

progandy
Member
Registered: 2012-05-17
Posts: 5,317

Re: [Solved] "/dev/autofs" missing after upgrading to linux-3.5

Maybe try to run depmod 3.5.3-1-ARCH before rebooting?
Edit: I suggest you have the LTS kernel installed so you can still boot without constant downgrades.

Last edited by progandy (2012-08-29 11:58:41)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#8 2012-08-29 15:40:39

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [Solved] "/dev/autofs" missing after upgrading to linux-3.5

@op are you using [testing] ?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2012-08-30 07:21:03

1126
Member
From: Cologne, Germany.
Registered: 2011-10-25
Posts: 12

Re: [Solved] "/dev/autofs" missing after upgrading to linux-3.5

Okay, well, it's solved. But I don't know exactly, how. I ran a

 # depmod 3.5.3-1-Arch

before rebooting now. But I also - beforehand - changed my /etc/fstab because systemd complained that it couldn't mount /var/lib/btrfs-root (see here). Well, it boots now into 3.5.3-1. wink

Offline

Board footer

Powered by FluxBB