Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62020 - diskless-howto errors
Summary: diskless-howto errors
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/diskless...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-28 03:23 UTC by Sven Vermeulen (RETIRED)
Modified: 2005-02-05 06:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2004-08-28 03:23:30 UTC
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
"""
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2004-08-28 03:49:55 UTC
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?
Comment 2 SpanKY gentoo-dev 2004-08-29 10:56:16 UTC
Socket Filtering is required for 2.4.x kernels not 2.6.x kernels
Comment 3 Gert Wierbos 2004-08-29 11:35:48 UTC
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)
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2004-12-02 09:00:08 UTC
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) :)
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2005-02-05 06:37:42 UTC
I've updated the guide to use 2.6 kernels; that should resolve this issue afaicu.