Re: use x2apic if it is enabled by BIOS

2016-10-17 Thread Mark Kettenis
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

Re: use x2apic if it is enabled by BIOS

2016-10-16 Thread YASUOKA Masahiko
>> 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

Re: use x2apic if it is enabled by BIOS

2016-10-15 Thread Mike Larkin
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 > >

Re: use x2apic if it is enabled by BIOS

2016-10-15 Thread sf
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. > > >

Re: use x2apic if it is enabled by BIOS

2016-10-14 Thread Mike Larkin
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

Re: use x2apic if it is enabled by BIOS

2016-10-14 Thread sf
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 > ==

Re: use x2apic if it is enabled by BIOS

2016-10-14 Thread Stefan Fritsch
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

Re: use x2apic if it is enabled by BIOS

2016-10-14 Thread Mark Kettenis
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

use x2apic if it is enabled by BIOS

2016-10-14 Thread YASUOKA Masahiko
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