Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine

2005-11-08 Thread John Baldwin
On Monday 07 November 2005 08:38 pm, Vaibhave Agarwal wrote: > On Mon, 7 Nov 2005, John Baldwin wrote: > > And even then it can't be used for any device interrupts since there > > aren't any I/O APICs. On a UP machine without I/O APICs, it's actually > > probably more optimal to just use irq0 and

Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine

2005-11-07 Thread Vaibhave Agarwal
On Mon, 7 Nov 2005, John Baldwin wrote: > And even then it can't be used for any device interrupts since there aren't > any I/O APICs. On a UP machine without I/O APICs, it's actually probably > more optimal to just use irq0 and irq8 for clocks rather than the lapic timer > anyway. The only

Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine

2005-11-07 Thread John Baldwin
On Sunday 06 November 2005 05:44 pm, Nate Lawson wrote: > Vaibhave Agarwal wrote: > > On Sun, 6 Nov 2005, John Baldwin wrote: > >>We don't detect the local APIC via MSR's or the APIC bit in cpu_features, > >> but rely on a working MP Table or MADT table to setup both the local > >> APIC(s) and I/O

Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine

2005-11-07 Thread Joseph Koshy
"jb" == "John Baldwin" said: jb> We don't detect the local APIC via MSR's or the APIC bit in jb> cpu_features, but rely on a working MP Table or MADT table jb> to setup both the local APIC(s) and I/O APIC(s). Unfortunately not having the APIC enabled in the BIOS also means that we cannot use

Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine

2005-11-06 Thread Nate Lawson
Vaibhave Agarwal wrote: On Sun, 6 Nov 2005, John Baldwin wrote: We don't detect the local APIC via MSR's or the APIC bit in cpu_features, but rely on a working MP Table or MADT table to setup both the local APIC(s) and I/O APIC(s). Does your machine have a valid MP Table or an APIC table in

Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine

2005-11-06 Thread Vaibhave Agarwal
On Sun, 6 Nov 2005, John Baldwin wrote: > We don't detect the local APIC via MSR's or the APIC bit in cpu_features, but > rely on a working MP Table or MADT table to setup both the local APIC(s) and > I/O APIC(s). Does your machine have a valid MP Table or an APIC table in its > acpidump? Ma

Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine

2005-11-06 Thread John Baldwin
On Sunday 06 November 2005 07:06 am, Vaibhave Agarwal wrote: > hi, > > FreeBSD 6.0 always uses local APIC for the clock. > > But on my Pentium 3, 850 MHz machine, it doesnt detect local APIC and > falls back to using the motherboard clock for the clock interrupts. > > I figured this out by printing

Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine

2005-11-06 Thread Vaibhave Agarwal
hi, FreeBSD 6.0 always uses local APIC for the clock. But on my Pentium 3, 850 MHz machine, it doesnt detect local APIC and falls back to using the motherboard clock for the clock interrupts. I figured this out by printing the value of "using_lapic_timer" variable in the sys/i386/isa/clock.c fi