Port-i386 archive

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

Re: Xeon X3430 = immediate panic



On Mon, Nov 30, 2009 at 06:12:54PM +0100, Christoph Egger wrote:
> > How do they do that? Do they modify interrupt vector 13 so it
> > doesn't panic the kernel but instead sets some variable?
> 
> Linux and Xen have a rdmsr_safe and wrmsr_safe function
> which sets up a 'fixup' section where the cpu jumps to on #GP.
> The rdmsr_safe/wrmsr_safe return failure in that case.

How hard is it to implement something like that in NetBSD? The FreeBSD
code which does this looks straightforward. But I don't know enough
about IDT handling in NetBSD.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index