Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recompiling the kernel broke my system [PLEASE HELP]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Sat Oct 28, 2006 7:03 pm    Post subject: Recompiling the kernel broke my system [PLEASE HELP] Reply with quote

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
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Oct 28, 2006 10:20 pm    Post subject: Reply with quote

1) save the .config-file in your kernel-directory

2) create a new / clean version of emission-sources:

untar linux-2.6.18.tar.bz2, patch it with emission-sources-patch,
reverse the BadRAM-patch

3) copy the old .config into your new kernel-directory & compile it

4) if that doesn't help, try out one of my liveCDs & boot off it & repeat steps 1-3

good luck! :P
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Sun Oct 29, 2006 5:08 am    Post subject: Reply with quote

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 :P
Back to top
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Mon Oct 30, 2006 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Mon Oct 30, 2006 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message
masterdriverz
Retired Dev
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

PostPosted: Mon Oct 30, 2006 4:51 pm    Post subject: Re: Recompiling the kernel broke my system [PLEASE HELP] Reply with quote

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
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Mon Oct 30, 2006 6:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
masterdriverz
Retired Dev
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

PostPosted: Mon Oct 30, 2006 7:04 pm    Post subject: Reply with quote

Wojtek_ wrote:
emission-2.6.18


So not 2.6.18-r1?
_________________
Solutions to misc kde problems
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Mon Oct 30, 2006 7:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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