From owner-freebsd-questions Sat Jul 28 9:48: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from Kanchipuram.frmt1.sfba.home.com (c63539-a.frmt1.sfba.home.com [24.20.185.145]) by hub.freebsd.org (Postfix) with ESMTP id 09B8C37B401 for ; Sat, 28 Jul 2001 09:48:00 -0700 (PDT) (envelope-from sanatanadharma@home.com) Received: from home.com (localhost.frmt1.sfba.home.com [127.0.0.1]) by Kanchipuram.frmt1.sfba.home.com (8.11.4/8.11.3) with ESMTP id f6SGlrZ40088 for ; Sat, 28 Jul 2001 09:47:53 -0700 (PDT) (envelope-from sanatanadharma@home.com) Message-ID: <3B62ECB9.714D0A0B@home.com> Date: Sat, 28 Jul 2001 09:47:53 -0700 From: Srinivasan Rajagopal Iyengar Organization: Sanatana Dharma X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: New custom compiled kernel will not install Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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