I'm tryng to accomplish this http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html to have four boxes updated toghether. I've done almost everything in the docs and have the main machine, the one who builds world and kernels, do its own work successfully, now with buildworld and buildkernel (all my 4 kernels plus GENERIC) completed i NFS exported /usr/obj and /usr/src to the others. I even finished the procedure (and rebooted) to update to -STABLE the main box without any problem but from a slave machine when i try to : make installkernel KERNCONF=MYNAME I got: ERROR: No kernel "MYNAME" to install. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. But the kernel is present in /usr/obj/usr/src/sys/MYNAME. What so simple I'm missing here? Thanks -- Massimo.run();
> I'm tryng to accomplish this > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html > to have four boxes updated toghether. > > I've done almost everything in the docs and have the main machine, the > one who builds world and kernels, do its own work successfully, now with > buildworld and buildkernel (all my 4 kernels plus GENERIC) completed i > NFS exported /usr/obj and /usr/src to the others. > > I even finished the procedure (and rebooted) to update to -STABLE the > main box without any problem but from a slave machine when i try to : > make installkernel KERNCONF=MYNAME > > I got: > ERROR: No kernel "MYNAME" to install. > *** Error code 1 > > What so simple I'm missing here?Did you mount /usr/src from the client? regards Claus
Massimo Lusetti <massimo@cedoc.mo.it> wrote: > I'm tryng to accomplish this > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html > to have four boxes updated toghether. > [...] > make installkernel KERNCONF=MYNAME > > ERROR: No kernel "MYNAME" to install. > [...] > But the kernel is present in /usr/obj/usr/src/sys/MYNAME. Are the /etc/make.conf files in sync on client and server? Did you mount /usr/src and /usr/obj with -maproot=0? Any other unusual exports or mount options (e.g. noexec)? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -- Robert Firth
> Are the /etc/make.conf files in sync on client and server? > Did you mount /usr/src and /usr/obj with -maproot=0? > Any other unusual exports or mount options (e.g. noexec)?It may be the maproot-option. I have the following in my /etc/exports: /usr/obj /usr/ports /usr/src -network=xyz -mask=my-mask -maproot=root I update FreeBSD and the ports-collection via nfs as well. regards Claus