View previous topic :: View next topic |
Author |
Message |
Permafrost91 n00b
Joined: 27 Jan 2005 Posts: 68
|
Posted: Mon Apr 25, 2005 2:26 pm Post subject: [SOLVED] Crash on gettext while emerge -e system |
|
|
I'm trying to do a stage-1 install on a Pentium 4 1.7GHz, 512 MB RAM, 200GB hdd (no partition larger than 80GB).
When doing emerge --emptytree system, the compile just crashes. I'm not sure where since my screen goes blank and I can't see where exactly it crashes.
When switching the CHOST variable from i686 to i586, I don't have this problem. Any suggestions?
Last edited by Permafrost91 on Mon May 02, 2005 3:53 pm; edited 2 times in total |
|
Back to top |
|
|
Karsten from Berlin Guru
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Mon Apr 25, 2005 3:12 pm Post subject: |
|
|
Never __ever__ change the CHOST after setting it up __before__ the bootstrap. That means, you can only manually specify a CHOST if you do a stage1-install.
To help we need the output of 'emerge info'. But I would give the advice to start over again because you obviously changed the CHOST, so there's a high chance that you screwed your system entirely. _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
|
Permafrost91 n00b
Joined: 27 Jan 2005 Posts: 68
|
Posted: Mon Apr 25, 2005 3:13 pm Post subject: CHOST |
|
|
I didn't change the CHOST setting afterwards. I guess I should have clarified this. When doing a stage 1 install with CHOST as i686, it crashes. When doing a completely new stage 1 install with CHOST set at i586, the install does not crash. |
|
Back to top |
|
|
Karsten from Berlin Guru
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Mon Apr 25, 2005 3:17 pm Post subject: |
|
|
Ah, puh, you're lucky.
So give me the output of 'emerge info' please and the last 10-15 lines of '/var/log/emerge.log'.
[Edit]
Of course from the crashing emerge.
[/Edit] _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
|
Permafrost91 n00b
Joined: 27 Jan 2005 Posts: 68
|
Posted: Mon Apr 25, 2005 4:06 pm Post subject: Hmm |
|
|
I wish I could ... the emerging computer freezes giving me no access to anything when this happens. |
|
Back to top |
|
|
Permafrost91 n00b
Joined: 27 Jan 2005 Posts: 68
|
Posted: Mon Apr 25, 2005 6:13 pm Post subject: emerge info |
|
|
I hand-copied this emerge info output, hopefully I didn't miss anything. I also noticed that there are several USE flags I did not set but are nonetheless set. Is that normal? (like berkdb, bitmap-fonts, cups, fortran, and some others).
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4-20041102r1, 2.6.9-gentoo-r1 i686)
================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium (R) 4 CPU 1.70 GHz
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 18:18:11)]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: [Not Present]
sys-devel/automake: [Not Present]
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: [Not Present]
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib crypt cups curl curlwrappers dga dio directfb divx4linux dvd dvdread emboss encode exif expat fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl imagemagick imlib ipv6 java javscript jikes jpeg kde kdeenablefinal libcaca libg++ libwww lm_sensors mad memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oscar oss pam pcre pda pdflib perl php png prelude python qt quicktime readline samba sdl snmp sockets sox speex spell spl sse ssl svg svga symlink szip tcltk tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts usb v4l vcd vhosts videos vorbis win32codecs wmf xine xml xml2 xmms xosd xpm xv xiv yahoo zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY |
|
Back to top |
|
|
Karsten from Berlin Guru
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Mon Apr 25, 2005 6:28 pm Post subject: |
|
|
1. It's normal that there are additional USE-flags because some are in as default. So for example if you want to take out cups (because you don't have a printer), you have to add -cups to your USE-flags in /etc/make.conf.
2. The info looks fine so far. Two tips for the CFLAGS (the tips will not help against the error): a) You don't have to specify -mcpu if you specify -march. -march includes -mcpu. b) Add -pipe to the CFLAGS. It will speed up compiling.
3. We still do not know which packages causes the crash. So take a look in '/var/log/emerge.log'. What's the last package mentioned? Does it even exist?
4. Just to be sure: Give me the content of '/proc/cpuinfo'.
Instead of typing you could use a floppy/USB-stick/vFat-partition to get content from the LiveCD to your internet-capable system. _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
|
Permafrost91 n00b
Joined: 27 Jan 2005 Posts: 68
|
Posted: Mon Apr 25, 2005 6:54 pm Post subject: tail /var/log/emerge.log | less |
|
|
1114343622: ::: completed emerge (2 of 105) sys-devel/gnuconfig-20050223 to \
1114343622: >>> emerge (3 of 105) sys-devel/gettext-0.14.1-r1 to /
1114343622: === (3 of 105) Cleaning (sys-devel/gettext-0.14.1-r1::/usr/portage/sys-devel/gettext/gettext-0.14.1-r1.ebuild)
1114343623: === (3 of 105) Compiling/Merging (sys-devel/gettext-0.14.1-r1::/usr/portage/sys-devel/gettext/gettext-0.14.1-r1.ebuild)
1114411113: Started emerge on: Apr 25, 2005 06:38:33
1114411113: *** emerge info
1114411113: *** terminating
1114411581: Started emerge on: Apr 25, 2005 06:46:21
1114411581: *** emerge info
1114411581: *** terminating |
|
Back to top |
|
|
Permafrost91 n00b
Joined: 27 Jan 2005 Posts: 68
|
Posted: Mon Apr 25, 2005 6:57 pm Post subject: less /proc/cpuinfo |
|
|
processor: 0
vendor_id: GenuineIntel
cpu family: 15
model: 1
model name: Intel(R) Pentium(R) 4 CPU 1.70GHz
stepping: 3
cpu MHz: 1700.169
cache size: 256 KB
physical id: 0
siblings: 1
fdiv_bug: no
hit_bug: no
f00f_bug: no
coma_bug: no
fpu: yes
fpu_exception: yes
cpuid level: 2
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips: 3350.52 |
|
Back to top |
|
|
Karsten from Berlin Guru
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Mon Apr 25, 2005 7:05 pm Post subject: |
|
|
To be honest: I have absolutely no idea! I cannot see anything wrong in your settings. And if it crashes...
No, sorry. _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
|
Permafrost91 n00b
Joined: 27 Jan 2005 Posts: 68
|
Posted: Mon Apr 25, 2005 8:43 pm Post subject: Hmmm |
|
|
Thanks for your help nonetheless. I really appreciate it. |
|
Back to top |
|
|
Permafrost91 n00b
Joined: 27 Jan 2005 Posts: 68
|
Posted: Mon May 02, 2005 2:18 pm Post subject: Fixed |
|
|
I finally figured out the problem ... switching the memory stick to a different slot did the trick. I completed a stage 1 compile without a hitch. Thanks again for the help though! |
|
Back to top |
|
|
Karsten from Berlin Guru
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Mon May 02, 2005 2:44 pm Post subject: |
|
|
Then you should check the memory with memtest86. Bad memory is the worst you can have in a machine. It's better then to buy a new stick. _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon May 02, 2005 3:21 pm Post subject: |
|
|
Runninng memtest wouldn't hurt (well, it does take time if you want to do it properly), but most likely the board is a bit finnecky with regard to dual channel and memory configuration. The ram is probably ok. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|