Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AutoFS 5.0 unmasked in portage, but not in 2.6.28 kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2093
Location: San Jose, CA

PostPosted: Mon Feb 09, 2009 12:29 am    Post subject: AutoFS 5.0 unmasked in portage, but not in 2.6.28 kernel? Reply with quote

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
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 311

PostPosted: Mon Feb 09, 2009 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2093
Location: San Jose, CA

PostPosted: Mon Feb 09, 2009 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Tue Feb 10, 2009 4:00 am    Post subject: Reply with quote

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
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2093
Location: San Jose, CA

PostPosted: Tue Feb 10, 2009 8:11 am    Post subject: Reply with quote

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
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Tue Feb 10, 2009 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
skwang
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2004
Posts: 149
Location: Chicago, IL

PostPosted: Sat Feb 28, 2009 8:34 pm    Post subject: a solution Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum