From owner-freebsd-i386@FreeBSD.ORG Fri Jun 10 10:40:09 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C52C106566B for ; Fri, 10 Jun 2011 10:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 251C08FC08 for ; Fri, 10 Jun 2011 10:40:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5AAe8Rv039946 for ; Fri, 10 Jun 2011 10:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5AAe8Lf039945; Fri, 10 Jun 2011 10:40:08 GMT (envelope-from gnats) Date: Fri, 10 Jun 2011 10:40:08 GMT Message-Id: <201106101040.p5AAe8Lf039945@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Guido Falsi Cc: Subject: Re: i386/151122: [boot] BTX 1.02 crashes on boot X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Guido Falsi List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 10:40:09 -0000 The following reply was made to PR i386/151122; it has been noted by GNATS. From: Guido Falsi To: bug-followup@FreeBSD.org, renato.camarao@gmail.com Cc: Subject: Re: i386/151122: [boot] BTX 1.02 crashes on boot Date: Fri, 10 Jun 2011 11:57:48 +0200 I performed some more testing following suggestions from John Baldwin. Inserting simple loops in btxldr (foo: jmp foo) made the system hang anyway, even when adding the loop as first statement in btxldr. It looks like something times out, but this is just a conjecture. I tested booting the kernel directly from boot2, bypassing loader, as described in boot(8) and got this erro from BTX: / FreeBSD/x86 boot Default: 0:ad(0,a)/boot/loader boot: 0:da(0,a)/boot/kernel/kernel-_ int=00000006 err=00000000 efl=00010002 eip=23ec42c6 eax=0018e070 ebx=00000000 ecx=00000000 edx=a0500004 esi=ffff6000 edi=0018e070 ebp=000003fa esp=00210608 cs=0008 ds=0010 es=0010 fs=0010 gs=0010 ss=0010 cs:eip=ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff es:esp=d9 03 00 00 00 00 00 00-00 00 00 00 00 00 20 00 40 00 60 00 8d 64 24 00-55 4e 44 49 16 1d 00 00 BTX halted (-_ should be in the same spot. - is the spinning thing, _ is the cursor) After this I start thinking that real blame should go on boot2, loader being just a victim. I'm trying to figure out how boot2 works, but it's a whole new world to me. -- Guido Falsi