Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2003 10:31:45 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        wade <wade@wavefire.com>
Cc:        FBSD-STABLE <freebsd-stable@freebsd.org>
Subject:   Re: 4.7-5.0 upgrade woes.
Message-ID:  <20030109073145.GA37848@ns2.wananchi.com>
In-Reply-To: <3.0.32.20030108163721.01fea580@mail.wavefire.com>
References:  <3.0.32.20030108163721.01fea580@mail.wavefire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* wade <wade@wavefire.com> [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.	<make sure you have good level 0 dumps>
2.      <maybe fix /etc/fstab> # 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.      <reboot in single user>

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
        <reboot>

Hope that helps.


-Wash

-- 
Odhiambo Washington   <wash@wananchi.com>  "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030109073145.GA37848>