Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: init receiving SIGILL on XEN3_DOM0/amd64



On Tue, May 27, 2008 at 01:28:05PM +0100, Andrew Doran wrote:
> On Tue, May 27, 2008 at 01:31:21PM +0200, Christoph Egger wrote:
> 
> > > I see this, too on AMD CPU. I tracked this down to when start_init()
> > > returns to lwp_trampoline which in turn returns to Xosyscall.
> > > Xosyscall wants to send SIG 4 to pid 1 (no idea why)
> > > and calls trap for this.
> > > In trap a page fault happens which in turn leads into an
> > > endless loop of traps into ddb.
> > 
> > start_init() returns to lwp_trampoline which in turn jmp into Xosyscall.
> > 
> > Xosyscall notices an AST is pending and calls trap. trap sends SIG 4
> > to pid 1 (init).
> > 
> > Hope, that helps someone understanding the code better than I do
> > to fix this.
> 
> Does this patch have any impact?
> 
>       http://www.netbsd.org/~ad/vm_machdep.c.diff

Cleared it right up. Thank you for getting to the bottom of this one :)

James


Home | Main Index | Thread Index | Old Index