From owner-freebsd-questions Sat Jul 28 12:20:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from maild.telia.com (maild.telia.com [194.22.190.101]) by hub.freebsd.org (Postfix) with ESMTP id 7CC0E37B406 for ; Sat, 28 Jul 2001 12:20:14 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maild.telia.com (8.11.2/8.11.0) with ESMTP id f6SJKCs20052 for ; Sat, 28 Jul 2001 21:20:12 +0200 (CEST) Received: from ertr1013.student.uu.se (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id VAA27956 for ; Sat, 28 Jul 2001 21:20:11 +0200 (CEST) Received: (qmail 57513 invoked by uid 1001); 28 Jul 2001 19:19:18 -0000 Date: Sat, 28 Jul 2001 21:19:17 +0200 From: Erik Trulsson To: Srinivasan Rajagopal Iyengar Cc: freebsd-questions@FreeBSD.ORG Subject: Re: New custom compiled kernel will not install Message-ID: <20010728211917.A56997@student.uu.se> Mail-Followup-To: Srinivasan Rajagopal Iyengar , freebsd-questions@FreeBSD.ORG References: <3B62ECB9.714D0A0B@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B62ECB9.714D0A0B@home.com> User-Agent: Mutt/1.3.20i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message