From owner-freebsd-current Wed Jun 28 22:14:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from server.baldwin.cx (server.geekhouse.net [64.81.6.52]) by hub.freebsd.org (Postfix) with ESMTP id 3276337C468 for ; Wed, 28 Jun 2000 22:14:06 -0700 (PDT) (envelope-from john@baldwin.cx) Received: from john.baldwin.cx (root@john.baldwin.cx [192.168.1.18]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id WAA00834; Wed, 28 Jun 2000 22:13:52 -0700 (PDT) (envelope-from john@baldwin.cx) Received: (from john@localhost) by john.baldwin.cx (8.9.3/8.9.3) id WAA04745; Wed, 28 Jun 2000 22:14:28 -0700 (PDT) (envelope-from john) Message-Id: <200006290514.WAA04745@john.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 28 Jun 2000 22:14:28 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: Donn Miller Subject: Re: Laptop boot problem in current with GENERIC & GENERIC.hints Cc: "current@FreeBSD.ORG" , Edwin Culp , Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 28-Jun-00 Donn Miller wrote: > On Wed, 28 Jun 2000, Warner Losh wrote: > >> In message <3958C666.F747A99@EnContacto.Net> Edwin Culp writes: >> : int=0000000d err=00000000 eft=00010046 eip=000092eb >> : eax=000000fb ebx=00000000 ecx=00000152 edx=000003f6 >> : esi=000fbc92 edi=000f0000 ebp=000017b4 esp=000017b4 >> : cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb >> : ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00 >> : System halted >> : >> : I copied this manually since I don't have a console on the laptop. >> >> I'd try booting the old kernel and seeing if doing a completely clean >> build fixes this. I'd also try to reboot after power off. > > It looks like the optimization bug that's been biting kernel builds > lately. When Peter Wemm made the overhaul to the kernel config, strange > things started happening when optimization higher than -O was used to > build the kernel. For example, I got a Fatal Trap 12 immediately after > the probe for available memory. I was using -Os to compile my kernel at > the time. Backing down to -O for kernel builds solved this, and boots > proceeded normally. Ok, not directed at you personally, but for future reference: This is a BTX fault. Kernel traps do not look like this. If you see this, you haven't even loaded the kernel yet and thus your problem does not come from the kernel. Since we got into the loader, that means that the loader is b0rked. As per this problem, it was due to a stupid error on my part and is fixed in rev 1.19 of /sys/boot/i386/btx/btx.s. Please update your sources and recompile all of /sys/boot/i386. Thank you. > - Donn -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message