Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crash when starting stage2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Fri Jan 23, 2004 7:45 pm    Post subject: Crash when starting stage2 Reply with quote

Hi all,

I started from a stage 1 install and everything went smooth, but when I execute: emerge system, the system freezes while compiling binutils. All help or comments are apreciated...

p3, geforce, sounblaster live, WD40gig, 512ram

Thanks,
Adam
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Jan 23, 2004 7:50 pm    Post subject: Re: Crash when starting stage2 Reply with quote

somedudeppf wrote:
p3, geforce, sounblaster live, WD40gig, 512ram

Please post the output of
Code:
emerge info


or, failing that, your USE flags, CFLAGS, and anything else that may be relevant.
Back to top
View user's profile Send private message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Fri Jan 23, 2004 8:00 pm    Post subject: Reply with quote

no fails, just a freeze

cdimage / # emerge info
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-gss)
=================================================================
System uname: 2.4.21-gss i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.8p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.noved.org/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.noved.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/dev"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Jan 23, 2004 8:10 pm    Post subject: Reply with quote

Hmm nothing seems wrong at first glance (or at second).

Does it hang or crash and reboot ?

Maybe check the gss-sources (whatever those are :oops: )
Back to top
View user's profile Send private message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Fri Jan 23, 2004 8:19 pm    Post subject: Reply with quote

Yeah, it's got me confused too. I'm new to the way gentoo operates, but I like it.. Never was a big fan of rpms..tar is my friend..

I'm at work now, but I'll try it again and if it hangs i'll check it later..

If I emerge -c will it clean out the old files and re download them when I emerge system ?



thanks mang,
adam

PS: Is it cold where you are?
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Jan 23, 2004 8:29 pm    Post subject: Reply with quote

You can always delete the contents of /usr/portage/distfiles (bad idea - have to download everything again) and /usr/portage/packages (the binaries that were built IF you had "buildpkg" in your make.conf) by hand.
Then just run
Code:
emerge -e world

and everything should be built from the top.

I have to admit that I don't usually do that sort of sillyness*, so there is probably a better command to do this.
(I can well imagine that this has been a do-it-every-day excercise for some of the developers ;-))

*Silly if the system works and you don't have a pressing need to emerge 500+ MB of ebuilds again over a 3 DAY period...
Back to top
View user's profile Send private message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Fri Jan 23, 2004 8:39 pm    Post subject: Reply with quote

i'll try it and let you know.. don't think i'll -e world though..
Back to top
View user's profile Send private message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Fri Jan 23, 2004 9:17 pm    Post subject: Reply with quote

ok, tell me if this means what I think:

cdimage / # emerge system
Calculating system dependencies ...done!
>>> emerge (1 of 76) sys-devel/patch-2.5.9 to /
>>> md5 src_uri ;-) patch-2.5.9.tar.gz
>>> Unpacking source...
>>> Unpacking patch-2.5.9.tar.gz to /var/tmp/portage/patch-2.5.9/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.

!!! ERROR: sys-devel/patch-2.5.9 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! emake failed

cdimage / #

happens when I emerge system (obviously)
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sat Jan 24, 2004 9:08 pm    Post subject: Reply with quote

somedudeppf wrote:
error: C compiler cannot create executables

I don't know what you think it means.
This is a very common error - search for it on the forums.
Back to top
View user's profile Send private message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Sat Jan 24, 2004 10:06 pm    Post subject: Reply with quote

You're not telepathic? I thought everyone was..

I fixed it, i'm smooth.. for now
Back to top
View user's profile Send private message
Imaginair
n00b
n00b


Joined: 17 Jan 2003
Posts: 20

PostPosted: Sun Jan 25, 2004 12:43 pm    Post subject: Reply with quote

how did you fix it? because i have the same problem here with a
fresh install :-((
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum