0/R110h-1 (dmesg is attached). On this
> > > machine, our kernel panics with following message.
> > >
> > > cpu0 at mainbus0panic: cpu at apic id 0 already attached?
> > >
> > > This seems to happen since x2APIC on the machine is enabled by BIOS
> &g
>> cpu0 at mainbus0panic: cpu at apic id 0 already attached?
>>
>> This seems to happen since x2APIC on the machine is enabled by BIOS
>> and the kernel doesn't assume that. The diff makes the kernel use
>> x2APIC if it is enabled by BIOS.
>>
>> o
1 (dmesg is attached). On this
> > > machine, our kernel panics with following message.
> > >
> > > cpu0 at mainbus0panic: cpu at apic id 0 already attached?
> > >
> > > This seems to happen since x2APIC on the machine is enabled by BIOS
> >
t; > cpu0 at mainbus0panic: cpu at apic id 0 already attached?
> >
> > This seems to happen since x2APIC on the machine is enabled by BIOS
> > and the kernel doesn't assume that. The diff makes the kernel use
> > x2APIC if it is enabled by BIOS.
> >
>
t; This seems to happen since x2APIC on the machine is enabled by BIOS
> and the kernel doesn't assume that. The diff makes the kernel use
> x2APIC if it is enabled by BIOS.
>
> ok?
>
This should go in snaps, or wait for reports from tech@ with test results
before it should
the machine is enabled by BIOS
> and the kernel doesn't assume that. The diff makes the kernel use
> x2APIC if it is enabled by BIOS.
>
> ok?
the code looks ok, but ...
>
> Index: sys/arch/amd64/amd64/lapic.c
> ==
chine, our kernel panics with following message.
> >
> > cpu0 at mainbus0panic: cpu at apic id 0 already attached?
> >
> > This seems to happen since x2APIC on the machine is enabled by BIOS
> > and the kernel doesn't assume that. The diff makes the kernel use
> > x2API
ached?
>
> This seems to happen since x2APIC on the machine is enabled by BIOS
> and the kernel doesn't assume that. The diff makes the kernel use
> x2APIC if it is enabled by BIOS.
>
> ok?
is the APICBASE msr available on all amd64 machines? If not, it will
need to be
that. The diff makes the kernel use
x2APIC if it is enabled by BIOS.
ok?
Index: sys/arch/amd64/amd64/lapic.c
===
RCS file: /cvs/src/sys/arch/amd64/amd64/lapic.c,v
retrieving revision 1.44
diff -u -p -r1.44 lapic.c
--- sys/arch/amd64/amd