Gentoo Archives: gentoo-server

From: Marko McLion <mclion@×××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] strange bogomips difference
Date: Tue, 20 Jan 2004 19:39:00
Message-Id: 200401202038.38569.mclion@obala.net
In Reply to: Re: [gentoo-server] strange bogomips difference by Andrea Ferraris
1 Dne torek 20. januarja 2004 16:03 je Andrea Ferraris napisal(a):
2
3
4 > > processor : 0
5 > > model name : AMD Athlon(tm) MP 2800+
6 > > bogomips : 4194.30
7 > >
8 > > processor : 1
9 > > model name : AMD Athlon(tm) MP
10 > > bogomips : 4259.84
11 > >
12 > > ---------
13 > > is possible that there is so much difference? Or is it a software
14 > > problem?
15 >
16 > Once upon a time, a smp kernel could run also on non smp machine.
17 > Can you try to take away one CPU, then test the machine, compiling
18 > the mysql sources, then if you get the same error, repeat with the other
19 > CPU in the other slot, taking away the one you tested before.
20 > Which is the strange gcc error that you get, compiling the mysql sources?
21 > Isnt' it a sig 11? In such case could be a memory problem.
22
23 I'm affraid this is not really possible at this time (the server is online and
24 on the other location of the country)... We have to figure out all the
25 possible errors that could cause this before we go there fixing the
26 machine...
27
28 There is some more info:
29
30 board
31 http://www.giga-byte.com/Server/Products/Products_ServerBoard_GA-7DPXDW-P.htm
32 Bios:
33 http://www.giga-byte.com/Server/Support/BIOS/BIOS_ServerBoard_GA-7DPXDW-P.htm
34
35
36 From the debug trace when GCC dies compiling (it displays the message
37 "internal compiler error... this is probably a hardware or OS problem"):
38
39 0x809c405 handle_segfault + 645
40 0x81a2885 __pthread_sighandler + 133
41 0x80ca114 _Z20get_best_combinationP4JOIN + 132
42 0x80c85e1_Z20make_join_statisticsP4JOINP13st_table_listP4ItemP16st_dynamic_array+
43 1601
44 0x80c6183_Z12mysql_selectP3THDP13st_table_listR4ListI4ItemEPS4_P8st_orderS9_S7_
45 S9_mP13select_result + 1683
46 0x80c5ae7 _Z13handle_selectP3THDP6st_lexP13select_result + 167
47 0x80abc4e _Z21mysql_execute_commandv + 958
48 0x80b080f _Z11mysql_parseP3THDPcj + 223
49 0x80aa9ef _Z16dispatch_command19enum_server_commandP3THDPcj + 1343
50 0x80aa387 _Z10do_commandP3THD + 231
51 0x80a9a4d handle_one_connection + 1053
52 0x819e42d pthread_start_thread + 333
53 0x81dc43a clone + 106
54
55 Installed on the server:
56 gcc-3.3.2-r5
57 glibc-2.3.3_pre20040117 (tried all glibc from 2.3.2 to this version)
58 2.4.22-gentoo-r1
59
60 Config while trying to emerge mysql (it eventualy did compile by trying
61 several times):
62
63 Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
64 2.4.22-gentoo-r1)
65 =================================================================
66 System uname: 2.4.22-gentoo-r1 i686 AMD Athlon(tm) MP 2800+
67 Gentoo Base System version 1.4.3.12
68 ccache version 2.3 [enabled]
69 ACCEPT_KEYWORDS="x86 ~x86"
70 AUTOCLEAN="yes"
71 CFLAGS="-O3 -mcpu=athlon-mp -pipe -fomit-frame-pointer"
72 CHOST="i686-pc-linux-gnu"
73 COMPILER="gcc3"
74 CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
75 CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
76 CXXFLAGS="-O3 -mcpu=athlon-mp -pipe -fomit-frame-pointer"
77 DISTDIR="/usr/portage/distfiles"
78 FEATURES="autoaddcvs ccache sandbox"
79 GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/
80 rsync://rsync.gentoo.skynet.be/gentoo/ http://ftp.easynet.nl/mirror/gentoo/
81 http://gentoo.linux.no/ http://trumpetti.atm.tut.fi/gentoo/
82 http://ds.thn.htu.se/linux/gentoo
83 http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
84 ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
85 http://darkstar.ist.utl.pt/gentoo/ http://ftp.caliu.info/pub/gentoo/
86 http://gentoo.inode.at/"
87 MAKEOPTS="-j3"
88 PKGDIR="/usr/portage/packages"
89 PORTAGE_TMPDIR="/var/tmp"
90 PORTDIR="/usr/portage"
91 PORTDIR_OVERLAY=""
92 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
93 USE="apache arts avi berkdb crypt curl encode fam foomaticdb gd gdbm gif gnome
94 gpm gtk gtk2 imap imlib innodb jpeg kde libg++ libwww mad mikmod motif mpeg
95 mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
96 quicktime readline sasl sdl slang spell sse ssl svga tcpd tiff truetype
97 truetzpe unicode x86 xml2 xmms xv zlib"

Replies

Subject Author
Re: [gentoo-server] strange bogomips difference Andrew Gaffney <agaffney@×××××××××××.com>
Re: [gentoo-server] strange bogomips difference Andrea Ferraris <andrea_ferraris@××××××.it>