1 |
Rupert Young (Restart) skrev: |
2 |
> Hi, |
3 |
> |
4 |
> Our server is getting stuck on updating packages. We can not seem to |
5 |
> get past the upgrade to glibc. Sometimes it fails, with an error, and |
6 |
> sometimes it actually kills the machine requiring reboot, examples of |
7 |
> both below. Sorry if this is a known problem, but I’ve been looking |
8 |
> and struggling with it for a couple of weeks. Any help would be |
9 |
> appreciated, here’s the info from emerge, |
10 |
> |
11 |
> emerge --info |
12 |
> |
13 |
> |
14 |
> Gentoo Base System version 1.6.14 |
15 |
> Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r1, |
16 |
> 2.6.7-gentoo-r14 x86_64) |
17 |
> ================================================================= |
18 |
> System uname: 2.6.7-gentoo-r14 x86_64 AMD Opteron(tm) Processor 250 |
19 |
> dev-lang/python: 2.3.5-r2, 2.4.2 |
20 |
> sys-apps/sandbox: 1.2.12 |
21 |
> sys-devel/autoconf: 2.13, 2.59-r6 |
22 |
> sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 |
23 |
> sys-devel/binutils: 2.16.1 |
24 |
> sys-devel/libtool: 1.5.22 |
25 |
> virtual/os-headers: 2.6.11-r2 |
26 |
> ACCEPT_KEYWORDS="x86" |
27 |
> AUTOCLEAN="yes" |
28 |
> CBUILD="x86_64-pc-linux-gnu" |
29 |
> CFLAGS="-mtune=opteron -march=opteron -O3 -funroll-loops |
30 |
> -fomit-frame-pointer -fprefetch-loop-arrays -pipe -ftracer -mmmx -msse |
31 |
> -msse2 -m3dnow -mfpmath=sse" |
32 |
> CHOST="x86_64-pc-linux-gnu" |
33 |
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config |
34 |
> /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config |
35 |
> /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ |
36 |
> /usr/share/texmf/tex/generic/config/ |
37 |
> /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ |
38 |
> /var/qmail/control" |
39 |
> CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" |
40 |
> CXXFLAGS="-mtune=opteron -march=opteron -O3 -funroll-loops |
41 |
> -fomit-frame-pointer -fprefetch-loop-arrays -pipe -ftracer -mmmx -msse |
42 |
> -msse2 -m3dnow -mfpmath=sse" |
43 |
> DISTDIR="/usr/portage/distfiles" |
44 |
> FEATURES="autoconfig distlocks sandbox sfperms strict" |
45 |
> GENTOO_MIRRORS="http://distfiles.gentoo.org |
46 |
> http://distro.ibiblio.org/pub/linux/distributions/gentoo" |
47 |
> MAKEOPTS="-j4" |
48 |
> PKGDIR="/usr/portage/packages" |
49 |
> PORTAGE_TMPDIR="/var/tmp" |
50 |
> PORTDIR="/usr/portage" |
51 |
> PORTDIR_OVERLAY="/usr/local/portage" |
52 |
> SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
53 |
> USE="x86 3dnow X acpi alsa apache2 audiofile avi bitmap-fonts bzip2 |
54 |
> crypt cups dga eds emboss encode exif expat fam fbcon foomaticdb |
55 |
> fortran gd gdbm gif glut gpm gstreamer gtk gtk2 imagemagick imlib ipv6 |
56 |
> java jikes jpeg junit lcms libg++ libwww mad mailwrapper mhash mikmod |
57 |
> mmx mng mozilla mp3 mpeg mysql ncurses nptl ogg oggvorbis opengl pam |
58 |
> pcre pdflib png python quicktime readline samba sdl slang spell sse |
59 |
> ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev |
60 |
> userlocales vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux |
61 |
> elibc_glibc" |
62 |
> Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS |
63 |
> |
64 |
> |
65 |
1. Check you RAM with memtest86+. |
66 |
2. Drop your CFLAGS to "-march=opteron -O2 -pipe". Extreme CFLAGS wont |
67 |
improve your performance anyway and I'm a bit suprised you're using such |
68 |
CFLAGS on a server. |
69 |
3. You aren't supposed to use a x86 profile on a x86_64-pc-linux-gnu |
70 |
system. Change to an amd64 profile instead. |
71 |
-- |
72 |
gentoo-amd64@g.o mailing list |