Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2000 23:34:53 +0800
From:      Chan Tur Wei <twchan@singnet.com.sg>
To:        freebsd-stable@FreeBSD.ORG
Cc:        "H . S . YOON" <tsoi@xocah.dhs.org>
Subject:   Re: succeed. -_-;;
Message-ID:  <4.3.1.2.20000801232908.00ae46f0@zaapth>
In-Reply-To: <20000801210429.A43796@xocah.dhs.org>
References:  <75ADD7496F0BD211ADC000104B8846CF012CEEA3@rerun.lucentctc.com> <75ADD7496F0BD211ADC000104B8846CF012CEEA3@rerun.lucentctc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Like you, I also initially skipped the following marked lines from /usr/src/UPDATING:

         make buildkernel KERNEL=<YOUR_KERNEL_HERE>
         make installkernel  KERNEL=<YOUR_KERNEL_HERE>
         # 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                <---

"make installkernel" simply copies the built kernel into /MYKERNEL, and so those marked lines above are needed to (a) zap the old kernel away (actually, just renamed as /kernel.old) and then (b) copy the new kernel in.

If you didn't do those steps, you'll simply be running the OLD kernel which in most cases will be the GENERIC or worse yet, your old 3.x kernel.


Hope this helps,

   -T.W.Chan-

At 09:04 PM 8/1/00 +0900, H . S . YOON wrote:
>I succeeded!
>
>My step is like this..
>
>1. CVSuped to RELENG_4  && 'CFLAGS= -O -pipe' 'USA_RESIDENT=NO' 
>in /etc/make.conf ( i'm not an American )
>
>2. cd /usr/src ; make buildworld
>
>3. cd /usr/src/sys/i386/conf ; cp GENERIC MYKERNEL && configure MYKERNEL ;
>    cd /usr/src ; make buildkernel KERNEL=MYKERNEL ; 
>    make installkernel KERNEL=MYKERNEL
>
>4. cd /usr/src/sys/modules ; make install --> failed but i skipped this step
>
>5. cd /usr/src/sbin/mknod ; make install ; make install
>
>6. cp /usr/src/etc/MAKEDEV /dev ; sh MAKEDEV all ; ( MAKEDEV your own slice. see your own /etc/fstab ) ; change 'wd' to 'ad' in /etc/fstab 
>
>7. reboot to single user ( boot -s ) ; 
>    mount your partition with rw ( ex. /, /usr, /var, /home, etc. ) 
>
>8. cd /usr/src/gnu/usr.bin/texinfo/install-info ; make install
>
>9. cd /usr/src ; make installworld
>( if happen any ld-elf.so warning, do 'ldconfig -R /usr/obj/usr/src/lib/libc' 
>and 'make installworld' again. )
>
>10. mergemaster
>
>11. reboot( to nomal booting ) 
>
>
>This is the steps are described in /usr/src/UPDAING. -_-;
>Thanx for all who have given his hands to me. 
>
>Best regards,
>Tsoi.
>
>
>Thus spake Cambria, Mike (mcambria@lucent.com) :::::
>
>: I agree.  I just updated 2 machines last night.  A Pentium from 3.5-Stable
>: and a PIII from 3.4-Stable.  I had the make installworld problem on both,
>: but UPDATING expected the exact problem I had and suggested using ldconfig,
>: then redoing installworld.
>: 
>: The only other snag I hit (on both systems) was on the "make install" step
>: for /usr/src/sys/modules.  I hit a problem many others had on the -stable
>: mailing list.  I haven't seen an "official" answer on the list yet.  What I
>: did was just skipped this step until I was done with everything else.  Then
>: running 4.1-Stable in multiuser mode, I simply went into
>: /usr/src/sys/modules, did make, then make install.
>: 
>: MikeC
>: 
>: Michael C. Cambria              AVAYA Communication
>:                                     Formerly Lucent Technologies Enterprise
>: Networks Group 
>:    Voice: (978) 287 - 2807      300 Baker Avenue
>:      Fax: (978) 287 - 2810      Concord, Massachusetts 01742
>: Internet: mcambria@avaya.com <mailto:mcambria@avaya.com> 
>
>-- 
>no signature
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-stable" in the body of the message



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?4.3.1.2.20000801232908.00ae46f0>