Last update: $Date: 1999/08/11 14:57:29 $
This patch is intended for testing only. The kernel with this patch can be compiled and booted in the 4.0-current or 3.1-RELEASE system, but has some limitations:
# cd /usr/src/
# mv sys sys.ORG
# mv include include.ORG
# tar xzvf somewhere/sys4c990410.tar.gz
# cd /usr/src
# zcat somewhere/newconf_30_981225.diff.gz | patch -p1
Check if the patch has been applied correctly.
# find . -name '*.rej' -print
# cd /usr/src/usr.sbin/config.new
# make
# make install BINDIR=/usr/sbin
Do not forget to rehash if you use csh and friends.
/usr/src/sys/i386/conf/NEWCONF (for PC)
/usr/src/sys/pc98/conf/NEWCONF98 (for NEC PC98)
The syntax is different from that of conventional config,
so please refer to the supplied samples.
Note: You cannot use UserConfig with newconfig yet.
# cd /usr/src/i386/conf
# cp NEWCONF MYCONF
# vi MYCONF
# config.new MYCONF
# cd ../../compile/MYCONF
# make depend
# make
# cd /usr/src/sys/boot
# make
# make install
If the compiler complains about -Os in /usr/src/sys/boot/i386/boot2
directory. Try to change the `-Os' option to `-O'.
# cd /usr/src/sys/compile/MYCONF
# cp kernel /kernel.newconf
(probe14:ncr0:0:15:0): COMMAND FAILED (6 ff) @0xf085de00.but they are because of hard coding and can be safely ignored.