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 Sun, May 18, 2008 at 09:32:32PM +1000, James Laird wrote:

> On Sun, May 18, 2008 at 01:14:34PM +0200, Manuel Bouyer wrote:
> > On Sun, May 18, 2008 at 01:09:54PM +0200, Christoph Egger wrote:
> > > What are the normal conditions where the kernels sends SIGILL to userland?
> > 
> > When the CPU sends an illegal intruction trap, I guess.
> Turning on debugging in arch/amd64/amd64/trap.c (TRAP_SIGDEBUG) would confirm 
> that:
> pid 1 (init): ILL at rip 7f7ffde03670 addr 7f7fffffffd8
> rip 0x7f7ffde03670  rsp 0x7f7fffffde98  rfl 0x202

The address for %rip looks really suspicious. It might be worthwhile dumping
init's vm_map to see what lies at that address. I can't remember exactly how
to do that from ddb, some variant of 'ps' should give you the vmspace, and
there is a 'show map' command I think.


Home | Main Index | Thread Index | Old Index