Subject: Re: x86 changes
To: Andrew Doran <ad@NetBSD.org>
From: Mikolaj Golub <to.my.trociny@gmail.com>
List: port-xen
Date: 09/27/2007 10:37:14
On Wed, 26 Sep 2007 20:36:55 +0100 Andrew Doran wrote:

 AD> On Sun, Sep 23, 2007 at 01:36:29PM +0200, Manuel Bouyer wrote:

 >> there is a missing
 >> #include "opt_xen.h" in i386/cpufunc.S
 >> without it the kenrel doesn't build
 >> 
 >> A XEN3_DOM0 kernel fails with:
 >> Loaded initial symtab at 0xc09875e0, strtab at 0xc09ea82c, # entries 23879
 >> panic: kernel diagnostic assertion "doing_shutdown || curlwp != NULL || (map->flags & VM_MAP_INTRSAFE)" failed: file "/dsk/l1/misc/bouyer/current/src/sys/uvm/uvm_map.c", line 1078
 >> Stopped at      netbsd:breakpoint+0x1:  ret

 AD> It looks like curlwp was not set in cpu_info_primary; another problem was
 AD> that curlwp was not being set in cpu_switchto(). I've fixed both of these.

It looks like http://www.netbsd.org/~ad/x86.diff is still old patch. Could you
point where I can find patch with your last fixes to try?

Thanks.

-- 
Mikolaj Golub