Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 11:18:00 -0800
From:      David O'Brien <obrien@FreeBSD.ORG>
To:        freebsd-current@freebsd.org
Subject:   Re: 5-CURRENT totally broken on AMD64 in 32-bit mode
Message-ID:  <20031118111800.A99760@hub.freebsd.org>
In-Reply-To: <20031117181203.GA86840@dragon.nuxi.com>; from obrien@freebsd.org on Mon, Nov 17, 2003 at 10:12:03AM -0800
References:  <20031117181203.GA86840@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<enter>' 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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031118111800.A99760>