View previous topic :: View next topic |
Author |
Message |
Wojtek_ Guru
Joined: 28 May 2006 Posts: 397 Location: London
|
Posted: Sat Oct 28, 2006 7:03 pm Post subject: Recompiling the kernel broke my system [PLEASE HELP] |
|
|
Hello!
Recently I installed emission-sources, because gentoo-sources didn't support speedstep on my centrino duo processor. However, emission-sources didn't want to compile with highmem support so I used only about 800MB of my 2GB of RAM. Couple of days ago I noticed that the problem with highmem was caused by badram patch which can be uninstalled. So I followed the command found on this forum:
Code: | cd /usr/src/linux-2.6.18-emission1
wget http://distfiles.evolution-mission.org/sources/2.6.18/emission1/patches/16-BadRAM-2.6.18.patch
patch -p1 -R < 16-BadRAM-2.6.18.patch
make clean
make && make modules && make modules_install && make install |
Everything seemed ok until I rebooted...
Basically, nothing works - X don't want to start, I have millions of error messages during boot, I cannot emerge a single thing (everything crashes) and what is worse - I cannot even emerge gcc. When I try to emerge anything I see many 'internal error' messages. When I tried sorting out what might be wrong with gcc I got:
Code: | #gcc-config -l
gawk: fatal error: internal error
gawk-config: Profile does not exist or invalid setting for /etc/env.d/gcc/i686-pc-linux-gnu-3.4.4 |
Please help!!! _________________ Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
zietbukuel l33t
Joined: 30 Dec 2005 Posts: 607
|
Posted: Sun Oct 29, 2006 5:08 am Post subject: |
|
|
kernelOfTruth wrote: | ...
3) copy the old .config into your new kernel-directory & compile it
... |
He can't even run a simple program... my solution: reinstall everything |
|
Back to top |
|
|
baeksu l33t
Joined: 26 Sep 2004 Posts: 609 Location: Seoul, Korea
|
Posted: Mon Oct 30, 2006 1:21 am Post subject: |
|
|
Might be a good idea to boot up on a LiveCD, fsck the partitions, and chroot into the environment.
That way you can get an idea if it's a problem with the filesystem, environment, or just kernel drivers.
Also, if chroot works, you can try to compile the kernel again, or try a new kernel to see if you can boot the system again. _________________ Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do. |
|
Back to top |
|
|
Wojtek_ Guru
Joined: 28 May 2006 Posts: 397 Location: London
|
Posted: Mon Oct 30, 2006 8:58 am Post subject: |
|
|
I tried everything - chrooting and recompiling the kernel was the first thing. However, all init scripts were f***ed up so that the only thing I could do was reinstalling the whole system. But thanks anyway:). _________________ Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio |
|
Back to top |
|
|
masterdriverz Retired Dev
Joined: 28 Mar 2006 Posts: 391 Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the galaxy
|
Posted: Mon Oct 30, 2006 4:51 pm Post subject: Re: Recompiling the kernel broke my system [PLEASE HELP] |
|
|
Wojtek_ wrote: | However, emission-sources didn't want to compile with highmem support so I used only about 800MB of my 2GB of RAM. Couple of days ago I noticed that the problem with highmem was caused by badram patch |
I'm interested in getting BadRAM put into -mm (see my sig), so any problems caused by it are of great interest to me. Which version of emission-sources was this? _________________ Solutions to misc kde problems |
|
Back to top |
|
|
Wojtek_ Guru
Joined: 28 May 2006 Posts: 397 Location: London
|
Posted: Mon Oct 30, 2006 6:58 pm Post subject: |
|
|
emission-2.6.18 _________________ Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio |
|
Back to top |
|
|
masterdriverz Retired Dev
Joined: 28 Mar 2006 Posts: 391 Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the galaxy
|
|
Back to top |
|
|
Wojtek_ Guru
Joined: 28 May 2006 Posts: 397 Location: London
|
Posted: Mon Oct 30, 2006 7:58 pm Post subject: |
|
|
The last one available so I think it was 2.6.18-r1. Sorry for the confusion. _________________ Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio |
|
Back to top |
|
|
|