RE: New interrupt stuff breaks ASUS 2 CPU system

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 04 Nov 2003 10:38:12 -0500 (EST)
On 04-Nov-2003 Harti Brandt wrote:
> 
> Hi,
> 
> I have an ASUS system with 2 CPUs that I need to run at HZ=10000. This
> worked until yesterday, but with the new interrupt code it doesn't boot
> anymore. It works for the standard HZ, but if I set HZ=1000 I get a double
> fault. I suspect a race condition in the interrupt handling. My config
> file has
> 
> options SMP
> device apic
> options HZ=1000

Ok, I can try to reproduce.

> Device configuration finished.
> Timecounter "TSC" frequency 1380009492 Hz quality -100
> Timecounters cpuid = 0; apic id = 00
> instruction pointer   = 0x8:0xc048995d
> stack pointer         = 0x10:0xc0821bf4
> frame pointer        cpuid = 0; apic id = 00
> 
> 0xc048995d is in critical_exit. It is the jmp after the popf from
> cpu_critical_exit.

This is where interrupts are re-enabled, so you are getting an interrupt.
It might be helpful to figure what type of fault you are actually getting.

-- 

John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Received on Tue Nov 04 2003 - 06:38:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:27 UTC