View previous topic :: View next topic |
Author |
Message |
RayDude Advocate
Joined: 29 May 2004 Posts: 2093 Location: San Jose, CA
|
Posted: Mon Feb 09, 2009 12:29 am Post subject: AutoFS 5.0 unmasked in portage, but not in 2.6.28 kernel? |
|
|
It seems like autofs 5 is unmasked, but not supported by even the latest kernel. Is that right?
If so, why bother unmasking it?
Brian _________________ Some day there will only be free software. |
|
Back to top |
|
|
s4e8 Guru
Joined: 29 Jul 2006 Posts: 311
|
Posted: Mon Feb 09, 2009 5:24 am Post subject: |
|
|
autofs5 is supported by kernel under the name autofs4.
and /dev/autofs will trigger a reiserfs3 bug, and won't timeout reiserfs3 mounts. |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2093 Location: San Jose, CA
|
Posted: Mon Feb 09, 2009 5:41 am Post subject: |
|
|
s4e8 wrote: | autofs5 is supported by kernel under the name autofs4.
and /dev/autofs will trigger a reiserfs3 bug, and won't timeout reiserfs3 mounts. |
I enabled autofs4 and autofs said the kernel did not support protocol version 5. I couldn't find anything to enable protocol version 5. _________________ Some day there will only be free software. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Tue Feb 10, 2009 4:00 am Post subject: |
|
|
This works for me with a 2.6.26 kernel.
Code: |
jmd0 ~ # equery list autofs
[ Searching for package 'autofs' in all categories among: ]
* installed packages
[I--] [ ~] net-fs/autofs-5.0.4-r2 (0)
|
Code: |
jmd0 ~ # zgrep AUTOFS /proc/config.gz
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=m |
Code: | jmd0 ~ # lsmod | grep auto
autofs4 25160 2
|
Code: |
jmd0 ~ # uname -a
Linux jmd0.comcast.net 2.6.26.8-openvz-ext4-tickless-00008-ga65ea96-dirty #28 SMP Sat Feb 7 17:35:53 EST 2009 x86_64 Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz GenuineIntel GNU/Linux
|
_________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2093 Location: San Jose, CA
|
Posted: Tue Feb 10, 2009 8:11 am Post subject: |
|
|
Thanks John,
I compiled both of them into the kernel, not as modules. That shouldn't make a difference, right?
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Tue Feb 10, 2009 1:10 pm Post subject: |
|
|
Quote: | That shouldn't make a difference, right? |
I do not know. I have only used them as modules. And only for the last 4 months with 2.6.26 and 2.6.27 kernels. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
skwang Tux's lil' helper
Joined: 12 May 2004 Posts: 149 Location: Chicago, IL
|
Posted: Sat Feb 28, 2009 8:34 pm Post subject: a solution |
|
|
I justed want to add my two cents as I have also had this issue. I recompile my kernel , gentoo-sources version 2.7.27-gentoo-r8 with these options.
Code: |
CONFIG_AUTOFS_FS =n
CONFIG_AUTOFS4_FS=y
|
Upon rebooting with this new kernel configuration, autofs and automount worked fine. |
|
Back to top |
|
|
|