Gentoo Archives: gentoo-user

From: gentuxx <gentuxx@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] vanilla-source-2.6.12.5 Xeon EM64T + SMP
Date: Thu, 06 Oct 2005 16:34:04
Message-Id: 43455017.5010400@gmail.com
In Reply to: [gentoo-user] vanilla-source-2.6.12.5 Xeon EM64T + SMP by Chris Ong
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Chris Ong wrote:
5
6 > Hi Friends,
7 > I am having a machine with 2 x Xeon 2.8Ghz w/HT/EM64T.
8 >
9 > I am using the minimal-amd64 iso to boot up and install the
10 > machine and it's a sucess.
11 >
12 > But there's a doubt here..
13 >
14 > During the installation stage, the kernel provided with the
15 > Minimal CD will actually tell 4 CPU. Correct as Real CPU + HT CPU.
16 > But when I booted the machine with my own kernel. It shows only 2.
17 > Here's the extraction of config.gz
18 >
19 > # Processor type and features
20 > #
21 > # CONFIG_MK8 is not set
22 > CONFIG_MPSC=y
23 > # CONFIG_GENERIC_CPU is not set
24 > CONFIG_X86_L1_CACHE_BYTES=128
25 > CONFIG_X86_L1_CACHE_SHIFT=7
26 > CONFIG_X86_TSC=y
27 > CONFIG_X86_GOOD_APIC=y
28 > # CONFIG_MICROCODE is not set
29 > # CONFIG_X86_MSR is not set
30 > # CONFIG_X86_CPUID is not set
31 > CONFIG_X86_HT=y
32 > CONFIG_X86_IO_APIC=y
33 > CONFIG_X86_LOCAL_APIC=y
34 > CONFIG_MTRR=y
35 > CONFIG_SMP=y
36 > CONFIG_PREEMPT=y
37 > CONFIG_PREEMPT_BKL=y
38 > CONFIG_SCHED_SMT=y
39 > # CONFIG_K8_NUMA is not set
40 > # CONFIG_NUMA_EMU is not set
41 > # CONFIG_NUMA is not set
42 > CONFIG_HAVE_DEC_LOCK=y
43 > CONFIG_NR_CPUS=4
44 > CONFIG_HPET_TIMER=y
45 > # CONFIG_HPET_EMULATE_RTC is not set
46 > # CONFIG_GART_IOMMU is not set
47 > CONFIG_DUMMY_IOMMU=y
48 > CONFIG_X86_MCE=y
49 > CONFIG_X86_MCE_INTEL=y
50 > CONFIG_SECCOMP=y
51 > CONFIG_GENERIC_HARDIRQS=y
52 > CONFIG_GENERIC_IRQ_PROBE=y
53 > CONFIG_ISA_DMA_API=y
54 >
55 > I have the same problem before when I try to compile
56 > kernel-2.6.12.5 in FC4 with a P4 3.0 w/HT. I also lost the virtual CPU.
57 >
58 > Did the kernel-2.6.12.5 treat HT CPU differently ?
59 >
60 > I hope I can find the answer in the kernel changelog. But it's
61 > quite impossible for me right now. Any ideas ?
62 >
63 > ---
64 > Regards,
65 > C. K. Ong (Chris)
66 > Linux System Engineer
67 > RHCT Cert No: 603004347692007
68 > http://www.redhat.com/rhce/rhce603004347692007.html
69 >
70 > My Directory Sdn. Bhd.
71 > Your Open Source Partner.
72 > http://www.md.com.my http://www.net.my
73 > 2005
74 >
75 I'm running a P4 3.0GHz w/ HT and it works fine for me. Here's what
76 is in my config, that's not in yours:
77
78 CONFIG_X86_PC=y
79 CONFIG_MPENTIUM4=y
80 CONFIG_X86_GENERIC=y
81 CONFIG_X86_CMPXCHG=y
82 CONFIG_X86_XADD=y
83 CONFIG_RWSEM_XCHGADD_ALGORITHM=y
84 CONFIG_GENERIC_CALIBRATE_DELAY=y
85 CONFIG_X86_WP_WORKS_OK=y
86 CONFIG_X86_INVLPG=y
87 CONFIG_X86_BSWAP=y
88 CONFIG_X86_POPAD_OK=y
89 CONFIG_X86_INTEL_USERCOPY=y
90 CONFIG_X86_USE_PPRO_CHECKSUM=y
91 CONFIG_HPET_EMULATE_RTC=y
92 CONFIG_NR_CPUS=8
93 CONFIG_X86_MCE_NONFATAL=y
94 CONFIG_X86_MCE_P4THERMAL=y
95 CONFIG_MICROCODE=m
96 CONFIG_X86_MSR=m
97 CONFIG_X86_CPUID=m
98
99 None of that seems like it would would make a difference, except
100 perhaps the processor identification. If you don't tell the kernel
101 what type of processor it's using (i.e. by just leaving it generic) it
102 won't know to enable hyperthreading.....
103
104 HTH
105
106 - --
107 gentux
108 echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
109
110 gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
111 6996 0993
112 -----BEGIN PGP SIGNATURE-----
113 Version: GnuPG v1.4.1 (GNU/Linux)
114
115 iD8DBQFDRVAWLYGSSmmWCZMRAkMNAJ4kqHMKAV5CToOOlrtelwauf96uNwCeJ8jO
116 WyGGXrJh9iI+U8+1MKz3Na8=
117 =OLZ/
118 -----END PGP SIGNATURE-----
119
120 --
121 gentoo-user@g.o mailing list