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 04:13:23PM +0000, Stephen Borrill wrote:
> > For instance, from my reading of the analogous coretemp code in
> > Linux, you'll just get a warning as the MSR is unavailable.
> 
> 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.

Christoph


Home | Main Index | Thread Index | Old Index