Re: building the 5.1 kernel
On Wed, Sep 01, 2004 at 07:42:46AM -0400, Andrew said: I am trying to rebuild the 5.1 kernel. Using the Freebsd handbook as a guide. I am running freebsd 5.1 and as fyi have been building suse and redhat kernels for a while without problems. But this is my first time building the freebsd kernel) This is what I did. cd /sys/i386/conf config GENERIC -- no changes to the file then per the results of config If no changes were made you don't need to recompile your kernel. cd ../compile/GENERIC then make depend then make All this stuff is not the right way around, at least for FreeBSD, and it looks like you're running MiniBSD(?) of which I know nothing ;) Anyway, this is what I do: cd /usr/src/sys/i386/conf cp GENERIC YOURNEWKERNELFILE vi YOURNEWKERNELFILE cd /usr/src make buildkernel KERNCONF=YOURNEWKERNELFILE make installkernel KERNCONF=YOURNEWKERNELFILE reboot Adam -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building the 5.1 kernel
* Adam Smith [EMAIL PROTECTED] [0959 12:59]: On Wed, Sep 01, 2004 at 07:42:46AM -0400, Andrew said: I am trying to rebuild the 5.1 kernel. Using the Freebsd handbook as a guide. I am running freebsd 5.1 and as fyi have been building suse and redhat kernels for a while without problems. But this is my first time building the freebsd kernel) This is what I did. cd /sys/i386/conf config GENERIC -- no changes to the file then per the results of config If no changes were made you don't need to recompile your kernel. Not true - what if there is a bugfix to an existing driver? cd ../compile/GENERIC then make depend then make All this stuff is not the right way around, at least for FreeBSD, and it looks like you're running MiniBSD(?) of which I know nothing ;) No, that should still work - that's all the make buildkernel wrappers do. I'd try deleting the ../compile/GENERIC directory, and rebuilding . -- Tax reform means Don't tax you, don't tax me, tax that fellow behind the tree. -- Russell Long Rasputin :: Jack of All Trades - Master of Nuns ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building the 5.1 kernel
Thanks for the reply Reply to your comments... MINIBSD - I am presently running regular ole freebsd 5.1. I eventually plan to rebuild the OS for an application. For now it is vanilla flavor freebsd. GENERIC - Agreed if no changes were made the kernel doesn't have to be rebuilt. I used the unchanged GENERIC file to verify the kernel would build before I started making changes. It insures all the files/scripts are in place. Alternative build process: I tried it that way as well. Got the same errors. Hope it helps Andrew On Sep 1, 2004, at 7:59 AM, Adam Smith wrote: On Wed, Sep 01, 2004 at 07:42:46AM -0400, Andrew said: I am trying to rebuild the 5.1 kernel. Using the Freebsd handbook as a guide. I am running freebsd 5.1 and as fyi have been building suse and redhat kernels for a while without problems. But this is my first time building the freebsd kernel) This is what I did. cd /sys/i386/conf config GENERIC -- no changes to the file then per the results of config If no changes were made you don't need to recompile your kernel. cd ../compile/GENERIC then make depend then make All this stuff is not the right way around, at least for FreeBSD, and it looks like you're running MiniBSD(?) of which I know nothing ;) Anyway, this is what I do: cd /usr/src/sys/i386/conf cp GENERIC YOURNEWKERNELFILE vi YOURNEWKERNELFILE cd /usr/src make buildkernel KERNCONF=YOURNEWKERNELFILE make installkernel KERNCONF=YOURNEWKERNELFILE reboot Adam -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building the 5.1 kernel
On Wed, Sep 01, 2004 at 01:24:11PM +0100, Dick Davies said: If no changes were made you don't need to recompile your kernel. Not true - what if there is a bugfix to an existing driver? Oh, of course :) -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building the 5.1 kernel
Andrew, Is there any particular reason you're messing around with 5.1 rather than 5.2.1? Donald J. O'Neill [EMAIL PROTECTED] --- On Wednesday 01 September 2004 06:42 am, Andrew wrote: some stuff I deleted -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]