From owner-freebsd-questions@FreeBSD.ORG Sat Jun 11 16:13:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECC0C16A41C for ; Sat, 11 Jun 2005 16:13:02 +0000 (GMT) (envelope-from dvorakv@vdsoft.org) Received: from mail.vdsoft.org (poseidon.vdsoft.org [193.85.147.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9150343D1D for ; Sat, 11 Jun 2005 16:13:02 +0000 (GMT) (envelope-from dvorakv@vdsoft.org) Received: from [10.0.0.132] (laptop.home.deltaeng.com [10.0.0.132]) by mail.vdsoft.org (Postfix) with ESMTP id 6969947E011; Sat, 11 Jun 2005 18:12:57 +0200 (CEST) Message-ID: <42AB0D95.90503@vdsoft.org> Date: Sat, 11 Jun 2005 18:13:09 +0200 From: Vladimir Dvorak User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Keyser References: <006101c56e8e$51275230$5b01a8c0@mdis> In-Reply-To: <006101c56e8e$51275230$5b01a8c0@mdis> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: make installkernel fails instantly w/ signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 16:13:03 -0000 Keyser wrote: >In an effort to get the simplest of compiled c++ programs (compiled with g++) to actually run without a segfault on my box I'm trying to update everything. So I cvsup'd src-all and ports-all. Then I did: > >make -j4 buildworld (which worked) >make -DALWAYS_CHECK MAKE buildkernel (which also worked) > >However, then when I try to installkernel I get a signal 11 immediately as shown below. I've tried it in single user mode with the same result. Not sure what I'm doing wrong? I've read signal 11 is usually caused by hardware issues but it seems strange this box could build both world and kernel without any problems if that were the case. > >vitoc# cd /usr/src >vitoc# pwd >/usr/src >vitoc# ls >COPYRIGHT UPDATING gnu rescue usr.bin >LOCKS bin include sbin usr.sbin >MAINTAINERS contrib kerberos5 secure >Makefile crypto lib share >Makefile.inc1 etc libexec sys >README games release tools >vitoc# make -DALWAYS_CHECK_MAKE installkernel >-------------------------------------------------------------- > > >>>>Making hierarchy >>>> >>>> >-------------------------------------------------------------- >cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin /usr/obj/usr/src/make.i386/make -f Makefile.inc1 hierarchy >cd /usr/src/etc; /usr/obj/usr/src/make.i386/make distrib-dirs >mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p / >mtree -eU -f /usr/src/etc/mtree/BSD.var.dist -p /var >*** Signal 11 > >Stop in /usr/src/etc. >*** Error code 1 > >Stop in /usr/src. >*** Error code 1 > >Stop in /usr/src. >*** Error code 1 > >Stop in /usr/src. >vitoc# > >I've literally done everything "by the book" but maybe I've missed something obvious to someone else? > > Cut and pasted from /usr/src/Makefile - - - CUT - - - # Make sure we have an up-to-date make(1). Only world and buildworld # should do this as those are the initial targets used for upgrades. # The user can define ALWAYS_CHECK_MAKE to have this check performed # for all targets. # - - - CUT - - - Try make and install kernel without -DALWAYS_CHECK_MAKE. Vladimir Dvorak