|
News,
Internal,
Projects,
Home Software, Support, Documentation |
안녕하십니까
조립서버에 CPU가 2개가 달려있습니다.
그래서 커널설정에 SMP, APIC_IO 주석을 풀고 커널 컴파일을 했습니다.
재부팅 하니 잘 되더군요.
dmesg 내용의 일부를 보면
...
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000
cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec00000
io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000
...
...
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin
2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
...
SMP: AP CPU #1 Launched!
...
위와 같은 식으로 나옵니다
CPU가 2개라면 맨 아래 SMP: AP CPU #1 Launched! 부분에 CPU #2 Launched라는
식으로 나오던지 해야하는지요?
위의 APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0
intpin 2 메세지도 뭔가 문제가 있는 합니다만 하여튼 부팅은 됩니다만
이것이 제대로 SMP로 동작을 하는지를 모르겠습니다.
인터넷에서 뒤져보니 SMP가 동작하는지 보려면 mptable을 했을때 irq가 24번까지
보이고 또 /usr/port/sysutils/x86info를 설치해서 제대로 되야 한다는데
둘다 해보니 둘다 제대로 안되었습니다.
현재의 상황이 제대로 동작하지 않는 것이라면 어떻게 해야 SMP로 동작을 할까요?
아래의 mptable 실행시킨 내용과 x86info 실행시켰을때의 내용입니다.
MP Config Base Table Entries:
--
Processors: APIC ID Version State Family Model Step
Flags
0 0x11 BSP, usable 6 11 1
0x383fbff
1 0x11 AP, usable 6 11 1
0x383fbff
--
Bus: Bus ID Type
0 PCI
1 PCI
2 ISA
--
I/O APICs: APIC ID Version State Address
4 0x11 usable 0xfec00000
5 0x11 usable 0xfec01000
--
I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
INT active-lo level 0 9:A 5 15
INT active-lo level 1 4:B 5 11
INT active-lo level 1 4:B 5 11
INT active-lo level 0 15:A 4 10
INT active-lo level 0 8:A 5 14
INT active-lo level 0 7:A 5 13
INT active-lo level 1 4:A 5 10
ExtINT active-hi edge 2 0 4 0
INT active-hi edge 2 1 4 1
INT active-hi edge 2 0 4 2
INT active-hi edge 2 3 4 3
INT active-hi edge 2 4 4 4
INT active-hi edge 2 6 4 6
INT active-hi edge 2 7 4 7
INT active-hi edge 2 8 4 8
INT active-hi edge 2 12 4 12
INT active-hi edge 2 13 4 13
INT active-hi edge 2 14 4 14
INT active-hi edge 2 15 4 15
--
Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
ExtINT active-hi edge 2 0 255 0
NMI active-hi edge 0 0:A 255 1
여기서부터는 x86info 내용 --------------------------------------------
Found 2 CPUs
CPU #1
/dev/cpu/0/cpuid: No such file or directory
Family: 6 Model: 11 Stepping: 1 Type: 0
CPU Model: Celeron / Pentium III (Tualatin) [tA1/cA2] Original OEM
CPU #2
Family: 6 Model: 11 Stepping: 1 Type: 0
CPU Model: Celeron / Pentium III (Tualatin) [tA1/cA2] Original OEM
WARNING: Detected SMP, but unable to access cpuid driver.
Used single CPU routines. Results inaccurate.
Yi Mincheol <http://netb.co.kr> <netb at netb.co.kr>
--
Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
To Unsubscribe: send mail to majordomo@xxxxxxxxxxxxxx
with "unsubscribe questions" in the BODY of the message
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2003/03/31 23:00:55 $ |
|