Date: Sat, 19 Mar 2005 04:48:26 +0200 From: Giorgos Keramidas <keramida@freebsd.org> To: mailinglists@mindrules.net Cc: freebsd-doc@freebsd.org Subject: Re: possible error in handbook on kernelcompiling Message-ID: <20050319024826.GA15200@gothmog.gr> In-Reply-To: <40097.62.234.135.76.1111184667.squirrel@62.234.135.76> References: <40097.62.234.135.76.1111184667.squirrel@62.234.135.76>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-03-18 23:24, mailinglists@mindrules.net wrote: > Anyway, yesterday I recompiled my kernel, I did that before, but as > always I kept the handbook open to check that I wouldn't forget some > important part. After making the altered kernel configuration file I > had to do some other things on the machine, something happened. What does `something happened' refer to? > Then I continued, using "Procedure 1. Building a Kernel the > ``Traditional'' Way". Why? The `buildkernel' process should work too. The traditional way is these days pretty much the `obsolete way', and is useful only in limited cases (i.e. a kernel developer who wants to do many builds of the kernel but hasn't touched anything in the userland sources). > When I issued # /usr/sbin/config MYKERNEL I received an error, but > after I navigated to the directory MYKERNEL was in, everything worked. It would be nice if you posted the exact error message too. I've used the `traditional way' of building kernels a lot of times, and it did work. The invocation of config(8) was a bit tricky, as I wanted to keep using the /usr/obj hierarchy for compiled files: # cd /usr/src/sys/i386/conf # config -g -d /usr/obj/usr/src/sys/MYKERNEL MYKERNEL # cd /usr/obj/usr/src/sys/MYKERNEL # make # make install > So, maybe there should be a sidenote that you either have to be in the > right directory or give the full path. This is pretty much implied if you use config(8). It would be nice if you could repeat the process, keep a log file with script(1) or something and post any errors you see. Then we would be able to tell you if this is indeed a bug in the Handbook instructions or something entirely different. Regards, Giorgos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050319024826.GA15200>