Gentoo Archives: gentoo-dev

From: Kevin <gentoo-dev@××××××.biz>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Major MCE problem with SMP on Gentoo kernels
Date: Wed, 12 May 2004 11:24:13
Message-Id: 200405120724.07569.gentoo-dev@gnosys.biz
In Reply to: Re: [gentoo-dev] Major MCE problem with SMP on Gentoo kernels by Josh Glover
1 Thanks for your reply, Josh.
2
3 On Tuesday 11 May 2004 22:42, Josh Glover wrote:
4 > Quoth Kevin (Tue 2004-05-11 02:07:58PM -0400):
5 > > The machine is a Dell PowerEdge1600SC with a PERC-3/SC SCSI RAID
6 > > controller (using AMI megaraid2 driver) and a LSI Logic Corp
7 > > controller (using Fusion MPT base driver) for the SCSI DAT and with
8 > > dual 2.4GHz Xeon processors, each having a 512KB L2 Cache.
9 >
10 > Running Gentoo with a 2.6.5 SMP kernel on a Dell PowerEdge 400SC:
11 > : jmglov@jglover; uname -a
12 >
13 > Linux jglover 2.6.5-gentoo-r1 #1 SMP Fri Apr 30 17:37:18 EDT 2004 i686
14 > Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
15 >
16 > : jmglov@jglover; cat /proc/cpuinfo
17 >
18 > processor : 0
19 > vendor_id : GenuineIntel
20 > cpu family : 15
21 > model : 2
22 > model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
23 > stepping : 9
24 > cpu MHz : 2395.027
25 > cache size : 512 KB
26 > physical id : 0
27 > siblings : 2
28 > fdiv_bug : no
29 > hlt_bug : no
30 > f00f_bug : no
31 > coma_bug : no
32 > fpu : yes
33 > fpu_exception : yes
34 > cpuid level : 2
35 > wp : yes
36 > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
37 > mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
38 > bogomips : 4718.59
39 >
40 > processor : 1
41 > vendor_id : GenuineIntel
42 > cpu family : 15
43 > model : 2
44 > model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
45 > stepping : 9
46 > cpu MHz : 2395.027
47 > cache size : 512 KB
48 > physical id : 0
49 > siblings : 2
50 > fdiv_bug : no
51 > hlt_bug : no
52 > f00f_bug : no
53 > coma_bug : no
54 > fpu : yes
55 > fpu_exception : yes
56 > cpuid level : 2
57 > wp : yes
58 > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
59 > mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
60 > bogomips : 4767.74
61
62 Have you turned off hyperthreading? Why is it that only two CPUs show up?
63 It looks like (flags include ht) the CPUs support hyperthreading... or am
64 I way off base in drawing that conclusion here?
65
66 >
67 > > I'm a recent Gentoo convert. I think it's an excellent improvement
68 > > on the traditional Linux distros, and I'd really like to use it on my
69 > > server, but as long as this problem with SMP is present, I just
70 > > can't.
71 >
72 > I really do not think it is a Gentoo issue. I have run Gentoo on quite
73 > a few SMP boxen over the past several years, and never had problems
74 > like you describe. Sounds like a hardware issue to me, unless you are
75 > using (or were using) some really bogus CFLAGS.
76
77 Well, last night I did the most exhaustive set of tests available on the
78 Dell Utility Partition and found zero errors. I did 16 loops of the MATS
79 test and 15 of TestY, TestA, and ECC coupling. The memory tests ran for
80 about 8 hours. Again, zero errors.
81
82 > Quoth Kevin (Tue, 11 May 2004 17:31:32 -0400):
83 > > Honestly, I'm thinking that I may have somehow built some software
84 > > (during the stage 1 installation process) that is causing these
85 > > problems, but I followed the Gentoo Handbook for doing a stage 1
86 > > installation pretty rigidly, so I'm not sure what I might have done
87 > > to cause that.
88 >
89 > Why did you do a Stage 1, just out of curiousity.
90
91 Some silly sense of pride or accomplishment that every bit of code running
92 on the box was actually compiled on it. I really like that Gentoo makes
93 that option a practical one. Silly, I know...
94
95 > I recommend doing at
96 > least one Stage 1 install for newcomers to Gentoo, just for educational
97 > purposes, but after that, go Stage 3 and use as many binary packages as
98 > you can! There exists a Stage 3 tarball for your architecture--the
99 > Pentium4 one, so why not use that, just to make sure your base system
100 > is solid?
101
102 That probably is a good thing for me to try next, and I really would like
103 to be able to use all the advantages of Gentoo on this server. I'm fed
104 up with rpm hell and the traditional distros drawbacks.
105
106 >
107 > > When I did the bootstrap.sh and emerge system, I was
108 > > running the kernel that I booted from the boot CD (2004.0 I think,
109 > > and probably even the smp kernel that was on that CD---IIRC, the
110 > > 2004.1 boot CD has some problems that prevent the use of the smp
111 > > kernel on that CD).
112 >
113 > I don't remember that, but I cannot say for certain that I have tried
114 > the 2004.1 universal x86 CD with the SMP kernel.
115
116 It may have changed (I did this just a few days after the 2004.1 CD came
117 out, and I think it was the minimal one).
118
119 >
120 > > Are there some compiler flags or other configurable settings that, if
121 > > set to certain values during the bootstrap.sh or emerge system steps,
122 > > could end up generating software (perhaps when I built my own gcc?)
123 > > that would cause these MCEs to be thrown?
124 >
125 > I dunno, why don't you post your CFLAGS and MAKEOPTS from your
126 > make.conf here?
127
128 Did already :)
129
130 Here they are again:
131 On Tuesday 11 May 2004 14:07, Kevin wrote:
132 > Gentoo emerge info output:
133 > =======
134 > System uname: 2.4.25-gentoo-r2 i686 Intel(R) Xeon(TM) CPU 2.40GHz
135 > Gentoo Base System version 1.4.9
136 > distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
137 > [enabled]
138 > ccache version 2.3 [enabled]
139 > Autoconf: sys-devel/autoconf-2.58-r1
140 > Automake: sys-devel/automake-1.8.3
141 > ACCEPT_KEYWORDS="x86"
142 > AUTOCLEAN="yes"
143 > CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
144 > CHOST="i686-pc-linux-gnu"
145 > COMPILER="gcc3"
146 > CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
147 > /usr/kde/3.2/share/config /usr/kde/3/share/config
148 > /usr/lib/mozilla/defaults/pref /usr/share/config
149 > /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
150 > /usr/share/texmf/tex/generic/config/
151 > /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
152 > /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws
153 > /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4
154 > -pipe -fomit-frame-pointer"
155 > DISTDIR="/usr/portage/distfiles"
156 > FEATURES="autoaddcvs ccache distcc sandbox"
157 > GENTOO_MIRRORS="http://128.213.5.34/gentoo/
158 > http://mirror.datapipe.net/gentoo
159 > ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
160 > http://gentoo.eliteitminds.com"
161 > MAKEOPTS="-j3"
162 > PKGDIR="/usr/portage/packages"
163 > PORTAGE_TMPDIR="/var/tmp"
164 > PORTDIR="/usr/portage"
165 > PORTDIR_OVERLAY=""
166 > SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
167 > USE="X Xaw3d acl acpi afs alsa apache2 apm arts avi berkdb bonobo caps
168 > crypt
169 > cups doc emacs emacs-w3 encode esd ethereal evo firebird flac
170 > foomaticdb gdbm
171 > gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hardened icq imagemagick
172 > imap
173 > imlib innodb ipv6 jabber jack java jikes jpeg kde kerberos krb4 ldap
174 > libg++
175 > libwww mad mcal mikmod motif mozilla mpeg mysql ncurses nls odbc
176 > oggvorbis opengl oss pam pda pdflib perl plotutils png ppds prelude
177 > python qt quicktime
178 > readline ruby samba sasl sdl slang slp spell sse ssl svga tcltk tcpd
179 > tetex tiff
180 > truetype unicode usb vhosts x86 xinerama xml2 xmms xv zeo zlib"
181 > =======
182 >
183
184 Thanks again for the thoughtful reply, Josh.
185
186 --
187 -Kevin
188
189 --
190 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Major MCE problem with SMP on Gentoo kernels Josh Glover <jmglov@g.o>