From owner-freebsd-current@FreeBSD.ORG Tue Nov 18 11:18:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id 5BF5B16A4CF; Tue, 18 Nov 2003 11:18:00 -0800 (PST) Date: Tue, 18 Nov 2003 11:18:00 -0800 From: David O'Brien To: freebsd-current@freebsd.org Message-ID: <20031118111800.A99760@hub.freebsd.org> References: <20031117181203.GA86840@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031117181203.GA86840@dragon.nuxi.com>; from obrien@freebsd.org on Mon, Nov 17, 2003 at 10:12:03AM -0800 X-Operating-System: FreeBSD 4.9-PRERELEASE Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Subject: Re: 5-CURRENT totally broken on AMD64 in 32-bit mode X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 19:18:00 -0000 On Mon, Nov 17, 2003 at 10:12:03AM -0800, David O'Brien wrote: > The kernel changes of the past week has totally turned my AMD64 machine > that I use in 32-bit mode running FreeBSD/i386 (GENERIC): > > OK boot -v > cpuid = 0; apic id = 00 > instruction pointer = 0x0:0xa00 > stack pointer = 0x0:0xffe > frame pointer = 0x0:0x0 > code segment = base 0x0, limit 0x0, type 0x0 > = DPL 0 , pres 0, def32 0, gran 0 > processor eflags = interrupt enabled, vm86, IOPL = 0 > cuyrrent process = 0 () > kernel: type 30 trap, code=0 > Stopped at 0xa00: cli > db> tr > (null)(0,0,0,0,0) at 0xa00 You get a panic (trap 30) that you can hit 'c' and continue from. It's actually only a trap, not a panic. I am trying to figure out the exact problem now. It seems that the vm86 code is very buggy and enables interrupts during the early boot. You can try http://www.FreeBSD.org/~jhb/patches/vm86.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/