From owner-freebsd-questions@FreeBSD.ORG Fri Mar 31 19:18:04 2006 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 EE62316A400 for ; Fri, 31 Mar 2006 19:18:04 +0000 (UTC) (envelope-from ciscoaix@yahoo.com) Received: from web52707.mail.yahoo.com (web52707.mail.yahoo.com [206.190.48.230]) by mx1.FreeBSD.org (Postfix) with SMTP id C030043D6E for ; Fri, 31 Mar 2006 19:17:28 +0000 (GMT) (envelope-from ciscoaix@yahoo.com) Received: (qmail 58726 invoked by uid 60001); 31 Mar 2006 19:17:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vYaQutYSOCWPqAufyNkZdud4MKVznNZ1uDytH/7az2YIq7yBgK970a9f/dTumTqz0RNSapFXbc5tQ2sD6J7mlyehneuOMezELxIsQP+OM2ZT9YFlpzD36dz7+ZCmfoNrhe5UyImiuZaUbln9cW0tI70vAAa/JQrdN9aZcEq965s= ; Message-ID: <20060331191728.58724.qmail@web52707.mail.yahoo.com> Received: from [71.193.133.190] by web52707.mail.yahoo.com via HTTP; Fri, 31 Mar 2006 11:17:28 PST Date: Fri, 31 Mar 2006 11:17:28 -0800 (PST) From: Kris Anderson To: Paul Wilson , freebsd-questions@freebsd.org In-Reply-To: <3c3d11cf0603310948sea5db12y972e04b6941558e3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Crash During FreeBSD compilation has left system unbootable 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: Fri, 31 Mar 2006 19:18:05 -0000 --- Paul Wilson wrote: > While working on a FreeBSD modification, during > compiling it, the system > hung completely. > It was actually during the 'make install' stage, > make had finished by this > point. > I had just added 'device atapicam' to my config file > also (i doubt that's > relevant tho?). > > Upon reboot, none of my back-up kernels now boot. > When I boot the half > compiled > kernel I get: > > ------------------------- > When loading required module 'pci' > int = 000 .... err = 0.... efl = 000.... > [etc...] > > BTX Halted. > ------------------------- > > When trying to boot my back up kernels, I get this > error straight away: > > -------------------------- > Fatal Trap 18: integer divide fault while in kernel > mode. > > intruction pointer = 0x20 : 0xc064f37a > stack pointer = 0x28 : 0xc0c20c84 > frame pointer = 0x28 : 0xc0c20c94 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL, pres1, def32 > > processor eflags = interrupt enabled, resume, IOPL = > 0 > current process = 0() > [thread pid 0 tid 0] > Stopped at link_elf_lookup_symbol+0x16: divl 0x54 > (%ebx), % eax > > db> trace > Tracing pid 0 tid 0 td 0xc09322c0 > link_elf_lookup_symbol(c2275c00, c2255a60, c0c20cc0, > c2255a60, 1c) at > link_elf_lookup_symbol 0x56 > > link_elf_lookup_set(c2275c00, c0874da6, c0c20d4c, > c0c20d50,0) at > link_elf_lookup_set+0x56 > > link_file_lookup_set(c2275c00, c0874da6, c0c20d4c, > c0c20d50,0) at > link_file_lookup_set+0x54 > > linker_preload(0, c1ec00, c1e000,0,c0445255) at > linker_preload + 0c1c3 > > mi_startup() at mi-startup + 0x96 > > begin() at begin +0x2c > > db> > -------------------------- > > I'd greatly appreciate if anyone can tell me if I > can recover from this > problem or if it's completely lost. > > Thanks in advance, > Paul None of your kernels? Found this in the handbook - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-trouble.html You might also want to see if you have a rescue disk handy, the worst case you can do a reinstall of just the kernel items and their sources. Hope that helps. ~mr. anderson __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com