From owner-freebsd-stable Wed Jan 8 23:32:52 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB9AE37B401 for ; Wed, 8 Jan 2003 23:32:49 -0800 (PST) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBB1343E4A for ; Wed, 8 Jan 2003 23:32:46 -0800 (PST) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com (Exim 4.10.11 #2 (FreeBSD)) protocol: local id 18WXAH-000CSr-00 ; Thu, 09 Jan 2003 10:31:45 +0300 Date: Thu, 9 Jan 2003 10:31:45 +0300 From: Odhiambo Washington To: wade Cc: FBSD-STABLE Subject: Re: 4.7-5.0 upgrade woes. Message-ID: <20030109073145.GA37848@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , wade , FBSD-STABLE References: <3.0.32.20030108163721.01fea580@mail.wavefire.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.32.20030108163721.01fea580@mail.wavefire.com> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: BOO! We changed Coke again! BLEAH! BLEAH! X-Operating-System: FreeBSD 4.7-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.1i (2002-05-02) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 10:15AM up 18:01, 4 users, load averages: 0.51, 0.51, 0.49 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * wade [20030109 03:44]: wrote: > How did you make out with the error: > /usr/obj/usr/src/bin/sh/sh -c 'echo "Testing installed kernel for new > sigaction(2) syscall"' > Bad system call (core dumped) > > I got to that point, but had little luck with UPGRADING or the other > comments in the -STABLE list. > > Thanx in advance for any input you offer. > -Wade Hello Wade, I have just managed to reboot into 5.0-CURRENT a few minutes back. Not that I have enough hair to pull off my head nor because I any sharp but I installed 5.0-CURRENT because FreeBSD is my chosen OS and so I need to try and keep up with the pace and because I'm told 5.0-RELEASE would be damn fast. I am not any competent to comment on the bleeding edge. Anyway, those aside, the procedure I followed, is documented in UPDATING, but I kind of discovered that some step is missing, and that is why I was getting stuck. Here is how I did it: 1. 2. # Mine was okay as in 4.7 3. make buildworld -DNO_WERROR 4. make buildkernel KERNCONF=YOUR_KERNEL_HERE -DNO_WERROR 5. cp src/sys/${MACHINE}/conf/GENERIC.hints /boot/device.hints 6. make installkernel KERNCONF=YOUR_KERNEL_HERE 7. cd src/sys/boot ; make install 8. Here you should boot the kernel in /boot/kernel/kernel. This is a VERY IMPORTANT step, else installworld will complain about the kernel. So before booting to single user mode, do unload kernel && load /boot/kernel/kernel && boot -s, then fsck -p mount -u / mount -a adkerntz -i cd /usr/src/usr.sbin/mergemaster && make install 9. mergemaster -p rm -rf /usr/include/g++ make installworld mergemaster Hope that helps. -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) Q: Do you know what the death rate around here is? A: One per person. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message