From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 11:22:08 2004 Return-Path: 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 9876916A4CE for ; Thu, 16 Sep 2004 11:22:08 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F69443D39 for ; Thu, 16 Sep 2004 11:22:08 +0000 (GMT) (envelope-from owen.g@onlinehome.de) Received: from [212.227.126.208] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1C7uKv-0000l3-00; Thu, 16 Sep 2004 13:22:01 +0200 Received: from [217.235.111.4] (helo=[192.168.1.250]) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1C7uKu-0004Ib-00; Thu, 16 Sep 2004 13:22:01 +0200 Message-ID: <41497849.1040208@onlinehome.de> Date: Thu, 16 Sep 2004 13:26:01 +0200 From: "Owen.G" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en, en-us MIME-Version: 1.0 To: JohnsoBS@vicksburg.navy.mil, freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:4e7b6bfadbfaa9d59ebe2d9dce9eb48d Subject: Re: make kernel / make installworld failed - Signal 4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 11:22:08 -0000 > -----Original Message----- > Hello all, > > My PC is (or rather until Sunday, WAS) running 5.2.1#9. I edited the > kernel to reflect my installed hardware and add support for the PF > firewall and then did a CVSup for sources - keeping to 5.2.1. This > isn't the first kernel edit and upgrade I've done but as far as I recall > the only changes I made were the "pfi_hooks" (or something similar - for > the PF firewall) and to disable the ata keyboard - I can use USB to a > KVM switch. > > Here's what happened . . . > > # make buildworld - finished OK > # make kernel KERNCONF=EDEN - finished OK > * PC rebooted OK > # make installworld - failed with errors part way through. > * PC failed to reboot. It gets part way through and then reboots. > .. . . > So, at the boot loader prompt: > OK unload > OK load /boot/kernel.save/kernel > OK boot kernel.save -s > .. . . > #mount -a > illegal instruction. Signal 4 > # > > Unloading the kernel and booting into single user mode seems to be OK > and the PATH is correct. > No command except "cd" or "pwd" works, everything fails with "illegal > instruction Signal 4" > > e.g. "ls" or "df" or "mount -a" all fail with "illegal instruction Signal 4" > > Any ideas please. > > Thanks in anticipation, > > Owen > _______________________________________________ JohnsoBS@vicksburg.navy.mil wrote: Sounds like you complete enough of the make installworld to prove fatal. When you backup and use your old kernel its got binaries of a new and old make world. Sadly, only way I ever found to get around that was a full fresh reinstall. If you have another machine you could possibly complete the entire build process on it, boot up with the new kernel, and then run a make installworld from the /usr/obj of the other machine. Just make sure to specify the proper runtime compile options as the install will fail if you compile for a specific arch that doesn't match. _______________________________________________ Thanks, I'll leave the PC until 5.Stable comes out then. I hadn't got past the stage of failing to get kde 3.3 to work under xorg in any case! I don't know what went wrong in the build/upgrade process so I'd be suprised if it was something in the sources because I upgraded to 5.2.1#2 and then #9 both with custom kernels before making the most recent edits (and it all going wrong). Owen