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:57:35PM +1000, Abrasive wrote:
> On Sun, May 18, 2008 at 01:43:04PM +0200, Christoph Egger wrote:
> > Manuel Bouyer wrote:
> > >On Sun, May 18, 2008 at 01:09:54PM +0200, Christoph Egger wrote:
> > >>Manuel Bouyer wrote:
> > >>What are the normal conditions where the kernels sends SIGILL to userland?
> > >
> > >When the CPU sends an illegal intruction trap, I guess.
> > >
> > 
> > In that case, I have a wild guess:
> > sysenter is an illegal opcode on amd64. The difference is, AMD CPUs 
> > throw an exception, Intel CPUs don't.
> > Is sysenter used somewhere?
> 
> I can't find it anywhere in sys/arch except for header constants, so I would 
> guess the answer is No.

It's in userland, so it may not appear in kernel headers. Actually it's
used under some conditions in src/lib/libc/arch/i386/SYS.h

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index