Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2001 09:47:53 -0700
From:      Srinivasan Rajagopal Iyengar <sanatanadharma@home.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   New custom compiled kernel will not install
Message-ID:  <3B62ECB9.714D0A0B@home.com>

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

I updated src and did a make world. Followed that with

# make buildkernel KERNCONF=SRIRANGAM

Everything compiles fine but when I run


make installkernel KERNCONF=SRIRANGAM

I get the following messages.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

cd /usr/obj/usr/src/sys/SRIRANGAM;  MAKEOBJDIRPREFIX=/usr/obj
COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin
LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib
OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  CFLAGS="-nostdinc -O
-pipe "  PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.6.0
GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac MACHINE=i386 make
KERNEL=kernel install
You must set up a /boot/device.hints file first.
*** Error code 1

Stop in /usr/obj/usr/src/sys/SRIRANGAM.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Can anyone please let me know what a 'device.hints' file looks like and
attach a small example? This problem comes up even if I compile the
kernel the 'traditional' way.

My weekly.local file looks like this :

##########################################################################################

#! /bin/sh
echo ===== `date` : Updating /usr/src
echo cd /usr/src
cd /usr/src
cvs update -P -d
#
echo ===== `date` : Rebuilding STABLE
make world
#
echo ===== `date` : Compiling SRIRANGAM kernel
make buildkernel KERNCONF=SRIRANGAM
#
echo ===== `date` : Installing SRIRANGAM kernel
make installkernel KERNCONF=SRIRANGAM
#
echo ===== `date` : Build completed
if [ $? -eq 0 ]; then
echo ===== `date` : SRIRANGAM kernel build completed.
else
echo ===== `date` : SRIRANGAM kernel build failed
fi
###########################################################################################

Thanks,
Srini.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B62ECB9.714D0A0B>