Question regarding kernel recompilation


Forum: Other Help Topics
Topic: Question regarding kernel recompilation
started by: mraley77

Posted by mraley77 on Aug. 31 2006,18:08
Hi all, DSL noob here,

I have installed the latest DSL version to my hard drive, and have been playing around with it to see if it would work for our purposes.  However, I will need to recompile the kernel for it to work.  So, through myDSL I got gcc and gnuutils, and downloaded the kernel source.  As a test I went to kernel.org and downloaded the latest 2.4.33.2 kernel source.  I moved my .config file over from the myDSL 2.4.26 kernel to the new source directory and set about making a kernel.  All appears to go fine until I hit the "make modules" command.  It runs fine, but it doesn't do anything.  no modules get made other than dummy.o, and it gives me an unusable kernel to load with (I tried it).  Now, I've looked all over the boards (I appologize if I missed something nice and easy) and google but haven't been able to find anything similar.  I was hoping that someone out there in DSL land has run into the problem before and found a fix, or knows what I did wrong.  Any help would be appreciated to get me on the right track.

thanks!

and from what I've seen so far, DSL rocks.

Posted by Juanito on Sep. 02 2006,07:29
I seem to be having a similar problem.

In my case (see cpufreq post in Laptops) I'm trying to patch the 2.4.26 kernel - after applying the patch when I "make modules", nothing seems to be "made" except the dummy.o module.

I say nothing seems to be "made" as I haven't figured out a way to increase the xterm buffer so I can see all of the output...

Posted by dreamcarrior on Oct. 01 2006,22:26
I am using dsl-2.4 and I needed a 2.4.31 kernel source. So I downloaded the source from kernel.org, and compiled it.
I had gcc1.dsl, gnu-utils.dsl, gtk2-0705.dsl, linux-kernel-headers.dsl installed. It came out to be fine. Did you have all the modules installed before you compile the kernel?

Posted by dtf on Oct. 02 2006,00:45
I don't know if this helps but there are two older releases of DSL built with the 2.4.31 kernel.  I believe they are DSL 2.0 and DSL 2.1.
Posted by Juanito on Oct. 02 2006,04:55
Ref dreamcarrier's comment:

Yes, I had I had gcc1.dsl, gnu-utils.dsl, gtk2-0705.dsl, linux-kernel-headers.dsl and gcc-2.95 loaded.

Using "make bzImage" seemed to create some modules but then I was lost as to where to put the modules and how to wrap the whole thing back up into the knoppix boot image.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.