Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2001 21:19:17 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Srinivasan Rajagopal Iyengar <sanatanadharma@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: New custom compiled kernel will not install
Message-ID:  <20010728211917.A56997@student.uu.se>
In-Reply-To: <3B62ECB9.714D0A0B@home.com>
References:  <3B62ECB9.714D0A0B@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 28, 2001 at 09:47:53AM -0700, Srinivasan Rajagopal Iyengar wrote:
> 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.


It looks like you got the source for -CURRENT rather than -STABLE.
'device.hints' doesn't exist in 4.x, only in 5.x
Get the correct sources and try again.



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se


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?20010728211917.A56997>