Sent to www@gentoo.org by Gert Wierbos <ghw@xs4all.nl> """ Hi There, I followed the whole tutorial to get my server ready to except diskless nodes, just because that's cool :P Anyway, I stumbled across 2 errors in the tutorial (maybe because the dhcp and nfs software has changed a little. Error number 1: Code Listing 2.3: master's kernel options. You HAVE to include Socket Filtering in your kernel (which isn't selected in the howto), or else the DHCP server just won't start. I have been looking for this for 2 evenings and finally found it tonight, on the Gentoo forums ofcourse. ([1]http://forums.gentoo.org/viewtopic.php?t=55011&highlight=configure d+listen+interfaces) Last post gives solution :) Error number 2: Code Listing 2.3: master's kernel options. This is because the NFS server changed and needs newer NFS stuff in the kernel (didn't write it down after emerging and getting the message, but it was something like that). So what you want to do: Put anything NFS related included in the kernel :D after that, the NFS server also started. I hope you will correct the Howto, so people won't be searching the forums too long / be disappointed what the Howto isn't right and switch back to their SuSE or Redhat distro's... (extreme scenario :P) Thanks in advance! Gert Wierbos """
DHCP does not need packet filtering to run but maybe it's time to upgrade the code listing to a more modern kernel ;-) FYI, it works fine with the following .config on a vanilla-2.6.8.1 : clusterleader linux # /bin/egrep "FILTER|PACKET|NFS" /usr/src/linux/.config CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set # CONFIG_NETFILTER is not set CONFIG_NFS_FS=y CONFIG_NFS_V3=y # CONFIG_NFS_V4 is not set # CONFIG_NFS_DIRECTIO is not set CONFIG_NFSD=y CONFIG_NFSD_V3=y # CONFIG_NFSD_V4 is not set # CONFIG_NFSD_TCP is not set And the NFS Client options are not even needed, it's just that my diskless master is also a client because it mounts its distfiles/ on NFS. What was error 2?
Socket Filtering is required for 2.4.x kernels not 2.6.x kernels
I'm on kernel 2.4.25 so I did have to put Packet Filtering on... About Error number 2: When I emerged the NFS server, it said what NFS options where needed (some new ones because of a new release of the software, but I didn't write them down, my fault... I just followed the how-to :P When I was at the point to start the NFS server, it wouldn't start. So I thought, hey I did read something about the NFS server (like i wrote before), lets just put all NFS options on, and it started right away (and works :D)
Xavier, care to update the doc with a more recent kernel setting? I believe that's the only solution asked here and quite easy (if you have the .config) :)
I've updated the guide to use 2.6 kernels; that should resolve this issue afaicu.