From owner-freebsd-questions Thu Aug 3 15:53:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.utexas.edu (wb2-a.mail.utexas.edu [128.83.126.136]) by hub.freebsd.org (Postfix) with SMTP id 4D31037B8F5 for ; Thu, 3 Aug 2000 15:53:09 -0700 (PDT) (envelope-from oscars@mail.utexas.edu) Received: (qmail 27009 invoked by uid 0); 3 Aug 2000 22:53:06 -0000 Received: from chepe.cc.utexas.edu (HELO chepe.mail.utexas.edu) (128.83.135.25) by umbs-smtp-2 with SMTP; 3 Aug 2000 22:53:06 -0000 Message-Id: <4.3.2.7.2.20000803174103.00b15e40@mail.utexas.edu> X-Sender: oscars@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 03 Aug 2000 17:49:58 -0500 To: freebsd-questions@freebsd.org From: Oscar Ricardo Silva Subject: kernel build instructions in /usr/src/UPDATING Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been having problems upgrading a system from 4.0 to 4.1. It was suggested that part of the problem is that I'm not following the procedure outlined in /usr/src/UPDATING correctly. I thought that was probably right and so started following the instructions step-by-step. It looks like there's an error in the section To build a kernel ----------------- cd /usr/src # If you have not already done so, please buildworld here # You will also need to update your config file to 4.0. Usually # people tend to start with GENERIC from 4.0 and hack from there. make buildkernel KERNEL= make installkernel KERNEL= # Verify that the new kernel works, it will be installed as # /YOUR_KERNEL_HERE chflags noschg /kernel chflags noschg /YOUR_KERNEL_HERE mv /kernel /kernel.old mv /YOUR_KERNEL_HERE /kernel chflags schg /kernel Well, I upgraded the source code and ran 'make buildworld' and then started following the instructions for building the kernel. 1. make buildworld - ran without a problem and populated /usr/obj 2. Copied /usr/src/sys/i386/conf/GENERIC to /usr/src/sys/i386/conf/newkernel 3. Edited /usr/src/sys/i386/conf/newkernel to reflect my system 4. make buildkernel KERNEL=newkernel - no problem there 5. make installkernel KERNEL=newkernel - no problem there It is at this point that my experience differs from the instructions. It says to: chflags noschg /kernel chflags noschg /YOUR_KERNEL_HERE mv /kernel /kernel.old mv /YOUR_KERNEL_HERE /kernel chflags schg /kernel but it appears that 'make installkernel' already took care of that. There is no /newkernel (using my name for my kernel). Anyway, I then attempted to run 'make installworld' but got the same error as before: vm/vm_pager.h -> vm/vm_pager.ph vm/vm_param.h -> vm/vm_param.ph vm/vm_zone.h -> vm/vm_zone.ph vm/vnode_pager.h -> vm/vnode_pager.ph *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl/utils/h2ph. *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl/utils. *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl. *** Error code 1 Stop in /usr/src/gnu/usr.bin. *** Error code 1 Stop in /usr/src/gnu. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message