LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   recompile kernel (https://www.linuxquestions.org/questions/slackware-14/recompile-kernel-83642/)

tangle 08-19-2003 06:37 PM

recompile kernel
 
I have Slack 9 install. It says that the cpu is set at a 486 in and I want to recompile (or something) the kernel for an athalon. I tried to recompile the kernel from source about 20 times and got error after error. I had to restore from my backup quite a few times, to get X working. Is there a way to set the kernel cpu settings to an athalon. When compile a program from source it seems like it takes forever compared to when I had Slack 8.1 installed.

serz 08-19-2003 09:13 PM

You set that when you recompile the kernel. In the "make menuconfig, xconfig, etc" process.

tangle 08-19-2003 09:19 PM

The problem is that there is no kernel soucre installed.

serz 08-19-2003 10:43 PM

Then get the 2.4.20 kernel sources off the Slack cd and install them.

tangle 08-20-2003 07:42 AM

Quote:

Then get the 2.4.20 kernel sources off the Slack cd and install them.
I tried to recompile the kernel from source about 20 times and got error after error.

Azmeen 08-20-2003 09:30 AM

What specific errors did u get? I've recompiled my kernel countless times and had little problems... In fact most of my problems was due to not reading the options properly.

You should find a config-ide-kernel.version file in /boot. You can use that file as a basis for your recompile by copying it to your kernel source dir (usually /usr/src/linux) after running make mrproper.

tangle 08-20-2003 10:13 AM

I thought that there should be a config file too. But after a clean install there was non. I will give it another shot tonight.

The funny thing is that I recompiled kernels before in Mandrake with out a problem. Slack is just giving me a hard time or I got my head up my you know what. Thanks

Azmeen 08-20-2003 10:28 AM

Maybe you can tell us what you have in /boot.

tangle 08-20-2003 12:33 PM

I'm at work right now. I'll let you know when I get home

tangle 08-20-2003 09:44 PM

Here i s a list of what is in my /boot.
boot.0300
boot_message.txt
map
vmlinuz

jschiwal 08-20-2003 10:38 PM

See if there is a hidden .config file in the /boot directory.

If there is you can load the .config configuration when running
make xconfig. This will contain the options you started with. Using it as a starting point change the architecture for the CPU and give that a try.

If there is a /boot directory on the install cd, try looking there for a config or .config file.


All times are GMT -5. The time now is 10:15 AM.