Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

I think I killed Gentoo. (I don't want to reinstall again)

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
Hydraulix
Guru
Guru
User avatar
Posts: 447
Joined: Fri Dec 12, 2003 4:28 am

I think I killed Gentoo. (I don't want to reinstall again)

  • Quote

Post by Hydraulix » Tue Jul 27, 2004 5:46 am

Ok here's the deal. I have a G3 iBook and I'm using ReiserFS as the filesystem. I've been messing around with Kismet and well sometimes I had to hard reboot the computer. I've always done a reiserfsck /dev/hda4 before mounting root. But now it seems like my computer is shot. I've been getting more and more crashes. And I can't emerge -eDv world or system. I can't even reemerge GCC take a look.....

Code: Select all

HLIB_MULTILIB=''; \
stage1/xgcc -Bstage1/ -B/usr/powerpc-unknown-linux-gnu/bin/ -c   -mcpu=750 -pipe -fno-strict-aliasing -O2 -fno-strict-aliasing -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"3.3.3\" -DDEFAULT_TARGET_MACHINE=\"powerpc-unknown-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/usr/powerpc-unknown-linux-gnu/gcc-bin/3.3/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
        -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/../include /var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/cp/g++spec.c)
(SHLIB_LINK=' ./xgcc -B./ -B/usr/powerpc-unknown-linux-gnu/bin/ -isystem /usr/powerpc-unknown-linux-gnu/include -isystem /usr/powerpc-unknown-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname=@shlib_so_name@.so.1 -Wl,--version-script=@shlib_map_file@ -o @shlib_dir@@shlib_so_name@.so.1 @multilib_flags@ @shlib_objs@ -lc && rm -f @shlib_base_name@.so && ln -s @shlib_dir@@shlib_so_name@.so.1 @shlib_base_name@.so' \
SHLIB_MULTILIB=''; \
stage1/xgcc -Bstage1/ -B/usr/powerpc-unknown-linux-gnu/bin/ -c   -mcpu=750 -pipe -fno-strict-aliasing -O2 -fno-strict-aliasing -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"3.3.3\" -DDEFAULT_TARGET_MACHINE=\"powerpc-unknown-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/usr/powerpc-unknown-linux-gnu/gcc-bin/3.3/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
        -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/../include /var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/f/g77spec.c)
(cd intl && make all)
make[3]: Entering directory `/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/build/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/build/gcc/intl'
stage1/xgcc -Bstage1/ -B/usr/powerpc-unknown-linux-gnu/bin/   -mcpu=750 -pipe -fno-strict-aliasing -O2 -fno-strict-aliasing -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/../include \
       -c /var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/gcc-20040408/gcc/c-parse.c -o c-parse.o
The bug is not reproduceable, so it is likely a hardware or OS problem
make[2]: *** [java/jcf-dump.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3_pre20040408-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.3_pre20040408-r1 failed.
!!! Function src_compile, Line 456, Exitcode 2
!!! (no error message)

bash-2.05b#

Now I really really really don't want to reinstall Gentoo like I've done in the past. And I really would love just to get my box back to normal. Can anyone help?
It is the fate of operating systems to become free.
- Neal Stephenson
Top
FishDog
n00b
n00b
User avatar
Posts: 71
Joined: Thu Aug 14, 2003 1:34 pm

  • Quote

Post by FishDog » Tue Jul 27, 2004 7:30 am

does not look promising to me, better backup your data in any case. If your directory structure isn't messed up maybe untar a fresh stage3 or stage1?
Top
dhalsiim
Guru
Guru
User avatar
Posts: 486
Joined: Wed Jan 29, 2003 2:02 pm

  • Quote

Post by dhalsiim » Tue Jul 27, 2004 3:10 pm

Well I'm the biggest noob when it comes to restoring your computer and stuff, but maybe a couple of suggestions?

Like trying to boot from the Live CD and chroot and build gcc from there.

If you've had "FEATURES='buildpkg'" in your make.conf then a tbz2 file is created in /usr/portage/packages for your gcc. It doesn't require re-compiling, just a simple "emerge -k package-name".

You can't remerge -eDv world or system, can't emerge gcc, can you emerge anything else fine?

If you haven't done so untill now, add buildpkg to your make.conf so if you encounter a situation like this ever in the future you can resort to pre-built packages :D A fair warning though it might take upto 1 GB on your computer depending on what things you have installed.

Good Luck
Top
Hydraulix
Guru
Guru
User avatar
Posts: 447
Joined: Fri Dec 12, 2003 4:28 am

  • Quote

Post by Hydraulix » Thu Jul 29, 2004 6:34 am

As we speak I'm doing a emerge -eDv world using the LiveCD and everything looks good. Thanks for the help. Hopfully it all works out. I'll post up when it's done.
It is the fate of operating systems to become free.
- Neal Stephenson
Top
dhalsiim
Guru
Guru
User avatar
Posts: 486
Joined: Wed Jan 29, 2003 2:02 pm

  • Quote

Post by dhalsiim » Thu Jul 29, 2004 3:49 pm

Great :wink:
Top
Hydraulix
Guru
Guru
User avatar
Posts: 447
Joined: Fri Dec 12, 2003 4:28 am

  • Quote

Post by Hydraulix » Wed Aug 04, 2004 9:22 am

Ok here's the thing. So it's reinstalling everything just fine. It should be done by now but my girlfriend pulled the power cord to my iBook by accident and well it's reinstalling again. So anyway does this mean that if I want to install something I have to use the livecd? I say this because when the power went out I booted up again and started messing around with KDE. Everything was fine but I couldn't install APradar. So I went back the the LiveCD and tried to install APradar and BAM! It installed with no errors. But when I tried to install without using the LiveCD I got nothing but errors with Gtkmm. Weird. Is emerge -eDv world going to fix everything on my box so I can install programs hassle free without using the LiveCD?


I'm also thinking cpudyn and pbbuttonsd caused some problems with installing apps. FYI.


Thanks again.
It is the fate of operating systems to become free.
- Neal Stephenson
Top
pYrania
Retired Dev
Retired Dev
User avatar
Posts: 650
Joined: Sun Oct 27, 2002 8:19 pm
Location: Cologne - Germany
Contact:
Contact pYrania
Website

  • Quote

Post by pYrania » Wed Aug 04, 2004 11:34 am

Reiserfs is the most performant file system out there, but when it starts acting wierd, don't hesitate a single second, backup your most important data and rebuilds the complete reiserfs tree. It might fail (you do have backups, right?), but it might also fix all problems.

As a reiserfs user for several years, I know what I'm talking about. ;)

And just another hint, since I've met Hans Reiser earlier this year, presenting his reiserfs4, I've put all important data on ext3 and am using ext3 over reiserfs in future.
Markus Nigbur
Top
dhalsiim
Guru
Guru
User avatar
Posts: 486
Joined: Wed Jan 29, 2003 2:02 pm

  • Quote

Post by dhalsiim » Wed Aug 04, 2004 2:33 pm

And just another hint, since I've met Hans Reiser earlier this year, presenting his reiserfs4, I've put all important data on ext3 and am using ext3 over reiserfs in future.
That's a good way of saying "I'm not going to use ReiserFS anymore" :P.

Well I don't know why wouldn't some of your programs build fine without the LiveCD, since earlier the problem was only with GCC. You should backup all your data as pYrania suggested, and I guess your only way out right now is to re-install all packages that don't build from the LiveCD :oops: . Or at least post the errors you get from those packages? emerge -eDv should fix things, probably. Since it's the equivalent of installing everything again from scratch.

Good Luck dude, I know how it feels when you have to re-build everything like that. I hope everything turns out right :D
Top
Hydraulix
Guru
Guru
User avatar
Posts: 447
Joined: Fri Dec 12, 2003 4:28 am

  • Quote

Post by Hydraulix » Thu Aug 05, 2004 10:21 am

I might be going the same route pYrania. Thanks for the tip. :D



Hopefully everything does work out. I finally have my box the way I want it and it would be a waste to just zero the drive. Thanks again for the help dhalsiim :)
It is the fate of operating systems to become free.
- Neal Stephenson
Top
dhalsiim
Guru
Guru
User avatar
Posts: 486
Joined: Wed Jan 29, 2003 2:02 pm

  • Quote

Post by dhalsiim » Thu Aug 05, 2004 5:00 pm

My Pleasure ^^
Top
Hydraulix
Guru
Guru
User avatar
Posts: 447
Joined: Fri Dec 12, 2003 4:28 am

  • Quote

Post by Hydraulix » Sun Aug 29, 2004 1:01 am

So I zeroed the drive.....





I put XFS on the drive and everything seems to be working great. I also tracked down the problem. Setting the option preemptible kernel was causing my system to just randomly stop compiling. That's why I could emerge my whole system using the Live cd and not off my hard drive.
It is the fate of operating systems to become free.
- Neal Stephenson
Top
RealityMage
Apprentice
Apprentice
User avatar
Posts: 151
Joined: Mon Dec 15, 2003 3:24 am
Contact:
Contact RealityMage
Website

  • Quote

Post by RealityMage » Sun Aug 29, 2004 2:41 am

pYrania wrote:And just another hint, since I've met Hans Reiser earlier this year, presenting his reiserfs4, I've put all important data on ext3 and am using ext3 over reiserfs in future.
Out of curiosity - what specifically about your meeting made you make this decision?
http://tommy.impulsestorm.com/
Top
Post Reply

12 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy